Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
752
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. +OK log level  [7]
  2. 2017-06-12 12:41:13.841069 [NOTICE] switch_channel.c:1104 New Channel sofia/default/FreeSWITCH@174.138.59.74 [da992dd4-2a3d-4cf1-9ea9-77118bb144c7]
  3. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_NEW
  4. 2017-06-12 12:41:13.841069 [DEBUG] sofia.c:9376 sofia/default/FreeSWITCH@174.138.59.74 receiving invite from 178.62.127.192:5080 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  5. 2017-06-12 12:41:13.841069 [DEBUG] sofia.c:9488 IP 178.62.127.192 Approved by acl "default[]". Access Granted.
  6. 2017-06-12 12:41:13.841069 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@174.138.59.74 entering state [received][100]
  7. 2017-06-12 12:41:13.841069 [DEBUG] sofia.c:6868 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1497240651 1497240652 IN IP4 178.62.127.192
  10. s=FreeSWITCH
  11. c=IN IP4 178.62.127.192
  12. t=0 0
  13. m=audio 30622 RTP/AVP 0 8 3 101 13
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:3 GSM/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-16
  19. a=rtpmap:13 CN/8000
  20. a=ptime:20
  21.  
  22. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  25. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  27. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  29. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  30. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  31. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/FreeSWITCH@174.138.59.74 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_codec.c:111 sofia/default/FreeSWITCH@174.138.59.74 Original read codec set to PCMU:0
  33. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  34. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_media.c:4681 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2017-06-12 12:41:13.841069 [DEBUG] sofia.c:7248 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_NEW -> CS_INIT
  36. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:562 (sofia/default/FreeSWITCH@174.138.59.74) State NEW
  37. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_INIT
  38. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@174.138.59.74) State INIT
  39. 2017-06-12 12:41:13.841069 [DEBUG] mod_sofia.c:89 sofia/default/FreeSWITCH@174.138.59.74 SOFIA INIT
  40. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:40 sofia/default/FreeSWITCH@174.138.59.74 Standard INIT
  41. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:48 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_INIT -> CS_ROUTING
  42. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@174.138.59.74) State INIT going to sleep
  43. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_ROUTING
  44. 2017-06-12 12:41:13.841069 [DEBUG] switch_channel.c:2249 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change DOWN -> RINGING
  45. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@174.138.59.74) State ROUTING
  46. 2017-06-12 12:41:13.841069 [DEBUG] mod_sofia.c:142 sofia/default/FreeSWITCH@174.138.59.74 SOFIA ROUTING
  47. 2017-06-12 12:41:13.841069 [DEBUG] switch_core_state_machine.c:236 sofia/default/FreeSWITCH@174.138.59.74 Standard ROUTING
  48. 2017-06-12 12:41:13.841069 [INFO] mod_dialplan_xml.c:637 Processing Shuvo <104>->28801912590457 in context default
  49. 2017-06-12 12:41:13.841069 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fdacc5337a0 Connected.
  50. 2017-06-12 12:41:13.841069 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  51. 2017-06-12 12:41:13.861022 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 28801912590457
  52. 2017-06-12 12:41:13.861022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,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 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 ="28801912590457" LIMIT 1
  53. 2017-06-12 12:41:13.861022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,number as accountcode,sip_devices.accountid as accountid 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="28801912590457" limit 1
  54. 2017-06-12 12:41:13.861022 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  55. 2017-06-12 12:41:13.861022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE ((INET_ATON("178.62.127.192") & (0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1)))) =  ((0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1))) & INET_ATON(SUBSTRING_INDEX(ip,'/',1)))) AND ((SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "178.62.127.192" AND prefix IN (NULL,'')) OR (SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "178.62.127.192" AND "28801912590457"  RLIKE prefix)) ORDER BY LENGTH(prefix) DESC LIMIT 1
  56. 2017-06-12 12:41:13.861022 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 6681702535]
  57. 2017-06-12 12:41:13.861022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6681702535" OR id="6681702535") AND status=0 AND deleted=0 AND (expiry >= '2017-06-12 12:41:13' OR expiry = '0000-00-00 00:00:00') limit 1
  58. 2017-06-12 12:41:13.881022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^28801912590457.*' OR blocked_patterns ='^2880191259045.*' OR blocked_patterns ='^288019125904.*' OR blocked_patterns ='^28801912590.*' OR blocked_patterns ='^2880191259.*' OR blocked_patterns ='^288019125.*' OR blocked_patterns ='^28801912.*' OR blocked_patterns ='^2880191.*' OR blocked_patterns ='^288019.*' OR blocked_patterns ='^28801.*' OR blocked_patterns ='^2880.*' OR blocked_patterns ='^288.*' OR blocked_patterns ='^28.*' OR blocked_patterns ='^2.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  59. 2017-06-12 12:41:13.881022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^28801912590457.*' OR patterns ='^2880191259045.*' OR patterns ='^288019125904.*' OR patterns ='^28801912590.*' OR patterns ='^2880191259.*' OR patterns ='^288019125.*' OR patterns ='^28801912.*' OR patterns ='^2880191.*' OR patterns ='^288019.*' OR patterns ='^28801.*' OR patterns ='^2880.*' OR patterns ='^288.*' OR patterns ='^28.*' OR patterns ='^2.*' OR patterns ='--') AND status = 0 AND pricelist_id = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  60. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  61. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 5
  62. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 6681702535
  63. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 0.98
  64. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  65. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 2
  66. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  67. 2017-06-12 12:41:13.881022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  68. 2017-06-12 12:41:13.881022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^28801912590457.*' OR pattern ='^2880191259045.*' OR pattern ='^288019125904.*' OR pattern ='^28801912590.*' OR pattern ='^2880191259.*' OR pattern ='^288019125.*' OR pattern ='^28801912.*' OR pattern ='^2880191.*' OR pattern ='^288019.*' OR pattern ='^28801.*' OR pattern ='^2880.*' OR pattern ='^288.*' OR pattern ='^28.*' OR pattern ='^2.*' OR pattern ='--') AND status = 0 AND pricelist_id = 2  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  69. 2017-06-12 12:41:13.881022 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] Rates not found!!!
  70. 2017-06-12 12:41:13.881022 [DEBUG] switch_cpp.cpp:1360 [ASTPP] Generated XML:
  71. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  72. <document type="freeswitch/xml">
  73. <section name="dialplan" description="ASTPP Dialplan">
  74. <context name="default">
  75. <extension name="28801912590457">
  76. <condition field="destination_number" expression="28801912590457">
  77. <action application="log" data="WARNING Accountcode . Dialed number (28801912590457)  origination rates not found!!"/>
  78. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badphone.wav"/>
  79. <action application="set" data="error_cdr=1"/>
  80. <action application="set" data="callstart=2017-06-12 12:41:13"/>
  81. <action application="set" data="account_id=5"/>
  82. <action application="set" data="call_direction=outbound"/>
  83. <action application="set" data="sip_ignore_remote_cause=true"/>
  84. <action application="set" data="call_processed=internal"/>
  85. <action application="set" data="effective_destination_number=28801912590457"/>
  86. <action application="set" data="last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND"/>
  87. <action application="hangup" data="ORIGNATION_RATE_NOT_FOUND"/>
  88. </condition>
  89. </extension>
  90. </context>
  91. </section>
  92. </document>
  93. 2017-06-12 12:41:13.881022 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fdacc5337a0 released.
  94. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 parsing [default->28801912590457] continue=false
  95. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Regex (PASS) [28801912590457] destination_number(28801912590457) =~ /28801912590457/ break=on-false
  96. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action log(WARNING Accountcode . Dialed number (28801912590457)  origination rates not found!!)
  97. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badphone.wav)
  98. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(error_cdr=1)
  99. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(callstart=2017-06-12 12:41:13)
  100. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(account_id=5)
  101. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(call_direction=outbound)
  102. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(sip_ignore_remote_cause=true)
  103. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(call_processed=internal)
  104. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(effective_destination_number=28801912590457)
  105. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  106. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action hangup(ORIGNATION_RATE_NOT_FOUND)
  107. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_state_machine.c:286 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_ROUTING -> CS_EXECUTE
  108. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@174.138.59.74) State ROUTING going to sleep
  109. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_EXECUTE
  110. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@174.138.59.74) State EXECUTE
  111. 2017-06-12 12:41:13.881022 [DEBUG] mod_sofia.c:197 sofia/default/FreeSWITCH@174.138.59.74 SOFIA EXECUTE
  112. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_state_machine.c:328 sofia/default/FreeSWITCH@174.138.59.74 Standard EXECUTE
  113. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 log(WARNING Accountcode . Dialed number (28801912590457)  origination rates not found!!)
  114. 2017-06-12 12:41:13.881022 [WARNING] mod_dptools.c:1713 Accountcode . Dialed number (28801912590457)  origination rates not found!!
  115. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_session.c:2628 Application playback Requires media! pre_answering channel sofia/default/FreeSWITCH@174.138.59.74
  116. 2017-06-12 12:41:13.881022 [INFO] switch_core_session.c:2630 Sending early media
  117. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/FreeSWITCH@174.138.59.74] 174.138.59.74 port 32638 -> 178.62.127.192 port 30622 codec: 0 ms: 20
  118. 2017-06-12 12:41:13.881022 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  119. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_media.c:6763 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf send payload to 101
  120. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_media.c:6770 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf receive payload to 101
  121. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_media.c:6793 sofia/default/FreeSWITCH@174.138.59.74 Set rtp dtmf delay to 40
  122. 2017-06-12 12:41:13.881022 [DEBUG] mod_sofia.c:2367 Ring SDP:
  123. v=0
  124. o=FreeSWITCH 1497238635 1497238636 IN IP4 174.138.59.74
  125. s=FreeSWITCH
  126. c=IN IP4 174.138.59.74
  127. t=0 0
  128. m=audio 32638 RTP/AVP 0 101
  129. a=rtpmap:0 PCMU/8000
  130. a=rtpmap:101 telephone-event/8000
  131. a=fmtp:101 0-16
  132. a=ptime:20
  133. a=sendrecv
  134.  
  135. 2017-06-12 12:41:13.881022 [NOTICE] mod_sofia.c:2370 Pre-Answer sofia/default/FreeSWITCH@174.138.59.74!
  136. 2017-06-12 12:41:13.881022 [DEBUG] switch_channel.c:3471 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change RINGING -> EARLY
  137. 2017-06-12 12:41:13.881022 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@174.138.59.74 entering state [early][183]
  138. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badphone.wav)
  139. 2017-06-12 12:41:13.881022 [DEBUG] switch_core_file.c:330 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badphone.wav sample rate 16000 doesn't match requested rate 8000
  140. 2017-06-12 12:41:13.881022 [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16@8000hz 1 channels 20ms
  141. 2017-06-12 12:41:15.001068 [DEBUG] switch_rtp.c:6707 Correct audio ip/port confirmed.
  142. 2017-06-12 12:41:15.301080 [DEBUG] switch_ivr_play_say.c:1910 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badphone.wav
  143. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(error_cdr=1)
  144. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [error_cdr]=[1]
  145. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(callstart=2017-06-12 12:41:13)
  146. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [callstart]=[2017-06-12 12:41:13]
  147. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(account_id=5)
  148. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [account_id]=[5]
  149. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(call_direction=outbound)
  150. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [call_direction]=[outbound]
  151. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(sip_ignore_remote_cause=true)
  152. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [sip_ignore_remote_cause]=[true]
  153. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(call_processed=internal)
  154. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [call_processed]=[internal]
  155. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(effective_destination_number=28801912590457)
  156. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [effective_destination_number]=[28801912590457]
  157. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  158. 2017-06-12 12:41:15.301080 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [last_bridge_hangup_cause]=[ORIGNATION_RATE_NOT_FOUND]
  159. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 hangup(ORIGNATION_RATE_NOT_FOUND)
  160. 2017-06-12 12:41:15.301080 [NOTICE] mod_dptools.c:1283 Hangup sofia/default/FreeSWITCH@174.138.59.74 [CS_EXECUTE] [NORMAL_CLEARING]
  161. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_session.c:2796 sofia/default/FreeSWITCH@174.138.59.74 skip receive message [PHONE_EVENT] (channel is hungup already)
  162. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@174.138.59.74) State EXECUTE going to sleep
  163. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_HANGUP
  164. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:809 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change EARLY -> HANGUP
  165. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@174.138.59.74) State HANGUP
  166. 2017-06-12 12:41:15.301080 [DEBUG] mod_sofia.c:437 Channel sofia/default/FreeSWITCH@174.138.59.74 hanging up, cause: NORMAL_CLEARING
  167. 2017-06-12 12:41:15.301080 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 480
  168. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:60 sofia/default/FreeSWITCH@174.138.59.74 Standard HANGUP, cause: NORMAL_CLEARING
  169. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@174.138.59.74) State HANGUP going to sleep
  170. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:578 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_HANGUP -> CS_REPORTING
  171. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_REPORTING
  172. 2017-06-12 12:41:15.301080 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@174.138.59.74) State REPORTING
  173. 2017-06-12 12:41:15.301080 [INFO] mod_json_cdr.c:271 Process [da992dd4-2a3d-4cf1-9ea9-77118bb144c7.cdr.json]
  174. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:174 sofia/default/FreeSWITCH@174.138.59.74 Standard REPORTING, cause: NORMAL_CLEARING
  175. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@174.138.59.74) State REPORTING going to sleep
  176. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:569 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_REPORTING -> CS_DESTROY
  177. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_session.c:1646 Session 13 (sofia/default/FreeSWITCH@174.138.59.74) Locked, Waiting on external entities
  178. 2017-06-12 12:41:15.341028 [NOTICE] switch_core_session.c:1664 Session 13 (sofia/default/FreeSWITCH@174.138.59.74) Ended
  179. 2017-06-12 12:41:15.341028 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/FreeSWITCH@174.138.59.74 [CS_DESTROY]
  180. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:700 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_DESTROY
  181. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@174.138.59.74) State DESTROY
  182. 2017-06-12 12:41:15.341028 [DEBUG] mod_sofia.c:342 sofia/default/FreeSWITCH@174.138.59.74 SOFIA DESTROY
  183. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:181 sofia/default/FreeSWITCH@174.138.59.74 Standard DESTROY
  184. 2017-06-12 12:41:15.341028 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@174.138.59.74) State DESTROY going to sleep
  185. 2017-06-12 12:41:22.621066 [NOTICE] switch_channel.c:1104 New Channel sofia/default/FreeSWITCH@174.138.59.74 [92ea1afd-6b60-4333-ac58-db499bde35eb]
  186. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_NEW
  187. 2017-06-12 12:41:22.621066 [DEBUG] sofia.c:9376 sofia/default/FreeSWITCH@174.138.59.74 receiving invite from 178.62.127.192:5080 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  188. 2017-06-12 12:41:22.621066 [DEBUG] sofia.c:9488 IP 178.62.127.192 Approved by acl "default[]". Access Granted.
  189. 2017-06-12 12:41:22.621066 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@174.138.59.74 entering state [received][100]
  190. 2017-06-12 12:41:22.621066 [DEBUG] sofia.c:6868 Remote SDP:
  191. v=0
  192. o=FreeSWITCH 1497250465 1497250466 IN IP4 178.62.127.192
  193. s=FreeSWITCH
  194. c=IN IP4 178.62.127.192
  195. t=0 0
  196. m=audio 20816 RTP/AVP 0 8 3 101 13
  197. a=rtpmap:0 PCMU/8000
  198. a=rtpmap:8 PCMA/8000
  199. a=rtpmap:3 GSM/8000
  200. a=rtpmap:101 telephone-event/8000
  201. a=fmtp:101 0-16
  202. a=rtpmap:13 CN/8000
  203. a=ptime:20
  204.  
  205. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  206. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  207. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  208. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  209. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  210. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  211. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  212. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  213. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  214. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/FreeSWITCH@174.138.59.74 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  215. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_codec.c:111 sofia/default/FreeSWITCH@174.138.59.74 Original read codec set to PCMU:0
  216. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  217. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_media.c:4681 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf send payload to 101 recv payload to 101
  218. 2017-06-12 12:41:22.621066 [DEBUG] sofia.c:7248 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_NEW -> CS_INIT
  219. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:562 (sofia/default/FreeSWITCH@174.138.59.74) State NEW
  220. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_INIT
  221. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@174.138.59.74) State INIT
  222. 2017-06-12 12:41:22.621066 [DEBUG] mod_sofia.c:89 sofia/default/FreeSWITCH@174.138.59.74 SOFIA INIT
  223. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:40 sofia/default/FreeSWITCH@174.138.59.74 Standard INIT
  224. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:48 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_INIT -> CS_ROUTING
  225. 2017-06-12 12:41:22.621066 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@174.138.59.74) State INIT going to sleep
  226. 2017-06-12 12:41:22.641045 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_ROUTING
  227. 2017-06-12 12:41:22.641045 [DEBUG] switch_channel.c:2249 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change DOWN -> RINGING
  228. 2017-06-12 12:41:22.641045 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@174.138.59.74) State ROUTING
  229. 2017-06-12 12:41:22.641045 [DEBUG] mod_sofia.c:142 sofia/default/FreeSWITCH@174.138.59.74 SOFIA ROUTING
  230. 2017-06-12 12:41:22.641045 [DEBUG] switch_core_state_machine.c:236 sofia/default/FreeSWITCH@174.138.59.74 Standard ROUTING
  231. 2017-06-12 12:41:22.641045 [INFO] mod_dialplan_xml.c:637 Processing Shadikur <100>->18801786589183 in context default
  232. 2017-06-12 12:41:22.641045 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fdacc5337a0 Connected.
  233. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  234. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 18801786589183
  235. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,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 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 ="18801786589183" LIMIT 1
  236. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,number as accountcode,sip_devices.accountid as accountid 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="18801786589183" limit 1
  237. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  238. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE ((INET_ATON("178.62.127.192") & (0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1)))) =  ((0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1))) & INET_ATON(SUBSTRING_INDEX(ip,'/',1)))) AND ((SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "178.62.127.192" AND prefix IN (NULL,'')) OR (SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "178.62.127.192" AND "18801786589183"  RLIKE prefix)) ORDER BY LENGTH(prefix) DESC LIMIT 1
  239. 2017-06-12 12:41:22.641045 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] Before number translation : 18801786589183
  240. 2017-06-12 12:41:22.641045 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] After  number translation : 8801786589183
  241. 2017-06-12 12:41:22.641045 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 6681702535]
  242. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6681702535" OR id="6681702535") AND status=0 AND deleted=0 AND (expiry >= '2017-06-12 12:41:22' OR expiry = '0000-00-00 00:00:00') limit 1
  243. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^8801786589183.*' OR blocked_patterns ='^880178658918.*' OR blocked_patterns ='^88017865891.*' OR blocked_patterns ='^8801786589.*' OR blocked_patterns ='^880178658.*' OR blocked_patterns ='^88017865.*' OR blocked_patterns ='^8801786.*' OR blocked_patterns ='^880178.*' OR blocked_patterns ='^88017.*' OR blocked_patterns ='^8801.*' OR blocked_patterns ='^880.*' OR blocked_patterns ='^88.*' OR blocked_patterns ='^8.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  244. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^8801786589183.*' OR patterns ='^880178658918.*' OR patterns ='^88017865891.*' OR patterns ='^8801786589.*' OR patterns ='^880178658.*' OR patterns ='^88017865.*' OR patterns ='^8801786.*' OR patterns ='^880178.*' OR patterns ='^88017.*' OR patterns ='^8801.*' OR patterns ='^880.*' OR patterns ='^88.*' OR patterns ='^8.*' OR patterns ='--') AND status = 0 AND pricelist_id = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  245. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  246. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 5
  247. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 6681702535
  248. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 0.98
  249. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  250. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 2
  251. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  252. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  253. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^8801786589183.*' OR pattern ='^880178658918.*' OR pattern ='^88017865891.*' OR pattern ='^8801786589.*' OR pattern ='^880178658.*' OR pattern ='^88017865.*' OR pattern ='^8801786.*' OR pattern ='^880178.*' OR pattern ='^88017.*' OR pattern ='^8801.*' OR pattern ='^880.*' OR pattern ='^88.*' OR pattern ='^8.*' OR pattern ='--') AND status = 0 AND pricelist_id = 2  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  254. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Rates Information ===================
  255. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 3
  256. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  257. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Includedseconds : 0
  258. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Cost : 0.01970
  259. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] comment : BD Mobile
  260. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Accid : 5
  261. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] ================================================================
  262. 2017-06-12 12:41:22.641045 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 49.746192893401 minutes
  263. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2
  264. 2017-06-12 12:41:22.641045 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.dialed_modify,TK.maxchannels,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 ='^8801786589183.*' OR pattern ='^880178658918.*' OR pattern ='^88017865891.*' OR pattern ='^8801786589.*' OR pattern ='^880178658.*' OR pattern ='^88017865.*' OR pattern ='^8801786.*' OR pattern ='^880178.*' OR pattern ='^88017.*' OR pattern ='^8801.*' OR pattern ='^880.*' OR pattern ='^88.*' OR pattern ='^8.*' 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
  265. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Termination Rates Information ===================
  266. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 4
  267. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^8801.*
  268. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : BD Mobile
  269. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  270. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Free Seconds : 0
  271. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Prefix : ^8801.*
  272. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Strip :
  273. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Prepend :
  274. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Carrier id : 1
  275. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] carrier_name : Call2India
  276. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] dialplan_variable :
  277. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Failover gateway :
  278. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Vendor id : 3
  279. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Number Translation :
  280. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] Max channels : 0
  281. 2017-06-12 12:41:22.661019 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================END OF TERMINATION RATES=======================
  282. 2017-06-12 12:41:22.661019 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 5 AND status=0 LIMIT 1
  283. 2017-06-12 12:41:22.661019 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
  284. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  285. <document type="freeswitch/xml">
  286. <section name="dialplan" description="ASTPP Dialplan">
  287. <context name="default">
  288. <extension name="8801786589183">
  289. <condition field="destination_number" expression="18801786589183">
  290. <action application="set" data="effective_destination_number=8801786589183"/>
  291. <action application="sched_hangup" data="+2984.7715736041 normal_clearing"/>
  292. <action application="set" data="callstart=2017-06-12 12:41:22"/>
  293. <action application="set" data="hangup_after_bridge=true"/>
  294. <action application="set" data="continue_on_fail=true"/>
  295. <action application="set" data="account_id=5"/>
  296. <action application="set" data="parent_id=0"/>
  297. <action application="set" data="entity_id=0"/>
  298. <action application="set" data="call_processed=internal"/>
  299. <action application="set" data="call_direction=outbound"/>
  300. <action application="set" data="accountname=Fusion"/>
  301. <action application="export" data="t38_passthru=true"/>
  302. <action application="set" data="fax_enable_t38=true"/>
  303. <action application="set" data="fax_enable_t38_request=true"/>
  304. <action application="set" data="origination_rates=ID:3|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:60|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|ACCID:5"/>
  305. <action application="export" data="is_recording=1"/>
  306. <action application="export" data="media_bug_answer_req=true"/>
  307. <action application="export" data="RECORD_STEREO=true"/>
  308. <action application="export" data="record_sample_rate=8000"/>
  309. <action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y-%m-%d-%H:%M:%S)}_6681702535.wav"/>
  310. <action application="set" data="calltype=STANDARD"/>
  311. <action application="set" data="termination_rates=ID:4|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3"/>
  312. <action application="set" data="trunk_id=1"/>
  313. <action application="set" data="provider_id=3"/>
  314. <action application="set" data="absolute_codec_string=PCMA,G729,PCMA"/>
  315. <action application="bridge" data="sofia/gateway/Call2India/8801786589183"/>
  316. </condition>
  317. </extension>
  318. </context>
  319. </section>
  320. </document>
  321. 2017-06-12 12:41:22.661019 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fdacc5337a0 released.
  322. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 parsing [default->8801786589183] continue=false
  323. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Regex (PASS) [8801786589183] destination_number(18801786589183) =~ /18801786589183/ break=on-false
  324. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(effective_destination_number=8801786589183)
  325. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action sched_hangup(+2984.7715736041 normal_clearing)
  326. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(callstart=2017-06-12 12:41:22)
  327. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(hangup_after_bridge=true)
  328. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(continue_on_fail=true)
  329. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(account_id=5)
  330. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(parent_id=0)
  331. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(entity_id=0)
  332. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(call_processed=internal)
  333. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(call_direction=outbound)
  334. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(accountname=Fusion)
  335. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(t38_passthru=true)
  336. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(fax_enable_t38=true)
  337. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(fax_enable_t38_request=true)
  338. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(origination_rates=ID:3|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:60|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|ACCID:5)
  339. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(is_recording=1)
  340. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(media_bug_answer_req=true)
  341. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(RECORD_STEREO=true)
  342. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(record_sample_rate=8000)
  343. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action export(execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y-%m-%d-%H:%M:%S)}_6681702535.wav)
  344. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(calltype=STANDARD)
  345. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(termination_rates=ID:4|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3)
  346. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(trunk_id=1)
  347. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(provider_id=3)
  348. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action set(absolute_codec_string=PCMA,G729,PCMA)
  349. Dialplan: sofia/default/FreeSWITCH@174.138.59.74 Action bridge(sofia/gateway/Call2India/8801786589183)
  350. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:286 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_ROUTING -> CS_EXECUTE
  351. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@174.138.59.74) State ROUTING going to sleep
  352. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_EXECUTE
  353. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@174.138.59.74) State EXECUTE
  354. 2017-06-12 12:41:22.661019 [DEBUG] mod_sofia.c:197 sofia/default/FreeSWITCH@174.138.59.74 SOFIA EXECUTE
  355. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:328 sofia/default/FreeSWITCH@174.138.59.74 Standard EXECUTE
  356. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(effective_destination_number=8801786589183)
  357. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [effective_destination_number]=[8801786589183]
  358. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 sched_hangup(+2984.7715736041 normal_clearing)
  359. 2017-06-12 12:41:22.661019 [DEBUG] switch_scheduler.c:249 Added task 5 switch_ivr_schedule_hangup (92ea1afd-6b60-4333-ac58-db499bde35eb) to run at 1497274266
  360. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(callstart=2017-06-12 12:41:22)
  361. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [callstart]=[2017-06-12 12:41:22]
  362. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(hangup_after_bridge=true)
  363. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [hangup_after_bridge]=[true]
  364. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(continue_on_fail=true)
  365. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [continue_on_fail]=[true]
  366. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(account_id=5)
  367. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [account_id]=[5]
  368. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(parent_id=0)
  369. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [parent_id]=[0]
  370. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(entity_id=0)
  371. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [entity_id]=[0]
  372. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(call_processed=internal)
  373. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [call_processed]=[internal]
  374. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(call_direction=outbound)
  375. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [call_direction]=[outbound]
  376. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(accountname=Fusion)
  377. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [accountname]=[Fusion]
  378. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(t38_passthru=true)
  379. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  380. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(fax_enable_t38=true)
  381. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [fax_enable_t38]=[true]
  382. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(fax_enable_t38_request=true)
  383. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [fax_enable_t38_request]=[true]
  384. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(origination_rates=ID:3|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:60|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|ACCID:5)
  385. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [origination_rates]=[ID:3|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:60|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|ACCID:5]
  386. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(is_recording=1)
  387. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  388. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(media_bug_answer_req=true)
  389. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  390. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(RECORD_STEREO=true)
  391. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  392. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(record_sample_rate=8000)
  393. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  394. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/2017-06-12-12:41:22_6681702535.wav)
  395. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2017-06-12-12:41:22_6681702535.wav]
  396. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(calltype=STANDARD)
  397. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [calltype]=[STANDARD]
  398. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(termination_rates=ID:4|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3)
  399. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [termination_rates]=[ID:4|CODE:^8801.*|DESTINATION:BD Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3]
  400. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(trunk_id=1)
  401. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [trunk_id]=[1]
  402. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(provider_id=3)
  403. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [provider_id]=[3]
  404. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 set(absolute_codec_string=PCMA,G729,PCMA)
  405. 2017-06-12 12:41:22.661019 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@174.138.59.74 [absolute_codec_string]=[PCMA,G729,PCMA]
  406. EXECUTE sofia/default/FreeSWITCH@174.138.59.74 bridge(sofia/gateway/Call2India/8801786589183)
  407. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [t38_passthru]=[true] to event
  408. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [is_recording]=[1] to event
  409. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  410. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  411. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  412. 2017-06-12 12:41:22.661019 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@174.138.59.74 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2017-06-12-12:41:22_6681702535.wav] to event
  413. 2017-06-12 12:41:22.661019 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables
  414. 2017-06-12 12:41:22.661019 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8801786589183 [32610002-6321-4798-b4b0-61825d99138f]
  415. 2017-06-12 12:41:22.661019 [DEBUG] mod_sofia.c:4813 (sofia/default/8801786589183) State Change CS_NEW -> CS_INIT
  416. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_INIT
  417. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8801786589183) State INIT
  418. 2017-06-12 12:41:22.661019 [DEBUG] mod_sofia.c:89 sofia/default/8801786589183 SOFIA INIT
  419. 2017-06-12 12:41:22.661019 [DEBUG] sofia_glue.c:1257 sofia/default/8801786589183 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  420. Local SDP:
  421. v=0
  422. o=FreeSWITCH 1497254552 1497254553 IN IP4 174.138.59.74
  423. s=FreeSWITCH
  424. c=IN IP4 174.138.59.74
  425. t=0 0
  426. m=audio 16730 RTP/AVP 0 101
  427. a=rtpmap:0 PCMU/8000
  428. a=rtpmap:101 telephone-event/8000
  429. a=fmtp:101 0-16
  430. a=ptime:20
  431. a=sendrecv
  432.  
  433. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:40 sofia/default/8801786589183 Standard INIT
  434. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8801786589183) State Change CS_INIT -> CS_ROUTING
  435. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8801786589183) State INIT going to sleep
  436. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_ROUTING
  437. 2017-06-12 12:41:22.661019 [DEBUG] sofia.c:6858 Channel sofia/default/8801786589183 entering state [calling][0]
  438. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:602 (sofia/default/8801786589183) State ROUTING
  439. 2017-06-12 12:41:22.661019 [DEBUG] mod_sofia.c:142 sofia/default/8801786589183 SOFIA ROUTING
  440. 2017-06-12 12:41:22.661019 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8801786589183) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  441. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:602 (sofia/default/8801786589183) State ROUTING going to sleep
  442. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_CONSUME_MEDIA
  443. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:621 (sofia/default/8801786589183) State CONSUME_MEDIA
  444. 2017-06-12 12:41:22.661019 [DEBUG] switch_core_state_machine.c:621 (sofia/default/8801786589183) State CONSUME_MEDIA going to sleep
  445. 2017-06-12 12:41:22.761021 [DEBUG] sofia.c:6858 Channel sofia/default/8801786589183 entering state [calling][0]
  446. 2017-06-12 12:41:27.101064 [DEBUG] sofia.c:6858 Channel sofia/default/8801786589183 entering state [proceeding][183]
  447. 2017-06-12 12:41:27.101064 [DEBUG] sofia.c:6868 Remote SDP:
  448. v=0
  449. o=dipa.sd 1497271287 1497271287 IN IP4 77.72.168.78
  450. s=SIP Call
  451. c=IN IP4 77.72.168.78
  452. t=0 0
  453. m=audio 24892 RTP/AVP 0 101
  454. a=rtpmap:0 PCMU/8000
  455. a=rtpmap:101 telephone-event/8000
  456. a=ptime:20
  457.  
  458. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  459. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  460. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  461. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/8801786589183 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  462. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_codec.c:111 sofia/default/8801786589183 Original read codec set to PCMU:0
  463. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  464. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:4681 sofia/default/8801786589183 Set 2833 dtmf send payload to 101 recv payload to 101
  465. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/8801786589183] 174.138.59.74 port 16730 -> 77.72.168.78 port 24892 codec: 0 ms: 20
  466. 2017-06-12 12:41:27.101064 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  467. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:6763 sofia/default/8801786589183 Set 2833 dtmf send payload to 101
  468. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:6770 sofia/default/8801786589183 Set 2833 dtmf receive payload to 101
  469. 2017-06-12 12:41:27.101064 [DEBUG] switch_core_media.c:6793 sofia/default/8801786589183 Set rtp dtmf delay to 40
  470. 2017-06-12 12:41:27.101064 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/8801786589183!
  471. 2017-06-12 12:41:27.101064 [DEBUG] switch_channel.c:3471 (sofia/default/8801786589183) Callstate Change DOWN -> EARLY
  472. 2017-06-12 12:41:27.121037 [INFO] switch_ivr_originate.c:3556 Sending early media
  473. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/FreeSWITCH@174.138.59.74] 174.138.59.74 port 27718 -> 178.62.127.192 port 20816 codec: 0 ms: 20
  474. 2017-06-12 12:41:27.121037 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  475. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_media.c:6763 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf send payload to 101
  476. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_media.c:6770 sofia/default/FreeSWITCH@174.138.59.74 Set 2833 dtmf receive payload to 101
  477. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_media.c:6793 sofia/default/FreeSWITCH@174.138.59.74 Set rtp dtmf delay to 40
  478. 2017-06-12 12:41:27.121037 [DEBUG] mod_sofia.c:2367 Ring SDP:
  479. v=0
  480. o=FreeSWITCH 1497243569 1497243570 IN IP4 174.138.59.74
  481. s=FreeSWITCH
  482. c=IN IP4 174.138.59.74
  483. t=0 0
  484. m=audio 27718 RTP/AVP 0 101
  485. a=rtpmap:0 PCMU/8000
  486. a=rtpmap:101 telephone-event/8000
  487. a=fmtp:101 0-16
  488. a=ptime:20
  489. a=sendrecv
  490.  
  491. 2017-06-12 12:41:27.121037 [NOTICE] mod_sofia.c:2370 Pre-Answer sofia/default/FreeSWITCH@174.138.59.74!
  492. 2017-06-12 12:41:27.121037 [DEBUG] switch_channel.c:3471 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change RINGING -> EARLY
  493. 2017-06-12 12:41:27.121037 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@174.138.59.74 entering state [early][183]
  494. 2017-06-12 12:41:27.121037 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/default/8801786589183]
  495. 2017-06-12 12:41:27.121037 [DEBUG] switch_ivr_bridge.c:1594 (sofia/default/8801786589183) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  496. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_EXCHANGE_MEDIA
  497. 2017-06-12 12:41:27.121037 [DEBUG] switch_core_state_machine.c:612 (sofia/default/8801786589183) State EXCHANGE_MEDIA
  498. 2017-06-12 12:41:27.121037 [DEBUG] mod_sofia.c:628 SOFIA EXCHANGE_MEDIA
  499. 2017-06-12 12:41:27.161054 [DEBUG] switch_rtp.c:6707 Correct audio ip/port confirmed.
  500. 2017-06-12 12:41:28.941072 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@174.138.59.74 entering state [terminated][487]
  501. 2017-06-12 12:41:28.941072 [NOTICE] sofia.c:7881 Hangup sofia/default/FreeSWITCH@174.138.59.74 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  502. 2017-06-12 12:41:28.941072 [DEBUG] switch_ivr_bridge.c:707 sofia/default/FreeSWITCH@174.138.59.74 ending bridge by request from read function
  503. 2017-06-12 12:41:28.941072 [DEBUG] switch_ivr_bridge.c:780 BRIDGE THREAD DONE [sofia/default/FreeSWITCH@174.138.59.74]
  504. 2017-06-12 12:41:28.981069 [DEBUG] switch_ivr_bridge.c:701 sofia/default/FreeSWITCH@174.138.59.74 ending bridge by request from write function
  505. 2017-06-12 12:41:28.981069 [DEBUG] switch_ivr_bridge.c:780 BRIDGE THREAD DONE [sofia/default/8801786589183]
  506. 2017-06-12 12:41:28.981069 [NOTICE] switch_ivr_bridge.c:882 Hangup sofia/default/8801786589183 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  507. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:612 (sofia/default/8801786589183) State EXCHANGE_MEDIA going to sleep
  508. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_HANGUP
  509. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:809 (sofia/default/8801786589183) Callstate Change EARLY -> HANGUP
  510. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:811 (sofia/default/8801786589183) State HANGUP
  511. 2017-06-12 12:41:28.981069 [DEBUG] mod_sofia.c:431 sofia/default/8801786589183 Overriding SIP cause 487 with 487 from the other leg
  512. 2017-06-12 12:41:28.981069 [DEBUG] mod_sofia.c:437 Channel sofia/default/8801786589183 hanging up, cause: ORIGINATOR_CANCEL
  513. 2017-06-12 12:41:28.981069 [DEBUG] mod_sofia.c:501 Sending CANCEL to sofia/default/8801786589183
  514. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:60 sofia/default/8801786589183 Standard HANGUP, cause: ORIGINATOR_CANCEL
  515. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:811 (sofia/default/8801786589183) State HANGUP going to sleep
  516. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:578 (sofia/default/8801786589183) State Change CS_HANGUP -> CS_REPORTING
  517. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8801786589183) Running State Change CS_REPORTING
  518. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:897 (sofia/default/8801786589183) State REPORTING
  519. 2017-06-12 12:41:28.981069 [INFO] mod_json_cdr.c:271 Process [32610002-6321-4798-b4b0-61825d99138f.cdr.json]
  520. 2017-06-12 12:41:28.981069 [DEBUG] switch_ivr_bridge.c:1692 sofia/default/8801786589183 skip receive message [UNBRIDGE] (channel is hungup already)
  521. 2017-06-12 12:41:28.981069 [DEBUG] switch_ivr_bridge.c:1695 sofia/default/FreeSWITCH@174.138.59.74 skip receive message [UNBRIDGE] (channel is hungup already)
  522. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_session.c:2796 sofia/default/FreeSWITCH@174.138.59.74 skip receive message [PHONE_EVENT] (channel is hungup already)
  523. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@174.138.59.74) State EXECUTE going to sleep
  524. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_HANGUP
  525. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:809 (sofia/default/FreeSWITCH@174.138.59.74) Callstate Change EARLY -> HANGUP
  526. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@174.138.59.74) State HANGUP
  527. 2017-06-12 12:41:28.981069 [DEBUG] mod_sofia.c:437 Channel sofia/default/FreeSWITCH@174.138.59.74 hanging up, cause: ORIGINATOR_CANCEL
  528. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:60 sofia/default/FreeSWITCH@174.138.59.74 Standard HANGUP, cause: ORIGINATOR_CANCEL
  529. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@174.138.59.74) State HANGUP going to sleep
  530. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:578 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_HANGUP -> CS_REPORTING
  531. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_REPORTING
  532. 2017-06-12 12:41:28.981069 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@174.138.59.74) State REPORTING
  533. 2017-06-12 12:41:28.981069 [INFO] mod_json_cdr.c:271 Process [92ea1afd-6b60-4333-ac58-db499bde35eb.cdr.json]
  534. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:174 sofia/default/8801786589183 Standard REPORTING, cause: ORIGINATOR_CANCEL
  535. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:897 (sofia/default/8801786589183) State REPORTING going to sleep
  536. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:569 (sofia/default/8801786589183) State Change CS_REPORTING -> CS_DESTROY
  537. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_session.c:1646 Session 15 (sofia/default/8801786589183) Locked, Waiting on external entities
  538. 2017-06-12 12:41:29.001051 [NOTICE] switch_core_session.c:1664 Session 15 (sofia/default/8801786589183) Ended
  539. 2017-06-12 12:41:29.001051 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/8801786589183 [CS_DESTROY]
  540. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:700 (sofia/default/8801786589183) Running State Change CS_DESTROY
  541. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:710 (sofia/default/8801786589183) State DESTROY
  542. 2017-06-12 12:41:29.001051 [DEBUG] mod_sofia.c:342 sofia/default/8801786589183 SOFIA DESTROY
  543. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:181 sofia/default/8801786589183 Standard DESTROY
  544. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:710 (sofia/default/8801786589183) State DESTROY going to sleep
  545. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:174 sofia/default/FreeSWITCH@174.138.59.74 Standard REPORTING, cause: ORIGINATOR_CANCEL
  546. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@174.138.59.74) State REPORTING going to sleep
  547. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:569 (sofia/default/FreeSWITCH@174.138.59.74) State Change CS_REPORTING -> CS_DESTROY
  548. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_session.c:1646 Session 14 (sofia/default/FreeSWITCH@174.138.59.74) Locked, Waiting on external entities
  549. 2017-06-12 12:41:29.001051 [NOTICE] switch_core_session.c:1664 Session 14 (sofia/default/FreeSWITCH@174.138.59.74) Ended
  550. 2017-06-12 12:41:29.001051 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/FreeSWITCH@174.138.59.74 [CS_DESTROY]
  551. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:700 (sofia/default/FreeSWITCH@174.138.59.74) Running State Change CS_DESTROY
  552. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@174.138.59.74) State DESTROY
  553. 2017-06-12 12:41:29.001051 [DEBUG] mod_sofia.c:342 sofia/default/FreeSWITCH@174.138.59.74 SOFIA DESTROY
  554. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:181 sofia/default/FreeSWITCH@174.138.59.74 Standard DESTROY
  555. 2017-06-12 12:41:29.001051 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@174.138.59.74) State DESTROY going to sleep
  556. 2017-06-12 12:41:29.161057 [DEBUG] switch_scheduler.c:144 Deleting task 5 switch_ivr_schedule_hangup (92ea1afd-6b60-4333-ac58-db499bde35eb)
  557. 2017-06-12 12:41:32.201060 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1002@174.138.59.74 [bc37b9d1-5eb9-4eae-982e-7efe3d1503b4]
  558. 2017-06-12 12:41:32.201060 [DEBUG] switch_core_state_machine.c:543 (sofia/default/1002@174.138.59.74) Running State Change CS_NEW
  559. 2017-06-12 12:41:32.201060 [DEBUG] sofia.c:9376 sofia/default/1002@174.138.59.74 receiving invite from 199.48.164.5:5078 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  560. 2017-06-12 12:41:32.201060 [DEBUG] sofia.c:9543 IP 199.48.164.5 Rejected by acl "default". Falling back to Digest auth.
  561. 2017-06-12 12:41:32.201060 [DEBUG] sofia.c:2214 detaching session bc37b9d1-5eb9-4eae-982e-7efe3d1503b4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement