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 55,561
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:
Don't use port binding on any profile, whether voice internet or internet. Sometimes the setting applied doesn't work immediately, simply restart.
 
Configuration and SIP registration done, as per mentioned instructions, call is also getting connected, but no voice comes after connecting the call, sometimes only one way voice comes...

Tried registering SIP on Android as well as PC APP,

Please guide
 


You will have to add the other route too, the one which shows up on resource monitor based on the app you used. Android won't work yet, registration will work and the first call may also work but on subsequent calls audio will fail until the re-registration happens based on the registration time out period.
 
Configuration and SIP registration done, as per mentioned instructions, call is also getting connected, but no voice comes after connecting the call, sometimes only one way voice comes...

Tried registering SIP on Android as well as PC APP,

Please guide
Got it working after adding static router for whole subnet, now issue is incoming, it shows numbers not reachable, while outgoing works...
 
No tried, incoming still doesnt works, it says number is not reachable, i think it has something to do with settings SIP trunk configuration of IP-PBX where i am trying to configure it, please check enclosed screenshots
 

Attachments

  • Screenshot_7.webp
    Screenshot_7.webp
    19.6 KB · Views: 176
  • Screenshot_6.webp
    Screenshot_6.webp
    20 KB · Views: 144
Someone Help me with this, it says timeout on both Yate and MicroSIP!
@sloj Can you help me with this?
 

Attachments

  • ONT - Google Chrome 03-12-2020 08_59_25 AM.webp
    ONT - Google Chrome 03-12-2020 08_59_25 AM.webp
    27.2 KB · Views: 130
  • ONT - Google Chrome 03-12-2020 09_01_18 AM.webp
    ONT - Google Chrome 03-12-2020 09_01_18 AM.webp
    33.8 KB · Views: 118
Last edited:
No FXS Phone!
but before Editing my configs it showed 'registered' in VOIP section,
Can I Contact u in Discord!
 
Last edited:

Top