Possible to use the SIP/Voip from voice on FTTH with Freepbx or something similar?

Sure, but it is cheaper to use Pi or such low power devices or get a router which supports custom firmware.

You may not see upfront costs with an old PC, but long term running cost would be way higher.
 
Just adding it here for my own future reference 😅

In GS Wave, you could use the following settings

Code:
SIP Server: 192.168.149.78 or kl.ftthvoip.bsnl.in (Please note only one of these would work, depending on how your VOIP account is provisioned)
SIP User Id and authentication Id: 91<std code><voip number> (for example 9148429xxxxxx)
Password: 0000 (yes it's stupid)

View attachment 1261

However, please note that, to get calls to work properly, you need to install siproxd on your router. From a siproxd perspective, the config is really simple, all you need to give is the inbound and outbound interface names. In OpenWRT this is how it would be, where lan is as the name suggests the LAN network, you wouldn't have to change this. And wan_voip is the VOIP interface, this you would need to change as necessary.

Code:
    option interface_inbound lan
    option interface_outbound wan_voip

You'd also need to add static routes to that the VOIP traffic goes via the VOIP interface and not through the main internet gateway. In addition to the route to the SIP server, you'd also need to add the route for the destination 10.191.0.0/16 to go via the VOIP interface.

View attachment 1710

Now in GS Wave, you need to set the IP address of your router where siproxd runs as an outbound proxy.

View attachment 1262

With this, you would be able to make and receive calls as required.

You could also use the built-in SIP client in Android, screenshots from my phone below.

View attachment 1263View attachment 1264

@philip
I am still getting SIP Registration Failed (Timeout) .
Here are my settings:
Just adding it here for my own future reference 😅

In GS Wave, you could use the following settings

Code:
SIP Server: 192.168.149.78 or kl.ftthvoip.bsnl.in (Please note only one of these would work, depending on how your VOIP account is provisioned)
SIP User Id and authentication Id: 91<std code><voip number> (for example 9148429xxxxxx)
Password: 0000 (yes it's stupid)

View attachment 1261

However, please note that, to get calls to work properly, you need to install siproxd on your router. From a siproxd perspective, the config is really simple, all you need to give is the inbound and outbound interface names. In OpenWRT this is how it would be, where lan is as the name suggests the LAN network, you wouldn't have to change this. And wan_voip is the VOIP interface, this you would need to change as necessary.

Code:
    option interface_inbound lan
    option interface_outbound wan_voip

You'd also need to add static routes to that the VOIP traffic goes via the VOIP interface and not through the main internet gateway. In addition to the route to the SIP server, you'd also need to add the route for the destination 10.191.0.0/16 to go via the VOIP interface.

View attachment 1710

Now in GS Wave, you need to set the IP address of your router where siproxd runs as an outbound proxy.

View attachment 1262

With this, you would be able to make and receive calls as required.

You could also use the built-in SIP client in Android, screenshots from my phone below.

View attachment 1263View attachment 1264

@philip

Still not able to get this to work. I am getting SIP registration Failed ( Timeout Error)

Here are my settings:

I connect to BSNL is in Bridge Mode. Port 3 in My Alphion Modem to my Pfsense Box.

SIP Settings:
Username: 914429xxxxxx
Password: tried both "0000' and 'password' - > my PPPoE password
Server: 192.168.149.78

i have setup SIProxd, Rules and the Static Routes. Not Able to get it to work.
 

Attachments

  • Rules.webp
    Rules.webp
    28.5 KB · Views: 333
  • SIProxd.webp
    SIProxd.webp
    44 KB · Views: 280
  • Static Routes.webp
    Static Routes.webp
    17.5 KB · Views: 301

Back