FTTH VOIP SIP Softphone configuration with ONT/ONU. (Now works on some more apps)

  • Thread starter Thread starter sloj
  • Start date Start date
  • Replies Replies 262
  • Views Views 61,980
After hours of fiddling with my ONU and SIP apps, here is a guide on how to get it working.

First login to the ONU/ONT and change these things

voice1.jpg
Change VOICE to VOICE_INTERNET.

voice2.jpg
Add a Static Route to the SIP Server. You can add the IP directly like I did in my previous post. But that way you will have to add the return route too which is not there in my previous post. In my case, the return route is 10.x.x.x which is the same with my SIP server so I have to add only one route entry and be done.

voice3.jpg
If SIP is disabled, enable it and disable it again. This is necessary because SIP ALG functionality is broken. If it worked the way it was supposed to we could have easily setup softphones on our devices.

voice4.jpg
This is your VOIP config page. You wil find your SIP Server IP here. The proxy part isn't really necessary.

Also, you can disable IGMP on Voice. It's unnecessary.

voice5.jpg
Make sure NAT is enabled. Port Binding isn't necessary as we will be doing the setup on PC for now directly via ONT/ONU without any external router.

Hop to PC

Install YATE or MicroSIP and configure them with your SIP details. These are the two I have used that support NAT.

This goes without saying but just putting it out there. Allow the apps Windows Firewall prompt to connect to public network (or any other firewall you are using).

Configuration Screenshots

voice1.JPG
This is for MicroSIP. Click on the top right corner button -> Add Account. Don't forget to tick Allow IP Rewrite.

voice2.JPG
Another one for MicroSIP. Click on the top right corner button -> Settings. RTP ports range doesn't have to be that wide as I have in the Screenshot. 4000-4001 or 4010 is fine.

voice3.JPG
This is for YATE. Go to Settings -> Accounts -> Click on New

voice4.JPG
Resource Monitor showing MicroSIP info when it's idle not dialing any number.

voice5.JPG
Resource Monitor showing MicroSIP info when I dialed a number. See the change under Network Activity. Now there is another IP which will receive voice and reply which I will receive on my static VOIP IP which NAT will take care of and send to my local IP.

Link to previous failed attempt.

New changes that will let VOIP work on some more apps and platforms.

Tick "Turn off LAN DHCP" on Voice Internet configuration and Enable SIP ALG. Didn't think disabling DHCP makes SIP ALG function properly. Really hard to know which option does what without a proper manual.

Also, those who have DHCP instead of Static in Voice Internet configuration, everything else is same.
 
Last edited:
okk but i dont have compatible router.
and i did that (Tick "Turn off LAN DHCP" on Voice Internet configuration and Enable SIP ALG.) but after that i lost internet connectivity on all connected devices.
 
Thus are my all config
 

Attachments

  • Data.webp
    Data.webp
    34 KB · Views: 307
  • Route.webp
    Route.webp
    28.9 KB · Views: 230
  • Voice.webp
    Voice.webp
    33.3 KB · Views: 231
  • Voip.webp
    Voip.webp
    32.2 KB · Views: 238
Looks fine. May be a restart will do it or just a firmware bug. Save all the configs again without any changes. That sometimes does it and starts working. If not, will check via Anydesk later.
 
hello bro i just tried all steps properly and able to make calls through microsip with good quality voice. and unable to make calls on android. i did this all by keeping my ont in route mode but i use ont in bridge mode. if i ping my sip (i.e 10.187.5.12) from my router in bridge mode, it shows server time out. so as you suggested port/vlan binding i tried few things but unable to make it worked. So will you help me in Port/vlan binding ?
Thank you for this blog.
if you are doing vlan binding, make sure you have only enabled bridge mode for the vlan , if you are having a route mode for a vlan then the vlan bind won't work.

I use multi vlan binding in my ONT and use it in my Openwrt Raspberry Pi 4B Router.
 
HOW TO ADD ANOTHER ROUTE DUE WHICH WE ARE ABLE TO HEAR VOICES CAN YOU SCREENSHOT YOUR BOTH ROUTES
i am able to recieve audio on mobile but cant hear anything on laptop
 
Back