@nunogato wrote:
Hi,
We have a setup configured for some months now and everything was working fine until yesterday.
Problem: From time to time the calls fail to go through the system, it's fine for 10 minutes then stops accepting calls and later accepts calls again
Our supplier (where the call comes from) says that they are receiving a 401 Unauthorized message but we don't understand why the system sometimes sends that and sometimes accepts the call.
here's the log when the call fails
[2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:9409 __find_call: = Looking for Call ID: 609957f1-1a8a99c2-3a5722c@149.91.14.71 (Checking From) --From tag 5b1d5187 --To-tag [2017-06-27 12:12:18] DEBUG[2170]: acl.c:957 ast_ouraddrfor: For destination '149.91.14.71', our source address is '185.52.3.150'. [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:3910 ast_sip_ouraddrfor: Setting AST_TRANSPORT_UDP with address 185.52.3.150:5061 [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '149.91.14.71:5060' into... [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '149.91.14.71' and port '5060'. [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:8996 __sip_alloc: Allocating new SIP dialog for 609957f1-1a8a99c2-3a5722c@149.91.14.71 - OPTIONS (No RTP) [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:28642 handle_incoming: **** Received OPTIONS (3) - Command in SIP OPTIONS [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '185.52.3.150:5061' into... [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '185.52.3.150' and port ''. [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting 'sip.sipcentric.com' into... [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:226 ast_sockaddr_split_hostport: ...host 'sip.sipcentric.com' and port ''. [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:3753 __sip_xmit: Trying to put 'SIP/2.0 200' onto UDP socket destined for 149.91.14.71:5060 [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:9409 __find_call: = Looking for Call ID: 2b9dd4a71c25f3a76d30f6c33926bdec@sip.sipcentric.com (Checking From) --From tag as3b898047 --To-tag [2017-06-27 12:12:18] DEBUG[2170]: acl.c:957 ast_ouraddrfor: For destination '149.91.14.71', our source address is '185.52.3.150'. [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:3910 ast_sip_ouraddrfor: Setting AST_TRANSPORT_UDP with address 185.52.3.150:5061 [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '149.91.14.71' into... [2017-06-27 12:12:18] DEBUG[2170]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '149.91.14.71' and port ''. [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:8996 __sip_alloc: Allocating new SIP dialog for 2b9dd4a71c25f3a76d30f6c33926bdec@sip.sipcentric.com - INVITE (No RTP) [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: chan_sip.c:28642 handle_incoming: **** Received INVITE (5) - Command in SIP INVITE [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: sip/reqresp_parser.c:1711 parse_sip_options: Begin: parsing SIP "Supported: replaces, timer" [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: sip/reqresp_parser.c:1726 parse_sip_options: Found SIP option: -replaces- [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: sip/reqresp_parser.c:1734 parse_sip_options: Matched SIP option: replaces [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: sip/reqresp_parser.c:1726 parse_sip_options: Found SIP option: -timer- [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: sip/reqresp_parser.c:1734 parse_sip_options: Matched SIP option: timer [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '149.91.14.71' into... [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '149.91.14.71' and port ''. [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting 'sip.sipcentric.com' into... [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: netsock2.c:226 ast_sockaddr_split_hostport: ...host 'sip.sipcentric.com' and port ''. [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: chan_sip.c:3753 __sip_xmit: Trying to put 'SIP/2.0 401' onto UDP socket destined for 149.91.14.71:5060 [2017-06-27 12:12:18] DEBUG[2170]: chan_sip.c:9409 __find_call: = Looking for Call ID: 2b9dd4a71c25f3a76d30f6c33926bdec@sip.sipcentric.com (Checking From) --From tag as3b898047 --To-tag as0b8ce564 [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: chan_sip.c:28642 handle_incoming: **** Received ACK (6) - Command in SIP ACK [2017-06-27 12:12:18] DEBUG[2170][C-0000009f]: chan_sip.c:4537 __sip_ack: Stopping retransmission on '2b9dd4a71c25f3a76d30f6c33926bdec@sip.sipcentric.com' of Response 102: Match Found
Any help here? How can I see a more detailed log? (like the message that our system sends to them)
Thanks in advance!
Below the setup that we have
Outgoing:
username=XXXXX
type=peer
secret=XXXXXXXX
qualify=yes
nat=yes
insecure=port,invite
host=sip.sipcentric.com
fromuser=XXXXXX
fromdomain=sip.sipcentric.com
dtmfmode=auto
canreinvite=no
authuser=XXXXXX
disallow=all
allow=ulaw&alawIncoming register string
XXXXX:XXXXXX@sip.sipcentric.com/DIDNUMBERThen there's a inbound route that matches the DIDNUMBER and sends it to a time condition
Posts: 2
Participants: 2