From Ungracious Pintail, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-07-17 08:05:26.004810 99.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3481509878@13.232.246.166 [6a108b74-c2ed-4595-8e4b-1f5174c99371]
  2. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 696)
  3. 2023-07-17 08:05:26.004810 99.53% [INFO] sofia.c:10462 sofia/default/3481509878@13.232.246.166 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: c39ef011-9f0a-123c-4c95-02c9c4cfda14
  4. 2023-07-17 08:05:26.004810 99.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  5. 2023-07-17 08:05:26.004810 99.53% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  6. 2023-07-17 08:05:26.004810 99.53% [DEBUG] sofia.c:7499 Channel sofia/default/3481509878@13.232.246.166 entering state [received][100]
  7. 2023-07-17 08:05:26.004810 99.53% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1689552035 1689552036 IN IP4 13.232.246.166
  10. s=FreeSWITCH
  11. c=IN IP4 13.232.246.166
  12. t=0 0
  13. m=audio 21890 RTP/AVP 8 18 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:18 G729/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18. a=ptime:20
  19.  
  20. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  22. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  24. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  25. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  26. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  27. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  28. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  29. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3481509878@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  30. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_codec.c:111 sofia/default/3481509878@13.232.246.166 Original read codec set to PCMA:8
  31. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  32. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_media.c:5973 sofia/default/3481509878@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  33. 2023-07-17 08:05:26.004810 99.53% [DEBUG] sofia.c:7933 (sofia/default/3481509878@13.232.246.166) State Change CS_NEW -> CS_INIT
  34. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3481509878@13.232.246.166) State NEW
  35. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 696)
  36. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3481509878@13.232.246.166) State INIT
  37. 2023-07-17 08:05:26.004810 99.53% [DEBUG] mod_sofia.c:97 sofia/default/3481509878@13.232.246.166 SOFIA INIT
  38. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/3481509878@13.232.246.166 Standard INIT
  39. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3481509878@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  40. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3481509878@13.232.246.166) State INIT going to sleep
  41. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 696)
  42. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_channel.c:2380 (sofia/default/3481509878@13.232.246.166) Callstate Change DOWN -> RINGING
  43. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3481509878@13.232.246.166) State ROUTING
  44. 2023-07-17 08:05:26.004810 99.53% [DEBUG] mod_sofia.c:158 sofia/default/3481509878@13.232.246.166 SOFIA ROUTING
  45. 2023-07-17 08:05:26.004810 99.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/3481509878@13.232.246.166 Standard ROUTING
  46. 2023-07-17 08:05:26.004810 99.53% [INFO] mod_dialplan_xml.c:639 Processing 3481509878 <3481509878>->17766 in context default
  47. 2023-07-17 08:05:26.024810 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  48. 2023-07-17 08:05:26.024810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  49. 2023-07-17 08:05:26.024810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  50. 2023-07-17 08:05:26.024810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  51. 2023-07-17 08:05:26.044810 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 17766
  52. 2023-07-17 08:05:26.044810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '17766' AND status=0 limit 1
  53. 2023-07-17 08:05:26.044810 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+DewaldServer
  54. 2023-07-17 08:05:26.044810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '17766' limit 1
  56. 2023-07-17 08:05:26.064806 99.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  57. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "3481509878" / 3481509878
  58. 2023-07-17 08:05:26.064806 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  59. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  60. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....17766
  61. 2023-07-17 08:05:26.064806 99.53% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="17766" LIMIT 1
  62. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  64. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  65. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  66. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  67. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  68. 2023-07-17 08:05:26.064806 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  69. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  70. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....17766
  71. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="17766" AND (accountid = 0 OR status = 1) LIMIT 1
  72. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  73. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  74. 2023-07-17 08:05:26.064806 99.53% [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 P.is_terminated = 0 AND (patterns = '^17766.*' OR patterns = '^1776.*' OR patterns = '^177.*' OR patterns = '^17.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2023-07-17 08:05:26.064806 99.53% [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 ="17766" AND A.accountid = '2' limit 1
  76. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 17766
  77. 2023-07-17 08:05:26.064806 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  78. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  79. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....17766
  80. 2023-07-17 08:05:26.064806 99.53% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="17766" LIMIT 1
  81. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2023-07-17 08:05:26.064806 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  83. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '17766' OR number = '1776' OR number = '177' OR number = '17' OR number = '1' OR number ='--') OR (number = '17766*' OR number = '1776*' OR number = '177*' OR number = '17*' OR number = '1*' OR number ='--') OR (number = '3481509878' OR number = '348150987' OR number = '34815098' OR number = '3481509' OR number = '348150' OR number = '34815' OR number = '3481' OR number = '348' OR number = '34' OR number = '3' OR number ='--') OR (number = '3481509878*' OR number = '348150987*' OR number = '34815098*' OR number = '3481509*' OR number = '348150*' OR number = '34815*' OR number = '3481*' OR number = '348*' OR number = '34*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  84. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_call_barring] Query :SELECT username FROM sip_devices WHERE username = 'gw+DewaldServer' and status = 0 limit 1
  85. 2023-07-17 08:05:26.064806 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  86. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  87. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....17766
  88. 2023-07-17 08:05:26.064806 99.53% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="17766" LIMIT 1
  89. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  90. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  91. 2023-07-17 08:05:26.064806 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '17766' OR routing_prefix = '1776' OR routing_prefix = '177' OR routing_prefix = '17' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  92. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  93. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  94. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  95. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  96. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 68.2833
  97. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  98. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  99. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  100. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  101. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  102. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  103. 2023-07-17 08:05:26.084809 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  104. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  105. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....17766
  106. 2023-07-17 08:05:26.084809 99.53% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="17766" LIMIT 1
  107. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  108. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  109. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  110. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 75
  111. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  112. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  113. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  114. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 17766
  115. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  116. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  117. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  118. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  119. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your68.2833 balance Accountid 2 !!!
  120. 2023-07-17 08:05:26.084809 99.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  121. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  122. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  123. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  124. 2023-07-17 08:05:26.084809 99.53% [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 = 2 AND status=0 LIMIT 1
  125. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  126. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  127. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  128. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  129. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  130. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  131. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+DewaldServer' and status = 0 limit 1
  132. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  133. 2023-07-17 08:05:26.084809 99.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  134. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  135. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  136. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="4727985745" limit 1
  137. 2023-07-17 08:05:26.084809 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  138. <document type="freeswitch/xml">
  139. <section name="dialplan" description="ASTPP Dialplan">
  140. <context name="default">
  141. <extension name="17766">
  142. <condition field="destination_number" expression="17766">
  143. <action application="set" data="effective_destination_number=17766"/>
  144. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  145. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  146. <action application="set" data="type=0"/>
  147. <action application="set" data="callstart=2023-07-17 06:05:26"/>
  148. <action application="set" data="hangup_after_bridge=true"/>
  149. <action application="set" data="continue_on_fail=TRUE"/>
  150. <action application="set" data="account_id=2"/>
  151. <action application="set" data="parent_id=0"/>
  152. <action application="set" data="entity_id=0"/>
  153. <action application="set" data="call_processed=internal"/>
  154. <action application="set" data="call_direction=inbound"/>
  155. <action application="set" data="accountname=default"/>
  156. <action application="export" data="t38_passthru=true"/>
  157. <action application="set" data="fax_enable_t38=true"/>
  158. <action application="set" data="fax_enable_t38_request=true"/>
  159. <action application="set" data="filename1=astpp.pbx.lua"/>
  160. <action application="set" data="origination_rates_did=ID:75|CODE:^17766.*|DESTINATION:17766|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:2"/>
  161. <action application="set" data="origination_rates=0"/>
  162. <action application="set" data="original_caller_id_name="3481509878""/>
  163. <action application="set" data="original_caller_id_number=3481509878"/>
  164. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  165. <action application="export" data="is_recording=1"/>
  166. <action application="export" data="media_bug_answer_req=true"/>
  167. <action application="export" data="record_sample_rate=8000"/>
  168. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_2.wav"/>
  169. <action application="set" data="effective_caller_id_name="3481509878""/>
  170. <action application="set" data="effective_caller_id_number=3481509878"/>
  171. <action application="set" data="receiver_accid=2"/>
  172. <action application="export" data="domain_name="/>
  173. <action application="export" data="sip_to_host="/>
  174. <action application="export" data="presence_data=x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166"/>
  175. <action application="export" data="call_type=0"/>
  176. <action application="set" data="calltype=DID-LOCAL"/>
  177. <action application="set" data="daily_call_credit_limit=0.00000"/>
  178. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  179. <action application="set" data="daily_call_used_limit=0.00000"/>
  180. <action application="set" data="monthly_call_used_limit=0.00000"/>
  181. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4727985745@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060"/>
  182. <condition field="${cond(${user_data 4727985745@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  183. <action application="answer"/>
  184. <action application="export" data="voicemail_alternate_greet_id=17766"/>
  185. <action application="voicemail" data="default $${domain_name} 4727985745"/>
  186. <anti-action application="hangup" data="${originate_disposition}"/>
  187. </condition>
  188. <action application="set" data="did_id=75"/>
  189. <action application="set" data="destination_number=17766"/>
  190. <action application="set" data="leg_timeout=0"/>
  191. <action application="set" data="call_type_vm_flag=1"/>
  192. <action application="set" data="is_local_extension=1"/>
  193. <action application="lua" data="did_call_forwarding.lua"/>
  194. </condition>
  195. </extension>
  196. </context>
  197. </section>
  198. </document>
  199. Dialplan: sofia/default/3481509878@13.232.246.166 parsing [default->17766] continue=false
  200. Dialplan: sofia/default/3481509878@13.232.246.166 Regex (PASS) [17766] destination_number(17766) =~ /17766/ break=on-false
  201. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(effective_destination_number=17766)
  202. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  203. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  204. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(type=0)
  205. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(callstart=2023-07-17 06:05:26)
  206. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(hangup_after_bridge=true)
  207. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(continue_on_fail=TRUE)
  208. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(account_id=2)
  209. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(parent_id=0)
  210. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(entity_id=0)
  211. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(call_processed=internal)
  212. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(call_direction=inbound)
  213. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(accountname=default)
  214. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(t38_passthru=true)
  215. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(fax_enable_t38=true)
  216. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(fax_enable_t38_request=true)
  217. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  218. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(origination_rates_did=ID:75|CODE:^17766.*|DESTINATION:17766|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:2)
  219. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(origination_rates=0)
  220. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(original_caller_id_name=)
  221. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(original_caller_id_number=3481509878)
  222. Dialplan: sofia/default/3481509878@13.232.246.166 Action limit(db 4727985745 user_4727985745 1 )
  223. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(is_recording=1)
  224. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(media_bug_answer_req=true)
  225. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(record_sample_rate=8000)
  226. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_2.wav)
  227. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(effective_caller_id_name=)
  228. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(effective_caller_id_number=3481509878)
  229. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(receiver_accid=2)
  230. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(domain_name=)
  231. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(sip_to_host=)
  232. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(presence_data=x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166)
  233. Dialplan: sofia/default/3481509878@13.232.246.166 Action export(call_type=0)
  234. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(calltype=DID-LOCAL)
  235. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  236. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  237. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  238. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  239. Dialplan: sofia/default/3481509878@13.232.246.166 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4727985745@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  240. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(did_id=75)
  241. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(destination_number=17766)
  242. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(leg_timeout=0)
  243. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(call_type_vm_flag=1)
  244. Dialplan: sofia/default/3481509878@13.232.246.166 Action set(is_local_extension=1)
  245. Dialplan: sofia/default/3481509878@13.232.246.166 Action lua(did_call_forwarding.lua)
  246. |--- Dialplan: Processing recursive conditions level:1 [17766_recur_1] require-nested=TRUE
  247. |--- Dialplan: sofia/default/3481509878@13.232.246.166 Regex (FAIL) [17766_recur_1] ${cond(${user_data 4727985745@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  248. |--- Dialplan: sofia/default/3481509878@13.232.246.166 ANTI-Action hangup(${originate_disposition})
  249. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3481509878@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  250. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3481509878@13.232.246.166) State ROUTING going to sleep
  251. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 696)
  252. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3481509878@13.232.246.166) State EXECUTE
  253. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_sofia.c:213 sofia/default/3481509878@13.232.246.166 SOFIA EXECUTE
  254. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/3481509878@13.232.246.166 Standard EXECUTE
  255. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(effective_destination_number=17766)
  256. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [effective_destination_number]=[17766]
  257. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  258. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  259. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  260. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  261. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(type=0)
  262. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [type]=[0]
  263. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(callstart=2023-07-17 06:05:26)
  264. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [callstart]=[2023-07-17 06:05:26]
  265. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(hangup_after_bridge=true)
  266. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [hangup_after_bridge]=[true]
  267. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(continue_on_fail=TRUE)
  268. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [continue_on_fail]=[TRUE]
  269. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(account_id=2)
  270. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [account_id]=[2]
  271. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(parent_id=0)
  272. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [parent_id]=[0]
  273. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(entity_id=0)
  274. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [entity_id]=[0]
  275. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(call_processed=internal)
  276. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [call_processed]=[internal]
  277. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(call_direction=inbound)
  278. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [call_direction]=[inbound]
  279. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(accountname=default)
  280. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [accountname]=[default]
  281. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(t38_passthru=true)
  282. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  283. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(fax_enable_t38=true)
  284. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [fax_enable_t38]=[true]
  285. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(fax_enable_t38_request=true)
  286. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [fax_enable_t38_request]=[true]
  287. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(filename1=astpp.pbx.lua)
  288. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [filename1]=[astpp.pbx.lua]
  289. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(origination_rates_did=ID:75|CODE:^17766.*|DESTINATION:17766|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:2)
  290. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [origination_rates_did]=[ID:75|CODE:^17766.*|DESTINATION:17766|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:2]
  291. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(origination_rates=0)
  292. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [origination_rates]=[0]
  293. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(original_caller_id_name=)
  294. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [original_caller_id_name]=[UNDEF]
  295. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(original_caller_id_number=3481509878)
  296. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [original_caller_id_number]=[3481509878]
  297. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 limit(db 4727985745 user_4727985745 1 )
  298. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  299. 2023-07-17 08:05:26.104807 99.53% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  300. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(is_recording=1)
  301. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  302. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(media_bug_answer_req=true)
  303. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  304. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(record_sample_rate=8000)
  305. 2023-07-17 08:05:26.104807 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  306. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav)
  307. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav]
  308. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(effective_caller_id_name=)
  309. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [effective_caller_id_name]=[UNDEF]
  310. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(effective_caller_id_number=3481509878)
  311. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [effective_caller_id_number]=[3481509878]
  312. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(receiver_accid=2)
  313. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [receiver_accid]=[2]
  314. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(domain_name=)
  315. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  316. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(sip_to_host=)
  317. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  318. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(presence_data=x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166)
  319. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166]
  320. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 export(call_type=0)
  321. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  322. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(calltype=DID-LOCAL)
  323. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [calltype]=[DID-LOCAL]
  324. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(daily_call_credit_limit=0.00000)
  325. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  326. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  327. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  328. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(daily_call_used_limit=0.00000)
  329. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [daily_call_used_limit]=[0.00000]
  330. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(monthly_call_used_limit=0.00000)
  331. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  332. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  333. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [t38_passthru]=[true] to event
  334. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event
  335. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  336. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  337. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav] to event
  338. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166] to event
  339. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [call_type]=[0] to event
  340. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  341. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  342. 2023-07-17 08:05:26.124814 99.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za [36451bcc-6ea8-4611-abf6-b6cdbf1fe228]
  343. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_sofia.c:5121 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  344. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 697)
  345. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State INIT
  346. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_sofia.c:97 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  347. 2023-07-17 08:05:26.124814 99.53% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100:5060 Setting proxy route to sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za
  348. 2023-07-17 08:05:26.124814 99.53% [INFO] sofia_glue.c:1651 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  349. 2023-07-17 08:05:26.124814 99.53% [DEBUG] sofia_glue.c:1654 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  350. Local SDP:
  351. v=0
  352. o=FreeSWITCH 1689556076 1689556077 IN IP4 102.220.232.19
  353. s=FreeSWITCH
  354. c=IN IP4 102.220.232.19
  355. t=0 0
  356. m=audio 17850 RTP/AVP 8 101
  357. a=rtpmap:8 PCMA/8000
  358. a=rtpmap:101 telephone-event/8000
  359. a=fmtp:101 0-15
  360. a=ptime:20
  361. a=sendrecv
  362.  
  363. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za Standard INIT
  364. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  365. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  366. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 697)
  367. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State ROUTING
  368. 2023-07-17 08:05:26.124814 99.53% [DEBUG] mod_sofia.c:158 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  369. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  370. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  371. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 697)
  372. 2023-07-17 08:05:26.124814 99.53% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  373. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  374. 2023-07-17 08:05:26.124814 99.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  375. 2023-07-17 08:05:27.884811 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  376. 2023-07-17 08:05:27.884811 99.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za!
  377. 2023-07-17 08:05:27.884811 99.50% [DEBUG] switch_channel.c:3494 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  378. 2023-07-17 08:05:27.904806 99.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/3481509878@13.232.246.166!
  379. 2023-07-17 08:05:27.904806 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/3481509878@13.232.246.166 entering state [early][180]
  380. 2023-07-17 08:05:27.904806 99.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/3481509878@13.232.246.166!
  381. 2023-07-17 08:05:32.364806 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za entering state [terminated][486]
  382. 2023-07-17 08:05:32.364806 99.50% [NOTICE] sofia.c:8738 Hangup sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za [CS_CONSUME_MEDIA] [USER_BUSY]
  383. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 697)
  384. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> HANGUP
  385. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State HANGUP
  386. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za hanging up, cause: USER_BUSY
  387. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: USER_BUSY
  388. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  389. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  390. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 697)
  391. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State REPORTING
  392. 2023-07-17 08:05:32.364806 99.50% [INFO] mod_json_cdr.c:271 Process [36451bcc-6ea8-4611-abf6-b6cdbf1fe228.cdr.json]
  393. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: USER_BUSY
  394. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  395. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  396. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_session.c:1753 Session 697 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  397. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  398. 2023-07-17 08:05:32.364806 99.50% [NOTICE] switch_core_session.c:1771 Session 697 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Ended
  399. 2023-07-17 08:05:32.364806 99.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  400. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 1 Tot 697)
  401. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State DESTROY
  402. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_sofia.c:379 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  403. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  404. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  405. 2023-07-17 08:05:32.364806 99.50% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  406. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(did_id=75)
  407. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [did_id]=[75]
  408. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(destination_number=17766)
  409. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [destination_number]=[17766]
  410. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(leg_timeout=0)
  411. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [leg_timeout]=[0]
  412. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(call_type_vm_flag=1)
  413. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [call_type_vm_flag]=[1]
  414. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 set(is_local_extension=1)
  415. 2023-07-17 08:05:32.364806 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/3481509878@13.232.246.166 [is_local_extension]=[1]
  416. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 lua(did_call_forwarding.lua)
  417. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  418. 2023-07-17 08:05:32.364806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  419. 2023-07-17 08:05:32.384806 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  420. 2023-07-17 08:05:32.384806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id :
  421. 2023-07-17 08:05:32.384806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Dispositions USER_BUSY This Is DiD Id : 75
  422. 2023-07-17 08:05:32.384806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  SQL : select number,extensions,always,always_destination,always_vm_flag,user_busy,user_busy_destination,user_busy_vm_flag from dids where id='75' and status='0'
  423. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 sleep(500)
  424. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  This Is Calltype : 0And Destination : 12345
  425. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('hangup_after_bridge', 'true')
  426. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('continue_on_fail', 'true')
  427. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('calltype', 'DID-LOCAL')
  428. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="12345" limit 1
  429. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  DID Local Bridge: {sip_invite_params=user=LOCAL,sip_from_uri=12345@${domain_name}}[leg_timeout=0]sofia/${sofia_profile_name}/12345@sbc-jb1.goldtelcloud.co.za
  430. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 bridge({sip_invite_params=user=LOCAL,sip_from_uri=12345@102.220.232.19}[leg_timeout=0]sofia/default/12345@sbc-jb1.goldtelcloud.co.za)
  431. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [t38_passthru]=[true] to event
  432. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event
  433. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  434. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  435. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav] to event
  436. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^17766.* // 17766 // 0.00000|||||||||DID|||13.232.246.166] to event
  437. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_channel.c:1269 sofia/default/3481509878@13.232.246.166 EXPORTING[export_vars] [call_type]=[0] to event
  438. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  439. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  440. 2023-07-17 08:05:32.884810 99.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za [afd37d5e-0aeb-40b2-9b94-8e719d1c5ca2]
  441. 2023-07-17 08:05:32.884810 99.53% [DEBUG] mod_sofia.c:5121 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  442. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 698)
  443. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State INIT
  444. 2023-07-17 08:05:32.884810 99.53% [DEBUG] mod_sofia.c:97 sofia/default/12345@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  445. 2023-07-17 08:05:32.884810 99.53% [INFO] sofia_glue.c:1651 sofia/default/12345@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  446. 2023-07-17 08:05:32.884810 99.53% [DEBUG] sofia_glue.c:1654 sofia/default/12345@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  447. Local SDP:
  448. v=0
  449. o=FreeSWITCH 1689545718 1689545719 IN IP4 102.220.232.19
  450. s=FreeSWITCH
  451. c=IN IP4 102.220.232.19
  452. t=0 0
  453. m=audio 28214 RTP/AVP 8 101
  454. a=rtpmap:8 PCMA/8000
  455. a=rtpmap:101 telephone-event/8000
  456. a=fmtp:101 0-15
  457. a=ptime:20
  458. a=sendrecv
  459.  
  460. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Standard INIT
  461. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  462. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  463. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 698)
  464. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State ROUTING
  465. 2023-07-17 08:05:32.884810 99.53% [DEBUG] mod_sofia.c:158 sofia/default/12345@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  466. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  467. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  468. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 698)
  469. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  470. 2023-07-17 08:05:32.884810 99.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  471. 2023-07-17 08:05:32.884810 99.53% [DEBUG] sofia.c:7499 Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  472. 2023-07-17 08:05:33.964810 99.57% [DEBUG] sofia.c:7499 Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  473. 2023-07-17 08:05:33.964810 99.57% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/12345@sbc-jb1.goldtelcloud.co.za!
  474. 2023-07-17 08:05:33.964810 99.57% [DEBUG] switch_channel.c:3494 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  475. 2023-07-17 08:05:33.984809 99.57% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/3481509878@13.232.246.166!
  476. 2023-07-17 08:05:39.864810 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za entering state [completing][200]
  477. 2023-07-17 08:05:39.864810 99.77% [DEBUG] sofia.c:7509 Remote SDP:
  478. v=0
  479. o=Z 0 3 IN IP4 103.240.35.46
  480. s=Z
  481. c=IN IP4 103.240.35.46
  482. t=0 0
  483. m=audio 8002 RTP/AVP 8 3 110 0 98 101
  484. a=rtpmap:110 speex/8000
  485. a=rtpmap:98 iLBC/8000
  486. a=fmtp:98 mode=20
  487. a=rtpmap:101 telephone-event/8000
  488. a=fmtp:101 0-15
  489.  
  490. 2023-07-17 08:05:39.864810 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  491. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  492. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  493. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  494. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  495. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  496. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  497. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  498. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/12345@sbc-jb1.goldtelcloud.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  499. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_codec.c:111 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Original read codec set to PCMA:8
  500. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  501. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:5973 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  502. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/12345@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 28214 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  503. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  504. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:9089 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
  505. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:9096 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
  506. 2023-07-17 08:05:39.864810 99.77% [DEBUG] switch_core_media.c:9119 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
  507. 2023-07-17 08:05:39.864810 99.77% [NOTICE] sofia.c:8683 Channel [sofia/default/12345@sbc-jb1.goldtelcloud.co.za] has been answered
  508. EXECUTE [depth=1] sofia/default/12345@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav)
  509. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3481509878@13.232.246.166] 102.220.232.19 port 23950 -> 13.232.246.166 port 21890 codec: 8 ms: 20
  510. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  511. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  512. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/12345@sbc-jb1.goldtelcloud.co.za
  513. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_channel.c:3950 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> ACTIVE
  514. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_core_media.c:9089 sofia/default/3481509878@13.232.246.166 Set 2833 dtmf send payload to 101
  515. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_core_media.c:9096 sofia/default/3481509878@13.232.246.166 Set 2833 dtmf receive payload to 101
  516. 2023-07-17 08:05:39.884810 99.77% [DEBUG] switch_core_media.c:9119 sofia/default/3481509878@13.232.246.166 Set rtp dtmf delay to 40
  517. 2023-07-17 08:05:39.884810 99.77% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3481509878@13.232.246.166:
  518. v=0
  519. o=FreeSWITCH 1689549989 1689549990 IN IP4 102.220.232.19
  520. s=FreeSWITCH
  521. c=IN IP4 102.220.232.19
  522. t=0 0
  523. m=audio 23950 RTP/AVP 8 101
  524. a=rtpmap:8 PCMA/8000
  525. a=rtpmap:101 telephone-event/8000
  526. a=fmtp:101 0-15
  527. a=ptime:20
  528. a=sendrecv
  529.  
  530. 2023-07-17 08:05:39.884810 99.77% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/3481509878@13.232.246.166] has been answered
  531. 2023-07-17 08:05:39.884810 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/3481509878@13.232.246.166 entering state [completed][200]
  532. EXECUTE [depth=0] sofia/default/3481509878@13.232.246.166 record_session(/usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav)
  533. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  534. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/3481509878@13.232.246.166
  535. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_channel.c:3950 (sofia/default/3481509878@13.232.246.166) Callstate Change RINGING -> ACTIVE
  536. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/12345@sbc-jb1.goldtelcloud.co.za] Peer UUID: afd37d5e-0aeb-40b2-9b94-8e719d1c5ca2
  537. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  538. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 698)
  539. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_core_state_machine.c:650 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA
  540. 2023-07-17 08:05:39.904808 99.77% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  541. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  542. 2023-07-17 08:05:39.904808 99.77% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  543. 2023-07-17 08:05:39.924806 99.77% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  544. 2023-07-17 08:05:39.924806 99.77% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  545. 2023-07-17 08:05:40.064811 99.77% [DEBUG] switch_ivr_bridge.c:655 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  546. 2023-07-17 08:05:40.084805 99.77% [DEBUG] switch_ivr.c:632 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  547. EXECUTE [depth=0] sofia/default/12345@sbc-jb1.goldtelcloud.co.za sched_hangup(+6000 normal_clearing)
  548. 2023-07-17 08:05:40.084805 99.77% [DEBUG] switch_scheduler.c:263 Added task 89 switch_ivr_schedule_hangup (afd37d5e-0aeb-40b2-9b94-8e719d1c5ca2) to run at 1689579940
  549. 2023-07-17 08:05:40.144810 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/3481509878@13.232.246.166 entering state [ready][200]
  550. 2023-07-17 08:05:40.524824 99.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  551. 2023-07-17 08:05:40.524824 99.80% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  552. 2023-07-17 08:05:43.444812 99.87% [NOTICE] sofia.c:1065 Hangup sofia/default/12345@sbc-jb1.goldtelcloud.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  553. 2023-07-17 08:05:43.444812 99.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/12345@sbc-jb1.goldtelcloud.co.za]
  554. 2023-07-17 08:05:43.444812 99.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA going to sleep
  555. 2023-07-17 08:05:43.444812 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 698)
  556. 2023-07-17 08:05:43.444812 99.87% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav
  557. 2023-07-17 08:05:43.444812 99.87% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  558. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/12345@sbc-jb1.goldtelcloud.co.za
  559. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
  560. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State HANGUP
  561. 2023-07-17 08:05:43.464814 99.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
  562. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
  563. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  564. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  565. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 698)
  566. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State REPORTING
  567. 2023-07-17 08:05:43.464814 99.87% [INFO] mod_json_cdr.c:271 Process [afd37d5e-0aeb-40b2-9b94-8e719d1c5ca2.cdr.json]
  568. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_ivr_bridge.c:820 sofia/default/12345@sbc-jb1.goldtelcloud.co.za ending bridge by request from write function
  569. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3481509878@13.232.246.166]
  570. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/12345@sbc-jb1.goldtelcloud.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  571. 2023-07-17 08:05:43.464814 99.87% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/3481509878@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  572. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_session.c:2983 sofia/default/3481509878@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  573. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Is Local Extension 1 Voicemail Flag1
  574. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_cpp.cpp:1209 sofia/default/3481509878@13.232.246.166 destroy/unlink session from object
  575. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_session.c:2983 sofia/default/3481509878@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  576. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3481509878@13.232.246.166) State EXECUTE going to sleep
  577. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_HANGUP (Cur 2 Tot 698)
  578. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/6a108b74-c2ed-4595-8e4b-1f5174c99371DID-LOCAL_2.wav
  579. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  580. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
  581. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  582. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  583. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_session.c:1753 Session 698 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  584. 2023-07-17 08:05:43.464814 99.87% [NOTICE] switch_core_session.c:1771 Session 698 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Ended
  585. 2023-07-17 08:05:43.464814 99.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/12345@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  586. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 1 Tot 698)
  587. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State DESTROY
  588. 2023-07-17 08:05:43.464814 99.87% [DEBUG] mod_sofia.c:379 sofia/default/12345@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  589. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/12345@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  590. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/12345@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  591. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/3481509878@13.232.246.166
  592. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3481509878@13.232.246.166) Callstate Change ACTIVE -> HANGUP
  593. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3481509878@13.232.246.166) State HANGUP
  594. 2023-07-17 08:05:43.464814 99.87% [DEBUG] mod_sofia.c:462 sofia/default/3481509878@13.232.246.166 Overriding SIP cause 480 with 200 from the other leg
  595. 2023-07-17 08:05:43.464814 99.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/3481509878@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  596. 2023-07-17 08:05:43.464814 99.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/3481509878@13.232.246.166
  597. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/3481509878@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  598. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3481509878@13.232.246.166) State HANGUP going to sleep
  599. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3481509878@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  600. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3481509878@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 698)
  601. 2023-07-17 08:05:43.464814 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3481509878@13.232.246.166) State REPORTING
  602. 2023-07-17 08:05:43.464814 99.87% [INFO] mod_json_cdr.c:271 Process [6a108b74-c2ed-4595-8e4b-1f5174c99371.cdr.json]
  603. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/3481509878@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  604. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3481509878@13.232.246.166) State REPORTING going to sleep
  605. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3481509878@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  606. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_session.c:1753 Session 696 (sofia/default/3481509878@13.232.246.166) Locked, Waiting on external entities
  607. 2023-07-17 08:05:43.484806 99.87% [NOTICE] switch_core_session.c:1771 Session 696 (sofia/default/3481509878@13.232.246.166) Ended
  608. 2023-07-17 08:05:43.484806 99.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3481509878@13.232.246.166 [CS_DESTROY]
  609. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3481509878@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 698)
  610. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3481509878@13.232.246.166) State DESTROY
  611. 2023-07-17 08:05:43.484806 99.87% [DEBUG] mod_sofia.c:379 sofia/default/3481509878@13.232.246.166 SOFIA DESTROY
  612. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/3481509878@13.232.246.166 Standard DESTROY
  613. 2023-07-17 08:05:43.484806 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3481509878@13.232.246.166) State DESTROY going to sleep
  614. 2023-07-17 08:05:43.584810 99.87% [DEBUG] switch_scheduler.c:147 Deleting task 89 switch_ivr_schedule_hangup (afd37d5e-0aeb-40b2-9b94-8e719d1c5ca2)