[OpenSIPS-Users] Opensips 1.11 Error: bearer capability not authorized

mimicafe at gmail.com mimicafe at gmail.com
Wed Jul 16 13:27:39 CEST 2014


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"

Captured from tcpdump
=================

To: "225"<sip:mark at 80.x.x.x;transport=UDP>
        From: "225"<sip:mark at 80.x.x.x;transport=UDP>;tag=a9cb7912
    79-77-161-61.static.com.56005 > kalahari.sip: [udp sum ok] SIP, length:
437
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP 192.168.18.95:5060;branch=z9hG4bKad43.07e1d524.0
        Via: SIP/2.0/UDP
119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301
        From: "225" <sip:mark at 80.x.x.x;transport=UDP>;tag=a9cb7912
        To: "225" <sip:mark at 80.x.x.x;transport=UDP>
    kalahari.sip > 119.25.x.x.65301: [bad udp cksum 7cf9!] SIP, length: 370
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP
119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301
        From: "225" <sip:mark at 80.x.x.x;transport=UDP>;tag=a9cb7912
        To: "225" <sip:mark at 80.x.x.x;transport=UDP>
    192.168.18.90.51422 > kalahari.sip: [udp sum ok] SIP, length: 4

 119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 947
        INVITE sip:118 at 80.x.x.x;transport=UDP SIP/2.0
        Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport
        Contact: <sip:mark at 119.25.x.x:58101;transport=UDP>
        To: <sip:118 at 80.x.x.x;transport=UDP>
        From: "225"<sip:mark at 80.x.x.x;transport=UDP>;tag=9723c429
    kalahari.sip > 119.25.x.x.48917: [bad udp cksum 7744!] SIP, length: 445
        SIP/2.0 403 Rely forbidden
        Via: SIP/2.0/UDP
119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport=48917
        To: <sip:118 at 80.x.x.x
;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.85c4
        From: "225"<sip:mark at 80.x.x.x;transport=UDP>;tag=9723c429
        Server: OpenSIPS (1.11.2-notls (x86_64/linux))
    119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 402
        ACK sip:118 at 80.x.x.x;transport=UDP SIP/2.0
        Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport
        To: <sip:118 at 80.x.x.x
;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.85c4
        From: "225"<sip:mark at 80.x.x.x;transport=UDP>;tag=9723c429
    119.25.x.x.48917 > kalahari.sip: [udp sum ok] SIP, length: 1000
        PUBLISH sip:mimi2025 at 80.x.x.x;transport=UDP SIP/2.0
        Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport
        Contact: <sip:mimi2025 at 119.25.x.x:58124;transport=UDP>
        To: "2025"<sip:mimi2025 at 80.x.x.x;transport=UDP>
        From: "2025"<sip:mimi2025 at 80.x.x.x;transport=UDP>;tag=b92a7026
                  entity="sip:mimi2025 at 80.x.x.x;transport=UDP">
    kalahari.sip > 119.25.x.x.48917: [bad udp cksum 2c31!] SIP, length: 458
        SIP/2.0 403 Rely forbidden
        Via: SIP/2.0/UDP
119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport=48917
        To: "2025"<sip:mimi2025 at 80.x.x.x
;transport=UDP>;tag=cd2066e24f03c06d9551847de38fddf4.1763
        From: "2025"<sip:mimi2025 at 80.x.x.x;transport=UDP>;tag=b92a7026
        Server: OpenSIPS (1.11.2-notls (x86_64/linux))


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.


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
Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:core:tcp_send: connect failed
Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:tm:msg_send: tcp_send failed
Jul 16 11:27:26 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:tm:t_forward_nonack: sending request failed
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
Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
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
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
Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:core:tcp_send: connect failed
Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:tm:msg_send: tcp_send failed
Jul 16 11:27:35 kalahari /usr/local/opensips_1.11/sbin/opensips[1009]:
ERROR:tm:t_forward_nonack: sending request failed
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]: new
branch at sip:test173 at 80.25.30.125:51422
;rinstance=52fefdca37453185;transport=TCP
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
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
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
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
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
ERROR:core:tcp_send: connect failed
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
ERROR:tm:msg_send: tcp_send failed
Jul 16 11:28:53 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
ERROR:tm:t_forward_nonack: sending request failed
Jul 16 11:30:43 kalahari /usr/local/opensips_1.11/sbin/opensips[1006]: new
branch at sip:test173 at 80.25.30.125:51422
;rinstance=8a88a3fada65af33;transport=UDP
Jul 16 11:30:43 kalahari /usr/local/opensips_1.11/sbin/opensips[1001]:
incoming reply
Jul 16 11:30:44 kalahari /usr/local/opensips_1.11/sbin/opensips[1004]:
incoming reply
Jul 16 11:30:54 kalahari /usr/local/opensips_1.11/sbin/opensips[1001]:
incoming reply
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
Jul 16 11:32:28 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]:
INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
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
Jul 16 11:32:47 kalahari /usr/local/opensips_1.11/sbin/opensips[1014]:
INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140716/b54385a3/attachment.htm>


More information about the Users mailing list