From Colossal Pheasant, 1 Month ago, written in Lua.
- go back
Embed
Viewing differences between and OUTBOUND CALL
  1. 2024-10-02 11:46:38.731464 99.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8504190660@hugetnstest.huge.net.za [15a7b39f-7f3b-4282-b47c-7eb5436dfb72]
  2. 2024-10-02 11:46:38.731464 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_NEW (Cur 1 Tot 12)
  3. 2024-10-02 11:46:38.731464 99.57% [INFO] sofia.c:10459 sofia/default/8504190660@hugetnstest.huge.net.za receiving invite from 103.240.35.46:65498 version: 1.10.10-release  64bit call-id: P8zqspTqXcU7f7ZRuLiMoQ..
  4. 2024-10-02 11:46:38.731464 99.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2024-10-02 11:46:38.731464 99.57% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [0839632119@hugetnstest.huge.net.za] from ip 103.240.35.46
  6. 2024-10-02 11:46:38.731464 99.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8504190660@hugetnstest.huge.net.za) State NEW
  7. 2024-10-02 11:46:38.731464 99.57% [DEBUG] sofia.c:2419 detaching session 15a7b39f-7f3b-4282-b47c-7eb5436dfb72
  8. 2024-10-02 11:46:39.431463 99.57% [DEBUG] sofia.c:2532 Re-attaching to session 15a7b39f-7f3b-4282-b47c-7eb5436dfb72
  9. 2024-10-02 11:46:39.451496 99.57% [INFO] sofia.c:10459 sofia/default/8504190660@hugetnstest.huge.net.za receiving invite from 103.240.35.46:65498 version: 1.10.10-release  64bit call-id: P8zqspTqXcU7f7ZRuLiMoQ..
  10. 2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:11674 Setting NAT mode based on via port
  12. 2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7493 Channel sofia/default/8504190660@hugetnstest.huge.net.za entering state [received][100]
  13. 2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:97 iLBC/8000
  22. a=fmtp:97 mode=30
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-16
  25.  
  26. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  39. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8504190660@hugetnstest.huge.net.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_codec.c:111 sofia/default/8504190660@hugetnstest.huge.net.za Original read codec set to PCMA:8
  41. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  42. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5856 sofia/default/8504190660@hugetnstest.huge.net.za Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7927 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_NEW -> CS_INIT
  44. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_INIT (Cur 1 Tot 12)
  45. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8504190660@hugetnstest.huge.net.za) State INIT
  46. 2024-10-02 11:46:39.451496 99.57% [DEBUG] mod_sofia.c:97 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA INIT
  47. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/8504190660@hugetnstest.huge.net.za Standard INIT
  48. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_INIT -> CS_ROUTING
  49. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8504190660@hugetnstest.huge.net.za) State INIT going to sleep
  50. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_ROUTING (Cur 1 Tot 12)
  51. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_channel.c:2399 (sofia/default/8504190660@hugetnstest.huge.net.za) Callstate Change DOWN -> RINGING
  52. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8504190660@hugetnstest.huge.net.za) State ROUTING
  53. 2024-10-02 11:46:39.451496 99.57% [DEBUG] mod_sofia.c:158 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA ROUTING
  54. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/8504190660@hugetnstest.huge.net.za Standard ROUTING
  55. 2024-10-02 11:46:39.451496 99.57% [INFO] mod_dialplan_xml.c:639 Processing 8504190660 <8504190660>->0839632119 in context default
  56. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2024-10-02 11:46:39.451496 99.57% [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. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0839632119
  62. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0839632119' limit 1
  63. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0839632119' AND status=0 limit 1
  64. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0839632119' and status=0 LIMIT 1
  65. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8504190660
  66. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'hugetnstest.huge.net.za' limit 1
  68. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '1765' and username = '0839632119' limit 1
  69. 2024-10-02 11:46:39.451496 99.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  70. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27871616258 / 27871616258
  71. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2119
  72. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 083963 AND status=0 limit 1
  73. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
  74. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  75. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
  76. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  77. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  78. 2024-10-02 11:46:39.451496 99.57% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27839632119" LIMIT 1
  79. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0839632119"  AND domains.domain="hugetnstest.huge.net.za" limit 1
  81. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  82. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8504190660]
  83. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0839632119
  84. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8504190660" OR id = "8504190660") AND deleted = 0 limit 1
  85. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0839632119.*' OR blocked_patterns = '^083963211.*' OR blocked_patterns = '^08396321.*' OR blocked_patterns = '^0839632.*' OR blocked_patterns = '^083963.*' OR blocked_patterns = '^08396.*' OR blocked_patterns = '^0839.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1765 limit 1
  86. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 3
  87. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  88. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
  89. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  90. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  91. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27839632119" AND (accountid = 0 OR status = 1) LIMIT 1
  92. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
  93. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  94. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
  95. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
  96. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
  97. 2024-10-02 11:46:39.451496 99.57% [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 = '^0839632119.*' OR patterns = '^083963211.*' OR patterns = '^08396321.*' OR patterns = '^0839632.*' OR patterns = '^083963.*' OR patterns = '^08396.*' OR patterns = '^0839.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 1765 ORDER BY LENGTH(PKGPTR.patterns) DESC
  98. 2024-10-02 11:46:39.451496 99.57% [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 ="0839632119" AND A.accountid = '1765' limit 1
  99. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0839632119
  100. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
  101. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  102. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
  103. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  104. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  105. 2024-10-02 11:46:39.451496 99.57% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27839632119" LIMIT 1
  106. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  107. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0839632119"  AND domains.domain="hugetnstest.huge.net.za" limit 1
  108. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  109. 2024-10-02 11:46:39.451496 99.57% [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 = '0839632119' OR number = '083963211' OR number = '08396321' OR number = '0839632' OR number = '083963' OR number = '08396' OR number = '0839' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0839632119*' OR number = '083963211*' OR number = '08396321*' OR number = '0839632*' OR number = '083963*' OR number = '08396*' OR number = '0839*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27871616258' OR number = '2787161625' OR number = '278716162' OR number = '27871616' OR number = '2787161' OR number = '278716' OR number = '27871' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27871616258*' OR number = '2787161625*' OR number = '278716162*' OR number = '27871616*' OR number = '2787161*' OR number = '278716*' OR number = '27871*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  110. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  111. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0839632119' OR routing_prefix = '083963211' OR routing_prefix = '08396321' OR routing_prefix = '0839632' OR routing_prefix = '083963' OR routing_prefix = '08396' OR routing_prefix = '0839' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 1764 limit 1
  112. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  113. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1765
  114. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8504190660
  115. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 493.7584
  116. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  117. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 300
  118. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  119. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  120. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 300 AND status = 0
  121. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  122. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 300 AND status = 0
  123. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^27871616258.*' OR caller_id_pattern = '^2787161625.*' OR caller_id_pattern = '^278716162.*' OR caller_id_pattern = '^27871616.*' OR caller_id_pattern = '^2787161.*' OR caller_id_pattern = '^278716.*' OR caller_id_pattern = '^27871.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 300 OR accountid=1765)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  124. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  125. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  126. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10272567
  127. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  128. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  129. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.4900000000
  130. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : D083 - MTN Business Solutions (Pty) Ltd
  131. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  132. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1765
  133. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  134. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  135. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  136. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your493.7584 balance Accountid 1765 !!!
  137. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 420 mins!
  138. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 1764
  139. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "1764" OR number = "1764") AND deleted = 0 limit 1
  140. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0839632119.*' OR blocked_patterns = '^083963211.*' OR blocked_patterns = '^08396321.*' OR blocked_patterns = '^0839632.*' OR blocked_patterns = '^083963.*' OR blocked_patterns = '^08396.*' OR blocked_patterns = '^0839.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1764 limit 1
  141. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  142. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1764
  143. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8390638295
  144. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 34994.2412
  145. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  146. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 190
  147. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
  148. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  149. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
  150. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^27871616258.*' OR caller_id_pattern = '^2787161625.*' OR caller_id_pattern = '^278716162.*' OR caller_id_pattern = '^27871616.*' OR caller_id_pattern = '^2787161.*' OR caller_id_pattern = '^278716.*' OR caller_id_pattern = '^27871.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 190 OR accountid=1764)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  151. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  152. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  153. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8282624
  154. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  155. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  156. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1400000000
  157. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : D083-MTN
  158. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  159. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1764
  160. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  161. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  162. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  163. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your34994.2412 balance Accountid 1764 !!!
  164. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 420 mins!
  165. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  166. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764
  167. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  168. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  169. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 420 minutes
  170. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  171. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=190 ORDER by id asc
  172. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (2,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  173. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  174. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  175. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0.*
  176. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : South Africa
  177. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  178. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  179. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0.*
  180. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
  181. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 27
  182. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 2
  183. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Kensington_31
  184. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  185. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  186. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1157
  187. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 5000
  188. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  189. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  190. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  191. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0.*
  192. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : South Africa
  193. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  194. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  195. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0.*
  196. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
  197. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 27
  198. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  199. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Kensington_10
  200. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  201. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  202. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1157
  203. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 5000
  204. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  205. 2024-10-02 11:46:39.451496 99.57% [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 = 1765 AND status=0 LIMIT 1
  206. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 420
  207. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '8504190660' and status = 0 limit 1
  208. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  209. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  210. 2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  211. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
  212. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 1157) AND status=0 limit 1
  213. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 2) AND status=0 limit 1
  214. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/27.....0839632119
  215. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  216. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  217. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
  218. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  219. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
  220. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  221. 2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  222. 2024-10-02 11:46:39.451496 99.57% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27839632119" LIMIT 1
  223. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  224. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
  225. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 1157) AND status=0 limit 1
  226. 2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
  227. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/27.....0839632119
  228. 2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  229. 2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  230. 2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
  231. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  232. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
  233. 2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
  234. 2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
  235. 2024-10-02 11:46:39.491455 99.57% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27839632119" LIMIT 1
  236. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  237. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  238. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  239. <document type="freeswitch/xml">
  240. <section name="dialplan" description="ASTPP Dialplan">
  241. <context name="default">
  242. <extension name="0839632119">
  243. <condition field="destination_number" expression="0839632119">
  244. <action application="set" data="effective_destination_number=0839632119"/>
  245. <action application="set" data="execute_on_answer_1=sched_hangup +25200 normal_clearing"/>
  246. <action application="set" data="notify_flag=0"/>
  247. <action application="set" data="notify_credit_limit=5.00000"/>
  248. <action application="set" data="type=0"/>
  249. <action application="set" data="callstart=2024-10-02 11:46:39"/>
  250. <action application="set" data="hangup_after_bridge=true"/>
  251. <action application="set" data="continue_on_fail=TRUE"/>
  252. <action application="set" data="account_id=1765"/>
  253. <action application="set" data="parent_id=1764"/>
  254. <action application="set" data="entity_id=0"/>
  255. <action application="set" data="call_processed=internal"/>
  256. <action application="set" data="call_direction=outbound"/>
  257. <action application="set" data="accountname=default"/>
  258. <action application="set" data="filename1=astpp.pbx.lua"/>
  259. <action application="set" data="origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764"/>
  260. <action application="set" data="original_caller_id_name=27871616258"/>
  261. <action application="set" data="original_caller_id_number=27871616258"/>
  262. <action application="limit" data="db 8504190660 user_8504190660 5 "/>
  263. <action application="limit" data="db 8390638295 user_8390638295 500 "/>
  264. <action application="set" data="effective_caller_id_name=27871616258"/>
  265. <action application="set" data="effective_caller_id_number=27871616258"/>
  266. <action application="set" data="calltype=STANDARD"/>
  267. <action application="set" data="termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157"/>
  268. <action application="set" data="trunk_id=2"/>
  269. <action application="set" data="provider_id=1157"/>
  270. <action application="set" data="rate_flag=0"/>
  271. <action application="set" data="daily_call_credit_limit=0.00000"/>
  272. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  273. <action application="set" data="daily_call_used_limit=0.00000"/>
  274. <action application="set" data="monthly_call_used_limit=0.00000"/>
  275. <action application="set" data="quality_trunk_seq=2,3"/>
  276. <action application="set" data="force_trunk_flag=0"/>
  277. <action application="export" data="presence_data=trunk_id=2"/>
  278. <action application="set" data="intcall=0"/>
  279. <action application="export" data="presence_id=0839632119"/>
  280. <action application="export" data="presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN"/>
  281. <action application="limit_execute" data="db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119"/>
  282. <action application="set" data="effective_caller_id_name=27871616258"/>
  283. <action application="set" data="effective_caller_id_number=27871616258"/>
  284. <action application="set" data="calltype=STANDARD"/>
  285. <action application="set" data="termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157"/>
  286. <action application="set" data="trunk_id=3"/>
  287. <action application="set" data="provider_id=1157"/>
  288. <action application="set" data="rate_flag=0"/>
  289. <action application="set" data="daily_call_credit_limit=0.00000"/>
  290. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  291. <action application="set" data="daily_call_used_limit=0.00000"/>
  292. <action application="set" data="monthly_call_used_limit=0.00000"/>
  293. <action application="set" data="quality_trunk_seq=2,3"/>
  294. <action application="set" data="force_trunk_flag=0"/>
  295. <action application="export" data="presence_data=trunk_id=3"/>
  296. <action application="set" data="intcall=0"/>
  297. <action application="export" data="presence_id=0839632119"/>
  298. <action application="export" data="presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN"/>
  299. <action application="limit" data="hash CPS_3 CPS_trunk_3 10/1 "/>
  300. <action application="limit_execute" data="db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119"/>
  301. </condition>
  302. </extension>
  303. </context>
  304. </section>
  305. </document>
  306. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za parsing [default->0839632119] continue=false
  307. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Regex (PASS) [0839632119] destination_number(0839632119) =~ /0839632119/ break=on-false
  308. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_destination_number=0839632119)
  309. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(execute_on_answer_1=sched_hangup +25200 normal_clearing)
  310. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(notify_flag=0)
  311. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(notify_credit_limit=5.00000)
  312. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(type=0)
  313. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(callstart=2024-10-02 11:46:39)
  314. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(hangup_after_bridge=true)
  315. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(continue_on_fail=TRUE)
  316. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(account_id=1765)
  317. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(parent_id=1764)
  318. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(entity_id=0)
  319. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(call_processed=internal)
  320. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(call_direction=outbound)
  321. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(accountname=default)
  322. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(filename1=astpp.pbx.lua)
  323. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764)
  324. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(original_caller_id_name=27871616258)
  325. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(original_caller_id_number=27871616258)
  326. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(db 8504190660 user_8504190660 5 )
  327. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(db 8390638295 user_8390638295 500 )
  328. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_name=27871616258)
  329. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_number=27871616258)
  330. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(calltype=STANDARD)
  331. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157)
  332. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(trunk_id=2)
  333. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(provider_id=1157)
  334. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(rate_flag=0)
  335. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_credit_limit=0.00000)
  336. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_credit_limit=0.00000)
  337. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_used_limit=0.00000)
  338. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_used_limit=0.00000)
  339. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(quality_trunk_seq=2,3)
  340. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(force_trunk_flag=0)
  341. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=trunk_id=2)
  342. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(intcall=0)
  343. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_id=0839632119)
  344. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
  345. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit_execute(db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119)
  346. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_name=27871616258)
  347. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_number=27871616258)
  348. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(calltype=STANDARD)
  349. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157)
  350. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(trunk_id=3)
  351. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(provider_id=1157)
  352. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(rate_flag=0)
  353. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_credit_limit=0.00000)
  354. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_credit_limit=0.00000)
  355. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_used_limit=0.00000)
  356. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_used_limit=0.00000)
  357. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(quality_trunk_seq=2,3)
  358. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(force_trunk_flag=0)
  359. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=trunk_id=3)
  360. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(intcall=0)
  361. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_id=0839632119)
  362. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
  363. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(hash CPS_3 CPS_trunk_3 10/1 )
  364. Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit_execute(db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119)
  365. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_ROUTING -> CS_EXECUTE
  366. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8504190660@hugetnstest.huge.net.za) State ROUTING going to sleep
  367. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_EXECUTE (Cur 1 Tot 12)
  368. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8504190660@hugetnstest.huge.net.za) State EXECUTE
  369. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_sofia.c:213 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA EXECUTE
  370. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/8504190660@hugetnstest.huge.net.za Standard EXECUTE
  371. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_destination_number=0839632119)
  372. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_destination_number]=[0839632119]
  373. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(execute_on_answer_1=sched_hangup +25200 normal_clearing)
  374. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [execute_on_answer_1]=[sched_hangup +25200 normal_clearing]
  375. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(notify_flag=0)
  376. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [notify_flag]=[0]
  377. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(notify_credit_limit=5.00000)
  378. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [notify_credit_limit]=[5.00000]
  379. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(type=0)
  380. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [type]=[0]
  381. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(callstart=2024-10-02 11:46:39)
  382. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [callstart]=[2024-10-02 11:46:39]
  383. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(hangup_after_bridge=true)
  384. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [hangup_after_bridge]=[true]
  385. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(continue_on_fail=TRUE)
  386. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [continue_on_fail]=[TRUE]
  387. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(account_id=1765)
  388. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [account_id]=[1765]
  389. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(parent_id=1764)
  390. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [parent_id]=[1764]
  391. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(entity_id=0)
  392. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [entity_id]=[0]
  393. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(call_processed=internal)
  394. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [call_processed]=[internal]
  395. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(call_direction=outbound)
  396. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [call_direction]=[outbound]
  397. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(accountname=default)
  398. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [accountname]=[default]
  399. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(filename1=astpp.pbx.lua)
  400. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [filename1]=[astpp.pbx.lua]
  401. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764)
  402. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [origination_rates]=[ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764]
  403. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(original_caller_id_name=27871616258)
  404. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [original_caller_id_name]=[27871616258]
  405. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(original_caller_id_number=27871616258)
  406. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [original_caller_id_number]=[27871616258]
  407. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(db 8504190660 user_8504190660 5 )
  408. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: 8504190660_user_8504190660 max:5, interval:0
  409. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for 8504190660_user_8504190660 is now 1/5
  410. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(db 8390638295 user_8390638295 500 )
  411. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: 8390638295_user_8390638295 max:500, interval:0
  412. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for 8390638295_user_8390638295 is now 1/500
  413. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_name=27871616258)
  414. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_name]=[27871616258]
  415. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_number=27871616258)
  416. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_number]=[27871616258]
  417. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(calltype=STANDARD)
  418. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [calltype]=[STANDARD]
  419. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157)
  420. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [termination_rates]=[ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157]
  421. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(trunk_id=2)
  422. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [trunk_id]=[2]
  423. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(provider_id=1157)
  424. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [provider_id]=[1157]
  425. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(rate_flag=0)
  426. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [rate_flag]=[0]
  427. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_credit_limit=0.00000)
  428. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_credit_limit]=[0.00000]
  429. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_credit_limit=0.00000)
  430. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_credit_limit]=[0.00000]
  431. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_used_limit=0.00000)
  432. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_used_limit]=[0.00000]
  433. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_used_limit=0.00000)
  434. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_used_limit]=[0.00000]
  435. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(quality_trunk_seq=2,3)
  436. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [quality_trunk_seq]=[2,3]
  437. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(force_trunk_flag=0)
  438. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [force_trunk_flag]=[0]
  439. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=trunk_id=2)
  440. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=2]
  441. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(intcall=0)
  442. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [intcall]=[0]
  443. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_id=0839632119)
  444. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[0839632119]
  445. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
  446. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN]
  447. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit_execute(db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119)
  448. 2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: kensington_31 max:0, interval:0
  449. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for kensington_31 is now 1/0
  450. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_name=27871616258)
  451. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_name]=[27871616258]
  452. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_number=27871616258)
  453. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_number]=[27871616258]
  454. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(calltype=STANDARD)
  455. 2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [calltype]=[STANDARD]
  456. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157)
  457. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [termination_rates]=[ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157]
  458. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(trunk_id=3)
  459. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [trunk_id]=[3]
  460. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(provider_id=1157)
  461. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [provider_id]=[1157]
  462. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(rate_flag=0)
  463. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [rate_flag]=[0]
  464. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_credit_limit=0.00000)
  465. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_credit_limit]=[0.00000]
  466. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_credit_limit=0.00000)
  467. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_credit_limit]=[0.00000]
  468. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_used_limit=0.00000)
  469. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_used_limit]=[0.00000]
  470. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_used_limit=0.00000)
  471. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_used_limit]=[0.00000]
  472. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(quality_trunk_seq=2,3)
  473. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [quality_trunk_seq]=[2,3]
  474. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(force_trunk_flag=0)
  475. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [force_trunk_flag]=[0]
  476. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=trunk_id=3)
  477. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  478. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(intcall=0)
  479. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [intcall]=[0]
  480. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_id=0839632119)
  481. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[0839632119]
  482. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
  483. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN]
  484. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(hash CPS_3 CPS_trunk_3 10/1 )
  485. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_limit.c:124 incr called: CPS_3_CPS_trunk_3 max:10, interval:1
  486. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_hash.c:195 Usage for CPS_3_CPS_trunk_3 is now 1/10 for the last 1 seconds
  487. EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit_execute(db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119)
  488. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_limit.c:124 incr called: kensington_10 max:0, interval:0
  489. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_db.c:194 Usage for kensington_10 is now 1/0
  490. 2024-10-02 11:46:39.511397 99.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/8504190660@hugetnstest.huge.net.za has executed the last dialplan instruction, hanging up.
  491. 2024-10-02 11:46:39.511397 99.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8504190660@hugetnstest.huge.net.za [CS_EXECUTE] [NORMAL_CLEARING]
  492. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_hash.c:293 Usage for CPS_3_CPS_trunk_3 is now 0
  493. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8504190660@hugetnstest.huge.net.za) State EXECUTE going to sleep
  494. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_HANGUP (Cur 1 Tot 12)
  495. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8504190660@hugetnstest.huge.net.za) Callstate Change RINGING -> HANGUP
  496. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8504190660@hugetnstest.huge.net.za) State HANGUP
  497. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_sofia.c:469 Channel sofia/default/8504190660@hugetnstest.huge.net.za hanging up, cause: NORMAL_CLEARING
  498. 2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  499. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/8504190660@hugetnstest.huge.net.za Standard HANGUP, cause: NORMAL_CLEARING
  500. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8504190660@hugetnstest.huge.net.za) State HANGUP going to sleep
  501. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_HANGUP -> CS_REPORTING
  502. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_REPORTING (Cur 1 Tot 12)
  503. 2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8504190660@hugetnstest.huge.net.za) State REPORTING
  504. 2024-10-02 11:46:39.511397 99.57% [INFO] mod_json_cdr.c:272 Process [15a7b39f-7f3b-4282-b47c-7eb5436dfb72.cdr.json]
  505. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/8504190660@hugetnstest.huge.net.za Standard REPORTING, cause: NORMAL_CLEARING
  506. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8504190660@hugetnstest.huge.net.za) State REPORTING going to sleep
  507. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_REPORTING -> CS_DESTROY
  508. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_session.c:1744 Session 12 (sofia/default/8504190660@hugetnstest.huge.net.za) Locked, Waiting on external entities
  509. 2024-10-02 11:46:39.531396 99.57% [NOTICE] switch_core_session.c:1762 Session 12 (sofia/default/8504190660@hugetnstest.huge.net.za) Ended
  510. 2024-10-02 11:46:39.531396 99.57% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8504190660@hugetnstest.huge.net.za [CS_DESTROY]
  511. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_DESTROY (Cur 0 Tot 12)
  512. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8504190660@hugetnstest.huge.net.za) State DESTROY
  513. 2024-10-02 11:46:39.531396 99.57% [DEBUG] mod_sofia.c:380 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA DESTROY
  514. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/8504190660@hugetnstest.huge.net.za Standard DESTROY
  515. 2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8504190660@hugetnstest.huge.net.za) State DESTROY going to sleep