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

What static routes did you add? Screenshots please
 
This is my routes Updated routes below
1598255420787.png
 
Last edited:
I also disabled SIP, and did some routes after I sent you the previous msg
1598256778118.webp
 


I don't know if this thread is still active, but does anyone here has had any success in using the VOIP details as a trunk in FreePBX for outbound as well as inbound calls?

I have been all over the internet, but I can't find a single on how to make FreePBX register an extension as a SIP trunk. Some have said that this is not possible, but it certainly is, since I have used an FXO gateway which behaves quite like an extension.

If anyone here can please help me out, on how to set up the VOIP extension as a trunk (be it from BSNL / AIRTEL / LOCAL ISP/ BSNL WINGS), it would be of great help.
 
I can't tell you the exact steps since I haven't used FreePBX but you have to configure your VOIP details on FreePBX and then create internal profiles for as many devices as you want to connect. But you still have a single VOIP number and not a trunk setup.
 
but you have to configure your VOIP details on FreePBX
That's the main problem, I just can't get FreePBX to register with BSNL's VoIP Servers.

If someone knowing about FreePBX can tell what should I enter in inbound and outbound routes under SIP settings ?

1599425788975.png


I don't even what type of trunk I should use.
 
@alokme123 i am unaware of openwrt too much.
what i did is simply installed siproxd in the rasbian os iteslf and did the configuration.i used both the wifi and lan interface for achieving this.

WiFi is used to get my pi internet and lan interface used to get connected to the BSNL private sip network (that 10.x.x.x services ip ) in the siproxd config inbound and outbound interfaces i just added up the eth0 and wlan0 not more than that.one more thing is assigning the static ip for the pi eth0 interface because the bsnl private network didn't have any DHCP. So i just assigned the static 10.x.x.x series ip for that.
Hope you know the bridging part in ont port 2 or port 1.

Check this post this may help you for the siproxd configuration.
Hello! you seem to have done this using Raspberry pi, can you guide me please? can you DM me?
 
Hai everyone. I have hit a blocker setting up SIP. ( I have already posted this in a different thread but thought its better to post the issue here since there are many contributers here for this topic )

My setup is Netlink in bridge mode connected to archer c6 ( which is openwrt flashed )
Voip interface is fine in router -> I am getting 10.139.0.x/21
My server address is 10.187.6.12
I added 3 static routes ( I am not really sure if i need all three )

1) 10.187.0.0 with mask 255.255.0.0 pointing to 10.139.0.1
2) 10.191.0.0 with mask 255.255.0.0 pointing to 10.139.0.1
3) 10.139.0.0 with mask 255.255.0.0 pointing to 10.139.0.1

Opened ports in firewall 5060 and 7060 -7089 for both UDP and TCP from any zone to "this device"

Setup siproxd on router -> its running
modified 2 lines to make it
option interface_inbound lan
option interface_outbound wan_voip

I can ping to VOIP Server

But Zoiper5 says request timed out

I did a siproxd restart and checked system log in router during this time


Code:
Sat Sep 26 21:49:32 2020 daemon.notice siproxd[1303]: siproxd.c:677 INFO:properly terminating siproxd
Sat Sep 26 21:49:32 2020 daemon.notice siproxd[2894]: siproxd.c:245 INFO:siproxd-0.8.3-3452 2020-09-24T19:49:30 mips-openwrt-linux-gnu starting up
Sat Sep 26 21:49:32 2020 daemon.notice siproxd[2894]: rtpproxy_relay.c:121 INFO:Current thread stacksize is 128 kB
Sat Sep 26 21:49:32 2020 daemon.notice siproxd[2894]: sock.c:131 INFO:bound to port 5060
Sat Sep 26 21:49:32 2020 daemon.notice siproxd[2894]: siproxd.c:352 INFO:siproxd-0.8.3-3452 2020-09-24T19:49:30 mips-openwrt-linux-gnu started
Sat Sep 26 21:49:35 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:49:51 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:50:23 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:50:55 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:56:59 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:01 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:03 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:05 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:07 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:09 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:13 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:21 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:57:37 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:58:09 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 21:58:41 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 22:00:47 2020 daemon.notice siproxd[2894]: sock.c:310 WARNING:recv() returned error [Connection reset by peer], disconnecting TCP [10.187.6.12] fd=7
Sat Sep 26 22:00:50 2020 daemon.notice siproxd[2894]: sock.c:673 WARNING:sip_tcp_cache[1].rx_buffer was not freed! Potential memleak.
Sat Sep 26 22:00:51 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 22:00:55 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 22:01:03 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() failed
Sat Sep 26 22:01:19 2020 daemon.err siproxd[2894]: sock.c:470 ERROR:tcp_connect() fail


Any clue on what i am doing wrong here ?
 
Last edited:

Top