From Lousy Hog, 7 Years ago, written in Plain Text.
- view diff
Embed
  1.  
  2.  
  3.  
  4. ========================  Node1 ======================================================
  5.  
  6. made 1 outbound call
  7.  
  8. ecv 1029 bytes from tcp/[192.168.1.33]:57046 at 12:48:34.947000:
  9.    ------------------------------------------------------------------------
  10.    PUBLISH sip:9110327518@192.168.1.141;transport=TCP SIP/2.0
  11.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-3e36364c46d89ad0-1---d8754z-
  12.    Max-Forwards: 70
  13.    Contact: <sip:9110327518@117.247.91.162:49554;transport=TCP>
  14.    To: <sip:9110327518@192.168.1.141;transport=TCP>
  15.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=86df720b
  16.    Call-ID: ZGI2MWFmNDVkYzQzYWRlNzgxNGEyYWQyZTdjMDkyNjc.
  17.    CSeq: 6 PUBLISH
  18.    Expires: 600
  19.    Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  20.    Content-Type: application/pidf+xml
  21.    SIP-If-Match: UKbExz6Z
  22.    Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
  23.    User-Agent: Z 3.3.25608 r25552
  24.    Event: presence
  25.    Allow-Events: presence, kpml
  26.    Content-Length: 279
  27.    
  28.    <?xml version="1.0" encoding="UTF-8"?>
  29.    <presence xmlns="urn:ietf:params:xml:ns:pidf"
  30.              entity="sip:9110327518@192.168.1.141;transport=TCP">
  31.      <tuple id="9110327518" >
  32.         <status><basic>open</basic></status>
  33.         <note>On the phone</note>
  34.      </tuple>
  35.    </presence>
  36.    ------------------------------------------------------------------------
  37. send 733 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.030390:
  38.    ------------------------------------------------------------------------
  39.    SIP/2.0 200 OK
  40.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-3e36364c46d89ad0-1---d8754z-;rport=57046
  41.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=86df720b
  42.    To: <sip:9110327518@192.168.1.141;transport=TCP>;tag=F0HpppjQv4v6H
  43.    Call-ID: ZGI2MWFmNDVkYzQzYWRlNzgxNGEyYWQyZTdjMDkyNjc.
  44.    CSeq: 6 PUBLISH
  45.    Contact: <sip:192.168.1.141>
  46.    Expires: 600
  47.    User-Agent: ASTPP
  48.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  49.    Supported: path, replaces
  50.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  51.    SIP-ETag: vEZNVeoU
  52.    Content-Length: 0
  53.    
  54.    ------------------------------------------------------------------------
  55. recv 933 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.429488:
  56.    ------------------------------------------------------------------------
  57.    INVITE sip:18555801802@192.168.1.141;transport=TCP SIP/2.0
  58.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-
  59.    Max-Forwards: 70
  60.    Contact: <sip:9110327518@117.247.91.162:49554;transport=TCP>
  61.    To: <sip:18555801802@192.168.1.141;transport=TCP>
  62.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  63.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  64.    CSeq: 1 INVITE
  65.    Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  66.    Content-Type: application/sdp
  67.    Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
  68.    User-Agent: Z 3.3.25608 r25552
  69.    Allow-Events: presence, kpml
  70.    Content-Length: 243
  71.    
  72.    v=0
  73.    o=Z 0 0 IN IP4 117.247.91.162
  74.    s=Z
  75.    c=IN IP4 117.247.91.162
  76.    t=0 0
  77.    m=audio 8000 RTP/AVP 3 110 8 0 98 101
  78.    a=rtpmap:110 speex/8000
  79.    a=rtpmap:98 iLBC/8000
  80.    a=fmtp:98 mode=20
  81.    a=rtpmap:101 telephone-event/8000
  82.    a=fmtp:101 0-15
  83.    a=sendrecv
  84.    ------------------------------------------------------------------------
  85. send 347 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.429857:
  86.    ------------------------------------------------------------------------
  87.    SIP/2.0 100 Trying
  88.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-;rport=57046
  89.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  90.    To: <sip:18555801802@192.168.1.141;transport=TCP>
  91.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  92.    CSeq: 1 INVITE
  93.    User-Agent: ASTPP
  94.    Content-Length: 0
  95.    
  96.    ------------------------------------------------------------------------
  97. 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]
  98. 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)
  99. 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
  100. 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.
  101. send 844 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.538760:
  102.    ------------------------------------------------------------------------
  103.    SIP/2.0 407 Proxy Authentication Required
  104.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-;rport=57046
  105.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  106.    To: <sip:18555801802@192.168.1.141;transport=TCP>;tag=g9aFrH3tSDKSD
  107.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  108.    CSeq: 1 INVITE
  109.    User-Agent: ASTPP
  110.    Accept: application/sdp
  111.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  112.    Supported: path, replaces
  113.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  114.    Proxy-Authenticate: Digest realm="192.168.1.141", nonce="a2296efb-8e5a-4e24-b1af-d80ef8b8e961", algorithm=MD5, qop="auth"
  115.    Content-Length: 0
  116.    
  117.    ------------------------------------------------------------------------
  118. 2017-10-09 12:48:35.525969 [DEBUG] sofia.c:2334 detaching session 8a63fa1c-87ab-4546-bf38-d2bc304994d0
  119. 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
  120. 2017-10-09 12:48:35.525969 [DEBUG] switch_core_state_machine.c:603 (sofia/default/9110327518@192.168.1.141) State NEW
  121. recv 386 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.540261:
  122.    ------------------------------------------------------------------------
  123.    ACK sip:18555801802@192.168.1.141;transport=TCP SIP/2.0
  124.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-43a033c9e69cd333-1---d8754z-
  125.    Max-Forwards: 70
  126.    To: <sip:18555801802@192.168.1.141;transport=TCP>;tag=g9aFrH3tSDKSD
  127.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  128.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  129.    CSeq: 1 ACK
  130.    Content-Length: 0
  131.    
  132.    ------------------------------------------------------------------------
  133. recv 1222 bytes from tcp/[192.168.1.33]:57046 at 12:48:35.577575:
  134.    ------------------------------------------------------------------------
  135.    INVITE sip:18555801802@192.168.1.141;transport=TCP SIP/2.0
  136.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-
  137.    Max-Forwards: 70
  138.    Contact: <sip:9110327518@117.247.91.162:49554;transport=TCP>
  139.    To: <sip:18555801802@192.168.1.141;transport=TCP>
  140.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  141.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  142.    CSeq: 2 INVITE
  143.    Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  144.    Content-Type: application/sdp
  145.    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
  146.    Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
  147.    User-Agent: Z 3.3.25608 r25552
  148.    Allow-Events: presence, kpml
  149.    Content-Length: 243
  150.    
  151.    v=0
  152.    o=Z 0 0 IN IP4 117.247.91.162
  153.    s=Z
  154.    c=IN IP4 117.247.91.162
  155.    t=0 0
  156.    m=audio 8000 RTP/AVP 3 110 8 0 98 101
  157.    a=rtpmap:110 speex/8000
  158.    a=rtpmap:98 iLBC/8000
  159.    a=fmtp:98 mode=20
  160.    a=rtpmap:101 telephone-event/8000
  161.    a=fmtp:101 0-15
  162.    a=sendrecv
  163.    ------------------------------------------------------------------------
  164. send 347 bytes to tcp/[192.168.1.33]:57046 at 12:48:35.577881:
  165.    ------------------------------------------------------------------------
  166.    SIP/2.0 100 Trying
  167.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046
  168.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  169.    To: <sip:18555801802@192.168.1.141;transport=TCP>
  170.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  171.    CSeq: 2 INVITE
  172.    User-Agent: ASTPP
  173.    Content-Length: 0
  174.    
  175.    ------------------------------------------------------------------------
  176. 2017-10-09 12:48:35.546011 [DEBUG] sofia.c:2442 Re-attaching to session 8a63fa1c-87ab-4546-bf38-d2bc304994d0
  177. 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
  178. 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.
  179. 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:11132 Setting NAT mode based on via port
  180. 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [received][100]
  181. 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7058 Remote SDP:
  182. v=0
  183. o=Z 0 0 IN IP4 117.247.91.162
  184. s=Z
  185. c=IN IP4 117.247.91.162
  186. t=0 0
  187. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  188. a=rtpmap:110 speex/8000
  189. a=rtpmap:98 iLBC/8000
  190. a=fmtp:98 mode=20
  191. a=rtpmap:101 telephone-event/8000
  192. a=fmtp:101 0-15
  193.  
  194. 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]
  195. 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]
  196. 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]
  197. 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]
  198. 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]
  199. 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]
  200. 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]
  201. 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]
  202. 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
  203. 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]
  204. 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]
  205. 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]
  206. 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]
  207. 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
  208. 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]
  209. 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]
  210. 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]
  211. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  212. 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
  213. 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
  214. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  215. 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
  216. 2017-10-09 12:48:35.925977 [DEBUG] sofia.c:7471 (sofia/default/9110327518@192.168.1.141) State Change CS_NEW -> CS_INIT
  217. 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)
  218. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:627 (sofia/default/9110327518@192.168.1.141) State INIT
  219. 2017-10-09 12:48:35.925977 [DEBUG] mod_sofia.c:90 sofia/default/9110327518@192.168.1.141 SOFIA INIT
  220. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:40 sofia/default/9110327518@192.168.1.141 Standard INIT
  221. 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
  222. 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
  223. 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)
  224. 2017-10-09 12:48:35.925977 [DEBUG] switch_channel.c:2249 (sofia/default/9110327518@192.168.1.141) Callstate Change DOWN -> RINGING
  225. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:643 (sofia/default/9110327518@192.168.1.141) State ROUTING
  226. 2017-10-09 12:48:35.925977 [DEBUG] mod_sofia.c:143 sofia/default/9110327518@192.168.1.141 SOFIA ROUTING
  227. 2017-10-09 12:48:35.925977 [DEBUG] switch_core_state_machine.c:236 sofia/default/9110327518@192.168.1.141 Standard ROUTING
  228. 2017-10-09 12:48:35.925977 [INFO] mod_dialplan_xml.c:637 Processing 9110327518 <9110327518>->18555801802 in context default
  229. 2017-10-09 12:48:35.925977 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f25b806b300 Connected.
  230. 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')
  231. 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 18555801802
  232. 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 9110327518 / 9110327518
  233. 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
  234. 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
  235. 2017-10-09 12:48:35.945964 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  236. 2017-10-09 12:48:35.945964 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 2457848300]
  237. 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
  238. 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
  239. 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
  240. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  241. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2
  242. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 2457848300
  243. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 6912.4223
  244. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  245. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  246. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  247. 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
  248. 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
  249. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  250. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  251. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  252. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  253. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.66670
  254. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : USA
  255. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2
  256. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  257. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!!
  258. 2017-10-09 12:48:35.985968 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes
  259. 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
  260. 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
  261. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  262. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  263. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^1.*
  264. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : USA
  265. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  266. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  267. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^1.*
  268. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  269. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  270. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  271. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : YourProvider
  272. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : register-transport=udp
  273. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  274. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  275. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation :
  276. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  277. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  278. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] leg timeout : 10
  279. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] codec : PCMA,PCMU
  280. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP] leg timeout : 10
  281. 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
  282. 2017-10-09 12:48:36.005967 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts
  283. 2017-10-09 12:48:36.005967 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends
  284. 2017-10-09 12:48:36.005967 [INFO] switch_cpp.cpp:1365 [ASTPP]  register-transport=udp
  285. 2017-10-09 12:48:36.005967 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GATEWAY VARIABLE ] : register-transport
  286. 2017-10-09 12:48:36.005967 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  287. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  288. <document type="freeswitch/xml">
  289. <section name="dialplan" description="ASTPP Dialplan">
  290. <context name="default">
  291. <extension name="att_xfer">
  292. <condition field="destination_number" expression="^att_xfer$">
  293. <action application="read" data="1 10 'tone_stream://%(10000,0,350,440)' digits 20000 #"/>
  294. <action application="transfer" data="-bleg ${digits}"/>
  295. </condition>
  296. </extension>
  297. <extension name="18555801802">
  298. <condition field="destination_number" expression="18555801802">
  299. <action application="set" data="effective_destination_number=18555801802"/>
  300. <action application="sched_hangup" data="+1440 normal_clearing"/>
  301. <action application="set" data="callstart=2017-10-09 07:18:36"/>
  302. <action application="set" data="hangup_after_bridge=true"/>
  303. <action application="set" data="continue_on_fail=true"/>
  304. <action application="set" data="account_id=2"/>
  305. <action application="set" data="parent_id=0"/>
  306. <action application="set" data="entity_id=0"/>
  307. <action application="set" data="call_processed=internal"/>
  308. <action application="set" data="call_direction=outbound"/>
  309. <action application="set" data="accountname=default"/>
  310. <action application="export" data="t38_passthru=true"/>
  311. <action application="set" data="fax_enable_t38=true"/>
  312. <action application="set" data="fax_enable_t38_request=true"/>
  313. <action application="set" data="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"/>
  314.  
  315. <action application="set" data="original_caller_id_name=9110327518"/>
  316. <action application="set" data="original_caller_id_number=9110327518"/>
  317. <action application="set" data="effective_caller_id_name=9110327518"/>
  318. <action application="set" data="effective_caller_id_number=9110327518"/>
  319. <action application="set" data="calltype=STANDARD"/>
  320. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  321. <action application="set" data="trunk_id=1"/>
  322. <action application="set" data="provider_id=3"/>
  323. <action application="set" data="register-transport=udp"/>
  324. <action application="bridge" data="[absolute_codec_string=PCMA,PCMU]sofia/gateway/YourProvider/18555801802"/>
  325. </condition>
  326. </extension>
  327. </context>
  328. </section>
  329. </document>
  330. 2017-10-09 12:48:36.005967 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f25b806b300 released.
  331. Dialplan: sofia/default/9110327518@192.168.1.141 parsing [default->att_xfer] continue=false
  332. Dialplan: sofia/default/9110327518@192.168.1.141 Regex (FAIL) [att_xfer] destination_number(18555801802) =~ /^att_xfer$/ break=on-false
  333. Dialplan: sofia/default/9110327518@192.168.1.141 parsing [default->18555801802] continue=false
  334. Dialplan: sofia/default/9110327518@192.168.1.141 Regex (PASS) [18555801802] destination_number(18555801802) =~ /18555801802/ break=on-false
  335. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_destination_number=18555801802)
  336. Dialplan: sofia/default/9110327518@192.168.1.141 Action sched_hangup(+1440 normal_clearing)
  337. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(callstart=2017-10-09 07:18:36)
  338. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(hangup_after_bridge=true)
  339. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(continue_on_fail=true)
  340. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(account_id=2)
  341. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(parent_id=0)
  342. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(entity_id=0)
  343. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(call_processed=internal)
  344. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(call_direction=outbound)
  345. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(accountname=default)
  346. Dialplan: sofia/default/9110327518@192.168.1.141 Action export(t38_passthru=true)
  347. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(fax_enable_t38=true)
  348. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(fax_enable_t38_request=true)
  349. 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)
  350. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(original_caller_id_name=9110327518)
  351. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(original_caller_id_number=9110327518)
  352. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_caller_id_name=9110327518)
  353. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(effective_caller_id_number=9110327518)
  354. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(calltype=STANDARD)
  355. 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)
  356. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(trunk_id=1)
  357. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(provider_id=3)
  358. Dialplan: sofia/default/9110327518@192.168.1.141 Action set(register-transport=udp)
  359. Dialplan: sofia/default/9110327518@192.168.1.141 Action bridge([absolute_codec_string=PCMA,PCMU]sofia/gateway/YourProvider/18555801802)
  360. 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
  361. 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
  362. 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)
  363. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:650 (sofia/default/9110327518@192.168.1.141) State EXECUTE
  364. 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:198 sofia/default/9110327518@192.168.1.141 SOFIA EXECUTE
  365. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:328 sofia/default/9110327518@192.168.1.141 Standard EXECUTE
  366. EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_destination_number=18555801802)
  367. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [effective_destination_number]=[18555801802]
  368. EXECUTE sofia/default/9110327518@192.168.1.141 sched_hangup(+1440 normal_clearing)
  369. 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
  370. EXECUTE sofia/default/9110327518@192.168.1.141 set(callstart=2017-10-09 07:18:36)
  371. 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]
  372. EXECUTE sofia/default/9110327518@192.168.1.141 set(hangup_after_bridge=true)
  373. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [hangup_after_bridge]=[true]
  374. EXECUTE sofia/default/9110327518@192.168.1.141 set(continue_on_fail=true)
  375. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [continue_on_fail]=[true]
  376. EXECUTE sofia/default/9110327518@192.168.1.141 set(account_id=2)
  377. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [account_id]=[2]
  378. EXECUTE sofia/default/9110327518@192.168.1.141 set(parent_id=0)
  379. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [parent_id]=[0]
  380. EXECUTE sofia/default/9110327518@192.168.1.141 set(entity_id=0)
  381. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [entity_id]=[0]
  382. EXECUTE sofia/default/9110327518@192.168.1.141 set(call_processed=internal)
  383. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [call_processed]=[internal]
  384. EXECUTE sofia/default/9110327518@192.168.1.141 set(call_direction=outbound)
  385. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [call_direction]=[outbound]
  386. EXECUTE sofia/default/9110327518@192.168.1.141 set(accountname=default)
  387. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [accountname]=[default]
  388. EXECUTE sofia/default/9110327518@192.168.1.141 export(t38_passthru=true)
  389. 2017-10-09 12:48:36.005967 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  390. EXECUTE sofia/default/9110327518@192.168.1.141 set(fax_enable_t38=true)
  391. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [fax_enable_t38]=[true]
  392. EXECUTE sofia/default/9110327518@192.168.1.141 set(fax_enable_t38_request=true)
  393. 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]
  394. 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)
  395. 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]
  396. EXECUTE sofia/default/9110327518@192.168.1.141 set(original_caller_id_name=9110327518)
  397. 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]
  398. EXECUTE sofia/default/9110327518@192.168.1.141 set(original_caller_id_number=9110327518)
  399. 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]
  400. EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_caller_id_name=9110327518)
  401. 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]
  402. EXECUTE sofia/default/9110327518@192.168.1.141 set(effective_caller_id_number=9110327518)
  403. 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]
  404. EXECUTE sofia/default/9110327518@192.168.1.141 set(calltype=STANDARD)
  405. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [calltype]=[STANDARD]
  406. 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)
  407. 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]
  408. EXECUTE sofia/default/9110327518@192.168.1.141 set(trunk_id=1)
  409. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [trunk_id]=[1]
  410. EXECUTE sofia/default/9110327518@192.168.1.141 set(provider_id=3)
  411. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [provider_id]=[3]
  412. EXECUTE sofia/default/9110327518@192.168.1.141 set(register-transport=udp)
  413. 2017-10-09 12:48:36.005967 [DEBUG] mod_dptools.c:1530 SET sofia/default/9110327518@192.168.1.141 [register-transport]=[udp]
  414. EXECUTE sofia/default/9110327518@192.168.1.141 bridge([absolute_codec_string=PCMA,PCMU]sofia/gateway/YourProvider/18555801802)
  415. 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
  416. 2017-10-09 12:48:36.005967 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  417. 2017-10-09 12:48:36.005967 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  418. 2017-10-09 12:48:36.005967 [NOTICE] switch_channel.c:1104 New Channel sofia/default/18555801802 [f7d7da99-f832-4636-af39-0a42e472c85d]
  419. 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:4819 (sofia/default/18555801802) State Change CS_NEW -> CS_INIT
  420. 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)
  421. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18555801802) State INIT
  422. 2017-10-09 12:48:36.005967 [DEBUG] mod_sofia.c:90 sofia/default/18555801802 SOFIA INIT
  423. 2017-10-09 12:48:36.005967 [DEBUG] sofia_glue.c:1295 sofia/default/18555801802 sending invite version: 1.6.18  64bit
  424. Local SDP:
  425. v=0
  426. o=FreeSWITCH 1507512270 1507512271 IN IP4 192.168.1.141
  427. s=FreeSWITCH
  428. c=IN IP4 192.168.1.141
  429. t=0 0
  430. m=audio 21246 RTP/AVP 8 101
  431. a=rtpmap:8 PCMA/8000
  432. a=rtpmap:101 telephone-event/8000
  433. a=fmtp:101 0-16
  434. a=ptime:20
  435. a=sendrecv
  436.  
  437. send 1132 bytes to udp/[59.203.131.36]:5061 at 12:48:36.025404:
  438.    ------------------------------------------------------------------------
  439.    INVITE sip:18555801802@59.203.131.36:5061 SIP/2.0
  440.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSD6mDFKa42pmm
  441.    Max-Forwards: 69
  442.    From: "9110327518" <sip:9110327518@192.168.1.141>;tag=jUX0U741KZZym
  443.    To: <sip:18555801802@59.203.131.36:5061>
  444.    Call-ID: e7f84a1a-2764-1236-2989-000c29f46286
  445.    CSeq: 113430694 INVITE
  446.    Contact: <sip:gw+YourProvider@192.168.1.141:5060;transport=udp;gw=YourProvider>
  447.    User-Agent: ASTPP
  448.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  449.    Supported: path, replaces
  450.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  451.    Content-Type: application/sdp
  452.    Content-Disposition: session
  453.    Content-Length: 222
  454.    Remote-Party-ID: "9110327518" <sip:9110327518@192.168.1.141>;party=calling;screen=yes;privacy=off
  455.    
  456.    v=0
  457.    o=FreeSWITCH 1507512270 1507512271 IN IP4 192.168.1.141
  458.    s=FreeSWITCH
  459.    c=IN IP4 192.168.1.141
  460.    t=0 0
  461.    m=audio 21246 RTP/AVP 8 101
  462.    a=rtpmap:8 PCMA/8000
  463.    a=rtpmap:101 telephone-event/8000
  464.    a=fmtp:101 0-16
  465.    a=ptime:20
  466.    ------------------------------------------------------------------------
  467. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:40 sofia/default/18555801802 Standard INIT
  468. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:48 (sofia/default/18555801802) State Change CS_INIT -> CS_ROUTING
  469. 2017-10-09 12:48:36.005967 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18555801802) State INIT going to sleep
  470. 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)
  471. 2017-10-09 12:48:36.025963 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [calling][0]
  472. 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18555801802) State ROUTING
  473. 2017-10-09 12:48:36.025963 [DEBUG] mod_sofia.c:143 sofia/default/18555801802 SOFIA ROUTING
  474. 2017-10-09 12:48:36.025963 [DEBUG] switch_ivr_originate.c:67 (sofia/default/18555801802) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  475. 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18555801802) State ROUTING going to sleep
  476. 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)
  477. 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:662 (sofia/default/18555801802) State CONSUME_MEDIA
  478. 2017-10-09 12:48:36.025963 [DEBUG] switch_core_state_machine.c:662 (sofia/default/18555801802) State CONSUME_MEDIA going to sleep
  479. recv 525 bytes from udp/[59.203.131.36]:5061 at 12:48:36.299436:
  480.    ------------------------------------------------------------------------
  481.    SIP/2.0 100 Trying
  482.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060
  483.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=jUX0U741KZZym
  484.    To: <sip:18555801802@59.203.131.36:5061>
  485.    Call-ID: e7f84a1a-2764-1236-2989-000c29f46286
  486.    CSeq: 113430694 INVITE
  487.    Server: Asterisk PBX 13.8.0
  488.    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  489.    Supported: replaces, timer
  490.    Contact: <sip:18555801802@59.203.131.36:5061>
  491.    Content-Length: 0
  492.    
  493.    ------------------------------------------------------------------------
  494. recv 541 bytes from udp/[59.203.131.36]:5061 at 12:48:36.299934:
  495.    ------------------------------------------------------------------------
  496.    SIP/2.0 180 Ringing
  497.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060
  498.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=jUX0U741KZZym
  499.    To: <sip:18555801802@59.203.131.36:5061>;tag=as29575b6f
  500.    Call-ID: e7f84a1a-2764-1236-2989-000c29f46286
  501.    CSeq: 113430694 INVITE
  502.    Server: Asterisk PBX 13.8.0
  503.    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  504.    Supported: replaces, timer
  505.    Contact: <sip:18555801802@59.203.131.36:5061>
  506.    Content-Length: 0
  507.    
  508.    ------------------------------------------------------------------------
  509. 2017-10-09 12:48:36.685969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [proceeding][180]
  510. 2017-10-09 12:48:36.685969 [NOTICE] sofia.c:7156 Ring-Ready sofia/default/18555801802!
  511. 2017-10-09 12:48:36.685969 [DEBUG] switch_channel.c:3346 (sofia/default/18555801802) Callstate Change DOWN -> RINGING
  512. send 760 bytes to tcp/[192.168.1.33]:57046 at 12:48:36.709129:
  513.    ------------------------------------------------------------------------
  514.    SIP/2.0 180 Ringing
  515.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046
  516.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  517.    To: <sip:18555801802@192.168.1.141;transport=TCP>;tag=Hj47Scmypp9BS
  518.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  519.    CSeq: 2 INVITE
  520.    Contact: <sip:18555801802@192.168.1.141:5060;transport=tcp>
  521.    User-Agent: ASTPP
  522.    Accept: application/sdp
  523.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  524.    Supported: path, replaces
  525.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  526.    Content-Length: 0
  527.    
  528.    ------------------------------------------------------------------------
  529. 2017-10-09 12:48:36.705969 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/9110327518@192.168.1.141!
  530. 2017-10-09 12:48:36.705969 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [early][180]
  531. 2017-10-09 12:48:36.705969 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/9110327518@192.168.1.141!
  532. recv 810 bytes from udp/[59.203.131.36]:5061 at 12:48:37.301893:
  533.    ------------------------------------------------------------------------
  534.    SIP/2.0 200 OK
  535.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKSD6mDFKa42pmm;received=192.168.1.141;rport=5060
  536.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=jUX0U741KZZym
  537.    To: <sip:18555801802@59.203.131.36:5061>;tag=as29575b6f
  538.    Call-ID: e7f84a1a-2764-1236-2989-000c29f46286
  539.    CSeq: 113430694 INVITE
  540.    Server: Asterisk PBX 13.8.0
  541.    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  542.    Supported: replaces, timer
  543.    Contact: <sip:18555801802@59.203.131.36:5061>
  544.    Content-Type: application/sdp
  545.    Content-Length: 241
  546.    
  547.    v=0
  548.    o=root 720342555 720342555 IN IP4 59.203.131.36
  549.    s=Asterisk PBX 13.8.0
  550.    c=IN IP4 59.203.131.36
  551.    t=0 0
  552.    m=audio 15812 RTP/AVP 8 101
  553.    a=rtpmap:8 PCMA/8000
  554.    a=rtpmap:101 telephone-event/8000
  555.    a=fmtp:101 0-16
  556.    a=maxptime:150
  557.    a=sendrecv
  558.    ------------------------------------------------------------------------
  559. 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [completing][200]
  560. 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7058 Remote SDP:
  561. v=0
  562. o=root 720342555 720342555 IN IP4 59.203.131.36
  563. s=Asterisk PBX 13.8.0
  564. c=IN IP4 59.203.131.36
  565. t=0 0
  566. m=audio 15812 RTP/AVP 8 101
  567. a=rtpmap:8 PCMA/8000
  568. a=rtpmap:101 telephone-event/8000
  569. a=fmtp:101 0-16
  570. a=maxptime:150
  571.  
  572. send 430 bytes to udp/[59.203.131.36]:5061 at 12:48:37.341002:
  573.    ------------------------------------------------------------------------
  574.    ACK sip:18555801802@59.203.131.36:5061 SIP/2.0
  575.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKtpZDFa4D1BD7F
  576.    Max-Forwards: 70
  577.    From: "9110327518" <sip:9110327518@192.168.1.141>;tag=jUX0U741KZZym
  578.    To: <sip:18555801802@59.203.131.36:5061>;tag=as29575b6f
  579.    Call-ID: e7f84a1a-2764-1236-2989-000c29f46286
  580.    CSeq: 113430694 ACK
  581.    Contact: <sip:gw+YourProvider@192.168.1.141:5060;transport=udp;gw=YourProvider>
  582.    Content-Length: 0
  583.    
  584.    ------------------------------------------------------------------------
  585. 2017-10-09 12:48:37.325969 [DEBUG] sofia.c:7048 Channel sofia/default/18555801802 entering state [ready][200]
  586. 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]
  587. 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
  588. 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  589. 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
  590. 2017-10-09 12:48:37.325969 [DEBUG] switch_core_codec.c:111 sofia/default/18555801802 Original read codec set to PCMA:8
  591. 2017-10-09 12:48:37.325969 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  592. 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
  593. 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
  594. 2017-10-09 12:48:37.345967 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  595. 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7175 sofia/default/18555801802 Set 2833 dtmf send payload to 101
  596. 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7182 sofia/default/18555801802 Set 2833 dtmf receive payload to 101
  597. 2017-10-09 12:48:37.345967 [DEBUG] switch_core_media.c:7205 sofia/default/18555801802 Set rtp dtmf delay to 40
  598. 2017-10-09 12:48:37.345967 [NOTICE] sofia.c:8182 Channel [sofia/default/18555801802] has been answered
  599. 2017-10-09 12:48:37.345967 [DEBUG] switch_channel.c:3773 (sofia/default/18555801802) Callstate Change RINGING -> ACTIVE
  600. 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
  601. 2017-10-09 12:48:37.386202 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  602. 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
  603. 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
  604. 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
  605. 2017-10-09 12:48:37.386202 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/9110327518@192.168.1.141:
  606. v=0
  607. o=FreeSWITCH 1507505971 1507505972 IN IP4 192.168.1.141
  608. s=FreeSWITCH
  609. c=IN IP4 192.168.1.141
  610. t=0 0
  611. m=audio 27546 RTP/AVP 8 101
  612. a=rtpmap:8 PCMA/8000
  613. a=rtpmap:101 telephone-event/8000
  614. a=fmtp:101 0-16
  615. a=ptime:20
  616. a=sendrecv
  617.  
  618. send 1015 bytes to tcp/[192.168.1.33]:57046 at 12:48:37.392696:
  619.    ------------------------------------------------------------------------
  620.    SIP/2.0 200 OK
  621.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-62f85e65164ef32b-1---d8754z-;rport=57046
  622.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  623.    To: <sip:18555801802@192.168.1.141;transport=TCP>;tag=Hj47Scmypp9BS
  624.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  625.    CSeq: 2 INVITE
  626.    Contact: <sip:18555801802@192.168.1.141:5060;transport=tcp>
  627.    User-Agent: ASTPP
  628.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  629.    Supported: path, replaces
  630.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  631.    Content-Type: application/sdp
  632.    Content-Disposition: session
  633.    Content-Length: 222
  634.    
  635.    v=0
  636.    o=FreeSWITCH 1507505971 1507505972 IN IP4 192.168.1.141
  637.    s=FreeSWITCH
  638.    c=IN IP4 192.168.1.141
  639.    t=0 0
  640.    m=audio 27546 RTP/AVP 8 101
  641.    a=rtpmap:8 PCMA/8000
  642.    a=rtpmap:101 telephone-event/8000
  643.    a=fmtp:101 0-16
  644.    a=ptime:20
  645.    ------------------------------------------------------------------------
  646. 2017-10-09 12:48:37.386202 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [completed][200]
  647. 2017-10-09 12:48:37.386202 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/9110327518@192.168.1.141] has been answered
  648. 2017-10-09 12:48:37.386202 [DEBUG] switch_channel.c:3773 (sofia/default/9110327518@192.168.1.141) Callstate Change RINGING -> ACTIVE
  649. 2017-10-09 12:48:37.386202 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/18555801802]
  650. recv 774 bytes from tcp/[192.168.1.33]:57046 at 12:48:37.397569:
  651.    ------------------------------------------------------------------------
  652.    ACK sip:18555801802@192.168.1.141:5060;transport=tcp SIP/2.0
  653.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-81566477554bf968-1---d8754z-
  654.    Max-Forwards: 70
  655.    Contact: <sip:9110327518@117.247.91.162:49554;transport=TCP>
  656.    To: <sip:18555801802@192.168.1.141;transport=TCP>;tag=Hj47Scmypp9BS
  657.    From: <sip:9110327518@192.168.1.141;transport=TCP>;tag=0b9da74b
  658.    Call-ID: MDVhMmU1NTU2YjFhZWZkNDVlNTBiY2U2MTA4YjlkNjg.
  659.    CSeq: 2 ACK
  660.    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
  661.    User-Agent: Z 3.3.25608 r25552
  662.    Content-Length: 0
  663.    
  664.    ------------------------------------------------------------------------
  665. 2017-10-09 12:48:37.386202 [DEBUG] sofia.c:7048 Channel sofia/default/9110327518@192.168.1.141 entering state [ready][200]
  666. 2017-10-09 12:48:37.445968 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/18555801802) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  667. 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)
  668. 2017-10-09 12:48:37.445968 [DEBUG] switch_core_state_machine.c:653 (sofia/default/18555801802) State EXCHANGE_MEDIA
  669. 2017-10-09 12:48:37.445968 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  670. 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
  671. 2017-10-09 12:48:37.805969 [DEBUG] switch_rtp.c:7254 Correct audio ip/port confirmed.
  672. freeswitch@freeswitch>
  673. freeswitch@freeswitch>
  674. freeswitch@freeswitch>
  675. freeswitch@freeswitch>
  676. freeswitch@freeswitch>
  677. freeswitch@freeswitch>
  678. freeswitch@freeswitch>
  679. freeswitch@freeswitch> fsc
  680.  
  681. [               fsctl] 
  682.  
  683.  
  684. freeswitch@freeswitch> fsctl crash
  685. Socket interrupted, bye!
  686. root@astpptest1:/home/inextrix#
  687. root@astpptest1:/home/inextrix#
  688.  
  689.  
  690.  
  691.  
  692. =============================================================  Node2 ======================================================
  693.  
  694.  
  695. freeswitch@freeswitch> sofia recover
  696. Recovered 2 call(s)
  697.  
  698. 2017-10-09 12:49:18.742127 [NOTICE] switch_channel.c:1104 New Channel sofia/default/15034019991 [30f038d3-86fe-45ed-acc4-c99cddb4d79e]
  699. 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]
  700. 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
  701. 2017-10-09 12:49:18.742127 [DEBUG] switch_core_codec.c:111 sofia/default/15034019991 Original read codec set to PCMU:0
  702. 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
  703. 2017-10-09 12:49:18.742127 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  704. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6763 sofia/default/15034019991 Set 2833 dtmf send payload to 101
  705. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6770 sofia/default/15034019991 Set 2833 dtmf receive payload to 101
  706. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_media.c:6793 sofia/default/15034019991 Set rtp dtmf delay to 40
  707. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_sqldb.c:3026 (sofia/default/15034019991) State Change CS_NEW -> CS_INIT
  708. 2017-10-09 12:49:18.762161 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/15034019991
  709. 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]
  710. 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]
  711. 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
  712. 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
  713. 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
  714. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_INIT
  715. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/15034019991) State INIT
  716. 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:89 sofia/default/15034019991 SOFIA INIT
  717. 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
  718. Local SDP:
  719. v=0
  720. o=FreeSWITCH 1507512052 1507512054 IN IP4 192.168.1.141
  721. s=FreeSWITCH
  722. c=IN IP4 192.168.1.141
  723. t=0 0
  724. m=audio 21506 RTP/AVP 0 101
  725. a=rtpmap:0 PCMU/8000
  726. a=rtpmap:101 telephone-event/0
  727. a=fmtp:101 0-16
  728. a=ptime:20
  729. a=sendrecv
  730.  
  731. send 1219 bytes to udp/[59.203.131.36]:5061 at 12:49:18.784972:
  732.    ------------------------------------------------------------------------
  733.    INVITE sip:15034019991@59.203.131.36:5061 SIP/2.0
  734.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKc4jjcH1ae0yDg
  735.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKXgD4ygtg67B7a;received=192.168.1.141;rport=5060
  736.    Max-Forwards: 69
  737.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=1pyK1t9ZK8QSg
  738.    To: <sip:15034019991@59.203.131.36:5061>;tag=as6d6d7be3
  739.    Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201
  740.    CSeq: 113430715 INVITE
  741.    Contact: <sip:15034019991@192.168.1.141:5060>
  742.    User-Agent: ASTPP
  743.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  744.    Supported: path, replaces
  745.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  746.    Content-Type: application/sdp
  747.    Content-Disposition: session
  748.    Content-Length: 219
  749.    Remote-Party-ID: "9110327518" <sip:9110327518@192.168.1.141:5060>;party=calling;screen=yes;privacy=off
  750.    
  751.    v=0
  752.    o=FreeSWITCH 1507512052 1507512054 IN IP4 192.168.1.141
  753.    s=FreeSWITCH
  754.    c=IN IP4 192.168.1.141
  755.    t=0 0
  756.    m=audio 21506 RTP/AVP 0 101
  757.    a=rtpmap:0 PCMU/8000
  758.    a=rtpmap:101 telephone-event/0
  759.    a=fmtp:101 0-16
  760.    a=ptime:20
  761.    ------------------------------------------------------------------------
  762. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:40 sofia/default/15034019991 Standard INIT
  763. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:43 (sofia/default/15034019991) State Change CS_INIT -> CS_RESET
  764. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/15034019991) State INIT going to sleep
  765. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_RESET
  766. 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/15034019991 entering state [calling][0]
  767. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/15034019991) State RESET
  768. 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:160 sofia/default/15034019991 SOFIA RESET
  769. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:188 sofia/default/15034019991 Standard RESET
  770. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/15034019991) State RESET going to sleep
  771. 2017-10-09 12:49:18.762161 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  772. 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
  773. 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
  774. 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
  775. 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
  776. 2017-10-09 12:49:18.762161 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/9110327518@192.168.1.141
  777. 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
  778. 2017-10-09 12:49:18.762161 [DEBUG] switch_channel.c:2251 (sofia/default/9110327518@192.168.1.141) Callstate Change DOWN -> ACTIVE
  779. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:586 (sofia/default/9110327518@192.168.1.141) State INIT
  780. 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:89 sofia/default/9110327518@192.168.1.141 SOFIA INIT
  781. 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
  782. 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
  783. Local SDP:
  784. v=0
  785. o=FreeSWITCH 1507512048 1507512050 IN IP4 192.168.1.141
  786. s=FreeSWITCH
  787. c=IN IP4 192.168.1.141
  788. t=0 0
  789. m=audio 21510 RTP/AVP 8 101
  790. a=rtpmap:8 PCMA/8000
  791. a=rtpmap:101 telephone-event/0
  792. a=fmtp:101 0-16
  793. a=ptime:20
  794. a=sendrecv
  795.  
  796. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:40 sofia/default/9110327518@192.168.1.141 Standard INIT
  797. 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
  798. 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
  799. 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
  800. 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/9110327518@192.168.1.141 entering state [calling][0]
  801. 2017-10-09 12:49:18.762161 [DEBUG] sofia.c:6858 Channel sofia/default/9110327518@192.168.1.141 entering state [terminated][503]
  802. 2017-10-09 12:49:18.762161 [NOTICE] sofia.c:7881 Hangup sofia/default/9110327518@192.168.1.141 [CS_RESET] [NORMAL_TEMPORARY_FAILURE]
  803. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:605 (sofia/default/9110327518@192.168.1.141) State RESET
  804. 2017-10-09 12:49:18.762161 [DEBUG] mod_sofia.c:160 sofia/default/9110327518@192.168.1.141 SOFIA RESET
  805. 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
  806. 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
  807. 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
  808. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:811 (sofia/default/9110327518@192.168.1.141) State HANGUP
  809. 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
  810. 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
  811. 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
  812. 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
  813. 2017-10-09 12:49:18.762161 [CONSOLE] sofia_presence.c:1618 Event Thread Started
  814. 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
  815. 2017-10-09 12:49:18.762161 [DEBUG] switch_core_state_machine.c:897 (sofia/default/9110327518@192.168.1.141) State REPORTING
  816. 2017-10-09 12:49:18.762161 [INFO] mod_json_cdr.c:271 Process [5e656c94-f568-4525-844d-4b2dc85c9516.cdr.json]
  817. 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
  818. 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
  819. 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
  820. 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
  821. 2017-10-09 12:49:18.902145 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/default/9110327518@192.168.1.141) Ended
  822. 2017-10-09 12:49:18.902145 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/9110327518@192.168.1.141 [CS_DESTROY]
  823. 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
  824. 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:710 (sofia/default/9110327518@192.168.1.141) State DESTROY
  825. 2017-10-09 12:49:18.902145 [DEBUG] mod_sofia.c:342 sofia/default/9110327518@192.168.1.141 SOFIA DESTROY
  826. 2017-10-09 12:49:18.902145 [DEBUG] switch_core_state_machine.c:181 sofia/default/9110327518@192.168.1.141 Standard DESTROY
  827. 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
  828. recv 616 bytes from udp/[59.203.131.36]:5061 at 12:49:19.057703:
  829.    ------------------------------------------------------------------------
  830.    SIP/2.0 481 Call/Transaction Does Not Exist
  831.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKc4jjcH1ae0yDg;received=192.168.1.141;rport=5060
  832.    Via: SIP/2.0/UDP 192.168.1.141:5060;branch=z9hG4bKXgD4ygtg67B7a;received=192.168.1.141;rport=5060
  833.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=1pyK1t9ZK8QSg
  834.    To: <sip:15034019991@59.203.131.36:5061>;tag=as6d6d7be3
  835.    Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201
  836.    CSeq: 113430715 INVITE
  837.    Server: Asterisk PBX 13.8.0
  838.    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  839.    Supported: replaces, timer
  840.    Content-Length: 0
  841.    
  842.    ------------------------------------------------------------------------
  843. send 354 bytes to udp/[59.203.131.36]:5061 at 12:49:19.057920:
  844.    ------------------------------------------------------------------------
  845.    ACK sip:15034019991@59.203.131.36:5061 SIP/2.0
  846.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKc4jjcH1ae0yDg
  847.    Max-Forwards: 69
  848.    From: "9110327518" <sip:9110327518@192.168.1.141:5060>;tag=1pyK1t9ZK8QSg
  849.    To: <sip:15034019991@59.203.131.36:5061>;tag=as6d6d7be3
  850.    Call-ID: ba7f7d91-253b-1236-a0bd-000c297a0201
  851.    CSeq: 113430715 ACK
  852.    Content-Length: 0
  853.    
  854.    ------------------------------------------------------------------------
  855. 2017-10-09 12:49:19.042143 [DEBUG] sofia.c:6858 Channel sofia/default/15034019991 entering state [terminated][481]
  856. 2017-10-09 12:49:19.042143 [NOTICE] sofia.c:7881 Hangup sofia/default/15034019991 [CS_RESET] [NORMAL_TEMPORARY_FAILURE]
  857. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_HANGUP
  858. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:809 (sofia/default/15034019991) Callstate Change DOWN -> HANGUP
  859. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:811 (sofia/default/15034019991) State HANGUP
  860. 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
  861. 2017-10-09 12:49:19.042143 [DEBUG] mod_sofia.c:437 Channel sofia/default/15034019991 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  862. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:60 sofia/default/15034019991 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  863. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:811 (sofia/default/15034019991) State HANGUP going to sleep
  864. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:578 (sofia/default/15034019991) State Change CS_HANGUP -> CS_REPORTING
  865. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:543 (sofia/default/15034019991) Running State Change CS_REPORTING
  866. 2017-10-09 12:49:19.042143 [DEBUG] switch_core_state_machine.c:897 (sofia/default/15034019991) State REPORTING
  867. 2017-10-09 12:49:19.042143 [INFO] mod_json_cdr.c:271 Process [30f038d3-86fe-45ed-acc4-c99cddb4d79e.cdr.json]
  868. 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:174 sofia/default/15034019991 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  869. 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:897 (sofia/default/15034019991) State REPORTING going to sleep
  870. 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:569 (sofia/default/15034019991) State Change CS_REPORTING -> CS_DESTROY
  871. 2017-10-09 12:49:19.102088 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/default/15034019991) Locked, Waiting on external entities
  872. 2017-10-09 12:49:19.102088 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/default/15034019991) Ended
  873. 2017-10-09 12:49:19.102088 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/15034019991 [CS_DESTROY]
  874. 2017-10-09 12:49:19.102088 [DEBUG] switch_core_state_machine.c:700 (sofia/default/15034019991) Running State Change CS_DESTROY
  875. 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:710 (sofia/default/15034019991) State DESTROY
  876. 2017-10-09 12:49:19.122073 [DEBUG] mod_sofia.c:342 sofia/default/15034019991 SOFIA DESTROY
  877. 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:181 sofia/default/15034019991 Standard DESTROY
  878. 2017-10-09 12:49:19.122073 [DEBUG] switch_core_state_machine.c:710 (sofia/default/15034019991) State DESTROY going to sleep
  879. freeswitch@freeswitch>
  880.  
  881.