From Jittery Lechwe, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-07-17 08:11:22.404812 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.31.25.87 [7a1eb0f0-666a-42c5-a17e-0e731558efd3]
  2. 2023-07-17 08:11:22.404812 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_NEW (Cur 1 Tot 699)
  3. 2023-07-17 08:11:22.404812 99.50% [INFO] sofia.c:10462 sofia/default/27876300012@196.31.25.87 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 9790f8a0-9f0b-123c-7bbf-b8ac6f871308
  4. 2023-07-17 08:11:22.404812 99.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  5. 2023-07-17 08:11:22.404812 99.50% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  6. 2023-07-17 08:11:22.424811 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.87 entering state [received][100]
  7. 2023-07-17 08:11:22.424811 99.50% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1689551435 1689551436 IN IP4 196.31.25.87
  10. s=FreeSWITCH
  11. c=IN IP4 196.31.25.87
  12. t=0 0
  13. m=audio 22846 RTP/AVP 18 8 0 9 101
  14. a=rtpmap:18 G729/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:0 PCMU/8000
  17. a=rtpmap:9 G722/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=ptime:20
  21.  
  22. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  33. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  37. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.31.25.87 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.31.25.87 Original read codec set to G729:18
  40. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.31.25.87 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2023-07-17 08:11:22.424811 99.50% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.31.25.87) State Change CS_NEW -> CS_INIT
  43. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.31.25.87) State NEW
  44. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_INIT (Cur 1 Tot 699)
  45. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.87) State INIT
  46. 2023-07-17 08:11:22.424811 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.31.25.87 SOFIA INIT
  47. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.31.25.87 Standard INIT
  48. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.31.25.87) State Change CS_INIT -> CS_ROUTING
  49. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.87) State INIT going to sleep
  50. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_ROUTING (Cur 1 Tot 699)
  51. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.31.25.87) Callstate Change DOWN -> RINGING
  52. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.87) State ROUTING
  53. 2023-07-17 08:11:22.424811 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.87 SOFIA ROUTING
  54. 2023-07-17 08:11:22.424811 99.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.87 Standard ROUTING
  55. 2023-07-17 08:11:22.424811 99.50% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->27876303988 in context default
  56. 2023-07-17 08:11:22.424811 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2023-07-17 08:11:22.444806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-07-17 08:11:22.444806 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')
  59. 2023-07-17 08:11:22.444806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876303988
  61. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876303988' AND status=0 limit 1
  62. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  63. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876303988' limit 1
  65. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '345' and username = '27876303988' limit 1
  66. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' limit 1
  67. 2023-07-17 08:11:22.464806 99.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  69. 2023-07-17 08:11:22.464806 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  70. 2023-07-17 08:11:22.464806 99.50% [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
  71. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....27876303988
  72. 2023-07-17 08:11:22.464806 99.50% [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 ="27876303988" LIMIT 1
  73. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  75. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  76. 2023-07-17 08:11:22.464806 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  77. 2023-07-17 08:11:22.464806 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  78. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =345
  79. 2023-07-17 08:11:22.484908 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  80. 2023-07-17 08:11:22.484908 99.50% [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
  81. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....27876303988
  82. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303988" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  84. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 345
  85. 2023-07-17 08:11:22.484908 99.50% [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 = '^27876303988.*' OR patterns = '^2787630398.*' OR patterns = '^278763039.*' OR patterns = '^27876303.*' OR patterns = '^2787630.*' OR patterns = '^278763.*' OR patterns = '^27876.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 345 ORDER BY LENGTH(PKGPTR.patterns) DESC
  86. 2023-07-17 08:11:22.484908 99.50% [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 ="27876303988" AND A.accountid = '159' limit 1
  87. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876303988
  88. 2023-07-17 08:11:22.484908 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  89. 2023-07-17 08:11:22.484908 99.50% [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
  90. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....27876303988
  91. 2023-07-17 08:11:22.484908 99.50% [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 ="27876303988" LIMIT 1
  92. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  93. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  94. 2023-07-17 08:11:22.484908 99.50% [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 = '27876303988' OR number = '2787630398' OR number = '278763039' OR number = '27876303' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876303988*' OR number = '2787630398*' OR number = '278763039*' OR number = '27876303*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  95. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_call_barring] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1
  96. 2023-07-17 08:11:22.484908 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  97. 2023-07-17 08:11:22.484908 99.50% [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
  98. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....27876303988
  99. 2023-07-17 08:11:22.484908 99.50% [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 ="27876303988" LIMIT 1
  100. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  102. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876303988' OR routing_prefix = '2787630398' OR routing_prefix = '278763039' OR routing_prefix = '27876303' OR routing_prefix = '2787630' OR routing_prefix = '278763' OR routing_prefix = '27876' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  103. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  104. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  105. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  106. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =345
  107. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4.264
  108. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  109. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  110. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  111. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  112. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  113. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  114. 2023-07-17 08:11:22.484908 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  115. 2023-07-17 08:11:22.484908 99.50% [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
  116. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*".....27876303988
  117. 2023-07-17 08:11:22.484908 99.50% [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 ="27876303988" LIMIT 1
  118. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  119. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  120. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  121. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 99
  122. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  123. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  124. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  125. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  126. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  127. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  128. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  129. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =345
  130. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4.264 balance Accountid 159 !!!
  131. 2023-07-17 08:11:22.484908 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  132. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  133. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  134. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  135. 2023-07-17 08:11:22.484908 99.50% [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 = 159 AND status=0 LIMIT 1
  136. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "345" OR number = "345") AND deleted = 0 limit 1
  137. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =345
  138. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  139. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  140. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  141. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  142. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1
  143. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2023-07-17 08:11:22.484908 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  145. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  146. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 345 or id = 345 ) and status = 0 limit 1
  147. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  148. 2023-07-17 08:11:22.484908 99.50% [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="27876303988" limit 1
  149. 2023-07-17 08:11:22.484908 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  150. <document type="freeswitch/xml">
  151. <section name="dialplan" description="ASTPP Dialplan">
  152. <context name="default">
  153. <extension name="27876303988">
  154. <condition field="destination_number" expression="27876303988">
  155. <action application="set" data="effective_destination_number=27876303988"/>
  156. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  157. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  158. <action application="set" data="notify_flag=0"/>
  159. <action application="set" data="notify_credit_limit=1.00000"/>
  160. <action application="set" data="type=3"/>
  161. <action application="set" data="callstart=2023-07-17 06:11:22"/>
  162. <action application="set" data="hangup_after_bridge=true"/>
  163. <action application="set" data="continue_on_fail=TRUE"/>
  164. <action application="set" data="account_id=159"/>
  165. <action application="set" data="parent_id=0"/>
  166. <action application="set" data="entity_id=3"/>
  167. <action application="set" data="call_processed=internal"/>
  168. <action application="set" data="call_direction=inbound"/>
  169. <action application="set" data="accountname=default"/>
  170. <action application="export" data="t38_passthru=true"/>
  171. <action application="set" data="fax_enable_t38=true"/>
  172. <action application="set" data="fax_enable_t38_request=true"/>
  173. <action application="set" data="filename1=astpp.pbx.lua"/>
  174. <action application="set" data="origination_rates_did=ID:99|CODE:^27876303988.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:345"/>
  175. <action application="set" data="origination_rates=0"/>
  176. <action application="set" data="original_caller_id_name="27876300012""/>
  177. <action application="set" data="original_caller_id_number=27876300012"/>
  178. <action application="limit" data="db 3786491283 user_3786491283 10 "/>
  179. <action application="export" data="is_recording=1"/>
  180. <action application="export" data="media_bug_answer_req=true"/>
  181. <action application="export" data="record_sample_rate=8000"/>
  182. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_345.wav"/>
  183. <action application="set" data="effective_caller_id_name="27876300012""/>
  184. <action application="set" data="effective_caller_id_number=27876300012"/>
  185. <action application="set" data="receiver_accid=345"/>
  186. <action application="export" data="domain_name="/>
  187. <action application="export" data="sip_to_host="/>
  188. <action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^27876303988.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>
  189. <action application="export" data="call_type=0"/>
  190. <action application="set" data="calltype=DID-LOCAL"/>
  191. <action application="set" data="daily_call_credit_limit=1.00000"/>
  192. <action application="set" data="monthly_call_credit_limit=5.00000"/>
  193. <action application="set" data="daily_call_used_limit=0.00000"/>
  194. <action application="set" data="monthly_call_used_limit=0.73600"/>
  195. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=90]sofia/${sofia_profile_name}/27876303988@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060"/>
  196. <condition field="${cond(${user_data 27876303988@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  197. <action application="answer"/>
  198. <action application="export" data="voicemail_alternate_greet_id=27876303988"/>
  199. <action application="voicemail" data="default $${domain_name} 27876303988"/>
  200. <anti-action application="hangup" data="${originate_disposition}"/>
  201. </condition>
  202. <action application="set" data="did_id=99"/>
  203. <action application="set" data="destination_number=27876303988"/>
  204. <action application="set" data="leg_timeout=90"/>
  205. <action application="set" data="call_type_vm_flag=1"/>
  206. <action application="set" data="is_local_extension=1"/>
  207. <action application="lua" data="did_call_forwarding.lua"/>
  208. </condition>
  209. </extension>
  210. </context>
  211. </section>
  212. </document>
  213. Dialplan: sofia/default/27876300012@196.31.25.87 parsing [default->27876303988] continue=false
  214. Dialplan: sofia/default/27876300012@196.31.25.87 Regex (PASS) [27876303988] destination_number(27876303988) =~ /27876303988/ break=on-false
  215. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(effective_destination_number=27876303988)
  216. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  217. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  218. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(notify_flag=0)
  219. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(notify_credit_limit=1.00000)
  220. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(type=3)
  221. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(callstart=2023-07-17 06:11:22)
  222. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(hangup_after_bridge=true)
  223. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(continue_on_fail=TRUE)
  224. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(account_id=159)
  225. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(parent_id=0)
  226. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(entity_id=3)
  227. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(call_processed=internal)
  228. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(call_direction=inbound)
  229. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(accountname=default)
  230. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(t38_passthru=true)
  231. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(fax_enable_t38=true)
  232. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(fax_enable_t38_request=true)
  233. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(filename1=astpp.pbx.lua)
  234. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(origination_rates_did=ID:99|CODE:^27876303988.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:345)
  235. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(origination_rates=0)
  236. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(original_caller_id_name=)
  237. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(original_caller_id_number=27876300012)
  238. Dialplan: sofia/default/27876300012@196.31.25.87 Action limit(db 3786491283 user_3786491283 10 )
  239. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(is_recording=1)
  240. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(media_bug_answer_req=true)
  241. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(record_sample_rate=8000)
  242. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_345.wav)
  243. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(effective_caller_id_name=)
  244. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(effective_caller_id_number=27876300012)
  245. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(receiver_accid=345)
  246. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(domain_name=)
  247. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(sip_to_host=)
  248. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(presence_data=x|||Dimension Data(3786491283)|||^27876303988.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  249. Dialplan: sofia/default/27876300012@196.31.25.87 Action export(call_type=0)
  250. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(calltype=DID-LOCAL)
  251. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(daily_call_credit_limit=1.00000)
  252. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(monthly_call_credit_limit=5.00000)
  253. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(daily_call_used_limit=0.00000)
  254. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(monthly_call_used_limit=0.73600)
  255. Dialplan: sofia/default/27876300012@196.31.25.87 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=90]sofia/${sofia_profile_name}/27876303988@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  256. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(did_id=99)
  257. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(destination_number=27876303988)
  258. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(leg_timeout=90)
  259. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(call_type_vm_flag=1)
  260. Dialplan: sofia/default/27876300012@196.31.25.87 Action set(is_local_extension=1)
  261. Dialplan: sofia/default/27876300012@196.31.25.87 Action lua(did_call_forwarding.lua)
  262. |--- Dialplan: Processing recursive conditions level:1 [27876303988_recur_1] require-nested=TRUE
  263. |--- Dialplan: sofia/default/27876300012@196.31.25.87 Regex (FAIL) [27876303988_recur_1] ${cond(${user_data 27876303988@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  264. |--- Dialplan: sofia/default/27876300012@196.31.25.87 ANTI-Action hangup(${originate_disposition})
  265. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.87) State Change CS_ROUTING -> CS_EXECUTE
  266. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.87) State ROUTING going to sleep
  267. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_EXECUTE (Cur 1 Tot 699)
  268. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.87) State EXECUTE
  269. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.87 SOFIA EXECUTE
  270. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.87 Standard EXECUTE
  271. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(effective_destination_number=27876303988)
  272. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [effective_destination_number]=[27876303988]
  273. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(bridge_pre_execute_bleg_app=sched_hangup)
  274. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [bridge_pre_execute_bleg_app]=[sched_hangup]
  275. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  276. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  277. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(notify_flag=0)
  278. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [notify_flag]=[0]
  279. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(notify_credit_limit=1.00000)
  280. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [notify_credit_limit]=[1.00000]
  281. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(type=3)
  282. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [type]=[3]
  283. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(callstart=2023-07-17 06:11:22)
  284. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [callstart]=[2023-07-17 06:11:22]
  285. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(hangup_after_bridge=true)
  286. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [hangup_after_bridge]=[true]
  287. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(continue_on_fail=TRUE)
  288. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [continue_on_fail]=[TRUE]
  289. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(account_id=159)
  290. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [account_id]=[159]
  291. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(parent_id=0)
  292. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [parent_id]=[0]
  293. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(entity_id=3)
  294. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [entity_id]=[3]
  295. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(call_processed=internal)
  296. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [call_processed]=[internal]
  297. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(call_direction=inbound)
  298. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [call_direction]=[inbound]
  299. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(accountname=default)
  300. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [accountname]=[default]
  301. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(t38_passthru=true)
  302. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  303. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(fax_enable_t38=true)
  304. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [fax_enable_t38]=[true]
  305. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(fax_enable_t38_request=true)
  306. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [fax_enable_t38_request]=[true]
  307. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(filename1=astpp.pbx.lua)
  308. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [filename1]=[astpp.pbx.lua]
  309. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(origination_rates_did=ID:99|CODE:^27876303988.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:345)
  310. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [origination_rates_did]=[ID:99|CODE:^27876303988.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:345]
  311. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(origination_rates=0)
  312. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [origination_rates]=[0]
  313. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(original_caller_id_name=)
  314. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [original_caller_id_name]=[UNDEF]
  315. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(original_caller_id_number=27876300012)
  316. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [original_caller_id_number]=[27876300012]
  317. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 limit(db 3786491283 user_3786491283 10 )
  318. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  319. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  320. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(is_recording=1)
  321. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  322. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(media_bug_answer_req=true)
  323. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  324. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(record_sample_rate=8000)
  325. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  326. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav)
  327. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav]
  328. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(effective_caller_id_name=)
  329. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [effective_caller_id_name]=[UNDEF]
  330. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(effective_caller_id_number=27876300012)
  331. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [effective_caller_id_number]=[27876300012]
  332. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(receiver_accid=345)
  333. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [receiver_accid]=[345]
  334. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(domain_name=)
  335. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  336. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(sip_to_host=)
  337. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  338. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(presence_data=x|||Dimension Data(3786491283)|||^27876303988.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  339. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^27876303988.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91]
  340. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 export(call_type=0)
  341. 2023-07-17 08:11:22.524807 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  342. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(calltype=DID-LOCAL)
  343. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [calltype]=[DID-LOCAL]
  344. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(daily_call_credit_limit=1.00000)
  345. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [daily_call_credit_limit]=[1.00000]
  346. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(monthly_call_credit_limit=5.00000)
  347. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [monthly_call_credit_limit]=[5.00000]
  348. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(daily_call_used_limit=0.00000)
  349. 2023-07-17 08:11:22.524807 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [daily_call_used_limit]=[0.00000]
  350. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 set(monthly_call_used_limit=0.73600)
  351. 2023-07-17 08:11:22.544809 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.87 [monthly_call_used_limit]=[0.73600]
  352. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 bridge({sip_invite_params=user=LOCAL}[leg_timeout=90]sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  353. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [t38_passthru]=[true] to event
  354. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [is_recording]=[1] to event
  355. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  356. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  357. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav] to event
  358. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^27876303988.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91] to event
  359. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.87 EXPORTING[export_vars] [call_type]=[0] to event
  360. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  361. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  362. 2023-07-17 08:11:22.544809 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za [9185910b-2e96-41d3-af71-a8d787173fd7]
  363. 2023-07-17 08:11:22.544809 99.50% [DEBUG] mod_sofia.c:5121 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  364. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_ivr_originate.c:3151 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Setting leg timeout to 90
  365. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 700)
  366. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State INIT
  367. 2023-07-17 08:11:22.544809 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  368. 2023-07-17 08:11:22.544809 99.50% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100:5060 Setting proxy route to sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za
  369. 2023-07-17 08:11:22.544809 99.50% [INFO] sofia_glue.c:1651 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  370. 2023-07-17 08:11:22.544809 99.50% [DEBUG] sofia_glue.c:1654 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  371. Local SDP:
  372. v=0
  373. o=FreeSWITCH 1689553908 1689553909 IN IP4 102.220.232.19
  374. s=FreeSWITCH
  375. c=IN IP4 102.220.232.19
  376. t=0 0
  377. m=audio 20374 RTP/AVP 18 101
  378. a=rtpmap:18 G729/8000
  379. a=fmtp:18 annexb=no
  380. a=rtpmap:101 telephone-event/8000
  381. a=fmtp:101 0-15
  382. a=ptime:20
  383. a=sendrecv
  384.  
  385. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Standard INIT
  386. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  387. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  388. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 700)
  389. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State ROUTING
  390. 2023-07-17 08:11:22.544809 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  391. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  392. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  393. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 700)
  394. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  395. 2023-07-17 08:11:22.544809 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  396. 2023-07-17 08:11:22.544809 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  397. 2023-07-17 08:11:22.764806 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  398. 2023-07-17 08:11:22.764806 99.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za!
  399. 2023-07-17 08:11:22.764806 99.50% [DEBUG] switch_channel.c:3494 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  400. 2023-07-17 08:11:22.764806 99.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300012@196.31.25.87!
  401. 2023-07-17 08:11:22.764806 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.87 entering state [early][180]
  402. 2023-07-17 08:11:22.764806 99.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300012@196.31.25.87!
  403. 2023-07-17 08:11:27.484906 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [completing][200]
  404. 2023-07-17 08:11:27.484906 99.43% [DEBUG] sofia.c:7509 Remote SDP:
  405. v=0
  406. o=- 20018 20018 IN IP4 102.220.234.128
  407. s=SDP data
  408. c=IN IP4 102.220.234.128
  409. t=0 0
  410. a=sendrecv
  411. m=audio 11794 RTP/AVP 18 101
  412. a=rtpmap:18 G729/8000
  413. a=fmtp:18 annexb=no
  414. a=rtpmap:101 telephone-event/8000
  415. a=fmtp:101 0-15
  416. a=ptime:20
  417. a=oldoip:192.168.55.135
  418. a=oldcip:192.168.55.135
  419.  
  420. 2023-07-17 08:11:27.484906 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  421. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  422. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  423. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  424. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  425. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_codec.c:111 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Original read codec set to G729:18
  426. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  427. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:5973 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  428. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 20374 -> 102.220.234.128 port 11794 codec: 18 ms: 20
  429. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  430. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:9089 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
  431. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:9096 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
  432. 2023-07-17 08:11:27.484906 99.43% [DEBUG] switch_core_media.c:9119 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
  433. 2023-07-17 08:11:27.484906 99.43% [NOTICE] sofia.c:8683 Channel [sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za] has been answered
  434. EXECUTE [depth=1] sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav)
  435. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  436. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za
  437. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.31.25.87] 102.220.232.19 port 23788 -> 196.31.25.87 port 22846 codec: 18 ms: 20
  438. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_channel.c:3950 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> ACTIVE
  439. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  440. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.31.25.87 Set 2833 dtmf send payload to 101
  441. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.31.25.87 Set 2833 dtmf receive payload to 101
  442. 2023-07-17 08:11:27.524811 99.43% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.31.25.87 Set rtp dtmf delay to 40
  443. 2023-07-17 08:11:27.524811 99.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300012@196.31.25.87:
  444. v=0
  445. o=FreeSWITCH 1689550499 1689550500 IN IP4 102.220.232.19
  446. s=FreeSWITCH
  447. c=IN IP4 102.220.232.19
  448. t=0 0
  449. m=audio 23788 RTP/AVP 18 101
  450. a=rtpmap:18 G729/8000
  451. a=fmtp:18 annexb=no
  452. a=rtpmap:101 telephone-event/8000
  453. a=fmtp:101 0-15
  454. a=ptime:20
  455. a=sendrecv
  456.  
  457. 2023-07-17 08:11:27.524811 99.43% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27876300012@196.31.25.87] has been answered
  458. 2023-07-17 08:11:27.524811 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.87 entering state [completed][200]
  459. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.87 record_session(/usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav)
  460. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  461. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300012@196.31.25.87
  462. 2023-07-17 08:11:27.544806 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.87 entering state [ready][200]
  463. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_channel.c:3950 (sofia/default/27876300012@196.31.25.87) Callstate Change RINGING -> ACTIVE
  464. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za] Peer UUID: 9185910b-2e96-41d3-af71-a8d787173fd7
  465. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  466. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 700)
  467. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA
  468. 2023-07-17 08:11:27.544806 99.43% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  469. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  470. 2023-07-17 08:11:27.544806 99.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  471. 2023-07-17 08:11:27.544806 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  472. 2023-07-17 08:11:27.604808 99.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  473. 2023-07-17 08:11:27.604808 99.43% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  474. 2023-07-17 08:11:27.704823 99.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  475. 2023-07-17 08:11:27.704823 99.43% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  476. 2023-07-17 08:11:27.704823 99.43% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  477. 2023-07-17 08:11:27.724807 99.43% [DEBUG] switch_ivr.c:632 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  478. EXECUTE [depth=0] sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za sched_hangup(+6000 normal_clearing)
  479. 2023-07-17 08:11:27.724807 99.43% [DEBUG] switch_scheduler.c:263 Added task 90 switch_ivr_schedule_hangup (9185910b-2e96-41d3-af71-a8d787173fd7) to run at 1689580287
  480. 2023-07-17 08:11:27.904811 99.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  481. 2023-07-17 08:11:27.904811 99.43% [DEBUG] sofia.c:7509 Remote SDP:
  482. v=0
  483. o=- 20018 20019 IN IP4 102.220.234.128
  484. s=SDP data
  485. c=IN IP4 102.220.234.128
  486. t=0 0
  487. a=sendrecv
  488. m=audio 11794 RTP/AVP 18 101
  489. a=rtpmap:18 G729/8000
  490. a=fmtp:18 annexb=no
  491. a=rtpmap:101 telephone-event/8000
  492. a=fmtp:101 0-15
  493. a=ptime:20
  494. a=oldoip:192.168.55.135
  495. a=oldcip:192.168.55.135
  496.  
  497. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  498. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  499. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  500. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  501. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  502. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  503. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:5973 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  504. 2023-07-17 08:11:27.904811 99.43% [DEBUG] sofia.c:8524 Processing updated SDP
  505. 2023-07-17 08:11:27.904811 99.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za.
  506. 2023-07-17 08:11:28.144811 99.43% [NOTICE] sofia.c:1065 Hangup sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  507. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za]
  508. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA going to sleep
  509. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 700)
  510. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav
  511. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  512. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za
  513. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
  514. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State HANGUP
  515. 2023-07-17 08:11:28.144811 99.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
  516. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
  517. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  518. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  519. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 700)
  520. 2023-07-17 08:11:28.144811 99.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State REPORTING
  521. 2023-07-17 08:11:28.144811 99.43% [INFO] mod_json_cdr.c:271 Process [9185910b-2e96-41d3-af71-a8d787173fd7.cdr.json]
  522. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za ending bridge by request from write function
  523. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.31.25.87]
  524. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  525. 2023-07-17 08:11:28.164806 99.43% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27876300012@196.31.25.87 [CS_EXECUTE] [NORMAL_CLEARING]
  526. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.31.25.87 skip receive message [PHONE_EVENT] (channel is hungup already)
  527. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.87) State EXECUTE going to sleep
  528. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_HANGUP (Cur 2 Tot 700)
  529. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/7a1eb0f0-666a-42c5-a17e-0e731558efd3DID-LOCAL_345.wav
  530. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  531. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
  532. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  533. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  534. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_session.c:1753 Session 700 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  535. 2023-07-17 08:11:28.164806 99.43% [NOTICE] switch_core_session.c:1771 Session 700 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Ended
  536. 2023-07-17 08:11:28.164806 99.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  537. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 1 Tot 700)
  538. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State DESTROY
  539. 2023-07-17 08:11:28.164806 99.43% [DEBUG] mod_sofia.c:379 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  540. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  541. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303988@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  542. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300012@196.31.25.87
  543. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.31.25.87) Callstate Change ACTIVE -> HANGUP
  544. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.87) State HANGUP
  545. 2023-07-17 08:11:28.164806 99.43% [DEBUG] mod_sofia.c:462 sofia/default/27876300012@196.31.25.87 Overriding SIP cause 480 with 200 from the other leg
  546. 2023-07-17 08:11:28.164806 99.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.31.25.87 hanging up, cause: NORMAL_CLEARING
  547. 2023-07-17 08:11:28.164806 99.43% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876300012@196.31.25.87
  548. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.31.25.87 Standard HANGUP, cause: NORMAL_CLEARING
  549. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.87) State HANGUP going to sleep
  550. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.31.25.87) State Change CS_HANGUP -> CS_REPORTING
  551. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.87) Running State Change CS_REPORTING (Cur 1 Tot 700)
  552. 2023-07-17 08:11:28.164806 99.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.87) State REPORTING
  553. 2023-07-17 08:11:28.164806 99.43% [INFO] mod_json_cdr.c:271 Process [7a1eb0f0-666a-42c5-a17e-0e731558efd3.cdr.json]
  554. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.31.25.87 Standard REPORTING, cause: NORMAL_CLEARING
  555. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.87) State REPORTING going to sleep
  556. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.31.25.87) State Change CS_REPORTING -> CS_DESTROY
  557. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_session.c:1753 Session 699 (sofia/default/27876300012@196.31.25.87) Locked, Waiting on external entities
  558. 2023-07-17 08:11:28.184807 99.43% [NOTICE] switch_core_session.c:1771 Session 699 (sofia/default/27876300012@196.31.25.87) Ended
  559. 2023-07-17 08:11:28.184807 99.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.31.25.87 [CS_DESTROY]
  560. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.31.25.87) Running State Change CS_DESTROY (Cur 0 Tot 700)
  561. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.87) State DESTROY
  562. 2023-07-17 08:11:28.184807 99.43% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.31.25.87 SOFIA DESTROY
  563. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.31.25.87 Standard DESTROY
  564. 2023-07-17 08:11:28.184807 99.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.87) State DESTROY going to sleep
  565. 2023-07-17 08:11:28.224811 99.43% [DEBUG] switch_scheduler.c:147 Deleting task 90 switch_ivr_schedule_hangup (9185910b-2e96-41d3-af71-a8d787173fd7)