From Mustard Peafowl, 1 Year ago, written in Plain Text.
- view diff
Embed
  1. 2023-07-12 16:11:50.464811 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27448734188@196.31.25.87 [02d407d4-662e-4643-bf03-7224295e0a52]
  2. 2023-07-12 16:11:50.464811 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_NEW (Cur 1 Tot 391)
  3. 2023-07-12 16:11:50.464811 99.97% [INFO] sofia.c:10462 sofia/default/27448734188@196.31.25.87 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: e1a1aa6f-9b60-123c-7bbf-b8ac6f871308
  4. 2023-07-12 16:11:50.464811 99.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  5. 2023-07-12 16:11:50.464811 99.97% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  6. 2023-07-12 16:11:50.484809 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.87 entering state [received][100]
  7. 2023-07-12 16:11:50.484809 99.97% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1689148226 1689148227 IN IP4 196.31.25.87
  10. s=FreeSWITCH
  11. c=IN IP4 196.31.25.87
  12. t=0 0
  13. m=audio 22882 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-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  33. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  37. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27448734188@196.31.25.87 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_codec.c:111 sofia/default/27448734188@196.31.25.87 Original read codec set to G729:18
  40. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_media.c:5973 sofia/default/27448734188@196.31.25.87 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2023-07-12 16:11:50.484809 99.97% [DEBUG] sofia.c:7933 (sofia/default/27448734188@196.31.25.87) State Change CS_NEW -> CS_INIT
  43. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27448734188@196.31.25.87) State NEW
  44. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_INIT (Cur 1 Tot 391)
  45. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.87) State INIT
  46. 2023-07-12 16:11:50.484809 99.97% [DEBUG] mod_sofia.c:97 sofia/default/27448734188@196.31.25.87 SOFIA INIT
  47. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/27448734188@196.31.25.87 Standard INIT
  48. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27448734188@196.31.25.87) State Change CS_INIT -> CS_ROUTING
  49. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.87) State INIT going to sleep
  50. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_ROUTING (Cur 1 Tot 391)
  51. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_channel.c:2380 (sofia/default/27448734188@196.31.25.87) Callstate Change DOWN -> RINGING
  52. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.87) State ROUTING
  53. 2023-07-12 16:11:50.484809 99.97% [DEBUG] mod_sofia.c:158 sofia/default/27448734188@196.31.25.87 SOFIA ROUTING
  54. 2023-07-12 16:11:50.484809 99.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/27448734188@196.31.25.87 Standard ROUTING
  55. 2023-07-12 16:11:50.484809 99.97% [INFO] mod_dialplan_xml.c:639 Processing +27448734188 <27448734188>->27876303987 in context default
  56. 2023-07-12 16:11:50.484809 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2023-07-12 16:11:50.504808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-07-12 16:11:50.504808 99.97% [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-12 16:11:50.504808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876303987
  61. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876303987' AND status=0 limit 1
  62. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  63. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876303987' limit 1
  65. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '335' and username = '27876303987' limit 1
  66. 2023-07-12 16:11:50.524807 99.97% [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-12 16:11:50.524807 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+27448734188" / 27448734188
  69. 2023-07-12 16:11:50.524807 99.97% [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 ="27876303987" LIMIT 1
  70. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  72. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  73. 2023-07-12 16:11:50.524807 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  74. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
  75. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  76. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303987" AND (accountid = 0 OR status = 1) LIMIT 1
  77. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  78. 2023-07-12 16:11:50.524807 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 335
  79. 2023-07-12 16:11:50.524807 99.97% [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 = '^27876303987.*' 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 = 335 ORDER BY LENGTH(PKGPTR.patterns) DESC
  80. 2023-07-12 16:11:50.544808 99.97% [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 ="27876303987" AND A.accountid = '159' limit 1
  81. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876303987
  82. 2023-07-12 16:11:50.544808 99.97% [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 ="27876303987" LIMIT 1
  83. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  85. 2023-07-12 16:11:50.544808 99.97% [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 = '27876303987' 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 = '27876303987*' 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 = '27448734188' OR number = '2744873418' OR number = '274487341' OR number = '27448734' OR number = '2744873' OR number = '274487' OR number = '27448' OR number = '2744' OR number = '274' OR number = '27' OR number = '2' OR number ='--') OR (number = '27448734188*' OR number = '2744873418*' OR number = '274487341*' OR number = '27448734*' OR number = '2744873*' OR number = '274487*' OR number = '27448*' OR number = '2744*' OR number = '274*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  86. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  87. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876303987' 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
  88. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  89. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  90. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  91. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  92. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5
  93. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  94. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  95. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  96. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  97. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  98. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  99. 2023-07-12 16:11:50.544808 99.97% [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 ="27876303987" LIMIT 1
  100. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  102. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  103. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 59
  104. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  105. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  106. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  107. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  108. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  109. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  110. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  111. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  112. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 159 !!!
  113. 2023-07-12 16:11:50.544808 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  114. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  115. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  116. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  117. 2023-07-12 16:11:50.544808 99.97% [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
  118. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "335" AND deleted = 0 limit 1
  119. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  120. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  121. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  122. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  123. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  124. 2023-07-12 16:11:50.544808 99.97% [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
  125. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  126. 2023-07-12 16:11:50.544808 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  127. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  128. 2023-07-12 16:11:50.544808 99.97% [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 = 335 or id = 335 ) and status = 0 limit 1
  129. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  130. 2023-07-12 16:11:50.544808 99.97% [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="27876303987" limit 1
  131. 2023-07-12 16:11:50.544808 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  132. <document type="freeswitch/xml">
  133. <section name="dialplan" description="ASTPP Dialplan">
  134. <context name="default">
  135. <extension name="27876303987">
  136. <condition field="destination_number" expression="27876303987">
  137. <action application="set" data="effective_destination_number=27876303987"/>
  138. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  139. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  140. <action application="set" data="notify_flag=0"/>
  141. <action application="set" data="notify_credit_limit=1.00000"/>
  142. <action application="set" data="type=3"/>
  143. <action application="set" data="callstart=2023-07-12 14:11:50"/>
  144. <action application="set" data="hangup_after_bridge=true"/>
  145. <action application="set" data="continue_on_fail=TRUE"/>
  146. <action application="set" data="account_id=159"/>
  147. <action application="set" data="parent_id=0"/>
  148. <action application="set" data="entity_id=3"/>
  149. <action application="set" data="call_processed=internal"/>
  150. <action application="set" data="call_direction=inbound"/>
  151. <action application="set" data="accountname=default"/>
  152. <action application="export" data="t38_passthru=true"/>
  153. <action application="set" data="fax_enable_t38=true"/>
  154. <action application="set" data="fax_enable_t38_request=true"/>
  155. <action application="set" data="filename1=astpp.pbx.lua"/>
  156. <action application="set" data="origination_rates_did=ID:59|CODE:^27876303987.*|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:335"/>
  157. <action application="set" data="origination_rates=0"/>
  158. <action application="set" data="original_caller_id_name="+27448734188""/>
  159. <action application="set" data="original_caller_id_number=27448734188"/>
  160. <action application="limit" data="db 3786491283 user_3786491283 10 "/>
  161. <action application="export" data="is_recording=1"/>
  162. <action application="export" data="media_bug_answer_req=true"/>
  163. <action application="export" data="record_sample_rate=8000"/>
  164. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_335.wav"/>
  165. <action application="set" data="effective_caller_id_name="+27448734188""/>
  166. <action application="set" data="effective_caller_id_number=27448734188"/>
  167. <action application="set" data="receiver_accid=335"/>
  168. <action application="export" data="domain_name="/>
  169. <action application="export" data="sip_to_host="/>
  170. <action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>
  171. <action application="export" data="call_type=0"/>
  172. <action application="set" data="calltype=DID-LOCAL"/>
  173. <action application="set" data="daily_call_credit_limit=1.00000"/>
  174. <action application="set" data="monthly_call_credit_limit=5.00000"/>
  175. <action application="set" data="daily_call_used_limit=0.00000"/>
  176. <action application="set" data="monthly_call_used_limit=0.00000"/>
  177. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060"/>
  178. <condition field="${cond(${user_data 27876303987@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  179. <action application="answer"/>
  180. <action application="export" data="voicemail_alternate_greet_id=27876303987"/>
  181. <action application="voicemail" data="default $${domain_name} 27876303987"/>
  182. <anti-action application="hangup" data="${originate_disposition}"/>
  183. </condition>
  184. <action application="set" data="did_id=59"/>
  185. <action application="set" data="destination_number=27876303987"/>
  186. <action application="set" data="leg_timeout=10"/>
  187. <action application="set" data="call_type_vm_flag=1"/>
  188. <action application="set" data="is_local_extension=1"/>
  189. <action application="lua" data="did_call_forwarding.lua"/>
  190. </condition>
  191. </extension>
  192. </context>
  193. </section>
  194. </document>
  195. Dialplan: sofia/default/27448734188@196.31.25.87 parsing [default->27876303987] continue=false
  196. Dialplan: sofia/default/27448734188@196.31.25.87 Regex (PASS) [27876303987] destination_number(27876303987) =~ /27876303987/ break=on-false
  197. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(effective_destination_number=27876303987)
  198. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  199. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  200. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(notify_flag=0)
  201. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(notify_credit_limit=1.00000)
  202. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(type=3)
  203. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(callstart=2023-07-12 14:11:50)
  204. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(hangup_after_bridge=true)
  205. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(continue_on_fail=TRUE)
  206. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(account_id=159)
  207. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(parent_id=0)
  208. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(entity_id=3)
  209. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(call_processed=internal)
  210. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(call_direction=inbound)
  211. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(accountname=default)
  212. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(t38_passthru=true)
  213. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(fax_enable_t38=true)
  214. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(fax_enable_t38_request=true)
  215. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(filename1=astpp.pbx.lua)
  216. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(origination_rates_did=ID:59|CODE:^27876303987.*|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:335)
  217. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(origination_rates=0)
  218. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(original_caller_id_name=)
  219. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(original_caller_id_number=27448734188)
  220. Dialplan: sofia/default/27448734188@196.31.25.87 Action limit(db 3786491283 user_3786491283 10 )
  221. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(is_recording=1)
  222. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(media_bug_answer_req=true)
  223. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(record_sample_rate=8000)
  224. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_335.wav)
  225. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(effective_caller_id_name=)
  226. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(effective_caller_id_number=27448734188)
  227. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(receiver_accid=335)
  228. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(domain_name=)
  229. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(sip_to_host=)
  230. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  231. Dialplan: sofia/default/27448734188@196.31.25.87 Action export(call_type=0)
  232. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(calltype=DID-LOCAL)
  233. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(daily_call_credit_limit=1.00000)
  234. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(monthly_call_credit_limit=5.00000)
  235. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(daily_call_used_limit=0.00000)
  236. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(monthly_call_used_limit=0.00000)
  237. Dialplan: sofia/default/27448734188@196.31.25.87 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  238. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(did_id=59)
  239. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(destination_number=27876303987)
  240. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(leg_timeout=10)
  241. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(call_type_vm_flag=1)
  242. Dialplan: sofia/default/27448734188@196.31.25.87 Action set(is_local_extension=1)
  243. Dialplan: sofia/default/27448734188@196.31.25.87 Action lua(did_call_forwarding.lua)
  244. |--- Dialplan: Processing recursive conditions level:1 [27876303987_recur_1] require-nested=TRUE
  245. |--- Dialplan: sofia/default/27448734188@196.31.25.87 Regex (FAIL) [27876303987_recur_1] ${cond(${user_data 27876303987@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  246. |--- Dialplan: sofia/default/27448734188@196.31.25.87 ANTI-Action hangup(${originate_disposition})
  247. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27448734188@196.31.25.87) State Change CS_ROUTING -> CS_EXECUTE
  248. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.87) State ROUTING going to sleep
  249. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_EXECUTE (Cur 1 Tot 391)
  250. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.87) State EXECUTE
  251. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_sofia.c:213 sofia/default/27448734188@196.31.25.87 SOFIA EXECUTE
  252. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/27448734188@196.31.25.87 Standard EXECUTE
  253. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(effective_destination_number=27876303987)
  254. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [effective_destination_number]=[27876303987]
  255. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(bridge_pre_execute_bleg_app=sched_hangup)
  256. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [bridge_pre_execute_bleg_app]=[sched_hangup]
  257. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  258. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  259. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(notify_flag=0)
  260. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [notify_flag]=[0]
  261. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(notify_credit_limit=1.00000)
  262. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [notify_credit_limit]=[1.00000]
  263. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(type=3)
  264. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [type]=[3]
  265. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(callstart=2023-07-12 14:11:50)
  266. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [callstart]=[2023-07-12 14:11:50]
  267. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(hangup_after_bridge=true)
  268. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [hangup_after_bridge]=[true]
  269. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(continue_on_fail=TRUE)
  270. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [continue_on_fail]=[TRUE]
  271. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(account_id=159)
  272. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [account_id]=[159]
  273. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(parent_id=0)
  274. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [parent_id]=[0]
  275. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(entity_id=3)
  276. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [entity_id]=[3]
  277. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(call_processed=internal)
  278. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [call_processed]=[internal]
  279. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(call_direction=inbound)
  280. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [call_direction]=[inbound]
  281. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(accountname=default)
  282. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [accountname]=[default]
  283. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(t38_passthru=true)
  284. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  285. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(fax_enable_t38=true)
  286. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [fax_enable_t38]=[true]
  287. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(fax_enable_t38_request=true)
  288. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [fax_enable_t38_request]=[true]
  289. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(filename1=astpp.pbx.lua)
  290. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [filename1]=[astpp.pbx.lua]
  291. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(origination_rates_did=ID:59|CODE:^27876303987.*|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:335)
  292. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [origination_rates_did]=[ID:59|CODE:^27876303987.*|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:335]
  293. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(origination_rates=0)
  294. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [origination_rates]=[0]
  295. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(original_caller_id_name=)
  296. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [original_caller_id_name]=[UNDEF]
  297. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(original_caller_id_number=27448734188)
  298. 2023-07-12 16:11:50.564810 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [original_caller_id_number]=[27448734188]
  299. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 limit(db 3786491283 user_3786491283 10 )
  300. 2023-07-12 16:11:50.564810 99.97% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  301. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  302. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(is_recording=1)
  303. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  304. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(media_bug_answer_req=true)
  305. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  306. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(record_sample_rate=8000)
  307. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  308. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav)
  309. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav]
  310. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(effective_caller_id_name=)
  311. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [effective_caller_id_name]=[UNDEF]
  312. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(effective_caller_id_number=27448734188)
  313. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [effective_caller_id_number]=[27448734188]
  314. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(receiver_accid=335)
  315. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [receiver_accid]=[335]
  316. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(domain_name=)
  317. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  318. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(sip_to_host=)
  319. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  320. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  321. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91]
  322. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 export(call_type=0)
  323. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  324. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(calltype=DID-LOCAL)
  325. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [calltype]=[DID-LOCAL]
  326. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(daily_call_credit_limit=1.00000)
  327. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [daily_call_credit_limit]=[1.00000]
  328. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(monthly_call_credit_limit=5.00000)
  329. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [monthly_call_credit_limit]=[5.00000]
  330. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(daily_call_used_limit=0.00000)
  331. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [daily_call_used_limit]=[0.00000]
  332. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 set(monthly_call_used_limit=0.00000)
  333. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.87 [monthly_call_used_limit]=[0.00000]
  334. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  335. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [t38_passthru]=[true] to event
  336. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [is_recording]=[1] to event
  337. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  338. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  339. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav] to event
  340. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91] to event
  341. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.87 EXPORTING[export_vars] [call_type]=[0] to event
  342. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  343. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  344. 2023-07-12 16:11:50.584813 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [e97b34f2-424e-4e69-a898-87926c81f4cd]
  345. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_sofia.c:5121 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  346. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_ivr_originate.c:3151 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Setting leg timeout to 10
  347. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 392)
  348. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State INIT
  349. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_sofia.c:97 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  350. 2023-07-12 16:11:50.584813 99.97% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100:5060 Setting proxy route to sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  351. 2023-07-12 16:11:50.584813 99.97% [INFO] sofia_glue.c:1651 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  352. 2023-07-12 16:11:50.584813 99.97% [DEBUG] sofia_glue.c:1654 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  353. Local SDP:
  354. v=0
  355. o=FreeSWITCH 1689153146 1689153147 IN IP4 102.220.232.19
  356. s=FreeSWITCH
  357. c=IN IP4 102.220.232.19
  358. t=0 0
  359. m=audio 17964 RTP/AVP 18 101
  360. a=rtpmap:18 G729/8000
  361. a=fmtp:18 annexb=no
  362. a=rtpmap:101 telephone-event/8000
  363. a=fmtp:101 0-15
  364. a=ptime:20
  365. a=sendrecv
  366.  
  367. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard INIT
  368. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  369. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  370. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 392)
  371. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State ROUTING
  372. 2023-07-12 16:11:50.584813 99.97% [DEBUG] mod_sofia.c:158 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  373. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  374. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  375. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 392)
  376. 2023-07-12 16:11:50.584813 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  377. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  378. 2023-07-12 16:11:50.584813 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  379. 2023-07-12 16:11:50.644806 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  380. 2023-07-12 16:11:50.644806 99.97% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za!
  381. 2023-07-12 16:11:50.644806 99.97% [DEBUG] switch_channel.c:3494 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  382. 2023-07-12 16:11:50.644806 99.97% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27448734188@196.31.25.87!
  383. 2023-07-12 16:11:50.644806 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.87 entering state [early][180]
  384. 2023-07-12 16:11:50.644806 99.97% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27448734188@196.31.25.87!
  385. 2023-07-12 16:11:53.444810 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [completing][200]
  386. 2023-07-12 16:11:53.444810 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  387. v=0
  388. o=27876303987 8001 8000 IN IP4 102.220.234.128
  389. s=SIP Call
  390. c=IN IP4 102.220.234.128
  391. t=0 0
  392. m=audio 5008 RTP/AVP 18 101
  393. a=rtpmap:18 G729/8000
  394. a=fmtp:18 annexb=no
  395. a=rtpmap:101 telephone-event/8000
  396. a=fmtp:101 0-15
  397. a=ptime:20
  398. a=oldoip:192.168.5.246
  399. a=oldcip:192.168.5.246
  400.  
  401. 2023-07-12 16:11:53.444810 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  402. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  403. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  404. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  405. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  406. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Original read codec set to G729:18
  407. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  408. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  409. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 17964 -> 102.220.234.128 port 5008 codec: 18 ms: 20
  410. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  411. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
  412. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
  413. 2023-07-12 16:11:53.444810 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
  414. 2023-07-12 16:11:53.444810 99.93% [NOTICE] sofia.c:8683 Channel [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] has been answered
  415. EXECUTE [depth=1] sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav)
  416. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  417. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  418. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> ACTIVE
  419. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27448734188@196.31.25.87] 102.220.232.19 port 18040 -> 196.31.25.87 port 22882 codec: 18 ms: 20
  420. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  421. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27448734188@196.31.25.87 Set 2833 dtmf send payload to 101
  422. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27448734188@196.31.25.87 Set 2833 dtmf receive payload to 101
  423. 2023-07-12 16:11:53.464813 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27448734188@196.31.25.87 Set rtp dtmf delay to 40
  424. 2023-07-12 16:11:53.464813 99.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27448734188@196.31.25.87:
  425. v=0
  426. o=FreeSWITCH 1689153073 1689153074 IN IP4 102.220.232.19
  427. s=FreeSWITCH
  428. c=IN IP4 102.220.232.19
  429. t=0 0
  430. m=audio 18040 RTP/AVP 18 101
  431. a=rtpmap:18 G729/8000
  432. a=fmtp:18 annexb=no
  433. a=rtpmap:101 telephone-event/8000
  434. a=fmtp:101 0-15
  435. a=ptime:20
  436. a=sendrecv
  437.  
  438. 2023-07-12 16:11:53.464813 99.93% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27448734188@196.31.25.87] has been answered
  439. 2023-07-12 16:11:53.464813 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.87 entering state [completed][200]
  440. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.87 record_session(/usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav)
  441. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  442. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27448734188@196.31.25.87
  443. 2023-07-12 16:11:53.484809 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.87 entering state [ready][200]
  444. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27448734188@196.31.25.87) Callstate Change RINGING -> ACTIVE
  445. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] Peer UUID: e97b34f2-424e-4e69-a898-87926c81f4cd
  446. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  447. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 392)
  448. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA
  449. 2023-07-12 16:11:53.484809 99.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  450. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  451. 2023-07-12 16:11:53.484809 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  452. 2023-07-12 16:11:53.484809 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  453. 2023-07-12 16:11:53.564811 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  454. 2023-07-12 16:11:53.564811 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  455. 2023-07-12 16:11:53.604812 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  456. 2023-07-12 16:11:53.604812 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  457. 2023-07-12 16:11:53.644813 99.93% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  458. 2023-07-12 16:11:53.664806 99.93% [DEBUG] switch_ivr.c:632 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  459. EXECUTE [depth=0] sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sched_hangup(+6000 normal_clearing)
  460. 2023-07-12 16:11:53.664806 99.93% [DEBUG] switch_scheduler.c:263 Added task 43 switch_ivr_schedule_hangup (e97b34f2-424e-4e69-a898-87926c81f4cd) to run at 1689177113
  461. 2023-07-12 16:11:54.444816 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  462. 2023-07-12 16:11:54.444816 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  463. v=0
  464. o=27876303987 8001 8001 IN IP4 102.220.234.128
  465. s=SIP Call
  466. c=IN IP4 102.220.234.128
  467. t=0 0
  468. m=audio 5008 RTP/AVP 18 101
  469. a=rtpmap:18 G729/8000
  470. a=fmtp:18 annexb=no
  471. a=rtpmap:101 telephone-event/8000
  472. a=fmtp:101 0-15
  473. a=ptime:20
  474. a=oldoip:192.168.5.246
  475. a=oldcip:192.168.5.246
  476.  
  477. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  478. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  479. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  480. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  481. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  482. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  483. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  484. 2023-07-12 16:11:54.444816 99.93% [DEBUG] sofia.c:8524 Processing updated SDP
  485. 2023-07-12 16:11:54.444816 99.93% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za.
  486. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za ending bridge by request from write function
  487. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27448734188@196.31.25.87]
  488. 2023-07-12 16:11:56.564812 99.93% [NOTICE] sofia.c:1065 Hangup sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  489. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za]
  490. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA going to sleep
  491. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 392)
  492. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav
  493. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  494. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  495. 2023-07-12 16:11:56.564812 99.93% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27448734188@196.31.25.87 [CS_EXECUTE] [NORMAL_CLEARING]
  496. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  497. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
  498. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State HANGUP
  499. 2023-07-12 16:11:56.564812 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
  500. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
  501. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  502. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  503. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 392)
  504. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State REPORTING
  505. 2023-07-12 16:11:56.564812 99.93% [INFO] mod_json_cdr.c:271 Process [e97b34f2-424e-4e69-a898-87926c81f4cd.cdr.json]
  506. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_session.c:2983 sofia/default/27448734188@196.31.25.87 skip receive message [PHONE_EVENT] (channel is hungup already)
  507. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.87) State EXECUTE going to sleep
  508. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_HANGUP (Cur 2 Tot 392)
  509. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02d407d4-662e-4643-bf03-7224295e0a52DID-LOCAL_335.wav
  510. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  511. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27448734188@196.31.25.87
  512. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27448734188@196.31.25.87) Callstate Change ACTIVE -> HANGUP
  513. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.87) State HANGUP
  514. 2023-07-12 16:11:56.564812 99.93% [DEBUG] mod_sofia.c:462 sofia/default/27448734188@196.31.25.87 Overriding SIP cause 480 with 200 from the other leg
  515. 2023-07-12 16:11:56.564812 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/27448734188@196.31.25.87 hanging up, cause: NORMAL_CLEARING
  516. 2023-07-12 16:11:56.564812 99.93% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27448734188@196.31.25.87
  517. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/27448734188@196.31.25.87 Standard HANGUP, cause: NORMAL_CLEARING
  518. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.87) State HANGUP going to sleep
  519. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27448734188@196.31.25.87) State Change CS_HANGUP -> CS_REPORTING
  520. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.87) Running State Change CS_REPORTING (Cur 2 Tot 392)
  521. 2023-07-12 16:11:56.564812 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.87) State REPORTING
  522. 2023-07-12 16:11:56.564812 99.93% [INFO] mod_json_cdr.c:271 Process [02d407d4-662e-4643-bf03-7224295e0a52.cdr.json]
  523. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
  524. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  525. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  526. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_session.c:1753 Session 392 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  527. 2023-07-12 16:11:56.584807 99.93% [NOTICE] switch_core_session.c:1771 Session 392 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Ended
  528. 2023-07-12 16:11:56.584807 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  529. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 1 Tot 392)
  530. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State DESTROY
  531. 2023-07-12 16:11:56.584807 99.93% [DEBUG] mod_sofia.c:379 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  532. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  533. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  534. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/27448734188@196.31.25.87 Standard REPORTING, cause: NORMAL_CLEARING
  535. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.87) State REPORTING going to sleep
  536. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27448734188@196.31.25.87) State Change CS_REPORTING -> CS_DESTROY
  537. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_session.c:1753 Session 391 (sofia/default/27448734188@196.31.25.87) Locked, Waiting on external entities
  538. 2023-07-12 16:11:56.584807 99.93% [NOTICE] switch_core_session.c:1771 Session 391 (sofia/default/27448734188@196.31.25.87) Ended
  539. 2023-07-12 16:11:56.584807 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27448734188@196.31.25.87 [CS_DESTROY]
  540. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27448734188@196.31.25.87) Running State Change CS_DESTROY (Cur 0 Tot 392)
  541. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.87) State DESTROY
  542. 2023-07-12 16:11:56.584807 99.93% [DEBUG] mod_sofia.c:379 sofia/default/27448734188@196.31.25.87 SOFIA DESTROY
  543. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/27448734188@196.31.25.87 Standard DESTROY
  544. 2023-07-12 16:11:56.584807 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.87) State DESTROY going to sleep
  545. 2023-07-12 16:11:56.664811 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 43 switch_ivr_schedule_hangup (e97b34f2-424e-4e69-a898-87926c81f4cd)
  546. 2023-07-12 16:13:44.364810 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27448734188@196.31.25.86 [02803c8b-9f86-4cb8-8b99-f608402e61d1]
  547. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_NEW (Cur 1 Tot 393)
  548. 2023-07-12 16:13:44.364810 99.97% [INFO] sofia.c:10462 sofia/default/27448734188@196.31.25.86 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 255dd4fd-9b61-123c-1aa1-b8ac6f871369
  549. 2023-07-12 16:13:44.364810 99.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  550. 2023-07-12 16:13:44.364810 99.97% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  551. 2023-07-12 16:13:44.364810 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [received][100]
  552. 2023-07-12 16:13:44.364810 99.97% [DEBUG] sofia.c:7509 Remote SDP:
  553. v=0
  554. o=FreeSWITCH 1689142401 1689142402 IN IP4 196.31.25.86
  555. s=FreeSWITCH
  556. c=IN IP4 196.31.25.86
  557. t=0 0
  558. m=audio 28820 RTP/AVP 18 8 0 9 101
  559. a=rtpmap:18 G729/8000
  560. a=rtpmap:8 PCMA/8000
  561. a=rtpmap:0 PCMU/8000
  562. a=rtpmap:9 G722/8000
  563. a=rtpmap:101 telephone-event/8000
  564. a=fmtp:101 0-16
  565. a=ptime:20
  566.  
  567. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  568. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  569. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  570. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  571. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  572. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  573. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  574. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  575. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  576. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  577. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  578. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  579. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  580. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  581. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  582. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  583. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27448734188@196.31.25.86 G729/8000 20 ms 160 samples 8000 bits 1 channels
  584. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_codec.c:111 sofia/default/27448734188@196.31.25.86 Original read codec set to G729:18
  585. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  586. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_media.c:5973 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf send payload to 101 recv payload to 101
  587. 2023-07-12 16:13:44.364810 99.97% [DEBUG] sofia.c:7933 (sofia/default/27448734188@196.31.25.86) State Change CS_NEW -> CS_INIT
  588. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27448734188@196.31.25.86) State NEW
  589. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_INIT (Cur 1 Tot 393)
  590. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.86) State INIT
  591. 2023-07-12 16:13:44.364810 99.97% [DEBUG] mod_sofia.c:97 sofia/default/27448734188@196.31.25.86 SOFIA INIT
  592. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/27448734188@196.31.25.86 Standard INIT
  593. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27448734188@196.31.25.86) State Change CS_INIT -> CS_ROUTING
  594. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.86) State INIT going to sleep
  595. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 393)
  596. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_channel.c:2380 (sofia/default/27448734188@196.31.25.86) Callstate Change DOWN -> RINGING
  597. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.86) State ROUTING
  598. 2023-07-12 16:13:44.364810 99.97% [DEBUG] mod_sofia.c:158 sofia/default/27448734188@196.31.25.86 SOFIA ROUTING
  599. 2023-07-12 16:13:44.364810 99.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/27448734188@196.31.25.86 Standard ROUTING
  600. 2023-07-12 16:13:44.364810 99.97% [INFO] mod_dialplan_xml.c:639 Processing +27448734188 <27448734188>->27876303987 in context default
  601. 2023-07-12 16:13:44.364810 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  602. 2023-07-12 16:13:44.384819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  603. 2023-07-12 16:13:44.384819 99.97% [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')
  604. 2023-07-12 16:13:44.384819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  605. 2023-07-12 16:13:44.404817 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876303987
  606. 2023-07-12 16:13:44.404817 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876303987' AND status=0 limit 1
  607. 2023-07-12 16:13:44.404817 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  608. 2023-07-12 16:13:44.404817 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  609. 2023-07-12 16:13:44.404817 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876303987' limit 1
  610. 2023-07-12 16:13:44.404817 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '335' and username = '27876303987' limit 1
  611. 2023-07-12 16:13:44.404817 99.97% [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
  612. 2023-07-12 16:13:44.424819 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  613. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+27448734188" / 27448734188
  614. 2023-07-12 16:13:44.424819 99.97% [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 ="27876303987" LIMIT 1
  615. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  616. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  617. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  618. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  619. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
  620. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  621. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303987" AND (accountid = 0 OR status = 1) LIMIT 1
  622. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  623. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 335
  624. 2023-07-12 16:13:44.424819 99.97% [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 = '^27876303987.*' 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 = 335 ORDER BY LENGTH(PKGPTR.patterns) DESC
  625. 2023-07-12 16:13:44.424819 99.97% [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 ="27876303987" AND A.accountid = '159' limit 1
  626. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876303987
  627. 2023-07-12 16:13:44.424819 99.97% [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 ="27876303987" LIMIT 1
  628. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  629. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  630. 2023-07-12 16:13:44.424819 99.97% [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 = '27876303987' 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 = '27876303987*' 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 = '27448734188' OR number = '2744873418' OR number = '274487341' OR number = '27448734' OR number = '2744873' OR number = '274487' OR number = '27448' OR number = '2744' OR number = '274' OR number = '27' OR number = '2' OR number ='--') OR (number = '27448734188*' OR number = '2744873418*' OR number = '274487341*' OR number = '27448734*' OR number = '2744873*' OR number = '274487*' OR number = '27448*' OR number = '2744*' OR number = '274*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  631. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 27448734188 : Type: 0 (0 for CLI, 1 for DST))
  632. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::****
  633. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : 0
  634. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  635. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 159
  636. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  637. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  638. <document type="freeswitch/xml">
  639. <section name="dialplan" description="ASTPP Dialplan">
  640. <context name="default">
  641. <extension name="27876303987">
  642. <condition field="destination_number" expression="27876303987">
  643. <action application="log" data="WARNING Accountcode . Dialed number (27876303987) is blocked for account!!"/>
  644. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>
  645. <action application="set" data="original_caller_id_name="+27448734188""/>
  646. <action application="set" data="original_caller_id_number="+27448734188""/>
  647. <action application="set" data="error_cdr=1"/>
  648. <action application="set" data="callstart=2023-07-12 14:13:44"/>
  649. <action application="set" data="account_id=159"/>
  650. <action application="set" data="parent_id=0"/>
  651. <action application="set" data="call_direction=inbound"/>
  652. <action application="set" data="calltype=DID"/>
  653. <action application="set" data="sip_ignore_remote_cause=true"/>
  654. <action application="set" data="call_processed=internal"/>
  655. <action application="set" data="effective_destination_number=27876303987"/>
  656. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
  657. <action application="hangup" data="DESTINATION_BLOCKED"/>
  658. </condition>
  659. </extension>
  660. </context>
  661. </section>
  662. </document>
  663. Dialplan: sofia/default/27448734188@196.31.25.86 parsing [default->27876303987] continue=false
  664. Dialplan: sofia/default/27448734188@196.31.25.86 Regex (PASS) [27876303987] destination_number(27876303987) =~ /27876303987/ break=on-false
  665. Dialplan: sofia/default/27448734188@196.31.25.86 Action log(WARNING Accountcode . Dialed number (27876303987) is blocked for account!!)
  666. Dialplan: sofia/default/27448734188@196.31.25.86 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  667. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(original_caller_id_name=)
  668. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(original_caller_id_number=)
  669. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(error_cdr=1)
  670. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(callstart=2023-07-12 14:13:44)
  671. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(account_id=159)
  672. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(parent_id=0)
  673. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(call_direction=inbound)
  674. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(calltype=DID)
  675. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(sip_ignore_remote_cause=true)
  676. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(call_processed=internal)
  677. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(effective_destination_number=27876303987)
  678. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  679. Dialplan: sofia/default/27448734188@196.31.25.86 Action hangup(DESTINATION_BLOCKED)
  680. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27448734188@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  681. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.86) State ROUTING going to sleep
  682. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 393)
  683. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.86) State EXECUTE
  684. 2023-07-12 16:13:44.424819 99.97% [DEBUG] mod_sofia.c:213 sofia/default/27448734188@196.31.25.86 SOFIA EXECUTE
  685. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/27448734188@196.31.25.86 Standard EXECUTE
  686. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 log(WARNING Accountcode . Dialed number (27876303987) is blocked for account!!)
  687. 2023-07-12 16:13:44.424819 99.97% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (27876303987) is blocked for account!!
  688. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27448734188@196.31.25.86
  689. 2023-07-12 16:13:44.424819 99.97% [INFO] switch_core_session.c:2797 Sending early media
  690. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27448734188@196.31.25.86] 102.220.232.19 port 25910 -> 196.31.25.86 port 28820 codec: 18 ms: 20
  691. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  692. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_media.c:9089 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf send payload to 101
  693. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_media.c:9096 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf receive payload to 101
  694. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_core_media.c:9119 sofia/default/27448734188@196.31.25.86 Set rtp dtmf delay to 40
  695. 2023-07-12 16:13:44.424819 99.97% [DEBUG] mod_sofia.c:2610 Ring SDP:
  696. v=0
  697. o=FreeSWITCH 1689145314 1689145315 IN IP4 102.220.232.19
  698. s=FreeSWITCH
  699. c=IN IP4 102.220.232.19
  700. t=0 0
  701. m=audio 25910 RTP/AVP 18 101
  702. a=rtpmap:18 G729/8000
  703. a=fmtp:18 annexb=no
  704. a=rtpmap:101 telephone-event/8000
  705. a=fmtp:101 0-15
  706. a=ptime:20
  707. a=sendrecv
  708.  
  709. 2023-07-12 16:13:44.424819 99.97% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27448734188@196.31.25.86!
  710. 2023-07-12 16:13:44.424819 99.97% [DEBUG] switch_channel.c:3622 (sofia/default/27448734188@196.31.25.86) Callstate Change RINGING -> EARLY
  711. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  712. 2023-07-12 16:13:44.444820 99.97% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 22050 doesn't match requested rate 8000
  713. 2023-07-12 16:13:44.444820 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  714. 2023-07-12 16:13:44.444820 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [early][183]
  715. 2023-07-12 16:13:44.644810 99.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  716. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
  717. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(original_caller_id_name=)
  718. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [original_caller_id_name]=[UNDEF]
  719. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(original_caller_id_number=)
  720. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [original_caller_id_number]=[UNDEF]
  721. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(error_cdr=1)
  722. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [error_cdr]=[1]
  723. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(callstart=2023-07-12 14:13:44)
  724. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [callstart]=[2023-07-12 14:13:44]
  725. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(account_id=159)
  726. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [account_id]=[159]
  727. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(parent_id=0)
  728. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [parent_id]=[0]
  729. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(call_direction=inbound)
  730. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [call_direction]=[inbound]
  731. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(calltype=DID)
  732. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [calltype]=[DID]
  733. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(sip_ignore_remote_cause=true)
  734. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [sip_ignore_remote_cause]=[true]
  735. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(call_processed=internal)
  736. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [call_processed]=[internal]
  737. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(effective_destination_number=27876303987)
  738. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [effective_destination_number]=[27876303987]
  739. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  740. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  741. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 hangup(DESTINATION_BLOCKED)
  742. 2023-07-12 16:13:46.444811 99.93% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27448734188@196.31.25.86 [CS_EXECUTE] [NORMAL_CLEARING]
  743. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_core_session.c:2983 sofia/default/27448734188@196.31.25.86 skip receive message [PHONE_EVENT] (channel is hungup already)
  744. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.86) State EXECUTE going to sleep
  745. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_HANGUP (Cur 1 Tot 393)
  746. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27448734188@196.31.25.86) Callstate Change EARLY -> HANGUP
  747. 2023-07-12 16:13:46.444811 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.86) State HANGUP
  748. 2023-07-12 16:13:46.444811 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/27448734188@196.31.25.86 hanging up, cause: NORMAL_CLEARING
  749. 2023-07-12 16:13:46.464814 99.93% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  750. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/27448734188@196.31.25.86 Standard HANGUP, cause: NORMAL_CLEARING
  751. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.86) State HANGUP going to sleep
  752. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27448734188@196.31.25.86) State Change CS_HANGUP -> CS_REPORTING
  753. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_REPORTING (Cur 1 Tot 393)
  754. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.86) State REPORTING
  755. 2023-07-12 16:13:46.464814 99.93% [INFO] mod_json_cdr.c:271 Process [02803c8b-9f86-4cb8-8b99-f608402e61d1.cdr.json]
  756. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/27448734188@196.31.25.86 Standard REPORTING, cause: NORMAL_CLEARING
  757. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.86) State REPORTING going to sleep
  758. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27448734188@196.31.25.86) State Change CS_REPORTING -> CS_DESTROY
  759. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_session.c:1753 Session 393 (sofia/default/27448734188@196.31.25.86) Locked, Waiting on external entities
  760. 2023-07-12 16:13:46.464814 99.93% [NOTICE] switch_core_session.c:1771 Session 393 (sofia/default/27448734188@196.31.25.86) Ended
  761. 2023-07-12 16:13:46.464814 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27448734188@196.31.25.86 [CS_DESTROY]
  762. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27448734188@196.31.25.86) Running State Change CS_DESTROY (Cur 0 Tot 393)
  763. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.86) State DESTROY
  764. 2023-07-12 16:13:46.464814 99.93% [DEBUG] mod_sofia.c:379 sofia/default/27448734188@196.31.25.86 SOFIA DESTROY
  765. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/27448734188@196.31.25.86 Standard DESTROY
  766. 2023-07-12 16:13:46.464814 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.86) State DESTROY going to sleep
  767. 2023-07-12 16:15:25.024812 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27448734188@196.31.25.86 [79c5953e-e2af-4bf3-9897-d541e07f17d2]
  768. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_NEW (Cur 1 Tot 394)
  769. 2023-07-12 16:15:25.024812 99.50% [INFO] sofia.c:10462 sofia/default/27448734188@196.31.25.86 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 615dca0e-9b61-123c-1aa1-b8ac6f871369
  770. 2023-07-12 16:15:25.024812 99.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  771. 2023-07-12 16:15:25.024812 99.50% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  772. 2023-07-12 16:15:25.024812 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [received][100]
  773. 2023-07-12 16:15:25.024812 99.50% [DEBUG] sofia.c:7509 Remote SDP:
  774. v=0
  775. o=FreeSWITCH 1689148282 1689148283 IN IP4 196.31.25.86
  776. s=FreeSWITCH
  777. c=IN IP4 196.31.25.86
  778. t=0 0
  779. m=audio 23040 RTP/AVP 18 8 0 9 101
  780. a=rtpmap:18 G729/8000
  781. a=rtpmap:8 PCMA/8000
  782. a=rtpmap:0 PCMU/8000
  783. a=rtpmap:9 G722/8000
  784. a=rtpmap:101 telephone-event/8000
  785. a=fmtp:101 0-16
  786. a=ptime:20
  787.  
  788. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  789. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  790. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  791. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  792. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  793. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  794. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  795. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  796. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  797. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  798. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  799. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  800. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  801. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  802. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  803. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  804. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27448734188@196.31.25.86 G729/8000 20 ms 160 samples 8000 bits 1 channels
  805. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_codec.c:111 sofia/default/27448734188@196.31.25.86 Original read codec set to G729:18
  806. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  807. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_media.c:5973 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf send payload to 101 recv payload to 101
  808. 2023-07-12 16:15:25.024812 99.50% [DEBUG] sofia.c:7933 (sofia/default/27448734188@196.31.25.86) State Change CS_NEW -> CS_INIT
  809. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27448734188@196.31.25.86) State NEW
  810. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_INIT (Cur 1 Tot 394)
  811. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.86) State INIT
  812. 2023-07-12 16:15:25.024812 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27448734188@196.31.25.86 SOFIA INIT
  813. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27448734188@196.31.25.86 Standard INIT
  814. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27448734188@196.31.25.86) State Change CS_INIT -> CS_ROUTING
  815. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27448734188@196.31.25.86) State INIT going to sleep
  816. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 394)
  817. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_channel.c:2380 (sofia/default/27448734188@196.31.25.86) Callstate Change DOWN -> RINGING
  818. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.86) State ROUTING
  819. 2023-07-12 16:15:25.024812 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27448734188@196.31.25.86 SOFIA ROUTING
  820. 2023-07-12 16:15:25.024812 99.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/27448734188@196.31.25.86 Standard ROUTING
  821. 2023-07-12 16:15:25.024812 99.50% [INFO] mod_dialplan_xml.c:639 Processing +27448734188 <27448734188>->27876303987 in context default
  822. 2023-07-12 16:15:25.044809 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  823. 2023-07-12 16:15:25.044809 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  824. 2023-07-12 16:15:25.044809 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')
  825. 2023-07-12 16:15:25.044809 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  826. 2023-07-12 16:15:25.064815 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876303987
  827. 2023-07-12 16:15:25.064815 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876303987' AND status=0 limit 1
  828. 2023-07-12 16:15:25.064815 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  829. 2023-07-12 16:15:25.064815 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  830. 2023-07-12 16:15:25.064815 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876303987' limit 1
  831. 2023-07-12 16:15:25.064815 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '335' and username = '27876303987' limit 1
  832. 2023-07-12 16:15:25.064815 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
  833. 2023-07-12 16:15:25.064815 99.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  834. 2023-07-12 16:15:25.064815 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+27448734188" / 27448734188
  835. 2023-07-12 16:15:25.064815 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 ="27876303987" LIMIT 1
  836. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  837. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  838. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  839. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  840. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
  841. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  842. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303987" AND (accountid = 0 OR status = 1) LIMIT 1
  843. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  844. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 335
  845. 2023-07-12 16:15:25.084807 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 = '^27876303987.*' 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 = 335 ORDER BY LENGTH(PKGPTR.patterns) DESC
  846. 2023-07-12 16:15:25.084807 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 ="27876303987" AND A.accountid = '159' limit 1
  847. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876303987
  848. 2023-07-12 16:15:25.084807 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 ="27876303987" LIMIT 1
  849. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  850. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  851. 2023-07-12 16:15:25.084807 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 = '27876303987' 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 = '27876303987*' 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 = '27448734188' OR number = '2744873418' OR number = '274487341' OR number = '27448734' OR number = '2744873' OR number = '274487' OR number = '27448' OR number = '2744' OR number = '274' OR number = '27' OR number = '2' OR number ='--') OR (number = '27448734188*' OR number = '2744873418*' OR number = '274487341*' OR number = '27448734*' OR number = '2744873*' OR number = '274487*' OR number = '27448*' OR number = '2744*' OR number = '274*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  852. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 27448734188 : Type: 0 (0 for CLI, 1 for DST))
  853. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::****
  854. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  855. 2023-07-12 16:15:25.084807 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 = '27876303987' 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
  856. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  857. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  858. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  859. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  860. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5
  861. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  862. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  863. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  864. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  865. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  866. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  867. 2023-07-12 16:15:25.084807 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 ="27876303987" LIMIT 1
  868. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  869. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  870. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  871. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 59
  872. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  873. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  874. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  875. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  876. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  877. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  878. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  879. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  880. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 159 !!!
  881. 2023-07-12 16:15:25.084807 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  882. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  883. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  884. 2023-07-12 16:15:25.084807 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  885. 2023-07-12 16:15:25.084807 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
  886. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "335" AND deleted = 0 limit 1
  887. 2023-07-12 16:15:25.084807 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =335
  888. 2023-07-12 16:15:25.104808 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  889. 2023-07-12 16:15:25.104808 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  890. 2023-07-12 16:15:25.104808 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  891. 2023-07-12 16:15:25.104808 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  892. 2023-07-12 16:15:25.104808 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
  893. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  894. 2023-07-12 16:15:25.104808 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  895. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  896. 2023-07-12 16:15:25.104808 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 = 335 or id = 335 ) and status = 0 limit 1
  897. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  898. 2023-07-12 16:15:25.104808 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="27876303987" limit 1
  899. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  900. <document type="freeswitch/xml">
  901. <section name="dialplan" description="ASTPP Dialplan">
  902. <context name="default">
  903. <extension name="27876303987">
  904. <condition field="destination_number" expression="27876303987">
  905. <action application="set" data="effective_destination_number=27876303987"/>
  906. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  907. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  908. <action application="set" data="notify_flag=0"/>
  909. <action application="set" data="notify_credit_limit=1.00000"/>
  910. <action application="set" data="type=3"/>
  911. <action application="set" data="callstart=2023-07-12 14:15:25"/>
  912. <action application="set" data="hangup_after_bridge=true"/>
  913. <action application="set" data="continue_on_fail=TRUE"/>
  914. <action application="set" data="account_id=159"/>
  915. <action application="set" data="parent_id=0"/>
  916. <action application="set" data="entity_id=3"/>
  917. <action application="set" data="call_processed=internal"/>
  918. <action application="set" data="call_direction=inbound"/>
  919. <action application="set" data="accountname=default"/>
  920. <action application="export" data="t38_passthru=true"/>
  921. <action application="set" data="fax_enable_t38=true"/>
  922. <action application="set" data="fax_enable_t38_request=true"/>
  923. <action application="set" data="filename1=astpp.pbx.lua"/>
  924. <action application="set" data="origination_rates_did=ID:59|CODE:^27876303987.*|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:335"/>
  925. <action application="set" data="origination_rates=0"/>
  926. <action application="set" data="original_caller_id_name="+27448734188""/>
  927. <action application="set" data="original_caller_id_number=27448734188"/>
  928. <action application="limit" data="db 3786491283 user_3786491283 10 "/>
  929. <action application="export" data="is_recording=1"/>
  930. <action application="export" data="media_bug_answer_req=true"/>
  931. <action application="export" data="record_sample_rate=8000"/>
  932. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_335.wav"/>
  933. <action application="set" data="effective_caller_id_name="+27448734188""/>
  934. <action application="set" data="effective_caller_id_number=27448734188"/>
  935. <action application="set" data="receiver_accid=335"/>
  936. <action application="export" data="domain_name="/>
  937. <action application="export" data="sip_to_host="/>
  938. <action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>
  939. <action application="export" data="call_type=0"/>
  940. <action application="set" data="calltype=DID-LOCAL"/>
  941. <action application="set" data="daily_call_credit_limit=1.00000"/>
  942. <action application="set" data="monthly_call_credit_limit=5.00000"/>
  943. <action application="set" data="daily_call_used_limit=0.00000"/>
  944. <action application="set" data="monthly_call_used_limit=0.00000"/>
  945. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060"/>
  946. <condition field="${cond(${user_data 27876303987@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  947. <action application="answer"/>
  948. <action application="export" data="voicemail_alternate_greet_id=27876303987"/>
  949. <action application="voicemail" data="default $${domain_name} 27876303987"/>
  950. <anti-action application="hangup" data="${originate_disposition}"/>
  951. </condition>
  952. <action application="set" data="did_id=59"/>
  953. <action application="set" data="destination_number=27876303987"/>
  954. <action application="set" data="leg_timeout=10"/>
  955. <action application="set" data="call_type_vm_flag=1"/>
  956. <action application="set" data="is_local_extension=1"/>
  957. <action application="lua" data="did_call_forwarding.lua"/>
  958. </condition>
  959. </extension>
  960. </context>
  961. </section>
  962. </document>
  963. Dialplan: sofia/default/27448734188@196.31.25.86 parsing [default->27876303987] continue=false
  964. Dialplan: sofia/default/27448734188@196.31.25.86 Regex (PASS) [27876303987] destination_number(27876303987) =~ /27876303987/ break=on-false
  965. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(effective_destination_number=27876303987)
  966. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  967. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  968. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(notify_flag=0)
  969. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(notify_credit_limit=1.00000)
  970. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(type=3)
  971. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(callstart=2023-07-12 14:15:25)
  972. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(hangup_after_bridge=true)
  973. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(continue_on_fail=TRUE)
  974. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(account_id=159)
  975. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(parent_id=0)
  976. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(entity_id=3)
  977. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(call_processed=internal)
  978. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(call_direction=inbound)
  979. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(accountname=default)
  980. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(t38_passthru=true)
  981. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(fax_enable_t38=true)
  982. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(fax_enable_t38_request=true)
  983. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(filename1=astpp.pbx.lua)
  984. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(origination_rates_did=ID:59|CODE:^27876303987.*|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:335)
  985. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(origination_rates=0)
  986. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(original_caller_id_name=)
  987. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(original_caller_id_number=27448734188)
  988. Dialplan: sofia/default/27448734188@196.31.25.86 Action limit(db 3786491283 user_3786491283 10 )
  989. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(is_recording=1)
  990. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(media_bug_answer_req=true)
  991. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(record_sample_rate=8000)
  992. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_335.wav)
  993. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(effective_caller_id_name=)
  994. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(effective_caller_id_number=27448734188)
  995. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(receiver_accid=335)
  996. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(domain_name=)
  997. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(sip_to_host=)
  998. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  999. Dialplan: sofia/default/27448734188@196.31.25.86 Action export(call_type=0)
  1000. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(calltype=DID-LOCAL)
  1001. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(daily_call_credit_limit=1.00000)
  1002. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(monthly_call_credit_limit=5.00000)
  1003. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(daily_call_used_limit=0.00000)
  1004. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(monthly_call_used_limit=0.00000)
  1005. Dialplan: sofia/default/27448734188@196.31.25.86 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  1006. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(did_id=59)
  1007. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(destination_number=27876303987)
  1008. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(leg_timeout=10)
  1009. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(call_type_vm_flag=1)
  1010. Dialplan: sofia/default/27448734188@196.31.25.86 Action set(is_local_extension=1)
  1011. Dialplan: sofia/default/27448734188@196.31.25.86 Action lua(did_call_forwarding.lua)
  1012. |--- Dialplan: Processing recursive conditions level:1 [27876303987_recur_1] require-nested=TRUE
  1013. |--- Dialplan: sofia/default/27448734188@196.31.25.86 Regex (FAIL) [27876303987_recur_1] ${cond(${user_data 27876303987@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  1014. |--- Dialplan: sofia/default/27448734188@196.31.25.86 ANTI-Action hangup(${originate_disposition})
  1015. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27448734188@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  1016. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27448734188@196.31.25.86) State ROUTING going to sleep
  1017. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 394)
  1018. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.86) State EXECUTE
  1019. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_sofia.c:213 sofia/default/27448734188@196.31.25.86 SOFIA EXECUTE
  1020. 2023-07-12 16:15:25.104808 99.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/27448734188@196.31.25.86 Standard EXECUTE
  1021. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(effective_destination_number=27876303987)
  1022. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [effective_destination_number]=[27876303987]
  1023. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(bridge_pre_execute_bleg_app=sched_hangup)
  1024. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1025. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1026. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1027. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(notify_flag=0)
  1028. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [notify_flag]=[0]
  1029. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(notify_credit_limit=1.00000)
  1030. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [notify_credit_limit]=[1.00000]
  1031. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(type=3)
  1032. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [type]=[3]
  1033. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(callstart=2023-07-12 14:15:25)
  1034. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [callstart]=[2023-07-12 14:15:25]
  1035. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(hangup_after_bridge=true)
  1036. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [hangup_after_bridge]=[true]
  1037. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(continue_on_fail=TRUE)
  1038. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [continue_on_fail]=[TRUE]
  1039. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(account_id=159)
  1040. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [account_id]=[159]
  1041. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(parent_id=0)
  1042. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [parent_id]=[0]
  1043. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(entity_id=3)
  1044. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [entity_id]=[3]
  1045. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(call_processed=internal)
  1046. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [call_processed]=[internal]
  1047. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(call_direction=inbound)
  1048. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [call_direction]=[inbound]
  1049. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(accountname=default)
  1050. 2023-07-12 16:15:25.104808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [accountname]=[default]
  1051. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(t38_passthru=true)
  1052. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  1053. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(fax_enable_t38=true)
  1054. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [fax_enable_t38]=[true]
  1055. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(fax_enable_t38_request=true)
  1056. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [fax_enable_t38_request]=[true]
  1057. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(filename1=astpp.pbx.lua)
  1058. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [filename1]=[astpp.pbx.lua]
  1059. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(origination_rates_did=ID:59|CODE:^27876303987.*|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:335)
  1060. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [origination_rates_did]=[ID:59|CODE:^27876303987.*|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:335]
  1061. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(origination_rates=0)
  1062. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [origination_rates]=[0]
  1063. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(original_caller_id_name=)
  1064. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [original_caller_id_name]=[UNDEF]
  1065. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(original_caller_id_number=27448734188)
  1066. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [original_caller_id_number]=[27448734188]
  1067. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 limit(db 3786491283 user_3786491283 10 )
  1068. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  1069. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  1070. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(is_recording=1)
  1071. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  1072. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(media_bug_answer_req=true)
  1073. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  1074. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(record_sample_rate=8000)
  1075. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  1076. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav)
  1077. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav]
  1078. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(effective_caller_id_name=)
  1079. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [effective_caller_id_name]=[UNDEF]
  1080. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(effective_caller_id_number=27448734188)
  1081. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [effective_caller_id_number]=[27448734188]
  1082. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(receiver_accid=335)
  1083. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [receiver_accid]=[335]
  1084. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(domain_name=)
  1085. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  1086. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(sip_to_host=)
  1087. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  1088. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(presence_data=x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  1089. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91]
  1090. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 export(call_type=0)
  1091. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  1092. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(calltype=DID-LOCAL)
  1093. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [calltype]=[DID-LOCAL]
  1094. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(daily_call_credit_limit=1.00000)
  1095. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [daily_call_credit_limit]=[1.00000]
  1096. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(monthly_call_credit_limit=5.00000)
  1097. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [monthly_call_credit_limit]=[5.00000]
  1098. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(daily_call_used_limit=0.00000)
  1099. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [daily_call_used_limit]=[0.00000]
  1100. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 set(monthly_call_used_limit=0.00000)
  1101. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27448734188@196.31.25.86 [monthly_call_used_limit]=[0.00000]
  1102. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)
  1103. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1104. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [is_recording]=[1] to event
  1105. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  1106. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  1107. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav] to event
  1108. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^27876303987.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91] to event
  1109. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27448734188@196.31.25.86 EXPORTING[export_vars] [call_type]=[0] to event
  1110. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1111. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1112. 2023-07-12 16:15:25.124808 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [11101d59-3af3-49e9-9418-573e4ccecc04]
  1113. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_sofia.c:5121 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  1114. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_ivr_originate.c:3151 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Setting leg timeout to 10
  1115. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 395)
  1116. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State INIT
  1117. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  1118. 2023-07-12 16:15:25.124808 99.50% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100:5060 Setting proxy route to sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  1119. 2023-07-12 16:15:25.124808 99.50% [INFO] sofia_glue.c:1651 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  1120. 2023-07-12 16:15:25.124808 99.50% [DEBUG] sofia_glue.c:1654 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  1121. Local SDP:
  1122. v=0
  1123. o=FreeSWITCH 1689142815 1689142816 IN IP4 102.220.232.19
  1124. s=FreeSWITCH
  1125. c=IN IP4 102.220.232.19
  1126. t=0 0
  1127. m=audio 28510 RTP/AVP 18 101
  1128. a=rtpmap:18 G729/8000
  1129. a=fmtp:18 annexb=no
  1130. a=rtpmap:101 telephone-event/8000
  1131. a=fmtp:101 0-15
  1132. a=ptime:20
  1133. a=sendrecv
  1134.  
  1135. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard INIT
  1136. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  1137. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  1138. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 395)
  1139. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State ROUTING
  1140. 2023-07-12 16:15:25.124808 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  1141. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1142. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  1143. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 395)
  1144. 2023-07-12 16:15:25.124808 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  1145. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  1146. 2023-07-12 16:15:25.124808 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  1147. 2023-07-12 16:15:25.164809 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  1148. 2023-07-12 16:15:25.164809 99.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za!
  1149. 2023-07-12 16:15:25.164809 99.50% [DEBUG] switch_channel.c:3494 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  1150. 2023-07-12 16:15:25.184811 99.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27448734188@196.31.25.86!
  1151. 2023-07-12 16:15:25.184811 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [early][180]
  1152. 2023-07-12 16:15:25.184811 99.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27448734188@196.31.25.86!
  1153. 2023-07-12 16:15:28.104810 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [completing][200]
  1154. 2023-07-12 16:15:28.104810 99.47% [DEBUG] sofia.c:7509 Remote SDP:
  1155. v=0
  1156. o=27876303987 8001 8000 IN IP4 102.220.234.128
  1157. s=SIP Call
  1158. c=IN IP4 102.220.234.128
  1159. t=0 0
  1160. m=audio 5008 RTP/AVP 18 101
  1161. a=rtpmap:18 G729/8000
  1162. a=fmtp:18 annexb=no
  1163. a=rtpmap:101 telephone-event/8000
  1164. a=fmtp:101 0-15
  1165. a=ptime:20
  1166. a=oldoip:192.168.5.246
  1167. a=oldcip:192.168.5.246
  1168.  
  1169. 2023-07-12 16:15:28.104810 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  1170. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1171. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1172. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1173. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  1174. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_codec.c:111 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Original read codec set to G729:18
  1175. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1176. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:5973 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1177. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 28510 -> 102.220.234.128 port 5008 codec: 18 ms: 20
  1178. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1179. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9089 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
  1180. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9096 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
  1181. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9119 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
  1182. 2023-07-12 16:15:28.104810 99.47% [NOTICE] sofia.c:8683 Channel [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] has been answered
  1183. EXECUTE [depth=1] sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav)
  1184. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27448734188@196.31.25.86] 102.220.232.19 port 28354 -> 196.31.25.86 port 23040 codec: 18 ms: 20
  1185. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1186. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9089 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf send payload to 101
  1187. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9096 sofia/default/27448734188@196.31.25.86 Set 2833 dtmf receive payload to 101
  1188. 2023-07-12 16:15:28.104810 99.47% [DEBUG] switch_core_media.c:9119 sofia/default/27448734188@196.31.25.86 Set rtp dtmf delay to 40
  1189. 2023-07-12 16:15:28.104810 99.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27448734188@196.31.25.86:
  1190. v=0
  1191. o=FreeSWITCH 1689142974 1689142975 IN IP4 102.220.232.19
  1192. s=FreeSWITCH
  1193. c=IN IP4 102.220.232.19
  1194. t=0 0
  1195. m=audio 28354 RTP/AVP 18 101
  1196. a=rtpmap:18 G729/8000
  1197. a=fmtp:18 annexb=no
  1198. a=rtpmap:101 telephone-event/8000
  1199. a=fmtp:101 0-15
  1200. a=ptime:20
  1201. a=sendrecv
  1202.  
  1203. 2023-07-12 16:15:28.104810 99.47% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27448734188@196.31.25.86] has been answered
  1204. 2023-07-12 16:15:28.104810 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [completed][200]
  1205. EXECUTE [depth=0] sofia/default/27448734188@196.31.25.86 record_session(/usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav)
  1206. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  1207. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  1208. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_channel.c:3950 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> ACTIVE
  1209. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  1210. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27448734188@196.31.25.86
  1211. 2023-07-12 16:15:28.124809 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27448734188@196.31.25.86 entering state [ready][200]
  1212. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_channel.c:3950 (sofia/default/27448734188@196.31.25.86) Callstate Change RINGING -> ACTIVE
  1213. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za] Peer UUID: 11101d59-3af3-49e9-9418-573e4ccecc04
  1214. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1215. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 395)
  1216. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA
  1217. 2023-07-12 16:15:28.124809 99.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1218. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1219. 2023-07-12 16:15:28.124809 99.47% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1220. 2023-07-12 16:15:28.144809 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  1221. 2023-07-12 16:15:28.184811 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1222. 2023-07-12 16:15:28.184811 99.47% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  1223. 2023-07-12 16:15:28.284810 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1224. 2023-07-12 16:15:28.284810 99.47% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  1225. 2023-07-12 16:15:28.304806 99.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  1226. 2023-07-12 16:15:28.324806 99.47% [DEBUG] switch_ivr.c:632 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1227. EXECUTE [depth=0] sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za sched_hangup(+6000 normal_clearing)
  1228. 2023-07-12 16:15:28.324806 99.47% [DEBUG] switch_scheduler.c:263 Added task 44 switch_ivr_schedule_hangup (11101d59-3af3-49e9-9418-573e4ccecc04) to run at 1689177328
  1229. 2023-07-12 16:15:29.104812 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  1230. 2023-07-12 16:15:29.104812 99.47% [DEBUG] sofia.c:7509 Remote SDP:
  1231. v=0
  1232. o=27876303987 8001 8001 IN IP4 102.220.234.128
  1233. s=SIP Call
  1234. c=IN IP4 102.220.234.128
  1235. t=0 0
  1236. m=audio 5008 RTP/AVP 18 101
  1237. a=rtpmap:18 G729/8000
  1238. a=fmtp:18 annexb=no
  1239. a=rtpmap:101 telephone-event/8000
  1240. a=fmtp:101 0-15
  1241. a=ptime:20
  1242. a=oldoip:192.168.5.246
  1243. a=oldcip:192.168.5.246
  1244.  
  1245. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1246. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1247. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1248. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1249. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1250. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1251. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:5973 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1252. 2023-07-12 16:15:29.104812 99.47% [DEBUG] sofia.c:8524 Processing updated SDP
  1253. 2023-07-12 16:15:29.104812 99.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za.
  1254. 2023-07-12 16:15:31.184818 99.47% [NOTICE] sofia.c:1065 Hangup sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1255. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za]
  1256. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State EXCHANGE_MEDIA going to sleep
  1257. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 395)
  1258. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav
  1259. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  1260. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za
  1261. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
  1262. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State HANGUP
  1263. 2023-07-12 16:15:31.184818 99.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
  1264. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
  1265. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  1266. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  1267. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 395)
  1268. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State REPORTING
  1269. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za ending bridge by request from write function
  1270. 2023-07-12 16:15:31.184818 99.47% [INFO] mod_json_cdr.c:271 Process [11101d59-3af3-49e9-9418-573e4ccecc04.cdr.json]
  1271. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27448734188@196.31.25.86]
  1272. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  1273. 2023-07-12 16:15:31.184818 99.47% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27448734188@196.31.25.86 [CS_EXECUTE] [NORMAL_CLEARING]
  1274. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_session.c:2983 sofia/default/27448734188@196.31.25.86 skip receive message [PHONE_EVENT] (channel is hungup already)
  1275. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27448734188@196.31.25.86) State EXECUTE going to sleep
  1276. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_HANGUP (Cur 2 Tot 395)
  1277. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/79c5953e-e2af-4bf3-9897-d541e07f17d2DID-LOCAL_335.wav
  1278. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  1279. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27448734188@196.31.25.86
  1280. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27448734188@196.31.25.86) Callstate Change ACTIVE -> HANGUP
  1281. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.86) State HANGUP
  1282. 2023-07-12 16:15:31.184818 99.47% [DEBUG] mod_sofia.c:462 sofia/default/27448734188@196.31.25.86 Overriding SIP cause 480 with 200 from the other leg
  1283. 2023-07-12 16:15:31.184818 99.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/27448734188@196.31.25.86 hanging up, cause: NORMAL_CLEARING
  1284. 2023-07-12 16:15:31.184818 99.47% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27448734188@196.31.25.86
  1285. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/27448734188@196.31.25.86 Standard HANGUP, cause: NORMAL_CLEARING
  1286. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27448734188@196.31.25.86) State HANGUP going to sleep
  1287. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27448734188@196.31.25.86) State Change CS_HANGUP -> CS_REPORTING
  1288. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27448734188@196.31.25.86) Running State Change CS_REPORTING (Cur 2 Tot 395)
  1289. 2023-07-12 16:15:31.184818 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.86) State REPORTING
  1290. 2023-07-12 16:15:31.184818 99.47% [INFO] mod_json_cdr.c:271 Process [79c5953e-e2af-4bf3-9897-d541e07f17d2.cdr.json]
  1291. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
  1292. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  1293. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  1294. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_session.c:1753 Session 395 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  1295. 2023-07-12 16:15:31.204808 99.47% [NOTICE] switch_core_session.c:1771 Session 395 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Ended
  1296. 2023-07-12 16:15:31.204808 99.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  1297. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 1 Tot 395)
  1298. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State DESTROY
  1299. 2023-07-12 16:15:31.204808 99.47% [DEBUG] mod_sofia.c:379 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  1300. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  1301. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303987@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  1302. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/27448734188@196.31.25.86 Standard REPORTING, cause: NORMAL_CLEARING
  1303. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27448734188@196.31.25.86) State REPORTING going to sleep
  1304. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27448734188@196.31.25.86) State Change CS_REPORTING -> CS_DESTROY
  1305. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_session.c:1753 Session 394 (sofia/default/27448734188@196.31.25.86) Locked, Waiting on external entities
  1306. 2023-07-12 16:15:31.204808 99.47% [NOTICE] switch_core_session.c:1771 Session 394 (sofia/default/27448734188@196.31.25.86) Ended
  1307. 2023-07-12 16:15:31.204808 99.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27448734188@196.31.25.86 [CS_DESTROY]
  1308. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27448734188@196.31.25.86) Running State Change CS_DESTROY (Cur 0 Tot 395)
  1309. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.86) State DESTROY
  1310. 2023-07-12 16:15:31.204808 99.47% [DEBUG] mod_sofia.c:379 sofia/default/27448734188@196.31.25.86 SOFIA DESTROY
  1311. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/27448734188@196.31.25.86 Standard DESTROY
  1312. 2023-07-12 16:15:31.204808 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27448734188@196.31.25.86) State DESTROY going to sleep
  1313. 2023-07-12 16:15:31.324810 99.47% [DEBUG] switch_scheduler.c:147 Deleting task 44 switch_ivr_schedule_hangup (11101d59-3af3-49e9-9418-573e4ccecc04)