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

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:

techno

Newbie
Messages
4
Location
NA
ISP
Nothing
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
 

sloj

I'm sick. Sing soft kitty to me.
Messages
587
Location
Guwahati
ISP
BSNL
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.
 

techno

Newbie
Messages
4
Location
NA
ISP
Nothing
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...
 

techno

Newbie
Messages
4
Location
NA
ISP
Nothing
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 (DOWNLOAD AT YOUR OWN RISK)

  • Screenshot_7.jpg
    Screenshot_7.jpg
    39.9 KB · Views: 32
  • Screenshot_6.jpg
    Screenshot_6.jpg
    43.7 KB · Views: 25

sloj

I'm sick. Sing soft kitty to me.
Messages
587
Location
Guwahati
ISP
BSNL
Looks fine. Haven't configured an IP-PBX so can't help much.
 


Messages
3
Location
TamilNadu
ISP
BSNL
Someone Help me with this, it says timeout on both Yate and MicroSIP!
@sloj Can you help me with this?
 

Attachments (DOWNLOAD AT YOUR OWN RISK)

  • ONT - Google Chrome 03-12-2020 08_59_25 AM.jpg
    ONT - Google Chrome 03-12-2020 08_59_25 AM.jpg
    51.4 KB · Views: 21
  • ONT - Google Chrome 03-12-2020 09_01_18 AM.jpg
    ONT - Google Chrome 03-12-2020 09_01_18 AM.jpg
    60.1 KB · Views: 16
Last edited:
Messages
3
Location
TamilNadu
ISP
BSNL
No FXS Phone!
but before Editing my configs it showed 'registered' in VOIP section,
Can I Contact u in Discord!
 
Last edited: