@azook wrote:
FreePBX server [v:13.0.191.11] sits behind a firewall.
A public,static IP address [123.123.123.123] has been forwarded to the internal address of the FreePBX server at the firewall.
All TCP and UDP ports are forwarded from the WAN interface of the static IP to the internal IP of the FreePBX server.
The external address in SIP settings is set to the public,static IP address that is being forwarded to the server.
The local networks SIP settings are set to the subnet of the local networks - there are two (one is used by VPN exclusively).
NAT on Chan SIP Settings is set to Yes
I have a Twilio SIP trunk and an inbound route pointed to an IVR.Here are the logs from attempting inbound call
<--- SIP read from UDP:10.0.1.1:65476 --->
INVITE sip:+14056738457@10.0.1.16 SIP/2.0
Record-Route:
From: ;tag=71366382_6772d868_7f243b01-35f1-4ee0-9ae9-326e833baff3
To:
CSeq: 788087 INVITE
Max-Forwards: 73
P-Asserted-Identity:
Diversion: sip:+14056738457@public-vip.us1.twilio.com;reason=unconditional
Call-ID: f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0
Via: SIP/2.0/UDP 10.0.1.1:65476;branch=z9hG4bK531c.09702485.0
Via: SIP/2.0/UDP 172.18.12.171:5060;rport=5060;received=172.18.12.171;branch=z9hG4bK7f243b01-35f1-4ee0-9ae9-326e833baff3_6772d868_248-2381221095171499921
Contact:
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS
User-Agent: Twilio Gateway
X-Twilio-AccountSid: ACeebabe53e79708f8ea96eec52da02406
Content-Type: application/sdp
X-Twilio-CallSid: CA7ef31ca5acddad94753f6cec0d56605a
Content-Length:260v=0
o=root 1590847599 1590847599 IN IP4 10.0.1.1
s=Twilio Media Server Edge
i=(o=IN IP4 54.172.61.200)
c=IN IP4 10.0.1.1
t=0 0
m=audio 41756 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------->
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 0 [ 41]: INVITE sip:+14056738457@10.0.1.16 SIP/2.0
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 1 [ 97]: Record-Route:
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 2 [150]: From: ;tag=71366382_6772d868_7f243b01-35f1-4ee0-9ae9-326e833baff3
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 3 [ 47]: To:
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 4 [ 19]: CSeq: 788087 INVITE
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 5 [ 16]: Max-Forwards: 73
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 6 [ 57]: P-Asserted-Identity:
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 7 [ 76]: Diversion: sip:+14056738457@public-vip.us1.twilio.com;reason=unconditional
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 8 [ 49]: Call-ID: f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 9 [ 61]: Via: SIP/2.0/UDP 10.0.1.1:65476;branch=z9hG4bK531c.09702485.0
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 10 [153]: Via: SIP/2.0/UDP 172.18.12.171:5060;rport=5060;received=172.18.12.171;branch=z9hG4bK7f243b01-35f1-4ee0-9ae9-326e833baff3_6772d868_248-2381221095171499921
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 11 [ 56]: Contact:
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 12 [ 36]: Allow: INVITE,ACK,CANCEL,BYE,OPTIONS
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 13 [ 26]: User-Agent: Twilio Gateway
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 14 [ 55]: X-Twilio-AccountSid: ACeebabe53e79708f8ea96eec52da02406
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 15 [ 29]: Content-Type: application/sdp
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 16 [ 52]: X-Twilio-CallSid: CA7ef31ca5acddad94753f6cec0d56605a
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 17 [ 18]: Content-Length:260
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Header 18 [ 0]:
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 0 [ 3]: v=0
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 1 [ 44]: o=root 1590847599 1590847599 IN IP4 10.0.1.1
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 2 [ 26]: s=Twilio Media Server Edge
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 3 [ 26]: i=(o=IN IP4 54.172.61.200)
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 4 [ 17]: c=IN IP4 10.0.1.1
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 5 [ 5]: t=0 0
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 6 [ 27]: m=audio 41756 RTP/AVP 0 101
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 7 [ 20]: a=rtpmap:0 PCMU/8000
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 8 [ 33]: a=rtpmap:101 telephone-event/8000
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 9 [ 15]: a=fmtp:101 0-16
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 10 [ 10]: a=ptime:20
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Body 11 [ 10]: a=sendrecv
[2017-05-25 16:06:57] VERBOSE[2023] chan_sip.c: --- (18 headers 12 lines) ---
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: = Looking for Call ID: f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0 (Checking From) --From tag 71366382_6772d868_7f243b01-35f1-4ee0-9ae9-326e833baff3 --To-tag
[2017-05-25 16:06:57] DEBUG[2023] acl.c: For destination '10.0.1.1', our source address is '10.0.1.16'.
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Setting AST_TRANSPORT_UDP with address 10.0.1.16:5060
[2017-05-25 16:06:57] DEBUG[2023] netsock2.c: Splitting '10.0.1.1:65476' into...
[2017-05-25 16:06:57] DEBUG[2023] netsock2.c: ...host '10.0.1.1' and port '65476'.
[2017-05-25 16:06:57] VERBOSE[2023] chan_sip.c: Sending to 10.0.1.1:65476 (NAT)
[2017-05-25 16:06:57] DEBUG[2023] chan_sip.c: Allocating new SIP dialog for f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0 - INVITE (No RTP)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting '10.0.1.1:65476' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host '10.0.1.1' and port '65476'.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Sending to 10.0.1.1:65476 (NAT)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Initializing initreq for method INVITE - callid f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Using INVITE request as basis request - f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting 'clearsightokc.pstn.twilio.com' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host 'clearsightokc.pstn.twilio.com' and port ''.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: No matching peer for '+14054066291' from '10.0.1.1:65476'
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] res_rtp_asterisk.c: Allocated port 12156 for RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] res_rtp_asterisk.c: Creating ICE session 0.0.0.0:12156 (12156) for RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting '10.0.1.16' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host '10.0.1.16' and port ''.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting '10.0.1.16' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host '10.0.1.16' and port ''.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: RTP instance '0x7f41d0003500' is setup and ready to go
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting 'localhost.localdomain' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host 'localhost.localdomain' and port ''.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] acl.c: Multiple addresses. Using the first only
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] res_rtp_asterisk.c: Setup RTCP on RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] netsock2.c: Using SIP RTP TOS bits 184
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] netsock2.c: Using SIP RTP CoS mark 5
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Setting NAT on RTP to On
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP v=0... UNSUPPORTED OR FAILED.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP o=root 1590847599 1590847599 IN IP4 10.0.1.1... OK.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP s=Twilio Media Server Edge... UNSUPPORTED OR FAILED.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP i=(o=IN IP4 54.172.61.200)... UNSUPPORTED OR FAILED.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting '10.0.1.1' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host '10.0.1.1' and port ''.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP c=IN IP4 10.0.1.1... OK.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing session-level SDP t=0 0... UNSUPPORTED OR FAILED.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Found RTP audio format 0
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: Setting tx payload type 0 based on m type on 0x7f418d6540a0
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Found RTP audio format 101
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: Setting tx payload type 101 based on m type on 0x7f418d6540a0
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Found audio description format PCMU for ID 0
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:0 PCMU/8000... OK.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Found audio description format telephone-event for ID 101
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:101 telephone-event/8000... OK.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing media-level (audio) SDP a=fmtp:101 0-16... UNSUPPORTED OR FAILED.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing media-level (audio) SDP a=ptime:20... OK.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Processing media-level (audio) SDP a=sendrecv... OK.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Capabilities: us - (ulaw|alaw|gsm|g726), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] acl.c: For destination '10.0.1.1', our source address is '10.0.1.16'.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Peer audio RTP is at port 10.0.1.1:41756
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: Copying payload 0 (0x7f41d071bb28) from 0x7f418d6540a0 to 0x7f41d00036c8
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] rtp_engine.c: Copying payload 101 (0x7f41d071c3e8) from 0x7f418d6540a0 to 0x7f41d00036c8
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] res_rtp_asterisk.c: Ignoring duplicate RTCP property on RTP instance '0x7f41d0003500'
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: We're settling with these formats: (ulaw)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Checking SIP call limits for device
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Updating call counter for incoming call
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting '10.0.1.16' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host '10.0.1.16' and port ''.
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: Splitting 'clearsightokc.pstn.twilio.com' into...
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] netsock2.c: ...host 'clearsightokc.pstn.twilio.com' and port ''.
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: Looking for +14056738457 in from-sip-external (domain 10.0.1.16)
[2017-05-25 16:06:57] DEBUG[1834] res_odbc.c: Reusing ODBC handle 0x7f41c0000e50 from class 'asteriskcdrdb'
[2017-05-25 16:06:57] DEBUG[1834] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_START',{ts '2017-05-25 16:06:57.424227'},'','+14054066291','','','','+14056738457','from-sip-external','SIP/clearsightokc.pstn.twilio.com-00000043','','',3,'','1495746417.67','1495746417.67','','','')]
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewchannelPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
[2017-05-25 16:06:57] DEBUG[1834] res_odbc.c: Releasing ODBC handle 0x7f41c0000e50 into pool
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: *** Our native formats are (ulaw)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: *** Joint capabilities are (ulaw)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|g726)
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: This channel will not be able to handle video.
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: SIPURI
Value: sip:+14054066291@10.0.1.1:41757
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: SIPDOMAIN
Value: 10.0.1.16
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] sip/route.c: sip_route_process_header:
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] sip/route.c: sip_route_dump: route/path hop:
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: __SIPRDNISDOMAIN
Value: public-vip.us1.twilio.com
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c: RDNIS for this call is +14056738457 (reason unconditional)
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: __PRIREDIRECTREASON
Value: UNCONDITIONAL
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: __SIPREDIRECTREASON
Value: unconditional
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Got redirecting from number +14056738457
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Got redirecting to number +14056738457
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Got redirecting reason unconditional
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: SIP/clearsightokc.pstn.twilio.com-00000043: New call is still down.... Trying...
[2017-05-25 16:06:57] VERBOSE[2023][C-00000041] chan_sip.c:
<--- Transmitting (NAT) to 10.0.1.1:65476 --->
SIP/2.0 100 TryingVia: SIP/2.0/UDP 10.0.1.1:65476;branch=z9hG4bK531c.09702485.0;received=10.0.1.1;rport=65476
Via: SIP/2.0/UDP 172.18.12.171:5060;rport=5060;received=172.18.12.171;branch=z9hG4bK7f243b01-35f1-4ee0-9ae9-326e833baff3_6772d868_248-2381221095171499921
Record-Route:
From: ;tag=71366382_6772d868_7f243b01-35f1-4ee0-9ae9-326e833baff3
To:
Call-ID: f7ce771a7bca80ce44db33f6b8b0e8a7@0.0.0.0
CSeq: 788087 INVITE
Server: FPBX-13.0.191.11(13.14.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact:
Content-Length: 0
<------------>
[2017-05-25 16:06:57] DEBUG[2023][C-00000041] chan_sip.c: Trying to put 'SIP/2.0 100' onto UDP socket destined for 10.0.1.1:65476
[2017-05-25 16:06:57] DEBUG[2522] manager.c: Examining AMI event:
Event: NewstatePrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
[2017-05-25 16:06:57] DEBUG[1814] devicestate.c: No provider found, checking channel drivers for SIP - clearsightokc.pstn.twilio.com
[2017-05-25 16:06:57] DEBUG[1814] chan_sip.c: Checking device state for peer clearsightokc.pstn.twilio.com
[2017-05-25 16:06:57] DEBUG[1814] devicestate.c: Changing state for SIP/clearsightokc.pstn.twilio.com - state 4 (Invalid)
[2017-05-25 16:06:57] DEBUG[2185] app_queue.c: Device 'SIP/clearsightokc.pstn.twilio.com' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.
[2017-05-25 16:06:57] DEBUG[24471] manager.c: Examining AMI event:
Event: DeviceStateChangePrivilege: call,all
Device: SIP/clearsightokc.pstn.twilio.com
State: INVALID
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'EXTEN' is '+14056738457'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'NoOp'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [+14056738457@from-sip-external:1] NoOp("SIP/clearsightokc.pstn.twilio.com-00000043", "Received incoming SIP connection from unknown peer to +14056738457") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: +14056738457
Application: NoOp
AppData: Received incoming SIP connection from unknown peer to +14056738457
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'EXTEN' is '+14056738457'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Expression result is '0'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'EXTEN' is '+14056738457'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Function IF(0?s:+14056738457) result is '+14056738457'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'Set'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [+14056738457@from-sip-external:2] Set("SIP/clearsightokc.pstn.twilio.com-00000043", "DID=+14056738457") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 2
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: +14056738457
Application: Set
AppData: DID=+14056738457
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: VarSetPrivilege: dialplan,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 2
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Variable: DID
Value: +14056738457
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'Goto'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [+14056738457@from-sip-external:3] Goto("SIP/clearsightokc.pstn.twilio.com-00000043", "s,1") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: +14056738457
Priority: 3
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: +14056738457
Application: Goto
AppData: s,1
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx_builtins.c: Goto (from-sip-external,s,1)
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'SIPLANG' is 'en'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Expression result is '1'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'GotoIf'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:1] GotoIf("SIP/clearsightokc.pstn.twilio.com-00000043", "1?setlanguage:checkanon") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: s
Priority: 1
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: s
Application: GotoIf
AppData: 1?setlanguage:checkanon
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx_builtins.c: Goto (from-sip-external,s,2)
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'SIPLANG' is 'en'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'Set'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:2] Set("SIP/clearsightokc.pstn.twilio.com-00000043", "CHANNEL(language)=en") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: s
Priority: 2
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: s
Application: Set
AppData: CHANNEL(language)=en
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Result of 'ALLOW_SIP_ANON' is 'no'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Expression result is '1'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'GotoIf'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:3] GotoIf("SIP/clearsightokc.pstn.twilio.com-00000043", "1?noanonymous") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: s
Priority: 3
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: s
Application: GotoIf
AppData: 1?noanonymous
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx_builtins.c: Goto (from-sip-external,s,5)
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'Set'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:5] Set("SIP/clearsightokc.pstn.twilio.com-00000043", "TIMEOUT(absolute)=15") in new stack
[2017-05-25 16:06:57] DEBUG[2506] manager.c: Examining AMI event:
Event: NewextenPrivilege: call,all
Channel: SIP/clearsightokc.pstn.twilio.com-00000043
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: +14054066291
CallerIDName:
ConnectedLineNum:
ConnectedLineName:
Language: en
AccountCode:
Context: from-sip-external
Exten: s
Priority: 5
Uniqueid: 1495746417.67
Linkedid: 1495746417.67
Extension: s
Application: Set
AppData: TIMEOUT(absolute)=15
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] func_timeout.c: Channel will hangup at 2017-05-25 16:07:12.439 CDT.
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx_variables.c: Function CHANNEL(recvip) result is '10.0.1.1'
[2017-05-25 16:06:57] DEBUG[27282][C-00000041] pbx.c: Launching 'Log'
[2017-05-25 16:06:57] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:6] Log("SIP/clearsightokc.pstn.twilio.com-00000043", "WARNING,"Rejecting unknown SIP connection from 10.0.1.1"") in new stack[2017-05-25 16:06:57] DEBUG[27282][C-00000041] res_rtp_asterisk.c: Ooh, format changed from none to ulaw
[2017-05-25 16:06:59] DEBUG[27282][C-00000041] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2017-05-25 16:06:59] DEBUG[27282][C-00000041] channel.c: Stopped silence generator on 'SIP/clearsightokc.pstn.twilio.com-00000043'
[2017-05-25 16:06:59] DEBUG[27282][C-00000041] channel.c: Channel SIP/clearsightokc.pstn.twilio.com-00000043 setting write format path: ulaw -> ulaw
[2017-05-25 16:06:59] DEBUG[27282][C-00000041] pbx.c: Launching 'Playback'
[2017-05-25 16:06:59] VERBOSE[27282][C-00000041] pbx.c: Executing [s@from-sip-external:9] Playback("SIP/clearsightokc.pstn.twilio.com-00000043", "ss-noservice") in new stack
Posts: 1
Participants: 1