======================== Node1 ====================================================== made 1 outbound call ecv 1029 bytes from tcp/[192.168.1.33]:57046 at 12:48:34.947000: ------------------------------------------------------------------------ PUBLISH sip:9110327518@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-3e36364c46d89ad0-1---d8754z- Max-Forwards: 70 Contact: To: From: ;tag=86df720b Call-ID: ZGI2MWFmNDVkYzQzYWRlNzgxNGEyYWQyZTdjMDkyNjc. CSeq: 6 PUBLISH Expires: 600 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE Content-Type: application/pidf+xml SIP-If-Match: UKbExz6Z Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri User-Agent: Z 3.3.25608 r25552 Event: presence Allow-Events: presence, kpml Content-Length: 279 open On the phone ------------------------------------------------------------------------ send 733 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.030390: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-3e36364c46d89ad0-1---d8754z-;rport=57046 From: ;tag=86df720b To: ;tag=F0HpppjQv4v6H Call-ID: ZGI2MWFmNDVkYzQzYWRlNzgxNGEyYWQyZTdjMDkyNjc. CSeq: 6 PUBLISH Contact: Expires: 600 User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer SIP-ETag: vEZNVeoU Content-Length: 0 ------------------------------------------------------------------------ recv 933 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.429488: ------------------------------------------------------------------------ INVITE sip:18555801802@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z- Max-Forwards: 70 Contact: To: From: ;tag=0b9da74b Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE Content-Type: application/sdp Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri User-Agent: Z 3.3.25608 r25552 Allow-Events: presence, kpml Content-Length: 243 v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv ------------------------------------------------------------------------ send 347 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.429857: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-;rport=57046 From: ;tag=0b9da74b To: Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 1 INVITE User-Agent: ASTPP Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:35.425971 [NOTICE] switch_channel.c:1104 New Channel sofia/default/9110327518@192.168.1.141 [8a63fa1c-87ab-4546-bf38-d2bc304994d0] 2017-10-09 12:48:35.425971 [DEBUG] switch_core_state_machine.c:584 (sofia/default/9110327518@192.168.1.141) Running State Change CS_NEW (Cur 1 Tot 7) 2017-10-09 12:48:35.425971 [DEBUG] sofia.c:9837 sofia/default/9110327518@192.168.1.141 receiving invite from 192.168.1.33:57046 version: 1.6.18 64bit 2017-10-09 12:48:35.425971 [DEBUG] sofia.c:10008 IP 192.168.1.33 Rejected by acl "default". Falling back to Digest auth. send 844 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.538760: ------------------------------------------------------------------------ SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-;rport=57046 From: ;tag=0b9da74b To: ;tag=g9aFrH3tSDKSD Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 1 INVITE User-Agent: ASTPP Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Proxy-Authenticate: Digest realm="192.168.1.141", nonce="a2296efb-8e5a-4e24-b1af-d80ef8b8e961", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:35.525969 [DEBUG] sofia.c:2334 detaching session 8a63fa1c-87ab-4546-bf38-d2bc304994d0 2017-10-09 12:48:35.525969 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [18555801802@192.168.1.141] from ip 192.168.1.33 2017-10-09 12:48:35.525969 [DEBUG] switch_core_state_machine.c:603 (sofia/default/9110327518@192.168.1.141) State NEW recv 386 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.540261: ------------------------------------------------------------------------ ACK sip:18555801802@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z- Max-Forwards: 70 To: ;tag=g9aFrH3tSDKSD From: ;tag=0b9da74b Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 1 ACK Content-Length: 0 ------------------------------------------------------------------------ recv 1222 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.577575: ------------------------------------------------------------------------ INVITE sip:18555801802@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z- Max-Forwards: 70 Contact: To: From: ;tag=0b9da74b Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE Content-Type: application/sdp Proxy-Authorization: Digest username="9110327518",realm="192.168.1.141",nonce="a2296efb-8e5a-4e24-b1af-d80ef8b8e961",uri="sip:18555801802@192.168.1.141;transport=TCP",response="08be4756142895a54ed82b2cb14b3d23",cnonce="a5be0c9d4981d1c02b9de4000dacfba0",nc=00000001,qop=auth,algorithm=MD5 Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri User-Agent: Z 3.3.25608 r25552 Allow-Events: presence, kpml Content-Length: 243 v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv ------------------------------------------------------------------------ send 347 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.577881: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046 From: ;tag=0b9da74b To: Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 2 INVITE User-Agent: ASTPP Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:35.546011 [DEBUG] sofia.c:2442 Re-attaching to session 8a63fa1c-87ab-4546-bf38-d2bc304994d0 2017-10-09 12:48:35.546011 [DEBUG] sofia.c:9837 sofia/default/9110327518@192.168.1.141 receiving invite from 192.168.1.33:57046 version: 1.6.18 64bit 2017-10-09 12:48:35.546011 [DEBUG] sofia.c:10008 IP 192.168.1.33 Rejected by acl "default". Falling back to Digest auth. 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:11132 Setting NAT mode based on via port 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [received][100] 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/9110327518@192.168.1.141 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 12:48:35.925977 [DEBUG] switch_core_codec.c:111 sofia/default/9110327518@192.168.1.141 Original read codec set to PCMA:8 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4763 sofia/default/9110327518@192.168.1.141 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7471 (sofia/default/9110327518@192.168.1.141) State Change CS_NEW -> CS_INIT 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/9110327518@192.168.1.141) Running State Change CS_INIT (Cur 1 Tot 7) 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:627 (sofia/default/9110327518@192.168.1.141) State INIT 2017-10-09 12:48:35.925977 [DEBUG] mod_sofia.c:90 sofia/default/9110327518@192.168.1.141 SOFIA INIT 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:40 sofia/default/9110327518@192.168.1.141 Standard INIT 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:48 (sofia/default/9110327518@192.168.1.141) State Change CS_INIT -> CS_ROUTING 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:627 (sofia/default/9110327518@192.168.1.141) State INIT going to sleep 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/9110327518@192.168.1.141) Running State Change CS_ROUTING (Cur 1 Tot 7) 2017-10-09 12:48:35.925977 [DEBUG] switch_channel.c:2249 (sofia/default/9110327518@192.168.1.141) Callstate Change DOWN -> RINGING 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:643 (sofia/default/9110327518@192.168.1.141) State ROUTING 2017-10-09 12:48:35.925977 [DEBUG] mod_sofia.c:143 sofia/default/9110327518@192.168.1.141 SOFIA ROUTING 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:236 sofia/default/9110327518@192.168.1.141 Standard ROUTING 2017-10-09 12:48:35.925977 [INFO] mod_dialplan_xml.c:637 Processing 9110327518 <9110327518>->18555801802 in context default 2017-10-09 12:48:35.925977 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f25b806b300 Connected. 2017-10-09 12:48:35.925977 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 18555801802 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 9110327518 / 9110327518 2017-10-09 12:48:35.945964 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="18555801802" LIMIT 1 2017-10-09 12:48:35.945964 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND username="18555801802" limit 1 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2017-10-09 12:48:35.945964 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 2457848300] 2017-10-09 12:48:35.945964 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "2457848300" OR id="2457848300") AND status=0 AND deleted=0 AND (expiry >= '2017-10-09 07:18:35' OR expiry = '0000-00-00 00:00:00') limit 1 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^18555801802.*' OR blocked_patterns ='^1855580180.*' OR blocked_patterns ='^185558018.*' OR blocked_patterns ='^18555801.*' OR blocked_patterns ='^1855580.*' OR blocked_patterns ='^185558.*' OR blocked_patterns ='^18555.*' OR blocked_patterns ='^1855.*' OR blocked_patterns ='^185.*' OR blocked_patterns ='^18.*' OR blocked_patterns ='^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^18555801802.*' OR patterns ='^1855580180.*' OR patterns ='^185558018.*' OR patterns ='^18555801.*' OR patterns ='^1855580.*' OR patterns ='^185558.*' OR patterns ='^18555.*' OR patterns ='^1855.*' OR patterns ='^185.*' OR patterns ='^18.*' OR patterns ='^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 2457848300 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 6912.4223 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^18555801802.*' OR pattern ='^1855580180.*' OR pattern ='^185558018.*' OR pattern ='^18555801.*' OR pattern ='^1855580.*' OR pattern ='^185558.*' OR pattern ='^18555.*' OR pattern ='^1855.*' OR pattern ='^185.*' OR pattern ='^18.*' OR pattern ='^1.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.66670 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : USA 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!! 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 2017-10-09 12:48:35.985968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TK.cid_translation,TR.init_inc,TK.status,TK.dialed_modify,TK.maxchannels,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern ='^18555801802.*' OR pattern ='^1855580180.*' OR pattern ='^185558018.*' OR pattern ='^18555801.*' OR pattern ='^1855580.*' OR pattern ='^185558.*' OR pattern ='^18555.*' OR pattern ='^1855.*' OR pattern ='^185.*' OR pattern ='^18.*' OR pattern ='^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^1.* 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : USA 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^1.* 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : YourProvider 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : register-transport=udp 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation : 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] leg timeout : 10 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] codec : PCMA,PCMU 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] leg timeout : 10 2017-10-09 12:48:36.005967 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1 2017-10-09 12:48:36.005967 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts 2017-10-09 12:48:36.005967 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] register-transport=udp 2017-10-09 12:48:36.005967 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GATEWAY VARIABLE ] : register-transport 2017-10-09 12:48:36.005967 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2017-10-09 12:48:36.005967 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f25b806b300 released. Dialplan: sofia/default/9110327518@192.168.1.141 parsing [default->att_xfer] continue=false Dialplan: sofia/default/9110327518@192.168.1.141 Regex (FAIL) [att_xfer] destination_number(18555801802) =~ /^att_xfer$/ break=on-false Dialplan: sofia/default/9110327518@192.168.1.141 parsing [default->18555801802] continue=false Dialplan: sofia/default/9110327518@192.168.1.141 Regex (PASS) [18555801802] destination_number(18555801802) =~ /18555801802/ break=on-false Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_destination_number=18555801802) Dialplan: sofia/default/9110327518@192.168.1.141 Action sched_hangup(+1440 normal_clearing) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(callstart=2017-10-09 07:18:36) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(continue_on_fail=true) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(account_id=2) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(parent_id=0) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(entity_id=0) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(call_processed=internal) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(call_direction=outbound) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(accountname=default) Dialplan: sofia/default/9110327518@192.168.1.141 Action export(t38_passthru=true) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(fax_enable_t38=true) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.66670|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:2) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(original_caller_id_name=9110327518) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(original_caller_id_number=9110327518) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_caller_id_name=9110327518) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_caller_id_number=9110327518) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(calltype=STANDARD) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(trunk_id=1) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(provider_id=3) Dialplan: sofia/default/9110327518@192.168.1.141 Action set(register-transport=udp) Dialplan: sofia/default/9110327518@192.168.1.141 Action bridge([absolute_codec_string=PCMA,PCMU]sofia/gateway/YourProvider/18555801802) 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:286 (sofia/default/9110327518@192.168.1.141) State Change CS_ROUTING -> CS_EXECUTE 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:643 (sofia/default/9110327518@192.168.1.141) State ROUTING going to sleep 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:584 (sofia/default/9110327518@192.168.1.141) Running State Change CS_EXECUTE (Cur 1 Tot 7) 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:650 (sofia/default/9110327518@192.168.1.141) State EXECUTE 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:198 sofia/default/9110327518@192.168.1.141 SOFIA EXECUTE 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:328 sofia/default/9110327518@192.168.1.141 Standard EXECUTE EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_destination_number=18555801802) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [effective_destination_number]=[18555801802] EXECUTE sofia/default/9110327518@192.168.1.141 sched_hangup(+1440 normal_clearing) 2017-10-09 12:48:36.005967 [DEBUG] switch_scheduler.c:249 Added task 4 switch_ivr_schedule_hangup (8a63fa1c-87ab-4546-bf38-d2bc304994d0) to run at 1507534956 EXECUTE sofia/default/9110327518@192.168.1.141 set(callstart=2017-10-09 07:18:36) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [callstart]=[2017-10-09 07:18:36] EXECUTE sofia/default/9110327518@192.168.1.141 set(hangup_after_bridge=true) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [hangup_after_bridge]=[true] EXECUTE sofia/default/9110327518@192.168.1.141 set(continue_on_fail=true) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [continue_on_fail]=[true] EXECUTE sofia/default/9110327518@192.168.1.141 set(account_id=2) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [account_id]=[2] EXECUTE sofia/default/9110327518@192.168.1.141 set(parent_id=0) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [parent_id]=[0] EXECUTE sofia/default/9110327518@192.168.1.141 set(entity_id=0) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [entity_id]=[0] EXECUTE sofia/default/9110327518@192.168.1.141 set(call_processed=internal) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [call_processed]=[internal] EXECUTE sofia/default/9110327518@192.168.1.141 set(call_direction=outbound) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [call_direction]=[outbound] EXECUTE sofia/default/9110327518@192.168.1.141 set(accountname=default) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [accountname]=[default] EXECUTE sofia/default/9110327518@192.168.1.141 export(t38_passthru=true) 2017-10-09 12:48:36.005967 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/9110327518@192.168.1.141 set(fax_enable_t38=true) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [fax_enable_t38]=[true] EXECUTE sofia/default/9110327518@192.168.1.141 set(fax_enable_t38_request=true) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [fax_enable_t38_request]=[true] EXECUTE sofia/default/9110327518@192.168.1.141 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.66670|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:2) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.66670|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:2] EXECUTE sofia/default/9110327518@192.168.1.141 set(original_caller_id_name=9110327518) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [original_caller_id_name]=[9110327518] EXECUTE sofia/default/9110327518@192.168.1.141 set(original_caller_id_number=9110327518) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [original_caller_id_number]=[9110327518] EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_caller_id_name=9110327518) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [effective_caller_id_name]=[9110327518] EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_caller_id_number=9110327518) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [effective_caller_id_number]=[9110327518] EXECUTE sofia/default/9110327518@192.168.1.141 set(calltype=STANDARD) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [calltype]=[STANDARD] EXECUTE sofia/default/9110327518@192.168.1.141 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3] EXECUTE sofia/default/9110327518@192.168.1.141 set(trunk_id=1) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [trunk_id]=[1] EXECUTE sofia/default/9110327518@192.168.1.141 set(provider_id=3) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [provider_id]=[3] EXECUTE sofia/default/9110327518@192.168.1.141 set(register-transport=udp) 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [register-transport]=[udp] EXECUTE sofia/default/9110327518@192.168.1.141 bridge([absolute_codec_string=PCMA,PCMU]sofia/gateway/YourProvider/18555801802) 2017-10-09 12:48:36.005967 [DEBUG] switch_channel.c:1250 sofia/default/9110327518@192.168.1.141 EXPORTING[export_vars] [t38_passthru]=[true] to event 2017-10-09 12:48:36.005967 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-10-09 12:48:36.005967 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2017-10-09 12:48:36.005967 [NOTICE] switch_channel.c:1104 New Channel sofia/default/18555801802 [f7d7da99-f832-4636-af39-0a42e472c85d] 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:4819 (sofia/default/18555801802) State Change CS_NEW -> CS_INIT 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18555801802) Running State Change CS_INIT (Cur 2 Tot 8) 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18555801802) State INIT 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:90 sofia/default/18555801802 SOFIA INIT 2017-10-09 12:48:36.005967 [DEBUG] sofia_glue.c:1295 sofia/default/18555801802 sending invite version: 1.6.18 64bit Local SDP: v=0 o=FreeSWITCH 1507512270 1507512271 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21246 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1132 bytes to udp/[59.203.131.36]:5061 at 12:48:36.025404: ------------------------------------------------------------------------ INVITE sip:18555801802@59.203.131.36:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSD6mDFKa42pmm Max-Forwards: 69 From: "9110327518" ;tag=jUX0U741KZZym To: Call-ID: e7f84a1a-2764-1236-2989-000c29f46286 CSeq: 113430694 INVITE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 222 Remote-Party-ID: "9110327518" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1507512270 1507512271 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21246 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:40 sofia/default/18555801802 Standard INIT 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:48 (sofia/default/18555801802) State Change CS_INIT -> CS_ROUTING 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18555801802) State INIT going to sleep 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18555801802) Running State Change CS_ROUTING (Cur 2 Tot 8) 2017-10-09 12:48:36.025963 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [calling][0] 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18555801802) State ROUTING 2017-10-09 12:48:36.025963 [DEBUG] mod_sofia.c:143 sofia/default/18555801802 SOFIA ROUTING 2017-10-09 12:48:36.025963 [DEBUG] switch_ivr_originate.c:67 (sofia/default/18555801802) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18555801802) State ROUTING going to sleep 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18555801802) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8) 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:662 (sofia/default/18555801802) State CONSUME_MEDIA 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:662 (sofia/default/18555801802) State CONSUME_MEDIA going to sleep recv 525 bytes from udp/[59.203.131.36]:5061 at 12:48:36.299436: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060 From: "9110327518" ;tag=jUX0U741KZZym To: Call-ID: e7f84a1a-2764-1236-2989-000c29f46286 CSeq: 113430694 INVITE Server: Asterisk PBX 13.8.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: Content-Length: 0 ------------------------------------------------------------------------ recv 541 bytes from udp/[59.203.131.36]:5061 at 12:48:36.299934: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060 From: "9110327518" ;tag=jUX0U741KZZym To: ;tag=as29575b6f Call-ID: e7f84a1a-2764-1236-2989-000c29f46286 CSeq: 113430694 INVITE Server: Asterisk PBX 13.8.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:36.685969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [proceeding][180] 2017-10-09 12:48:36.685969 [NOTICE] sofia.c:7156 Ring-Ready sofia/default/18555801802! 2017-10-09 12:48:36.685969 [DEBUG] switch_channel.c:3346 (sofia/default/18555801802) Callstate Change DOWN -> RINGING send 760 bytes to tcp/[192.168.1.33]:57046 at 12:48:36.709129: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046 From: ;tag=0b9da74b To: ;tag=Hj47Scmypp9BS Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 2 INVITE Contact: User-Agent: ASTPP Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:36.705969 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/9110327518@192.168.1.141! 2017-10-09 12:48:36.705969 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [early][180] 2017-10-09 12:48:36.705969 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/9110327518@192.168.1.141! recv 810 bytes from udp/[59.203.131.36]:5061 at 12:48:37.301893: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060 From: "9110327518" ;tag=jUX0U741KZZym To: ;tag=as29575b6f Call-ID: e7f84a1a-2764-1236-2989-000c29f46286 CSeq: 113430694 INVITE Server: Asterisk PBX 13.8.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: Content-Type: application/sdp Content-Length: 241 v=0 o=root 720342555 720342555 IN IP4 59.203.131.36 s=Asterisk PBX 13.8.0 c=IN IP4 59.203.131.36 t=0 0 m=audio 15812 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 a=sendrecv ------------------------------------------------------------------------ 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [completing][200] 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=root 720342555 720342555 IN IP4 59.203.131.36 s=Asterisk PBX 13.8.0 c=IN IP4 59.203.131.36 t=0 0 m=audio 15812 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 send 430 bytes to udp/[59.203.131.36]:5061 at 12:48:37.341002: ------------------------------------------------------------------------ ACK sip:18555801802@59.203.131.36:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKtpZDFa4D1BD7F Max-Forwards: 70 From: "9110327518" ;tag=jUX0U741KZZym To: ;tag=as29575b6f Call-ID: e7f84a1a-2764-1236-2989-000c29f46286 CSeq: 113430694 ACK Contact: Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [ready][200] 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/18555801802 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 12:48:37.325969 [DEBUG] switch_core_codec.c:111 sofia/default/18555801802 Original read codec set to PCMA:8 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4763 sofia/default/18555801802 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/default/18555801802] 192.168.1.141 port 21246 -> 59.203.131.36 port 15812 codec: 8 ms: 20 2017-10-09 12:48:37.345967 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7175 sofia/default/18555801802 Set 2833 dtmf send payload to 101 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7182 sofia/default/18555801802 Set 2833 dtmf receive payload to 101 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7205 sofia/default/18555801802 Set rtp dtmf delay to 40 2017-10-09 12:48:37.345967 [NOTICE] sofia.c:8182 Channel [sofia/default/18555801802] has been answered 2017-10-09 12:48:37.345967 [DEBUG] switch_channel.c:3773 (sofia/default/18555801802) Callstate Change RINGING -> ACTIVE 2017-10-09 12:48:37.386202 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/default/9110327518@192.168.1.141] 192.168.1.141 port 27546 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2017-10-09 12:48:37.386202 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-10-09 12:48:37.386202 [DEBUG] switch_core_media.c:7175 sofia/default/9110327518@192.168.1.141 Set 2833 dtmf send payload to 101 2017-10-09 12:48:37.386202 [DEBUG] switch_core_media.c:7182 sofia/default/9110327518@192.168.1.141 Set 2833 dtmf receive payload to 101 2017-10-09 12:48:37.386202 [DEBUG] switch_core_media.c:7205 sofia/default/9110327518@192.168.1.141 Set rtp dtmf delay to 40 2017-10-09 12:48:37.386202 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/9110327518@192.168.1.141: v=0 o=FreeSWITCH 1507505971 1507505972 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 27546 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1015 bytes to tcp/[192.168.1.33]:57046 at 12:48:37.392696: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046 From: ;tag=0b9da74b To: ;tag=Hj47Scmypp9BS Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 2 INVITE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 222 v=0 o=FreeSWITCH 1507505971 1507505972 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 27546 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2017-10-09 12:48:37.386202 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [completed][200] 2017-10-09 12:48:37.386202 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/9110327518@192.168.1.141] has been answered 2017-10-09 12:48:37.386202 [DEBUG] switch_channel.c:3773 (sofia/default/9110327518@192.168.1.141) Callstate Change RINGING -> ACTIVE 2017-10-09 12:48:37.386202 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/18555801802] recv 774 bytes from tcp/[192.168.1.33]:57046 at 12:48:37.397569: ------------------------------------------------------------------------ ACK sip:18555801802@192.168.1.141:5060;transport=tcp SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-81566477554bf968-1---d8754z- Max-Forwards: 70 Contact: To: ;tag=Hj47Scmypp9BS From: ;tag=0b9da74b Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg. CSeq: 2 ACK Proxy-Authorization: Digest username="9110327518",realm="192.168.1.141",nonce="a2296efb-8e5a-4e24-b1af-d80ef8b8e961",uri="sip:18555801802@192.168.1.141;transport=TCP",response="08be4756142895a54ed82b2cb14b3d23",cnonce="a5be0c9d4981d1c02b9de4000dacfba0",nc=00000001,qop=auth,algorithm=MD5 User-Agent: Z 3.3.25608 r25552 Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:48:37.386202 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [ready][200] 2017-10-09 12:48:37.445968 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/18555801802) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2017-10-09 12:48:37.445968 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18555801802) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 8) 2017-10-09 12:48:37.445968 [DEBUG] switch_core_state_machine.c:653 (sofia/default/18555801802) State EXCHANGE_MEDIA 2017-10-09 12:48:37.445968 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2017-10-09 12:48:37.665969 [INFO] switch_rtp.c:7214 Auto Changing audio port from 117.247.91.162:8000 to 192.168.1.33:8000 2017-10-09 12:48:37.805969 [DEBUG] switch_rtp.c:7254 Correct audio ip/port confirmed. freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> fsc [ fsctl] freeswitch@freeswitch> fsctl crash Socket interrupted, bye! root@astpptest1:/home/inextrix# root@astpptest1:/home/inextrix# ============================================================= Node2 ====================================================== freeswitch@freeswitch> sofia recover Recovered 2 call(s) 2017-10-09 12:49:18.742127 [NOTICE] switch_channel.c:1104 New Channel sofia/default/15034019991 [30f038d3-86fe-45ed-acc4-c99cddb4d79e] 2017-10-09 12:49:18.742127 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/15034019991->sofia/default/15034019991 [30f038d3-86fe-45ed-acc4-c99cddb4d79e] 2017-10-09 12:49:18.742127 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/15034019991 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 12:49:18.742127 [DEBUG] switch_core_codec.c:111 sofia/default/15034019991 Original read codec set to PCMU:0 2017-10-09 12:49:18.742127 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/15034019991] 192.168.1.141 port 21506 -> 59.203.131.36 port 17840 codec: 0 ms: 20 2017-10-09 12:49:18.742127 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6763 sofia/default/15034019991 Set 2833 dtmf send payload to 101 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6770 sofia/default/15034019991 Set 2833 dtmf receive payload to 101 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6793 sofia/default/15034019991 Set rtp dtmf delay to 40 2017-10-09 12:49:18.762161 [DEBUG] switch_core_sqldb.c:3026 (sofia/default/15034019991) State Change CS_NEW -> CS_INIT 2017-10-09 12:49:18.762161 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/15034019991 2017-10-09 12:49:18.762161 [NOTICE] switch_channel.c:1104 New Channel sofia/default/9110327518@192.168.1.141 [5e656c94-f568-4525-844d-4b2dc85c9516] 2017-10-09 12:49:18.762161 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/9110327518@192.168.1.141->sofia/default/9110327518@192.168.1.141 [5e656c94-f568-4525-844d-4b2dc85c9516] 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/9110327518@192.168.1.141 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 12:49:18.762161 [DEBUG] switch_core_codec.c:111 sofia/default/9110327518@192.168.1.141 Original read codec set to PCMA:8 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/9110327518@192.168.1.141] 192.168.1.141 port 21510 -> 192.168.1.33 port 8000 codec: 8 ms: 20 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_INIT 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/15034019991) State INIT 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:89 sofia/default/15034019991 SOFIA INIT 2017-10-09 12:49:18.762161 [DEBUG] sofia_glue.c:1257 sofia/default/15034019991 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit Local SDP: v=0 o=FreeSWITCH 1507512052 1507512054 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21506 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1219 bytes to udp/[59.203.131.36]:5061 at 12:49:18.784972: ------------------------------------------------------------------------ INVITE sip:15034019991@59.203.131.36:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKc4jjcH1ae0yDg Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKXgD4ygtg67B7a;received=192.168.1.141;rport=5060 Max-Forwards: 69 From: "9110327518" ;tag=1pyK1t9ZK8QSg To: ;tag=as6d6d7be3 Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201 CSeq: 113430715 INVITE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 219 Remote-Party-ID: "9110327518" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1507512052 1507512054 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21506 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:40 sofia/default/15034019991 Standard INIT 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:43 (sofia/default/15034019991) State Change CS_INIT -> CS_RESET 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/15034019991) State INIT going to sleep 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_RESET 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/15034019991 entering state [calling][0] 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/15034019991) State RESET 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:160 sofia/default/15034019991 SOFIA RESET 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:188 sofia/default/15034019991 Standard RESET 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/15034019991) State RESET going to sleep 2017-10-09 12:49:18.762161 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6763 sofia/default/9110327518@192.168.1.141 Set 2833 dtmf send payload to 101 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6770 sofia/default/9110327518@192.168.1.141 Set 2833 dtmf receive payload to 101 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6793 sofia/default/9110327518@192.168.1.141 Set rtp dtmf delay to 40 2017-10-09 12:49:18.762161 [DEBUG] switch_core_sqldb.c:3026 (sofia/default/9110327518@192.168.1.141) State Change CS_NEW -> CS_INIT 2017-10-09 12:49:18.762161 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/9110327518@192.168.1.141 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9110327518@192.168.1.141) Running State Change CS_INIT 2017-10-09 12:49:18.762161 [DEBUG] switch_channel.c:2251 (sofia/default/9110327518@192.168.1.141) Callstate Change DOWN -> ACTIVE 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/9110327518@192.168.1.141) State INIT 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:89 sofia/default/9110327518@192.168.1.141 SOFIA INIT 2017-10-09 12:49:18.762161 [DEBUG] sofia_glue.c:1228 sip:15034019991@192.168.1.33:47924 Setting proxy route to sofia/default/9110327518@192.168.1.141 2017-10-09 12:49:18.762161 [DEBUG] sofia_glue.c:1257 sofia/default/9110327518@192.168.1.141 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit Local SDP: v=0 o=FreeSWITCH 1507512048 1507512050 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21510 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:40 sofia/default/9110327518@192.168.1.141 Standard INIT 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:43 (sofia/default/9110327518@192.168.1.141) State Change CS_INIT -> CS_RESET 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/9110327518@192.168.1.141) State INIT going to sleep 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9110327518@192.168.1.141) Running State Change CS_RESET 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/9110327518@192.168.1.141 entering state [calling][0] 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/9110327518@192.168.1.141 entering state [terminated][503] 2017-10-09 12:49:18.762161 [NOTICE] sofia.c:7881 Hangup sofia/default/9110327518@192.168.1.141 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/9110327518@192.168.1.141) State RESET 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:160 sofia/default/9110327518@192.168.1.141 SOFIA RESET 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/9110327518@192.168.1.141) State RESET going to sleep 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9110327518@192.168.1.141) Running State Change CS_HANGUP 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:809 (sofia/default/9110327518@192.168.1.141) Callstate Change ACTIVE -> HANGUP 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:811 (sofia/default/9110327518@192.168.1.141) State HANGUP 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:437 Channel sofia/default/9110327518@192.168.1.141 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:60 sofia/default/9110327518@192.168.1.141 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:811 (sofia/default/9110327518@192.168.1.141) State HANGUP going to sleep 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:578 (sofia/default/9110327518@192.168.1.141) State Change CS_HANGUP -> CS_REPORTING 2017-10-09 12:49:18.762161 [CONSOLE] sofia_presence.c:1618 Event Thread Started 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9110327518@192.168.1.141) Running State Change CS_REPORTING 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:897 (sofia/default/9110327518@192.168.1.141) State REPORTING 2017-10-09 12:49:18.762161 [INFO] mod_json_cdr.c:271 Process [5e656c94-f568-4525-844d-4b2dc85c9516.cdr.json] 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:174 sofia/default/9110327518@192.168.1.141 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:897 (sofia/default/9110327518@192.168.1.141) State REPORTING going to sleep 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:569 (sofia/default/9110327518@192.168.1.141) State Change CS_REPORTING -> CS_DESTROY 2017-10-09 12:49:18.902145 [DEBUG] switch_core_session.c:1646 Session 2 (sofia/default/9110327518@192.168.1.141) Locked, Waiting on external entities 2017-10-09 12:49:18.902145 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/default/9110327518@192.168.1.141) Ended 2017-10-09 12:49:18.902145 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/9110327518@192.168.1.141 [CS_DESTROY] 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:700 (sofia/default/9110327518@192.168.1.141) Running State Change CS_DESTROY 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:710 (sofia/default/9110327518@192.168.1.141) State DESTROY 2017-10-09 12:49:18.902145 [DEBUG] mod_sofia.c:342 sofia/default/9110327518@192.168.1.141 SOFIA DESTROY 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:181 sofia/default/9110327518@192.168.1.141 Standard DESTROY 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:710 (sofia/default/9110327518@192.168.1.141) State DESTROY going to sleep recv 616 bytes from udp/[59.203.131.36]:5061 at 12:49:19.057703: ------------------------------------------------------------------------ SIP/2.0 481 Call/Transaction Does Not Exist Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKc4jjcH1ae0yDg;received=192.168.1.141;rport=5060 Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKXgD4ygtg67B7a;received=192.168.1.141;rport=5060 From: "9110327518" ;tag=1pyK1t9ZK8QSg To: ;tag=as6d6d7be3 Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201 CSeq: 113430715 INVITE Server: Asterisk PBX 13.8.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Length: 0 ------------------------------------------------------------------------ send 354 bytes to udp/[59.203.131.36]:5061 at 12:49:19.057920: ------------------------------------------------------------------------ ACK sip:15034019991@59.203.131.36:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKc4jjcH1ae0yDg Max-Forwards: 69 From: "9110327518" ;tag=1pyK1t9ZK8QSg To: ;tag=as6d6d7be3 Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201 CSeq: 113430715 ACK Content-Length: 0 ------------------------------------------------------------------------ 2017-10-09 12:49:19.042143 [DEBUG] sofia.c:6858 Channel sofia/default/15034019991 entering state [terminated][481] 2017-10-09 12:49:19.042143 [NOTICE] sofia.c:7881 Hangup sofia/default/15034019991 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_HANGUP 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:809 (sofia/default/15034019991) Callstate Change DOWN -> HANGUP 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:811 (sofia/default/15034019991) State HANGUP 2017-10-09 12:49:19.042143 [DEBUG] mod_sofia.c:431 sofia/default/15034019991 Overriding SIP cause 503 with 503 from the other leg 2017-10-09 12:49:19.042143 [DEBUG] mod_sofia.c:437 Channel sofia/default/15034019991 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:60 sofia/default/15034019991 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:811 (sofia/default/15034019991) State HANGUP going to sleep 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:578 (sofia/default/15034019991) State Change CS_HANGUP -> CS_REPORTING 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_REPORTING 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:897 (sofia/default/15034019991) State REPORTING 2017-10-09 12:49:19.042143 [INFO] mod_json_cdr.c:271 Process [30f038d3-86fe-45ed-acc4-c99cddb4d79e.cdr.json] 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:174 sofia/default/15034019991 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:897 (sofia/default/15034019991) State REPORTING going to sleep 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:569 (sofia/default/15034019991) State Change CS_REPORTING -> CS_DESTROY 2017-10-09 12:49:19.102088 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/default/15034019991) Locked, Waiting on external entities 2017-10-09 12:49:19.102088 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/default/15034019991) Ended 2017-10-09 12:49:19.102088 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/15034019991 [CS_DESTROY] 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:700 (sofia/default/15034019991) Running State Change CS_DESTROY 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:710 (sofia/default/15034019991) State DESTROY 2017-10-09 12:49:19.122073 [DEBUG] mod_sofia.c:342 sofia/default/15034019991 SOFIA DESTROY 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:181 sofia/default/15034019991 Standard DESTROY 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:710 (sofia/default/15034019991) State DESTROY going to sleep freeswitch@freeswitch>