From Ketan Kothari, 6 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2018-02-12 00:24:45.145998 [NOTICE] switch_channel.c:1104 New Channel sofia/default/7028340000@66.241.99.36 [cac35508-a3c4-4156-a6a1-ddfa423bc5b1]
  2. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_NEW (Cur 1 Tot 37071)
  3. 2018-02-12 00:24:45.145998 [DEBUG] sofia.c:9825 sofia/default/7028340000@66.241.99.36 receiving invite from 138.197.236.58:5060 version: 1.6.16  64bit
  4. 2018-02-12 00:24:45.145998 [DEBUG] sofia.c:9941 IP 138.197.236.58 Approved by acl "default[]". Access Granted.
  5. 2018-02-12 00:24:45.145998 [DEBUG] sofia.c:7048 Channel sofia/default/7028340000@66.241.99.36 entering state [received][100]
  6. 2018-02-12 00:24:45.145998 [DEBUG] sofia.c:7058 Remote SDP:
  7. v=0
  8. o=root 14117 14117 IN IP4 66.241.99.36
  9. s=session
  10. c=IN IP4 66.241.99.36
  11. t=0 0
  12. m=audio 14404 RTP/AVP 0 8 3 18 101
  13. a=rtpmap:0 PCMU/8000
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:3 GSM/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=silenceSupp:off - - - -
  21. a=ptime:20
  22.  
  23. 2018-02-12 00:24:45.145998 [DEBUG] sofia.c:7450 (sofia/default/7028340000@66.241.99.36) State Change CS_NEW -> CS_INIT
  24. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:603 (sofia/default/7028340000@66.241.99.36) State NEW
  25. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_INIT (Cur 1 Tot 37071)
  26. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7028340000@66.241.99.36) State INIT
  27. 2018-02-12 00:24:45.145998 [DEBUG] mod_sofia.c:90 sofia/default/7028340000@66.241.99.36 SOFIA INIT
  28. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:40 sofia/default/7028340000@66.241.99.36 Standard INIT
  29. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7028340000@66.241.99.36) State Change CS_INIT -> CS_ROUTING
  30. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7028340000@66.241.99.36) State INIT going to sleep
  31. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_ROUTING (Cur 1 Tot 37071)
  32. 2018-02-12 00:24:45.145998 [DEBUG] switch_channel.c:2249 (sofia/default/7028340000@66.241.99.36) Callstate Change DOWN -> RINGING
  33. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7028340000@66.241.99.36) State ROUTING
  34. 2018-02-12 00:24:45.145998 [DEBUG] mod_sofia.c:143 sofia/default/7028340000@66.241.99.36 SOFIA ROUTING
  35. 2018-02-12 00:24:45.145998 [DEBUG] switch_core_state_machine.c:236 sofia/default/7028340000@66.241.99.36 Standard ROUTING
  36. 2018-02-12 00:24:45.145998 [INFO] mod_dialplan_xml.c:637 Processing 7028340000 <7028340000>->6196961477 in context default
  37. 2018-02-12 00:24:45.145998 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f29183236e0 Connected.
  38. 2018-02-12 00:24:45.145998 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  39. 2018-02-12 00:24:45.145998 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 6196961477
  40. 2018-02-12 00:24:45.145998 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 7028340000 / 7028340000
  41. 2018-02-12 00:24:45.145998 [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 ="6196961477" LIMIT 1
  42. 2018-02-12 00:24:45.145998 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  43. 2018-02-12 00:24:45.145998 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7403547829]
  44. 2018-02-12 00:24:45.145998 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7403547829" OR id="7403547829") AND status=0 AND deleted=0 AND (expiry >= '2018-02-12 08:24:45' OR expiry = '0000-00-00 00:00:00') limit 1
  45. 2018-02-12 00:24:45.165995 [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 ='^6196961477.*' OR patterns ='^619696147.*' OR patterns ='^61969614.*' OR patterns ='^6196961.*' OR patterns ='^619696.*' OR patterns ='^61969.*' OR patterns ='^6196.*' OR patterns ='^619.*' OR patterns ='^61.*' OR patterns ='^6.*' OR patterns ='--') AND status = 0 AND pricelist_id = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  46. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  47. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 27
  48. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 7403547829
  49. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  50. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  51. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 11
  52. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  53. 2018-02-12 00:24:45.165995 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  54. 2018-02-12 00:24:45.165995 [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 ="6196961477" LIMIT 1
  55. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  56. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 91
  57. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  58. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  59. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00700
  60. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 6196961477
  61. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 27
  62. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  63. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 120!!!
  64. 2018-02-12 00:24:45.165995 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 120 minutes
  65. 2018-02-12 00:24:45.165995 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "136" OR id="136") AND status=0 AND deleted=0 AND (expiry >= '2018-02-12 08:24:45' OR expiry = '0000-00-00 00:00:00') limit 1
  66. 2018-02-12 00:24:45.165995 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  67. 2018-02-12 00:24:45.185961 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^6196961477.*' OR pattern ='^619696147.*' OR pattern ='^61969614.*' OR pattern ='^6196961.*' OR pattern ='^619696.*' OR pattern ='^61969.*' OR pattern ='^6196.*' OR pattern ='^619.*' OR pattern ='^61.*' OR pattern ='^6.*' OR pattern ='--') AND status = 0 AND pricelist_id = 11  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  68. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  69. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2233
  70. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  71. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  72. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00390
  73. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] comment :
  74. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 27
  75. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  76. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 120!!!
  77. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:27
  78. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:27
  79. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 27
  80. 2018-02-12 00:24:45.185961 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
  81. 2018-02-12 00:24:45.185961 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
  82. 2018-02-12 00:24:45.185961 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  83. <document type="freeswitch/xml">
  84. <section name="dialplan" description="ASTPP Dialplan">
  85. <context name="default">
  86. <extension name="6196961477">
  87. <condition field="destination_number" expression="6196961477">
  88. <action application="set" data="effective_destination_number=6196961477"/>
  89. <action application="sched_hangup" data="+7200 normal_clearing"/>
  90. <action application="set" data="callstart=2018-02-12 08:24:45"/>
  91. <action application="set" data="hangup_after_bridge=true"/>
  92. <action application="set" data="continue_on_fail=true"/>
  93. <action application="set" data="account_id=27"/>
  94. <action application="set" data="parent_id=0"/>
  95. <action application="set" data="entity_id=3"/>
  96. <action application="set" data="call_processed=internal"/>
  97. <action application="set" data="call_direction=inbound"/>
  98. <action application="set" data="accountname=default"/>
  99. <action application="set" data="origination_rates_did=ID:91|CODE:^.6196961477.*|DESTINATION:6196961477|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00700|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|ACCID:136"/>
  100. <action application="set" data="origination_rates=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27"/>
  101. <action application="limit" data="db 7403547829 user_7403547829 50/0 !SWITCH_CONGESTION"/>
  102. <action application="set" data="original_caller_id_name=7028340000"/>
  103. <action application="set" data="original_caller_id_number=7028340000"/>
  104. <action application="set" data="effective_caller_id_name=7028340000"/>
  105. <action application="set" data="effective_caller_id_number=7028340000"/>
  106. <action application="set" data="receiver_accid=136"/>
  107. <action application="set" data="calltype=STANDARD"/>
  108. <action application="set" data="accountcode=8346105694"/>
  109. <action application="set" data="caller_did_account_id=27"/>
  110. <action application="set" data="origination_rates_did=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27"/>
  111. <action application="transfer" data="17027777777 XML default"/>
  112. </condition>
  113. </extension>
  114. </context>
  115. </section>
  116. </document>
  117. 2018-02-12 00:24:45.185961 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f29183236e0 released.
  118. Dialplan: sofia/default/7028340000@66.241.99.36 parsing [default->6196961477] continue=false
  119. Dialplan: sofia/default/7028340000@66.241.99.36 Regex (PASS) [6196961477] destination_number(6196961477) =~ /6196961477/ break=on-false
  120. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_destination_number=6196961477)
  121. Dialplan: sofia/default/7028340000@66.241.99.36 Action sched_hangup(+7200 normal_clearing)
  122. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(callstart=2018-02-12 08:24:45)
  123. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(hangup_after_bridge=true)
  124. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(continue_on_fail=true)
  125. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(account_id=27)
  126. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(parent_id=0)
  127. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(entity_id=3)
  128. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(call_processed=internal)
  129. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(call_direction=inbound)
  130. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(accountname=default)
  131. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(origination_rates_did=ID:91|CODE:^.6196961477.*|DESTINATION:6196961477|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00700|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|ACCID:136)
  132. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(origination_rates=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27)
  133. Dialplan: sofia/default/7028340000@66.241.99.36 Action limit(db 7403547829 user_7403547829 50/0 !SWITCH_CONGESTION)
  134. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(original_caller_id_name=7028340000)
  135. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(original_caller_id_number=7028340000)
  136. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_caller_id_name=7028340000)
  137. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_caller_id_number=7028340000)
  138. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(receiver_accid=136)
  139. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(calltype=STANDARD)
  140. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(accountcode=8346105694)
  141. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(caller_did_account_id=27)
  142. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(origination_rates_did=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27)
  143. Dialplan: sofia/default/7028340000@66.241.99.36 Action transfer(17027777777 XML default)
  144. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:286 (sofia/default/7028340000@66.241.99.36) State Change CS_ROUTING -> CS_EXECUTE
  145. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7028340000@66.241.99.36) State ROUTING going to sleep
  146. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_EXECUTE (Cur 1 Tot 37071)
  147. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:650 (sofia/default/7028340000@66.241.99.36) State EXECUTE
  148. 2018-02-12 00:24:45.185961 [DEBUG] mod_sofia.c:198 sofia/default/7028340000@66.241.99.36 SOFIA EXECUTE
  149. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:328 sofia/default/7028340000@66.241.99.36 Standard EXECUTE
  150. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_destination_number=6196961477)
  151. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_destination_number]=[6196961477]
  152. EXECUTE sofia/default/7028340000@66.241.99.36 sched_hangup(+7200 normal_clearing)
  153. 2018-02-12 00:24:45.185961 [DEBUG] switch_scheduler.c:249 Added task 769 switch_ivr_schedule_hangup (cac35508-a3c4-4156-a6a1-ddfa423bc5b1) to run at 1518431085
  154. EXECUTE sofia/default/7028340000@66.241.99.36 set(callstart=2018-02-12 08:24:45)
  155. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [callstart]=[2018-02-12 08:24:45]
  156. EXECUTE sofia/default/7028340000@66.241.99.36 set(hangup_after_bridge=true)
  157. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [hangup_after_bridge]=[true]
  158. EXECUTE sofia/default/7028340000@66.241.99.36 set(continue_on_fail=true)
  159. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [continue_on_fail]=[true]
  160. EXECUTE sofia/default/7028340000@66.241.99.36 set(account_id=27)
  161. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [account_id]=[27]
  162. EXECUTE sofia/default/7028340000@66.241.99.36 set(parent_id=0)
  163. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [parent_id]=[0]
  164. EXECUTE sofia/default/7028340000@66.241.99.36 set(entity_id=3)
  165. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [entity_id]=[3]
  166. EXECUTE sofia/default/7028340000@66.241.99.36 set(call_processed=internal)
  167. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [call_processed]=[internal]
  168. EXECUTE sofia/default/7028340000@66.241.99.36 set(call_direction=inbound)
  169. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [call_direction]=[inbound]
  170. EXECUTE sofia/default/7028340000@66.241.99.36 set(accountname=default)
  171. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [accountname]=[default]
  172. EXECUTE sofia/default/7028340000@66.241.99.36 set(origination_rates_did=ID:91|CODE:^.6196961477.*|DESTINATION:6196961477|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00700|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|ACCID:136)
  173. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [origination_rates_did]=[ID:91|CODE:^.6196961477.*|DESTINATION:6196961477|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00700|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|ACCID:136]
  174. EXECUTE sofia/default/7028340000@66.241.99.36 set(origination_rates=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27)
  175. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [origination_rates]=[ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27]
  176. EXECUTE sofia/default/7028340000@66.241.99.36 limit(db 7403547829 user_7403547829 50/0 !SWITCH_CONGESTION)
  177. 2018-02-12 00:24:45.185961 [DEBUG] switch_limit.c:126 incr called: 7403547829_user_7403547829 max:50, interval:0
  178. 2018-02-12 00:24:45.185961 [DEBUG] mod_db.c:194 Usage for 7403547829_user_7403547829 is now 1/50
  179. EXECUTE sofia/default/7028340000@66.241.99.36 set(original_caller_id_name=7028340000)
  180. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [original_caller_id_name]=[7028340000]
  181. EXECUTE sofia/default/7028340000@66.241.99.36 set(original_caller_id_number=7028340000)
  182. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [original_caller_id_number]=[7028340000]
  183. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_caller_id_name=7028340000)
  184. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_caller_id_name]=[7028340000]
  185. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_caller_id_number=7028340000)
  186. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_caller_id_number]=[7028340000]
  187. EXECUTE sofia/default/7028340000@66.241.99.36 set(receiver_accid=136)
  188. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [receiver_accid]=[136]
  189. EXECUTE sofia/default/7028340000@66.241.99.36 set(calltype=STANDARD)
  190. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [calltype]=[STANDARD]
  191. EXECUTE sofia/default/7028340000@66.241.99.36 set(accountcode=8346105694)
  192. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [accountcode]=[8346105694]
  193. EXECUTE sofia/default/7028340000@66.241.99.36 set(caller_did_account_id=27)
  194. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [caller_did_account_id]=[27]
  195. EXECUTE sofia/default/7028340000@66.241.99.36 set(origination_rates_did=ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27)
  196. 2018-02-12 00:24:45.185961 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [origination_rates_did]=[ID:2233|CODE:^6.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00390|INC:60|INITIALBLOCK:60|RATEGROUP:11|MARKUP:0|ACCID:27]
  197. EXECUTE sofia/default/7028340000@66.241.99.36 transfer(17027777777 XML default)
  198. 2018-02-12 00:24:45.185961 [DEBUG] switch_ivr.c:2165 (sofia/default/7028340000@66.241.99.36) State Change CS_EXECUTE -> CS_ROUTING
  199. 2018-02-12 00:24:45.185961 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/7028340000@66.241.99.36 to XML[17027777777@default]
  200. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:650 (sofia/default/7028340000@66.241.99.36) State EXECUTE going to sleep
  201. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_ROUTING (Cur 1 Tot 37071)
  202. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7028340000@66.241.99.36) State ROUTING
  203. 2018-02-12 00:24:45.185961 [DEBUG] mod_sofia.c:143 sofia/default/7028340000@66.241.99.36 SOFIA ROUTING
  204. 2018-02-12 00:24:45.185961 [DEBUG] switch_core_state_machine.c:236 sofia/default/7028340000@66.241.99.36 Standard ROUTING
  205. 2018-02-12 00:24:45.185961 [INFO] mod_dialplan_xml.c:637 Processing 7028340000 <7028340000>->17027777777 in context default
  206. 2018-02-12 00:24:45.185961 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f29183236e0 Connected.
  207. 2018-02-12 00:24:45.185961 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  208. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 17027777777
  209. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 7028340000 / 7028340000
  210. 2018-02-12 00:24:45.185961 [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 ="17027777777" LIMIT 1
  211. 2018-02-12 00:24:45.185961 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.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 sip_devices.username="17027777777" limit 1
  212. 2018-02-12 00:24:45.185961 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  213. 2018-02-12 00:24:45.185961 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 8346105694]
  214. 2018-02-12 00:24:45.185961 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8346105694" OR id="8346105694") AND status=0 AND deleted=0 AND (expiry >= '2018-02-12 08:24:45' OR expiry = '0000-00-00 00:00:00') limit 1
  215. 2018-02-12 00:24:45.205991 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^17027777777.*' OR blocked_patterns ='^1702777777.*' OR blocked_patterns ='^170277777.*' OR blocked_patterns ='^17027777.*' OR blocked_patterns ='^1702777.*' OR blocked_patterns ='^170277.*' OR blocked_patterns ='^17027.*' OR blocked_patterns ='^1702.*' OR blocked_patterns ='^170.*' OR blocked_patterns ='^17.*' OR blocked_patterns ='^1.*' OR blocked_patterns ='--') AND accountid = 136 limit 1
  216. 2018-02-12 00:24:45.205991 [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 ='^17027777777.*' OR patterns ='^1702777777.*' OR patterns ='^170277777.*' OR patterns ='^17027777.*' OR patterns ='^1702777.*' OR patterns ='^170277.*' OR patterns ='^17027.*' OR patterns ='^1702.*' OR patterns ='^170.*' OR patterns ='^17.*' OR patterns ='^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  217. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  218. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 136
  219. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8346105694
  220. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 9966.9983
  221. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  222. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  223. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  224. 2018-02-12 00:24:45.205991 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  225. 2018-02-12 00:24:45.205991 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^17027777777.*' OR pattern ='^1702777777.*' OR pattern ='^170277777.*' OR pattern ='^17027777.*' OR pattern ='^1702777.*' OR pattern ='^170277.*' OR pattern ='^17027.*' OR pattern ='^1702.*' OR pattern ='^170.*' OR pattern ='^17.*' OR pattern ='^1.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  226. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  227. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  228. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  229. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  230. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.02000
  231. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] comment :
  232. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 136
  233. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  234. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 120!!!
  235. 2018-02-12 00:24:45.205991 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 120 minutes
  236. 2018-02-12 00:24:45.205991 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1
  237. 2018-02-12 00:24:45.205991 [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 ='^17027777777.*' OR pattern ='^1702777777.*' OR pattern ='^170277777.*' OR pattern ='^17027777.*' OR pattern ='^1702777.*' OR pattern ='^170277.*' OR pattern ='^17027.*' OR pattern ='^1702.*' OR pattern ='^170.*' OR pattern ='^17.*' 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
  238. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  239. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  240. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^1.*
  241. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination :
  242. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  243. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  244. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^1.*
  245. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  246. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  247. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  248. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : OV_GW
  249. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  250. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  251. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 7
  252. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation :
  253. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  254. 2018-02-12 00:24:45.225982 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  255. 2018-02-12 00:24:45.225982 [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 = 136 AND status=0 LIMIT 1
  256. 2018-02-12 00:24:45.225982 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts
  257. 2018-02-12 00:24:45.225982 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends
  258. 2018-02-12 00:24:45.225982 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  259. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  260. <document type="freeswitch/xml">
  261. <section name="dialplan" description="ASTPP Dialplan">
  262. <context name="default">
  263. <extension name="17027777777">
  264. <condition field="destination_number" expression="17027777777">
  265. <action application="set" data="effective_destination_number=17027777777"/>
  266. <action application="sched_hangup" data="+7200 normal_clearing"/>
  267. <action application="set" data="callstart=2018-02-12 08:24:45"/>
  268. <action application="set" data="hangup_after_bridge=true"/>
  269. <action application="set" data="continue_on_fail=true"/>
  270. <action application="set" data="account_id=136"/>
  271. <action application="set" data="parent_id=0"/>
  272. <action application="set" data="entity_id=0"/>
  273. <action application="set" data="call_processed=internal"/>
  274. <action application="set" data="call_direction=outbound"/>
  275. <action application="set" data="accountname=default"/>
  276. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:136"/>
  277. <action application="limit" data="db 8346105694 user_8346105694 2/0 !SWITCH_CONGESTION"/>
  278.  
  279. <action application="set" data="original_caller_id_name=7028340000"/>
  280. <action application="set" data="original_caller_id_number=7028340000"/>
  281. <action application="set" data="effective_caller_id_name=7028340000"/>
  282. <action application="set" data="effective_caller_id_number=7028340000"/>
  283. <action application="set" data="calltype=STANDARD"/>
  284. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:7"/>
  285. <action application="set" data="trunk_id=1"/>
  286. <action application="set" data="provider_id=7"/>
  287. <action application="bridge" data="[leg_timeout=30]sofia/gateway/OV_GW/17027777777"/>
  288. </condition>
  289. </extension>
  290. </context>
  291. </section>
  292. </document>
  293. 2018-02-12 00:24:45.225982 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f29183236e0 released.
  294. Dialplan: sofia/default/7028340000@66.241.99.36 parsing [default->17027777777] continue=false
  295. Dialplan: sofia/default/7028340000@66.241.99.36 Regex (PASS) [17027777777] destination_number(17027777777) =~ /17027777777/ break=on-false
  296. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_destination_number=17027777777)
  297. Dialplan: sofia/default/7028340000@66.241.99.36 Action sched_hangup(+7200 normal_clearing)
  298. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(callstart=2018-02-12 08:24:45)
  299. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(hangup_after_bridge=true)
  300. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(continue_on_fail=true)
  301. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(account_id=136)
  302. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(parent_id=0)
  303. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(entity_id=0)
  304. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(call_processed=internal)
  305. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(call_direction=outbound)
  306. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(accountname=default)
  307. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:136)
  308. Dialplan: sofia/default/7028340000@66.241.99.36 Action limit(db 8346105694 user_8346105694 2/0 !SWITCH_CONGESTION)
  309. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(original_caller_id_name=7028340000)
  310. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(original_caller_id_number=7028340000)
  311. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_caller_id_name=7028340000)
  312. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(effective_caller_id_number=7028340000)
  313. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(calltype=STANDARD)
  314. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:7)
  315. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(trunk_id=1)
  316. Dialplan: sofia/default/7028340000@66.241.99.36 Action set(provider_id=7)
  317. Dialplan: sofia/default/7028340000@66.241.99.36 Action bridge([leg_timeout=30]sofia/gateway/OV_GW/17027777777)
  318. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:286 (sofia/default/7028340000@66.241.99.36) State Change CS_ROUTING -> CS_EXECUTE
  319. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7028340000@66.241.99.36) State ROUTING going to sleep
  320. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_EXECUTE (Cur 1 Tot 37071)
  321. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:650 (sofia/default/7028340000@66.241.99.36) State EXECUTE
  322. 2018-02-12 00:24:45.225982 [DEBUG] mod_sofia.c:198 sofia/default/7028340000@66.241.99.36 SOFIA EXECUTE
  323. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:328 sofia/default/7028340000@66.241.99.36 Standard EXECUTE
  324. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_destination_number=17027777777)
  325. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_destination_number]=[17027777777]
  326. EXECUTE sofia/default/7028340000@66.241.99.36 sched_hangup(+7200 normal_clearing)
  327. 2018-02-12 00:24:45.225982 [DEBUG] switch_scheduler.c:249 Added task 770 switch_ivr_schedule_hangup (cac35508-a3c4-4156-a6a1-ddfa423bc5b1) to run at 1518431085
  328. EXECUTE sofia/default/7028340000@66.241.99.36 set(callstart=2018-02-12 08:24:45)
  329. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [callstart]=[2018-02-12 08:24:45]
  330. EXECUTE sofia/default/7028340000@66.241.99.36 set(hangup_after_bridge=true)
  331. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [hangup_after_bridge]=[true]
  332. EXECUTE sofia/default/7028340000@66.241.99.36 set(continue_on_fail=true)
  333. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [continue_on_fail]=[true]
  334. EXECUTE sofia/default/7028340000@66.241.99.36 set(account_id=136)
  335. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [account_id]=[136]
  336. EXECUTE sofia/default/7028340000@66.241.99.36 set(parent_id=0)
  337. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [parent_id]=[0]
  338. EXECUTE sofia/default/7028340000@66.241.99.36 set(entity_id=0)
  339. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [entity_id]=[0]
  340. EXECUTE sofia/default/7028340000@66.241.99.36 set(call_processed=internal)
  341. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [call_processed]=[internal]
  342. EXECUTE sofia/default/7028340000@66.241.99.36 set(call_direction=outbound)
  343. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [call_direction]=[outbound]
  344. EXECUTE sofia/default/7028340000@66.241.99.36 set(accountname=default)
  345. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [accountname]=[default]
  346. EXECUTE sofia/default/7028340000@66.241.99.36 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:136)
  347. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:136]
  348. EXECUTE sofia/default/7028340000@66.241.99.36 limit(db 8346105694 user_8346105694 2/0 !SWITCH_CONGESTION)
  349. 2018-02-12 00:24:45.225982 [DEBUG] switch_limit.c:126 incr called: 8346105694_user_8346105694 max:2, interval:0
  350. 2018-02-12 00:24:45.225982 [DEBUG] mod_db.c:194 Usage for 8346105694_user_8346105694 is now 1/2
  351. EXECUTE sofia/default/7028340000@66.241.99.36 set(original_caller_id_name=7028340000)
  352. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [original_caller_id_name]=[7028340000]
  353. EXECUTE sofia/default/7028340000@66.241.99.36 set(original_caller_id_number=7028340000)
  354. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [original_caller_id_number]=[7028340000]
  355. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_caller_id_name=7028340000)
  356. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_caller_id_name]=[7028340000]
  357. EXECUTE sofia/default/7028340000@66.241.99.36 set(effective_caller_id_number=7028340000)
  358. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [effective_caller_id_number]=[7028340000]
  359. EXECUTE sofia/default/7028340000@66.241.99.36 set(calltype=STANDARD)
  360. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [calltype]=[STANDARD]
  361. EXECUTE sofia/default/7028340000@66.241.99.36 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:7)
  362. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01900|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:7]
  363. EXECUTE sofia/default/7028340000@66.241.99.36 set(trunk_id=1)
  364. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [trunk_id]=[1]
  365. EXECUTE sofia/default/7028340000@66.241.99.36 set(provider_id=7)
  366. 2018-02-12 00:24:45.225982 [DEBUG] mod_dptools.c:1530 SET sofia/default/7028340000@66.241.99.36 [provider_id]=[7]
  367. EXECUTE sofia/default/7028340000@66.241.99.36 bridge([leg_timeout=30]sofia/gateway/OV_GW/17027777777)
  368. 2018-02-12 00:24:45.225982 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  369. 2018-02-12 00:24:45.225982 [DEBUG] switch_ivr_originate.c:2663 Parsing session specific variables
  370. 2018-02-12 00:24:45.225982 [NOTICE] switch_channel.c:1104 New Channel sofia/default/17027777777 [d35df103-48dd-4f8e-8101-2519a835d9d7]
  371. 2018-02-12 00:24:45.225982 [DEBUG] mod_sofia.c:4818 (sofia/default/17027777777) State Change CS_NEW -> CS_INIT
  372. 2018-02-12 00:24:45.225982 [DEBUG] switch_ivr_originate.c:2957 sofia/default/17027777777 Setting leg timeout to 30
  373. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_INIT (Cur 2 Tot 37072)
  374. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:627 (sofia/default/17027777777) State INIT
  375. 2018-02-12 00:24:45.225982 [DEBUG] mod_sofia.c:90 sofia/default/17027777777 SOFIA INIT
  376. 2018-02-12 00:24:45.225982 [DEBUG] sofia_glue.c:1264 sip:138.197.236.58 Setting proxy route to sofia/default/17027777777
  377. 2018-02-12 00:24:45.225982 [DEBUG] sofia_glue.c:1295 sofia/default/17027777777 sending invite version: 1.6.16  64bit
  378. Local SDP:
  379. v=0
  380. o=FreeSWITCH 1518404027 1518404028 IN IP4 138.68.245.133
  381. s=FreeSWITCH
  382. c=IN IP4 138.68.245.133
  383. t=0 0
  384. m=audio 19858 RTP/AVP 0 8 101
  385. a=rtpmap:0 PCMU/8000
  386. a=rtpmap:8 PCMA/8000
  387. a=rtpmap:101 telephone-event/8000
  388. a=fmtp:101 0-16
  389. a=ptime:20
  390. a=sendrecv
  391.  
  392. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:40 sofia/default/17027777777 Standard INIT
  393. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:48 (sofia/default/17027777777) State Change CS_INIT -> CS_ROUTING
  394. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:627 (sofia/default/17027777777) State INIT going to sleep
  395. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_ROUTING (Cur 2 Tot 37072)
  396. 2018-02-12 00:24:45.225982 [DEBUG] sofia.c:7048 Channel sofia/default/17027777777 entering state [calling][0]
  397. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:643 (sofia/default/17027777777) State ROUTING
  398. 2018-02-12 00:24:45.225982 [DEBUG] mod_sofia.c:143 sofia/default/17027777777 SOFIA ROUTING
  399. 2018-02-12 00:24:45.225982 [DEBUG] switch_ivr_originate.c:67 (sofia/default/17027777777) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  400. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:643 (sofia/default/17027777777) State ROUTING going to sleep
  401. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 37072)
  402. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:662 (sofia/default/17027777777) State CONSUME_MEDIA
  403. 2018-02-12 00:24:45.225982 [DEBUG] switch_core_state_machine.c:662 (sofia/default/17027777777) State CONSUME_MEDIA going to sleep
  404. 2018-02-12 00:24:47.465978 [DEBUG] sofia.c:7048 Channel sofia/default/17027777777 entering state [proceeding][180]
  405. 2018-02-12 00:24:47.465978 [DEBUG] sofia.c:7058 Remote SDP:
  406. v=0
  407. o=Sonus_UAC 4579 5705 IN IP4 66.62.60.234
  408. s=SIP Media Capabilities
  409. c=IN IP4 66.62.60.236
  410. t=0 0
  411. m=audio 27232 RTP/AVP 0 101
  412. a=rtpmap:0 PCMU/8000
  413. a=rtpmap:101 telephone-event/8000
  414. a=fmtp:101 0-15
  415. a=maxptime:20
  416.  
  417. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  418. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4484 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  419. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  420. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4345 Set telephone-event payload to 101@8000
  421. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:3049 Set Codec sofia/default/17027777777 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  422. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_codec.c:111 sofia/default/17027777777 Original read codec set to PCMU:0
  423. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4688 Set telephone-event payload to 101@8000
  424. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:4747 sofia/default/17027777777 Set 2833 dtmf send payload to 101 recv payload to 101
  425. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:6803 AUDIO RTP [sofia/default/17027777777] 138.68.245.133 port 19858 -> 66.62.60.236 port 27232 codec: 0 ms: 20
  426. 2018-02-12 00:24:47.465978 [DEBUG] switch_rtp.c:4095 Starting timer [soft] 160 bytes per 20ms
  427. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:7109 sofia/default/17027777777 Set 2833 dtmf send payload to 101
  428. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:7116 sofia/default/17027777777 Set 2833 dtmf receive payload to 101
  429. 2018-02-12 00:24:47.465978 [DEBUG] switch_core_media.c:7139 sofia/default/17027777777 Set rtp dtmf delay to 40
  430. 2018-02-12 00:24:47.465978 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/17027777777!
  431. 2018-02-12 00:24:47.465978 [DEBUG] switch_channel.c:3473 (sofia/default/17027777777) Callstate Change DOWN -> EARLY
  432. 2018-02-12 00:24:47.465978 [DEBUG] sofia.c:7048 Channel sofia/default/17027777777 entering state [completing][200]
  433. 2018-02-12 00:24:47.465978 [DEBUG] sofia.c:7055 Duplicate SDP
  434. v=0
  435. o=Sonus_UAC 4579 5705 IN IP4 66.62.60.234
  436. s=SIP Media Capabilities
  437. c=IN IP4 66.62.60.236
  438. t=0 0
  439. m=audio 27232 RTP/AVP 0 101
  440. a=rtpmap:0 PCMU/8000
  441. a=rtpmap:101 telephone-event/8000
  442. a=fmtp:101 0-15
  443. a=maxptime:20
  444.  
  445. 2018-02-12 00:24:47.465978 [DEBUG] sofia.c:7048 Channel sofia/default/17027777777 entering state [ready][200]
  446. 2018-02-12 00:24:47.465978 [NOTICE] sofia.c:8108 Channel [sofia/default/17027777777] has been answered
  447. 2018-02-12 00:24:47.465978 [DEBUG] switch_channel.c:3772 (sofia/default/17027777777) Callstate Change EARLY -> ACTIVE
  448. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  449. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  450. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4484 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  451. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  452. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4484 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  453. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  454. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  455. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  456. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  457. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4429 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  458. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4345 Set telephone-event payload to 101@8000
  459. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:3049 Set Codec sofia/default/7028340000@66.241.99.36 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  460. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_codec.c:111 sofia/default/7028340000@66.241.99.36 Original read codec set to PCMU:0
  461. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4688 Set telephone-event payload to 101@8000
  462. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:4747 sofia/default/7028340000@66.241.99.36 Set 2833 dtmf send payload to 101 recv payload to 101
  463. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:6803 AUDIO RTP [sofia/default/7028340000@66.241.99.36] 138.68.245.133 port 29600 -> 66.241.99.36 port 14404 codec: 0 ms: 20
  464. 2018-02-12 00:24:47.486007 [DEBUG] switch_rtp.c:4095 Starting timer [soft] 160 bytes per 20ms
  465. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:7109 sofia/default/7028340000@66.241.99.36 Set 2833 dtmf send payload to 101
  466. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:7116 sofia/default/7028340000@66.241.99.36 Set 2833 dtmf receive payload to 101
  467. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:7139 sofia/default/7028340000@66.241.99.36 Set rtp dtmf delay to 40
  468. 2018-02-12 00:24:47.486007 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/7028340000@66.241.99.36!
  469. 2018-02-12 00:24:47.486007 [DEBUG] switch_channel.c:3473 (sofia/default/7028340000@66.241.99.36) Callstate Change RINGING -> EARLY
  470. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_media.c:6786 Audio params are unchanged for sofia/default/7028340000@66.241.99.36.
  471. 2018-02-12 00:24:47.486007 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/7028340000@66.241.99.36:
  472. v=0
  473. o=FreeSWITCH 1518394287 1518394288 IN IP4 138.68.245.133
  474. s=FreeSWITCH
  475. c=IN IP4 138.68.245.133
  476. t=0 0
  477. m=audio 29600 RTP/AVP 0 101
  478. a=rtpmap:0 PCMU/8000
  479. a=rtpmap:101 telephone-event/8000
  480. a=fmtp:101 0-16
  481. a=ptime:20
  482. a=sendrecv
  483.  
  484. 2018-02-12 00:24:47.486007 [NOTICE] switch_ivr_originate.c:3632 Channel [sofia/default/7028340000@66.241.99.36] has been answered
  485. 2018-02-12 00:24:47.486007 [DEBUG] switch_channel.c:3772 (sofia/default/7028340000@66.241.99.36) Callstate Change EARLY -> ACTIVE
  486. 2018-02-12 00:24:47.486007 [DEBUG] sofia.c:7048 Channel sofia/default/7028340000@66.241.99.36 entering state [completed][200]
  487. 2018-02-12 00:24:47.486007 [DEBUG] switch_ivr_originate.c:3690 Originate Resulted in Success: [sofia/default/17027777777]
  488. 2018-02-12 00:24:47.486007 [DEBUG] switch_ivr_bridge.c:1574 (sofia/default/17027777777) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  489. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 37072)
  490. 2018-02-12 00:24:47.486007 [DEBUG] switch_core_state_machine.c:653 (sofia/default/17027777777) State EXCHANGE_MEDIA
  491. 2018-02-12 00:24:47.486007 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  492. 2018-02-12 00:24:47.525990 [DEBUG] switch_rtp.c:7228 Correct audio ip/port confirmed.
  493. 2018-02-12 00:24:47.525990 [DEBUG] sofia.c:7048 Channel sofia/default/7028340000@66.241.99.36 entering state [ready][200]
  494. 2018-02-12 00:24:47.585990 [DEBUG] switch_rtp.c:7228 Correct audio ip/port confirmed.
  495. freeswitch@FS02>
  496. freeswitch@FS02>
  497. 2018-02-12 00:25:09.126003 [NOTICE] sofia.c:1012 Hangup sofia/default/7028340000@66.241.99.36 [CS_EXECUTE] [NORMAL_CLEARING]
  498. 2018-02-12 00:25:09.126003 [DEBUG] switch_ivr_bridge.c:760 BRIDGE THREAD DONE [sofia/default/7028340000@66.241.99.36]
  499. 2018-02-12 00:25:09.145977 [DEBUG] switch_ivr_bridge.c:681 sofia/default/7028340000@66.241.99.36 ending bridge by request from write function
  500. 2018-02-12 00:25:09.145977 [DEBUG] switch_ivr_bridge.c:760 BRIDGE THREAD DONE [sofia/default/17027777777]
  501. 2018-02-12 00:25:09.145977 [NOTICE] switch_ivr_bridge.c:864 Hangup sofia/default/17027777777 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  502. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:653 (sofia/default/17027777777) State EXCHANGE_MEDIA going to sleep
  503. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_HANGUP (Cur 2 Tot 37072)
  504. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:850 (sofia/default/17027777777) Callstate Change ACTIVE -> HANGUP
  505. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:852 (sofia/default/17027777777) State HANGUP
  506. 2018-02-12 00:25:09.145977 [DEBUG] mod_sofia.c:432 sofia/default/17027777777 Overriding SIP cause 480 with 200 from the other leg
  507. 2018-02-12 00:25:09.145977 [DEBUG] mod_sofia.c:438 Channel sofia/default/17027777777 hanging up, cause: NORMAL_CLEARING
  508. 2018-02-12 00:25:09.145977 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/17027777777
  509. 2018-02-12 00:25:09.145977 [DEBUG] switch_ivr_bridge.c:1672 sofia/default/17027777777 skip receive message [UNBRIDGE] (channel is hungup already)
  510. 2018-02-12 00:25:09.145977 [DEBUG] switch_ivr_bridge.c:1675 sofia/default/7028340000@66.241.99.36 skip receive message [UNBRIDGE] (channel is hungup already)
  511. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:60 sofia/default/17027777777 Standard HANGUP, cause: NORMAL_CLEARING
  512. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:852 (sofia/default/17027777777) State HANGUP going to sleep
  513. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:619 (sofia/default/17027777777) State Change CS_HANGUP -> CS_REPORTING
  514. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/17027777777) Running State Change CS_REPORTING (Cur 2 Tot 37072)
  515. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:938 (sofia/default/17027777777) State REPORTING
  516. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_session.c:2814 sofia/default/7028340000@66.241.99.36 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  517. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:650 (sofia/default/7028340000@66.241.99.36) State EXECUTE going to sleep
  518. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_HANGUP (Cur 2 Tot 37072)
  519. 2018-02-12 00:25:09.145977 [INFO] mod_json_cdr.c:271 Process [d35df103-48dd-4f8e-8101-2519a835d9d7.cdr.json]
  520. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7028340000@66.241.99.36) Callstate Change ACTIVE -> HANGUP
  521. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7028340000@66.241.99.36) State HANGUP
  522. 2018-02-12 00:25:09.145977 [DEBUG] mod_sofia.c:438 Channel sofia/default/7028340000@66.241.99.36 hanging up, cause: NORMAL_CLEARING
  523. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:60 sofia/default/7028340000@66.241.99.36 Standard HANGUP, cause: NORMAL_CLEARING
  524. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7028340000@66.241.99.36) State HANGUP going to sleep
  525. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:619 (sofia/default/7028340000@66.241.99.36) State Change CS_HANGUP -> CS_REPORTING
  526. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7028340000@66.241.99.36) Running State Change CS_REPORTING (Cur 2 Tot 37072)
  527. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7028340000@66.241.99.36) State REPORTING
  528. 2018-02-12 00:25:09.145977 [INFO] mod_json_cdr.c:271 Process [cac35508-a3c4-4156-a6a1-ddfa423bc5b1.cdr.json]
  529. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:174 sofia/default/17027777777 Standard REPORTING, cause: NORMAL_CLEARING
  530. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:938 (sofia/default/17027777777) State REPORTING going to sleep
  531. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_state_machine.c:610 (sofia/default/17027777777) State Change CS_REPORTING -> CS_DESTROY
  532. 2018-02-12 00:25:09.145977 [DEBUG] switch_core_session.c:1664 Session 37072 (sofia/default/17027777777) Locked, Waiting on external entities
  533. 2018-02-12 00:25:09.145977 [NOTICE] switch_core_session.c:1682 Session 37072 (sofia/default/17027777777) Ended
  534. 2018-02-12 00:25:09.145977 [NOTICE] switch_core_session.c:1686 Close Channel sofia/default/17027777777 [CS_DESTROY]
  535. 2018-02-12 00:25:09.165964 [DEBUG] switch_core_state_machine.c:741 (sofia/default/17027777777) Running State Change CS_DESTROY (Cur 1 Tot 37072)
  536. 2018-02-12 00:25:09.165964 [DEBUG] switch_core_state_machine.c:751 (sofia/default/17027777777) State DESTROY
  537. 2018-02-12 00:25:09.165964 [DEBUG] mod_sofia.c:343 sofia/default/17027777777 SOFIA DESTROY
  538. 2018-02-12 00:25:09.165964 [DEBUG] switch_core_state_machine.c:181 sofia/default/17027777777 Standard DESTROY
  539. 2018-02-12 00:25:09.165964 [DEBUG] switch_core_state_machine.c:751 (sofia/default/17027777777) State DESTROY going to sleep
  540. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:174 sofia/default/7028340000@66.241.99.36 Standard REPORTING, cause: NORMAL_CLEARING
  541. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7028340000@66.241.99.36) State REPORTING going to sleep
  542. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:610 (sofia/default/7028340000@66.241.99.36) State Change CS_REPORTING -> CS_DESTROY
  543. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_session.c:1664 Session 37071 (sofia/default/7028340000@66.241.99.36) Locked, Waiting on external entities
  544. 2018-02-12 00:25:09.186020 [NOTICE] switch_core_session.c:1682 Session 37071 (sofia/default/7028340000@66.241.99.36) Ended
  545. 2018-02-12 00:25:09.186020 [NOTICE] switch_core_session.c:1686 Close Channel sofia/default/7028340000@66.241.99.36 [CS_DESTROY]
  546. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:741 (sofia/default/7028340000@66.241.99.36) Running State Change CS_DESTROY (Cur 0 Tot 37072)
  547. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7028340000@66.241.99.36) State DESTROY
  548. 2018-02-12 00:25:09.186020 [DEBUG] mod_sofia.c:343 sofia/default/7028340000@66.241.99.36 SOFIA DESTROY
  549. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:181 sofia/default/7028340000@66.241.99.36 Standard DESTROY
  550. 2018-02-12 00:25:09.186020 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7028340000@66.241.99.36) State DESTROY going to sleep
  551. 2018-02-12 00:25:09.225994 [DEBUG] switch_scheduler.c:144 Deleting task 769 switch_ivr_schedule_hangup (cac35508-a3c4-4156-a6a1-ddfa423bc5b1)
  552. 2018-02-12 00:25:09.225994 [DEBUG] switch_scheduler.c:144 Deleting task 770 switch_ivr_schedule_hangup (cac35508-a3c4-4156-a6a1-ddfa423bc5b1)