<div dir="ltr"><br><div><br></div><div> </div><div>My OpenSips version 1.11 has two domains (192.168.x.x and 80.x.x.x ) configured. and I can call devices within my LAN, however I am unable to make calls from a device connected outside my LAN. The error message I receive in SIP client (zoiper) says "bearer capability not authorized"</div>
<div><br></div><div>Captured from tcpdump</div><div>=================</div><div><br></div><div><div>To: "225"<sip:mark@80.x.x.x;transport=UDP></div><div> From: "225"<sip:mark@80.x.x.x;transport=UDP>;tag=a9cb7912</div>
<div> 79-77-161-61.static.com.56005 > kalahari.sip: [udp sum ok] SIP, length: 437</div><div> SIP/2.0 200 OK</div><div> Via: SIP/2.0/UDP 192.168.18.95:5060;branch=z9hG4bKad43.07e1d524.0</div><div> Via: SIP/2.0/UDP 119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301</div>
<div> From: "225" <sip:mark@80.x.x.x;transport=UDP>;tag=a9cb7912</div><div> To: "225" <sip:mark@80.x.x.x;transport=UDP></div><div> kalahari.sip > 119.25.x.x.65301: [bad udp cksum 7cf9!] SIP, length: 370</div>
<div> SIP/2.0 200 OK</div><div> Via: SIP/2.0/UDP 119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301</div><div> From: "225" <sip:mark@80.x.x.x;transport=UDP>;tag=a9cb7912</div>
<div> To: "225" <sip:mark@80.x.x.x;transport=UDP></div><div> 192.168.18.90.51422 > kalahari.sip: [udp sum ok] SIP, length: 4</div><div><br></div><div><span class="" style="white-space:pre">        </span></div>
<div><span class="" style="white-space:pre">        </span> 119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 947</div><div> INVITE sip:118@80.x.x.x;transport=UDP SIP/2.0</div><div> Via: SIP/2.0/UDP 119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport</div>
<div> Contact: <sip:mark@119.25.x.x:58101;transport=UDP></div><div> To: <sip:118@80.x.x.x;transport=UDP></div><div> From: "225"<sip:mark@80.x.x.x;transport=UDP>;tag=9723c429</div>
<div> kalahari.sip > 119.25.x.x.48917: [bad udp cksum 7744!] SIP, length: 445</div><div> SIP/2.0 403 Rely forbidden</div><div> Via: SIP/2.0/UDP 119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport=48917</div>
<div> To: <sip:118@80.x.x.x;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.85c4</div><div> From: "225"<sip:mark@80.x.x.x;transport=UDP>;tag=9723c429</div><div> Server: OpenSIPS (1.11.2-notls (x86_64/linux))</div>
<div> 119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 402</div><div> ACK sip:118@80.x.x.x;transport=UDP SIP/2.0</div><div> Via: SIP/2.0/UDP 119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport</div>
<div> To: <sip:118@80.x.x.x;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.85c4</div><div> From: "225"<sip:mark@80.x.x.x;transport=UDP>;tag=9723c429</div><div> 119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 1000</div>
<div> PUBLISH sip:mimi2025@80.x.x.x;transport=UDP SIP/2.0</div><div> Via: SIP/2.0/UDP 119.25.x.x:48917;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport</div><div> Contact: <sip:mimi2025@119.25.x.x:58124;transport=UDP></div>
<div> To: "2025"<sip:mimi2025@80.x.x.x;transport=UDP></div><div> From: "2025"<sip:mimi2025@80.x.x.x;transport=UDP>;tag=b92a7026</div><div> entity="sip:mimi2025@80.x.x.x;transport=UDP"></div>
<div> kalahari.sip > 119.25.x.x.48917: [bad udp cksum 2c31!] SIP, length: 458</div><div> SIP/2.0 403 Rely forbidden</div><div> Via: SIP/2.0/UDP 119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport=48917</div>
<div> To: "2025"<sip:mimi2025@80.x.x.x;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.1763</div><div> From: "2025"<sip:mimi2025@80.x.x.x;transport=UDP>;tag=b92a7026</div>
<div> Server: OpenSIPS (1.11.2-notls (x86_64/linux))</div></div><div><br></div><div><br></div><div>In addition, I noticed the following errors in my opensip log. I removed the 80.x.x.x domain earlier on from OpenSIPS CP and verified in the database that it was gone, but th error continue to appear in the log.<br>
</div><div><br></div><div><br></div><div><div>l 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR [server=80.x.x.x:5060] (111) Connection refused</div>
<div>Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div><div>Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcp_send: connect failed</div>
<div>Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:tm:msg_send: tcp_send failed</div><div>Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:tm:t_forward_nonack: sending request failed</div>
<div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: INFO:core:probe_max_sock_buff: using snd buffer of 244 kb</div><div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket</div>
<div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8 16 32</div><div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR [server=80.x.x.x:5060] (111) Connection refused</div>
<div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div><div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:core:tcp_send: connect failed</div>
<div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:tm:msg_send: tcp_send failed</div><div>Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]: ERROR:tm:t_forward_nonack: sending request failed</div>
<div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: new branch at sip:test173@80.25.30.125:51422;rinstance=52fefdca37453185;transport=TCP</div><div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: INFO:core:probe_max_sock_buff: using snd buffer of 244 kb</div>
<div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket</div><div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8 16 32</div>
<div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR [server=80.x.x.x:51422] (111) Connection refused</div><div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div>
<div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:core:tcp_send: connect failed</div><div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:tm:msg_send: tcp_send failed</div>
<div>Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: ERROR:tm:t_forward_nonack: sending request failed</div><div>Jul 16 11:30:43 kalahari /usr/local/opensips_1.11/sbin/opensips[1006]: new branch at sip:test173@80.25.30.125:51422;rinstance=8a88a3fada65af33;transport=UDP</div>
<div>Jul 16 11:30:43 kalahari /usr/local/opensips_1.11/sbin/opensips[1001]: incoming reply</div><div>Jul 16 11:30:44 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: incoming reply</div><div>Jul 16 11:30:54 kalahari /usr/local/opensips_1.11/sbin/opensips[1001]: incoming reply</div>
<div>Jul 16 11:32:28 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]: INFO:core:probe_max_sock_buff: using snd buffer of 244 kb</div><div>Jul 16 11:32:28 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket</div>
<div>Jul 16 11:32:47 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]: INFO:core:probe_max_sock_buff: using snd buffer of 244 kb</div><div>Jul 16 11:32:47 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket</div>
<div><br></div></div></div>