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:
@PranjalT I have seen a few peoples setup where they haven't removed port binding. Port binding makes the port exclusive and doesn't let any other connection flow through.

@satheesh61 Tried the Mizudroid app. It's the same as any other app. Won't work.
 
Last edited:
@sloj after updating the firmware in ont(v.1.0.35)Now the sip and VoIP is working. But I found one thing between previous and current firmware, In previous firmware PON would be connected with 30 second after restarting the issue. In current firmware, it takes more than 2 and a half minutes to make a connection to PON.
 
@PranjalT By not using port binding you are just making it unexclusive, i.e., available for both voice and internet data. Everything works just fine.

@satheesh61 Nice. Also check if enabling SIP ALG disrupts the connection on the apps. No idea about PON delay, possibly the connection negotiation pattern has changed or may be something else. On my ONU, the LOS used to blink for a few seconds after turning it on and then PON lights up. Now LOS just straight lights up for a few seconds and then PON lights up and I haven't changed anything or upgraded my ONU.
 
Back