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 ?