From Kdorcas71, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2022-06-30 13:00:17.179801 97.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0902@102.220.200.133 [6f057ed6-1c4c-43e5-a30f-0091513f154c]
  2. 2022-06-30 13:00:17.179801 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_NEW (Cur 1 Tot 3)
  3. 2022-06-30 13:00:17.179801 97.47% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 365df0c7-c1a39e22@102.220.201.145
  4. 2022-06-30 13:00:17.179801 97.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0.
  5. 2022-06-30 13:00:17.179801 97.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [815@102.220.200.133] from ip 102.220.201.145
  6. 2022-06-30 13:00:17.179801 97.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0902@102.220.200.133) State NEW
  7. 2022-06-30 13:00:17.179801 97.47% [DEBUG] sofia.c:2419 detaching session 6f057ed6-1c4c-43e5-a30f-0091513f154c
  8. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:2532 Re-attaching to session 6f057ed6-1c4c-43e5-a30f-0091513f154c
  9. 2022-06-30 13:00:17.199795 97.47% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 365df0c7-c1a39e22@102.220.201.145
  10. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0.
  11. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [received][100]
  12. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7509 Remote SDP:
  13. v=0
  14. o=- 32190 32190 IN IP4 102.220.201.145
  15. s=-
  16. c=IN IP4 102.220.201.145
  17. t=0 0
  18. m=audio 16448 RTP/AVP 0 2 8 9 18 96 97 98 101
  19. a=rtpmap:0 PCMU/8000
  20. a=rtpmap:2 G726-32/8000
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:9 G722/8000
  23. a=rtpmap:18 G729a/8000
  24. a=rtpmap:96 G726-40/8000
  25. a=rtpmap:97 G726-24/8000
  26. a=rtpmap:98 G726-16/8000
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-15
  29. a=ptime:30
  30.  
  31. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match
  34. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match
  38. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  44. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  45. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  46. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  47. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  48. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  49. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  50. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5757 Substituting codec PCMU@30i@8000h@1c
  51. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/0902@102.220.200.133 PCMU/8000 30 ms 240 samples 64000 bits 1 channels
  52. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_codec.c:111 sofia/default/0902@102.220.200.133 Original read codec set to PCMU:0
  53. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  54. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5973 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101 recv payload to 101
  55. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7933 (sofia/default/0902@102.220.200.133) State Change CS_NEW -> CS_INIT
  56. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_INIT (Cur 1 Tot 3)
  57. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT
  58. 2022-06-30 13:00:17.199795 97.47% [DEBUG] mod_sofia.c:97 sofia/default/0902@102.220.200.133 SOFIA INIT
  59. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/0902@102.220.200.133 Standard INIT
  60. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0902@102.220.200.133) State Change CS_INIT -> CS_ROUTING
  61. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT going to sleep
  62. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_ROUTING (Cur 1 Tot 3)
  63. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_channel.c:2380 (sofia/default/0902@102.220.200.133) Callstate Change DOWN -> RINGING
  64. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING
  65. 2022-06-30 13:00:17.199795 97.47% [DEBUG] mod_sofia.c:158 sofia/default/0902@102.220.200.133 SOFIA ROUTING
  66. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/0902@102.220.200.133 Standard ROUTING
  67. 2022-06-30 13:00:17.199795 97.47% [INFO] mod_dialplan_xml.c:639 Processing 0902 <0902>->815 in context default
  68. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  69. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 815
  71. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '815' AND status=0 limit 1
  72. 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 0902 / 0902
  73. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,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,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="815" LIMIT 1
  74. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [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="815" limit 1
  75. 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  76. 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 671684]
  77. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "671684" AND deleted = 0 limit 1
  78. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^815.*' OR blocked_patterns = '^81.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 19 limit 1
  79. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="815" AND A.accountid = '19' limit 1
  80. 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 815
  81. 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,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,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="815" LIMIT 1
  82. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [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="815" limit 1
  83. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  84. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="815" AND (accountid = 0 OR status = 1) LIMIT 1
  85. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^815.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC
  86. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  87. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 19
  88. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 671684
  89. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5000
  90. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  91. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  92. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  94. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  95. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=19)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  96. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  97. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  98. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  99. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  100. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  101. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 220.00000
  102. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : Uganda
  103. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 197
  104. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 19
  105. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 4
  106. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  107. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  108. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5000 balance Accountid 19 !!!
  109. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 22.727272727273 minutes
  110. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 12
  111. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,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 = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  112. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  113. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8
  114. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^8.*
  115. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Uganda
  116. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  117. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  118. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^8.*
  119. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  120. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  121. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  122. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : MTN
  123. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  124. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  125. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 21
  126. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  127. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : MTN
  128. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  129. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 19 AND status=0 LIMIT 1
  130. 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 22.727272727273
  131. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  132. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  133. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 21) AND status=0 limit 1
  134. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  135. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  136. <document type="freeswitch/xml">
  137. <section name="dialplan" description="ASTPP Dialplan">
  138. <context name="default">
  139. <extension name="815">
  140. <condition field="destination_number" expression="815">
  141. <action application="set" data="effective_destination_number=815"/>
  142. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  143. <action application="set" data="bridge_pre_execute_bleg_data=+1363.6363636364 normal_clearing"/>
  144. <action application="set" data="callstart=2022-06-30 10:00:17"/>
  145. <action application="set" data="hangup_after_bridge=true"/>
  146. <action application="set" data="continue_on_fail=TRUE"/>
  147. <action application="set" data="account_id=19"/>
  148. <action application="set" data="parent_id=0"/>
  149. <action application="set" data="entity_id=0"/>
  150. <action application="set" data="call_processed=internal"/>
  151. <action application="set" data="call_direction=outbound"/>
  152. <action application="set" data="accountname=default"/>
  153. <action application="set" data="origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19"/>
  154. <action application="set" data="original_caller_id_name=0902"/>
  155. <action application="set" data="original_caller_id_number=0902"/>
  156.  
  157. <action application="set" data="calltype=STANDARD"/>
  158. <action application="set" data="termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21"/>
  159. <action application="set" data="trunk_id=4"/>
  160. <action application="set" data="provider_id=21"/>
  161. <action application="set" data="rate_flag=0"/>
  162. <action application="set" data="force_trunk_flag=12"/>
  163. <action application="export" data="presence_data=trunk_id=4"/>
  164. <action application="set" data="intcall=0"/>
  165. <action application="export" data="presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD"/>
  166. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/MTN/815"/>
  167. </condition>
  168. </extension>
  169. </context>
  170. </section>
  171. </document>
  172. Dialplan: sofia/default/0902@102.220.200.133 parsing [default->815] continue=false
  173. Dialplan: sofia/default/0902@102.220.200.133 Regex (PASS) [815] destination_number(815) =~ /815/ break=on-false
  174. Dialplan: sofia/default/0902@102.220.200.133 Action set(effective_destination_number=815)
  175. Dialplan: sofia/default/0902@102.220.200.133 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  176. Dialplan: sofia/default/0902@102.220.200.133 Action set(bridge_pre_execute_bleg_data=+1363.6363636364 normal_clearing)
  177. Dialplan: sofia/default/0902@102.220.200.133 Action set(callstart=2022-06-30 10:00:17)
  178. Dialplan: sofia/default/0902@102.220.200.133 Action set(hangup_after_bridge=true)
  179. Dialplan: sofia/default/0902@102.220.200.133 Action set(continue_on_fail=TRUE)
  180. Dialplan: sofia/default/0902@102.220.200.133 Action set(account_id=19)
  181. Dialplan: sofia/default/0902@102.220.200.133 Action set(parent_id=0)
  182. Dialplan: sofia/default/0902@102.220.200.133 Action set(entity_id=0)
  183. Dialplan: sofia/default/0902@102.220.200.133 Action set(call_processed=internal)
  184. Dialplan: sofia/default/0902@102.220.200.133 Action set(call_direction=outbound)
  185. Dialplan: sofia/default/0902@102.220.200.133 Action set(accountname=default)
  186. Dialplan: sofia/default/0902@102.220.200.133 Action set(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19)
  187. Dialplan: sofia/default/0902@102.220.200.133 Action set(original_caller_id_name=0902)
  188. Dialplan: sofia/default/0902@102.220.200.133 Action set(original_caller_id_number=0902)
  189. Dialplan: sofia/default/0902@102.220.200.133 Action set(calltype=STANDARD)
  190. Dialplan: sofia/default/0902@102.220.200.133 Action set(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21)
  191. Dialplan: sofia/default/0902@102.220.200.133 Action set(trunk_id=4)
  192. Dialplan: sofia/default/0902@102.220.200.133 Action set(provider_id=21)
  193. Dialplan: sofia/default/0902@102.220.200.133 Action set(rate_flag=0)
  194. Dialplan: sofia/default/0902@102.220.200.133 Action set(force_trunk_flag=12)
  195. Dialplan: sofia/default/0902@102.220.200.133 Action export(presence_data=trunk_id=4)
  196. Dialplan: sofia/default/0902@102.220.200.133 Action set(intcall=0)
  197. Dialplan: sofia/default/0902@102.220.200.133 Action export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD)
  198. Dialplan: sofia/default/0902@102.220.200.133 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/MTN/815)
  199. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0902@102.220.200.133) State Change CS_ROUTING -> CS_EXECUTE
  200. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING going to sleep
  201. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_EXECUTE (Cur 1 Tot 3)
  202. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE
  203. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:213 sofia/default/0902@102.220.200.133 SOFIA EXECUTE
  204. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/0902@102.220.200.133 Standard EXECUTE
  205. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(effective_destination_number=815)
  206. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [effective_destination_number]=[815]
  207. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(bridge_pre_execute_bleg_app=sched_hangup)
  208. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [bridge_pre_execute_bleg_app]=[sched_hangup]
  209. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(bridge_pre_execute_bleg_data=+1363.6363636364 normal_clearing)
  210. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [bridge_pre_execute_bleg_data]=[+1363.6363636364 normal_clearing]
  211. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(callstart=2022-06-30 10:00:17)
  212. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [callstart]=[2022-06-30 10:00:17]
  213. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=true)
  214. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[true]
  215. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(continue_on_fail=TRUE)
  216. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [continue_on_fail]=[TRUE]
  217. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(account_id=19)
  218. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [account_id]=[19]
  219. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(parent_id=0)
  220. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [parent_id]=[0]
  221. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(entity_id=0)
  222. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [entity_id]=[0]
  223. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(call_processed=internal)
  224. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [call_processed]=[internal]
  225. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(call_direction=outbound)
  226. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [call_direction]=[outbound]
  227. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(accountname=default)
  228. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [accountname]=[default]
  229. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19)
  230. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19]
  231. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(original_caller_id_name=0902)
  232. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [original_caller_id_name]=[0902]
  233. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(original_caller_id_number=0902)
  234. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [original_caller_id_number]=[0902]
  235. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(calltype=STANDARD)
  236. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [calltype]=[STANDARD]
  237. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21)
  238. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21]
  239. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(trunk_id=4)
  240. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [trunk_id]=[4]
  241. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(provider_id=21)
  242. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [provider_id]=[21]
  243. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(rate_flag=0)
  244. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [rate_flag]=[0]
  245. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(force_trunk_flag=12)
  246. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [force_trunk_flag]=[12]
  247. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=trunk_id=4)
  248. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  249. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(intcall=0)
  250. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [intcall]=[0]
  251. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD)
  252. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD]
  253. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/MTN/815)
  254. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD] to event
  255. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD] to event
  256. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  257. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  258. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/815 [f123f665-8446-438b-9287-ba33bd9eed19]
  259. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:5121 (sofia/default/815) State Change CS_NEW -> CS_INIT
  260. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_INIT (Cur 2 Tot 4)
  261. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT
  262. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:97 sofia/default/815 SOFIA INIT
  263. 2022-06-30 13:00:17.239722 97.47% [INFO] sofia_glue.c:1651 sofia/default/815 sending invite call-id: (null)
  264. 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia_glue.c:1654 sofia/default/815 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  265. Local SDP:
  266. v=0
  267. o=FreeSWITCH 1656559329 1656559330 IN IP4 102.220.200.133
  268. s=FreeSWITCH
  269. c=IN IP4 102.220.200.133
  270. t=0 0
  271. m=audio 23888 RTP/AVP 8 0 18 101
  272. a=rtpmap:8 PCMA/8000
  273. a=rtpmap:0 PCMU/8000
  274. a=rtpmap:18 G729/8000
  275. a=rtpmap:101 telephone-event/8000
  276. a=fmtp:101 0-15
  277. a=ptime:20
  278. a=sendrecv
  279.  
  280. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/815 Standard INIT
  281. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/815) State Change CS_INIT -> CS_ROUTING
  282. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT going to sleep
  283. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_ROUTING (Cur 2 Tot 4)
  284. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING
  285. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:158 sofia/default/815 SOFIA ROUTING
  286. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/815) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  287. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING going to sleep
  288. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4)
  289. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA
  290. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA going to sleep
  291. 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [calling][0]
  292. 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [terminated][503]
  293. 2022-06-30 13:00:17.239722 97.47% [NOTICE] sofia.c:8738 Hangup sofia/default/815 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  294. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_HANGUP (Cur 2 Tot 4)
  295. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/815) Callstate Change DOWN -> HANGUP
  296. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  297. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP
  298. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/815 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  299. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/815 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  300. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP going to sleep
  301. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/815) State Change CS_HANGUP -> CS_REPORTING
  302. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_REPORTING (Cur 2 Tot 4)
  303. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING
  304. 2022-06-30 13:00:17.239722 97.47% [INFO] mod_json_cdr.c:271 Process [f123f665-8446-438b-9287-ba33bd9eed19.cdr.json]
  305. 2022-06-30 13:00:17.239722 97.47% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  306. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_state_machine.c:382 sofia/default/0902@102.220.200.133 has executed the last dialplan instruction, hanging up.
  307. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/0902@102.220.200.133 [CS_EXECUTE] [NORMAL_CLEARING]
  308. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE going to sleep
  309. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_HANGUP (Cur 2 Tot 4)
  310. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0902@102.220.200.133) Callstate Change RINGING -> HANGUP
  311. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP
  312. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:462 sofia/default/0902@102.220.200.133 Overriding SIP cause 480 with 503 from the other leg
  313. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/0902@102.220.200.133 hanging up, cause: NORMAL_CLEARING
  314. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
  315. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/0902@102.220.200.133 Standard HANGUP, cause: NORMAL_CLEARING
  316. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP going to sleep
  317. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0902@102.220.200.133) State Change CS_HANGUP -> CS_REPORTING
  318. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_REPORTING (Cur 2 Tot 4)
  319. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING
  320. 2022-06-30 13:00:17.239722 97.47% [INFO] mod_json_cdr.c:271 Process [6f057ed6-1c4c-43e5-a30f-0091513f154c.cdr.json]
  321. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/815 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  322. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING going to sleep
  323. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/815) State Change CS_REPORTING -> CS_DESTROY
  324. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_session.c:1753 Session 4 (sofia/default/815) Locked, Waiting on external entities
  325. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_session.c:1771 Session 4 (sofia/default/815) Ended
  326. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/815 [CS_DESTROY]
  327. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/815) Running State Change CS_DESTROY (Cur 1 Tot 4)
  328. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY
  329. 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:379 sofia/default/815 SOFIA DESTROY
  330. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/815 Standard DESTROY
  331. 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY going to sleep
  332. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/0902@102.220.200.133 Standard REPORTING, cause: NORMAL_CLEARING
  333. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING going to sleep
  334. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0902@102.220.200.133) State Change CS_REPORTING -> CS_DESTROY
  335. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_session.c:1753 Session 3 (sofia/default/0902@102.220.200.133) Locked, Waiting on external entities
  336. 2022-06-30 13:00:17.299748 97.47% [NOTICE] switch_core_session.c:1771 Session 3 (sofia/default/0902@102.220.200.133) Ended
  337. 2022-06-30 13:00:17.299748 97.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/0902@102.220.200.133 [CS_DESTROY]
  338. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0902@102.220.200.133) Running State Change CS_DESTROY (Cur 0 Tot 4)
  339. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY
  340. 2022-06-30 13:00:17.299748 97.47% [DEBUG] mod_sofia.c:379 sofia/default/0902@102.220.200.133 SOFIA DESTROY
  341. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/0902@102.220.200.133 Standard DESTROY
  342. 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY going to sleep
  343. 2022-06-30 13:03:06.799793 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0902@102.220.200.133 [ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb]
  344. 2022-06-30 13:03:06.799793 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_NEW (Cur 1 Tot 5)
  345. 2022-06-30 13:03:06.799793 98.37% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: a86c8210-3ecd7ae@102.220.201.145
  346. 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0.
  347. 2022-06-30 13:03:06.799793 98.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [0000@102.220.200.133] from ip 102.220.201.145
  348. 2022-06-30 13:03:06.799793 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0902@102.220.200.133) State NEW
  349. 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:2419 detaching session ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb
  350. 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:2532 Re-attaching to session ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb
  351. 2022-06-30 13:03:06.799793 98.37% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: a86c8210-3ecd7ae@102.220.201.145
  352. 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0.
  353. 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [received][100]
  354. 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7509 Remote SDP:
  355. v=0
  356. o=- 49151 49151 IN IP4 102.220.201.145
  357. s=-
  358. c=IN IP4 102.220.201.145
  359. t=0 0
  360. m=audio 16450 RTP/AVP 0 2 8 9 18 96 97 98 101
  361. a=rtpmap:0 PCMU/8000
  362. a=rtpmap:2 G726-32/8000
  363. a=rtpmap:8 PCMA/8000
  364. a=rtpmap:9 G722/8000
  365. a=rtpmap:18 G729a/8000
  366. a=rtpmap:96 G726-40/8000
  367. a=rtpmap:97 G726-24/8000
  368. a=rtpmap:98 G726-16/8000
  369. a=rtpmap:101 telephone-event/8000
  370. a=fmtp:101 0-15
  371. a=ptime:30
  372.  
  373. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  374. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  375. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match
  376. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  377. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  378. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  379. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match
  380. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  381. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMA:8:8000:20:64000:1]
  382. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMU:0:8000:20:64000:1]
  383. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMA:8:8000:20:64000:1]
  384. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMU:0:8000:20:64000:1]
  385. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  386. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  387. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  388. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  389. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  390. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  391. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  392. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5757 Substituting codec PCMU@30i@8000h@1c
  393. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/0902@102.220.200.133 PCMU/8000 30 ms 240 samples 64000 bits 1 channels
  394. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_codec.c:111 sofia/default/0902@102.220.200.133 Original read codec set to PCMU:0
  395. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  396. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5973 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101 recv payload to 101
  397. 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7933 (sofia/default/0902@102.220.200.133) State Change CS_NEW -> CS_INIT
  398. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_INIT (Cur 1 Tot 5)
  399. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT
  400. 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:97 sofia/default/0902@102.220.200.133 SOFIA INIT
  401. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/0902@102.220.200.133 Standard INIT
  402. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0902@102.220.200.133) State Change CS_INIT -> CS_ROUTING
  403. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT going to sleep
  404. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_ROUTING (Cur 1 Tot 5)
  405. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_channel.c:2380 (sofia/default/0902@102.220.200.133) Callstate Change DOWN -> RINGING
  406. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING
  407. 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:158 sofia/default/0902@102.220.200.133 SOFIA ROUTING
  408. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/0902@102.220.200.133 Standard ROUTING
  409. 2022-06-30 13:03:06.839741 98.37% [INFO] mod_dialplan_xml.c:639 Processing 0902 <0902>->0000 in context default
  410. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  411. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  412. 2022-06-30 13:03:06.839741 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0000
  413. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0000' AND status=0 limit 1
  414. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  415. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  416. <document type="freeswitch/xml">
  417. <section name="dialplan" description="ASTPP Dialplan">
  418. <context name="default">
  419. <extension name="0000">
  420. <condition field="destination_number" expression="0000">
  421. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  422. <action application="answer"/>
  423. <action application="sleep" data="2000"/>
  424. <action application="lua" data="astpp-callingcards.lua"/>
  425. </condition>
  426. </extension>
  427. </context>
  428. </section>
  429. </document>
  430. Dialplan: sofia/default/0902@102.220.200.133 parsing [default->0000] continue=false
  431. Dialplan: sofia/default/0902@102.220.200.133 Regex (PASS) [0000] destination_number(0000) =~ /0000/ break=on-false
  432. Dialplan: sofia/default/0902@102.220.200.133 Action log(INFO ASTPP - Calling Card Call)
  433. Dialplan: sofia/default/0902@102.220.200.133 Action answer()
  434. Dialplan: sofia/default/0902@102.220.200.133 Action sleep(2000)
  435. Dialplan: sofia/default/0902@102.220.200.133 Action lua(astpp-callingcards.lua)
  436. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0902@102.220.200.133) State Change CS_ROUTING -> CS_EXECUTE
  437. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING going to sleep
  438. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_EXECUTE (Cur 1 Tot 5)
  439. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE
  440. 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:213 sofia/default/0902@102.220.200.133 SOFIA EXECUTE
  441. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/0902@102.220.200.133 Standard EXECUTE
  442. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 log(INFO ASTPP - Calling Card Call)
  443. 2022-06-30 13:03:06.839741 98.37% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call
  444. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 answer()
  445. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/0902@102.220.200.133] 102.220.200.133 port 19160 -> 102.220.201.145 port 16450 codec: 0 ms: 30
  446. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 240 bytes per 30ms
  447. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9089 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101
  448. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9096 sofia/default/0902@102.220.200.133 Set 2833 dtmf receive payload to 101
  449. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9119 sofia/default/0902@102.220.200.133 Set rtp dtmf delay to 40
  450. 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/0902@102.220.200.133:
  451. v=0
  452. o=FreeSWITCH 1656564226 1656564227 IN IP4 102.220.200.133
  453. s=FreeSWITCH
  454. c=IN IP4 102.220.200.133
  455. t=0 0
  456. m=audio 19160 RTP/AVP 0 101
  457. a=rtpmap:0 PCMU/8000
  458. a=rtpmap:101 telephone-event/8000
  459. a=fmtp:101 0-15
  460. a=ptime:30
  461. a=sendrecv
  462.  
  463. 2022-06-30 13:03:06.839741 98.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/0902@102.220.200.133] has been answered
  464. 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_channel.c:3950 (sofia/default/0902@102.220.200.133) Callstate Change RINGING -> ACTIVE
  465. 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [completed][200]
  466. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 sleep(2000)
  467. 2022-06-30 13:03:06.959796 98.30% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [ready][200]
  468. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 lua(astpp-callingcards.lua)
  469. 2022-06-30 13:03:08.859794 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  470. 2022-06-30 13:03:08.859794 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  471. 2022-06-30 13:03:08.859794 98.30% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  472. 2022-06-30 13:03:08.859794 98.30% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  473. 2022-06-30 13:03:08.919773 98.30% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  474. 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  475. 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav sample rate 16000 doesn't match requested rate 8000
  476. 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  477. 2022-06-30 13:03:13.659807 98.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  478. 2022-06-30 13:03:19.599781 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1200
  479. 2022-06-30 13:03:19.599781 98.27% [INFO] switch_channel.c:527 RECV DTMF 6:1200
  480. 2022-06-30 13:03:20.199807 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1440
  481. 2022-06-30 13:03:20.199807 98.23% [INFO] switch_channel.c:527 RECV DTMF 1:1440
  482. 2022-06-30 13:03:21.239800 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:1280
  483. 2022-06-30 13:03:21.239800 98.23% [INFO] switch_channel.c:527 RECV DTMF 7:1280
  484. 2022-06-30 13:03:21.599779 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:880
  485. 2022-06-30 13:03:21.599779 98.23% [INFO] switch_channel.c:527 RECV DTMF 1:880
  486. 2022-06-30 13:03:22.019804 98.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:960
  487. 2022-06-30 13:03:22.019804 98.20% [INFO] switch_channel.c:527 RECV DTMF 6:960
  488. 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1120
  489. span style="color: green; font-weight: bold;"> 2022-06-30 13:03:22.479802 98.20% [INFO] switch_channel.c:527 RECV DTMF #:1120
  490. span style="color: goldenrod; font-weight: bold;"> 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 61716
  491. 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "61716" AND status=0 AND deleted=0 limit 1
  492. 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-badaccount.wav sample rate 16000 doesn't match requested rate 8000
  493. 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  494. 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-badaccount.wav
  495. 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav sample rate 16000 doesn't match requested rate 8000
  496. 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  497. 2022-06-30 13:03:25.359805 98.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440
  498. 2022-06-30 13:03:25.359805 98.30% [INFO] switch_channel.c:527 RECV DTMF 6:1440
  499. 2022-06-30 13:03:25.359805 98.30% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  500. 2022-06-30 13:03:26.159803 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:1840
  501. 2022-06-30 13:03:26.159803 98.37% [INFO] switch_channel.c:527 RECV DTMF 7:1840
  502. 2022-06-30 13:03:26.679802 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1360
  503. 2022-06-30 13:03:26.679802 98.37% [INFO] switch_channel.c:527 RECV DTMF 1:1360
  504. 2022-06-30 13:03:27.579808 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440
  505. 2022-06-30 13:03:27.579808 98.37% [INFO] switch_channel.c:527 RECV DTMF 6:1440
  506. 2022-06-30 13:03:28.059804 98.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:1440
  507. 2022-06-30 13:03:28.059804 98.40% [INFO] switch_channel.c:527 RECV DTMF 8:1440
  508. 2022-06-30 13:03:28.439798 98.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:1280
  509. 2022-06-30 13:03:28.439798 98.40% [INFO] switch_channel.c:527 RECV DTMF 4:1280
  510. 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1520
  511. span style="color: green; font-weight: bold;"> 2022-06-30 13:03:29.519800 98.37% [INFO] switch_channel.c:527 RECV DTMF #:1520
  512. span style="color: goldenrod; font-weight: bold;"> 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 671684
  513. 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "671684" AND status=0 AND deleted=0 limit 1
  514. 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav sample rate 16000 doesn't match requested rate 8000
  515. 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  516. 2022-06-30 13:03:32.259791 98.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav
  517. 2022-06-30 13:03:36.619795 99.17% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440
  518. 2022-06-30 13:03:36.619795 99.17% [INFO] switch_channel.c:527 RECV DTMF 6:1440
  519. 2022-06-30 13:03:37.019803 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:1520
  520. 2022-06-30 13:03:37.019803 99.20% [INFO] switch_channel.c:527 RECV DTMF 3:1520
  521. 2022-06-30 13:03:37.439805 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1360
  522. 2022-06-30 13:03:37.439805 99.20% [INFO] switch_channel.c:527 RECV DTMF 1:1360
  523. 2022-06-30 13:03:37.839806 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:1200
  524. 2022-06-30 13:03:37.839806 99.20% [INFO] switch_channel.c:527 RECV DTMF 4:1200
  525. 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1200
  526. span style="color: green; font-weight: bold;"> 2022-06-30 13:03:38.399792 99.20% [INFO] switch_channel.c:527 RECV DTMF #:1200
  527. span style="color: goldenrod; font-weight: bold;"> 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We recieved a pin : 6314
  528. 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2032-06-27 09:59:00' , '%Y%m%d%H%i%s') AS expiry
  529. 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2022-06-30 10:03:38' , '%Y%m%d%H%i%s') AS expiry
  530. 2022-06-30 13:03:38.399792 99.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 671684]
  531. 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  532. 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  533. 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  534. 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :5000
  535. 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :00
  536. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 5000)
  537. 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  538. 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/5.wav!digits/thousand.wav
  539. 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav sample rate 16000 doesn't match requested rate 8000
  540. 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  541. 2022-06-30 13:03:41.519803 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  542. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 00)
  543. 2022-06-30 13:03:41.519803 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  544. 2022-06-30 13:03:42.279795 99.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/0.wav
  545. 2022-06-30 13:03:42.319737 99.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav sample rate 16000 doesn't match requested rate 8000
  546. 2022-06-30 13:03:42.319737 99.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  547. 2022-06-30 13:03:46.019793 99.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  548. 2022-06-30 13:03:46.479802 99.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:1760
  549. 2022-06-30 13:03:46.479802 99.27% [INFO] switch_channel.c:527 RECV DTMF 8:1760
  550. 2022-06-30 13:03:46.919803 99.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1440
  551. 2022-06-30 13:03:46.919803 99.27% [INFO] switch_channel.c:527 RECV DTMF 1:1440
  552. 2022-06-30 13:03:47.379794 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:1520
  553. 2022-06-30 13:03:47.379794 99.20% [INFO] switch_channel.c:527 RECV DTMF 5:1520
  554. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1600
  555. span style="color: green; font-weight: bold;"> 2022-06-30 13:03:48.059804 99.17% [INFO] switch_channel.c:527 RECV DTMF #:1600
  556. span style="color: green; font-weight: bold;"> 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK_destination] Dialed destination number :815
  557. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  558. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 19
  559. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 671684
  560. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5000
  561. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  562. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  563. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  564. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^815.*' OR blocked_patterns = '^81.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 19 limit 1
  565. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^815.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC
  566. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  567. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :
  568. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=19)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  569. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction::::::
  570. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  571. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  572. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  573. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  574. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 220.00000
  575. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : Uganda
  576. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 197
  577. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 19
  578. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 4
  579. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  580. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  581. 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5000 balance Accountid 19 !!!
  582. 2022-06-30 13:03:48.059804 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] 22 Minutes
  583. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [SAY_TIMELIMIT] MINUTES 22
  584. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  585. 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  586. 2022-06-30 13:03:49.259802 99.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  587. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 22)
  588. 2022-06-30 13:03:49.299728 99.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  589. 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/20.wav!digits/2.wav
  590. 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav sample rate 16000 doesn't match requested rate 8000
  591. 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  592. 2022-06-30 13:03:50.979822 99.10% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav
  593. 2022-06-30 13:03:50.979822 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,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 = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  594. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  595. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8
  596. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^8.*
  597. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Uganda
  598. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  599. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  600. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^8.*
  601. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  602. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Termination rate id : 4
  603. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Gateway name : MTN
  604. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  605. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 21
  606. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  607. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] trunk_name : MTN
  608. 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =================================================================
  609. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(call_processed=internal)
  610. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_processed]=[internal]
  611. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(callstart=2022-06-30 10:03:51)
  612. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [callstart]=[2022-06-30 10:03:51]
  613. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(originated_destination_number=815)
  614. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [originated_destination_number]=[815]
  615. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(effective_destination_number=815)
  616. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_destination_number]=[815]
  617. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(continue_on_fail=true)
  618. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [continue_on_fail]=[true]
  619. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=true)
  620. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[true]
  621. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(account_id=19)
  622. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_id]=[19]
  623. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(account_type=0)
  624. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_type]=[0]
  625. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(resellerid=0)
  626. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [resellerid]=[0]
  627. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(parent_id=0)
  628. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [parent_id]=[0]
  629. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(accountcode=671684)
  630. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [accountcode]=[671684]
  631. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(call_direction=outbound)
  632. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[outbound]
  633. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(calltype=CALLINGCARD)
  634. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [calltype]=[CALLINGCARD]
  635. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19)
  636. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19]
  637. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(execute_on_answer=sched_hangup +1320)
  638. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [execute_on_answer]=[sched_hangup +1320]
  639. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(process_cdr=true)
  640. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [process_cdr]=[true]
  641. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 sched_hangup(+1320)
  642. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb) to run at 1656584751
  643. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 19 AND status=0 LIMIT 1
  644. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(original_caller_id_name=0902)
  645. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_name]=[0902]
  646. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(original_caller_id_number=0902)
  647. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_number]=[0902]
  648. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC)
  649. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC]
  650. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 21) AND status=0 limit 1
  651. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21)
  652. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21]
  653. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(trunk_id=4)
  654. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [trunk_id]=[4]
  655. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(provider_id=21)
  656. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [provider_id]=[21]
  657. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=false)
  658. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[false]
  659. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(absolute_codec_string=PCMA,PCMU,G729)
  660. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [absolute_codec_string]=[PCMA,PCMU,G729]
  661. EXECUTE [depth=0] sofia/default/0902@102.220.200.133 bridge([leg_timeout=0]sofia/gateway/MTN/815)
  662. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1954 (sofia/default/0902@102.220.200.133) Callstate Change ACTIVE -> RING_WAIT
  663. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [call_processed]=[internal] to event
  664. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [callstart]=[2022-06-30 10:03:51] to event
  665. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [originated_destination_number]=[815] to event
  666. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [effective_destination_number]=[815] to event
  667. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [account_id]=[19] to event
  668. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [account_type]=[0] to event
  669. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [resellerid]=[0] to event
  670. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [parent_id]=[0] to event
  671. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [accountcode]=[671684] to event
  672. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [call_direction]=[outbound] to event
  673. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event
  674. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19] to event
  675. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [original_caller_id_name]=[0902] to event
  676. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [original_caller_id_number]=[0902] to event
  677. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC] to event
  678. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21] to event
  679. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [trunk_id]=[4] to event
  680. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [provider_id]=[21] to event
  681. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [absolute_codec_string]=[PCMA,PCMU,G729] to event
  682. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  683. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  684. 2022-06-30 13:03:51.019745 99.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/815 [43a342ba-7994-42b4-be39-d19d41465dd6]
  685. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:5121 (sofia/default/815) State Change CS_NEW -> CS_INIT
  686. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_INIT (Cur 2 Tot 6)
  687. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT
  688. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:97 sofia/default/815 SOFIA INIT
  689. 2022-06-30 13:03:51.019745 99.10% [INFO] sofia_glue.c:1651 sofia/default/815 sending invite call-id: (null)
  690. 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia_glue.c:1654 sofia/default/815 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  691. Local SDP:
  692. v=0
  693. o=FreeSWITCH 1656555697 1656555698 IN IP4 102.220.200.133
  694. s=FreeSWITCH
  695. c=IN IP4 102.220.200.133
  696. t=0 0
  697. m=audio 27734 RTP/AVP 8 0 18 101
  698. a=rtpmap:8 PCMA/8000
  699. a=rtpmap:0 PCMU/8000
  700. a=rtpmap:18 G729/8000
  701. a=rtpmap:101 telephone-event/8000
  702. a=fmtp:101 0-15
  703. a=ptime:20
  704. a=sendrecv
  705.  
  706. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/815 Standard INIT
  707. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/815) State Change CS_INIT -> CS_ROUTING
  708. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT going to sleep
  709. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_ROUTING (Cur 2 Tot 6)
  710. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING
  711. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:158 sofia/default/815 SOFIA ROUTING
  712. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/815) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  713. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING going to sleep
  714. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 6)
  715. 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [calling][0]
  716. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA
  717. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA going to sleep
  718. 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [terminated][503]
  719. 2022-06-30 13:03:51.019745 99.10% [NOTICE] sofia.c:8738 Hangup sofia/default/815 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  720. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_HANGUP (Cur 2 Tot 6)
  721. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  722. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/815) Callstate Change DOWN -> HANGUP
  723. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP
  724. 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/815 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  725. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/815 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  726. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP going to sleep
  727. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/815) State Change CS_HANGUP -> CS_REPORTING
  728. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_REPORTING (Cur 2 Tot 6)
  729. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING
  730. 2022-06-30 13:03:51.019745 99.10% [INFO] mod_json_cdr.c:271 Process [43a342ba-7994-42b4-be39-d19d41465dd6.cdr.json]
  731. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:2178 (sofia/default/0902@102.220.200.133) Callstate Change RING_WAIT -> ACTIVE
  732. 2022-06-30 13:03:51.019745 99.10% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  733. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-callingcard-menu.wav sample rate 16000 doesn't match requested rate 8000
  734. 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  735. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/815 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  736. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING going to sleep
  737. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/815) State Change CS_REPORTING -> CS_DESTROY
  738. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_session.c:1753 Session 6 (sofia/default/815) Locked, Waiting on external entities
  739. 2022-06-30 13:03:51.099780 99.10% [NOTICE] switch_core_session.c:1771 Session 6 (sofia/default/815) Ended
  740. 2022-06-30 13:03:51.099780 99.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/815 [CS_DESTROY]
  741. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/815) Running State Change CS_DESTROY (Cur 1 Tot 6)
  742. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY
  743. 2022-06-30 13:03:51.099780 99.10% [DEBUG] mod_sofia.c:379 sofia/default/815 SOFIA DESTROY
  744. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/815 Standard DESTROY
  745. 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY going to sleep
  746. 2022-06-30 13:03:57.179806 98.53% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-callingcard-menu.wav
  747. 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:1680
  748. 2022-06-30 13:03:58.539794 98.27% [INFO] switch_channel.c:527 RECV DTMF 3:1680
  749. 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 3retries:0
  750. 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-goodbye.wav sample rate 16000 doesn't match requested rate 8000
  751. 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms
  752. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-goodbye.wav
  753. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  754. 2022-06-30 13:03:59.339744 98.27% [NOTICE] switch_cpp.cpp:751 Hangup sofia/default/0902@102.220.200.133 [CS_EXECUTE] [NORMAL_CLEARING]
  755. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: retries:1
  756. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: retries:2
  757. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  758. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1209 sofia/default/0902@102.220.200.133 destroy/unlink session from object
  759. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_session.c:2983 sofia/default/0902@102.220.200.133 skip receive message [PHONE_EVENT] (channel is hungup already)
  760. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE going to sleep
  761. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_HANGUP (Cur 1 Tot 6)
  762. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0902@102.220.200.133) Callstate Change ACTIVE -> HANGUP
  763. 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP
  764. 2022-06-30 13:03:59.339744 98.27% [DEBUG] mod_sofia.c:462 sofia/default/0902@102.220.200.133 Overriding SIP cause 480 with 503 from the other leg
  765. 2022-06-30 13:03:59.339744 98.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/0902@102.220.200.133 hanging up, cause: NORMAL_CLEARING
  766. 2022-06-30 13:03:59.359726 98.27% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/0902@102.220.200.133
  767. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/0902@102.220.200.133 Standard HANGUP, cause: NORMAL_CLEARING
  768. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP going to sleep
  769. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0902@102.220.200.133) State Change CS_HANGUP -> CS_REPORTING
  770. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_REPORTING (Cur 1 Tot 6)
  771. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING
  772. 2022-06-30 13:03:59.359726 98.27% [INFO] mod_json_cdr.c:271 Process [ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb.cdr.json]
  773. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/0902@102.220.200.133 Standard REPORTING, cause: NORMAL_CLEARING
  774. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING going to sleep
  775. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0902@102.220.200.133) State Change CS_REPORTING -> CS_DESTROY
  776. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_session.c:1753 Session 5 (sofia/default/0902@102.220.200.133) Locked, Waiting on external entities
  777. 2022-06-30 13:03:59.359726 98.27% [NOTICE] switch_core_session.c:1771 Session 5 (sofia/default/0902@102.220.200.133) Ended
  778. 2022-06-30 13:03:59.359726 98.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/0902@102.220.200.133 [CS_DESTROY]
  779. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0902@102.220.200.133) Running State Change CS_DESTROY (Cur 0 Tot 6)
  780. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY
  781. 2022-06-30 13:03:59.359726 98.27% [DEBUG] mod_sofia.c:379 sofia/default/0902@102.220.200.133 SOFIA DESTROY
  782. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/0902@102.220.200.133 Standard DESTROY
  783. 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY going to sleep
  784. 2022-06-30 13:03:59.519802 98.27% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb)
  785. freeswitch@pbx>
  786.