From Sweet Agouti, 4 Weeks ago, written in HTML5.
- view diff
Embed
  1. 2025-01-07 10:29:28.048709 97.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.31.25.86 [d36be23a-eb3d-4f54-9db1-1a8fdabb101b]
  2. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_NEW (Cur 1 Tot 114)
  3. 2025-01-07 10:29:28.048709 97.00% [INFO] sofia.c:10462 sofia/default/27876300012@196.31.25.86 receiving invite from 102.220.232.10:5060 version: 1.10.7 -release 64bit call-id: 58f4dca2-4774-123e-6597-b8ac6f871369
  4. 2025-01-07 10:29:28.048709 97.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.10:0.
  5. 2025-01-07 10:29:28.048709 97.00% [DEBUG] sofia.c:10585 IP 102.220.232.10 Approved by acl "default[]". Access Granted.
  6. 2025-01-07 10:29:28.048709 97.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.86 entering state [received][100]
  7. 2025-01-07 10:29:28.048709 97.00% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1736219734 1736219735 IN IP4 196.31.25.86
  10. s=FreeSWITCH
  11. c=IN IP4 196.31.25.86
  12. t=0 0
  13. m=audio 18832 RTP/AVP 18 8 0 101
  14. a=rtpmap:18 G729/8000
  15. a=fmtp:18 annexb=no
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=ptime:20
  21.  
  22. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  27. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  32. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  35. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  36. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  37. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.31.25.86 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.31.25.86 Original read codec set to G729:18
  40. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.31.25.86 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2025-01-07 10:29:28.048709 97.00% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.31.25.86) State Change CS_NEW -> CS_INIT
  43. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.31.25.86) State NEW
  44. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_INIT (Cur 1 Tot 114)
  45. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.86) State INIT
  46. 2025-01-07 10:29:28.048709 97.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.31.25.86 SOFIA INIT
  47. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.31.25.86 Standard INIT
  48. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.31.25.86) State Change CS_INIT -> CS_ROUTING
  49. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.86) State INIT going to sleep
  50. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 114)
  51. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.31.25.86) Callstate Change DOWN -> RINGING
  52. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING
  53. 2025-01-07 10:29:28.048709 97.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.86 SOFIA ROUTING
  54. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.86 Standard ROUTING
  55. 2025-01-07 10:29:28.048709 97.00% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->27876304007 in context default
  56. 2025-01-07 10:29:28.048709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2025-01-07 10:29:28.048709 97.00% [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. 2025-01-07 10:29:28.048709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304007
  61. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304007' AND status=0 limit 1
  62. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv6JB1
  63. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304007' limit 1
  65. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '465' and username = '27876304007' limit 1
  66. 2025-01-07 10:29:28.068709 97.00% [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+GoldtelASTPPv6JB1' limit 1                                                                                                                                                                                          
  67. 2025-01-07 10:29:28.068709 97.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  69. 2025-01-07 10:29:28.068709 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  70. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  71. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  72. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  73. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  74. 2025-01-07 10:29:28.068709 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  75. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  77. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  78. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  79. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  80. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  81. 2025-01-07 10:29:28.068709 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  82. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  83. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  84. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  85. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  86. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304007" AND (accountid = 0 OR status = 1) LIMIT 1
  87. 2025-01-07 10:29:28.068709 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  88. 2025-01-07 10:29:28.068709 97.00% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  89. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  90. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 465
  91. 2025-01-07 10:29:28.068709 97.00% [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 = '^27876304007.*' OR patterns = '^2787630400.*' OR patterns = '^278763040.*' OR patterns = '^27876304.*' 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 = 465 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  92. 2025-01-07 10:29:28.068709 97.00% [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 ="27876304007" AND A.accountid = '159' limit 1                                                                                                                                                                
  93. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304007
  94. 2025-01-07 10:29:28.068709 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  95. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  96. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  97. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  98. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  99. 2025-01-07 10:29:28.068709 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  100. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  102. 2025-01-07 10:29:28.068709 97.00% [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 = '27876304007' OR number = '2787630400' OR number = '278763040' OR number = '27876304' 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 = '27876304007*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' 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 = '27876304007' OR number = '2787630400' OR number = '278763040' OR number = '27876304' 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 = '27876304007*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  103. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  104. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876304007' OR routing_prefix = '2787630400' OR routing_prefix = '278763040' OR routing_prefix = '27876304' 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                                                                            
  105. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  106. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  107. 2025-01-07 10:29:28.068709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  108. 2025-01-07 10:29:28.068709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  109. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9902
  110. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  111. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  112. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  113. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  114. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  115. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  116. 2025-01-07 10:29:28.088723 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  117. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  118. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  119. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  120. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  121. 2025-01-07 10:29:28.088723 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  122. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 465  and status = 0 limit 1
  124. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27876304007
  125. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,D.id as product_id, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1                                                                                  
  126. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  127. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  128. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 309
  129. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  130. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  131. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  132. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  133. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  134. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  135. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  136. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  137. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9902 balance Accountid 159 !!!
  138. 2025-01-07 10:29:28.088723 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  139. 2025-01-07 10:29:28.088723 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 425
  140. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "425" OR number = "425") AND deleted = 0 limit 1
  141. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  142. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  143. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 425
  144. 2025-01-07 10:29:28.088723 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4375278430
  145. 2025-01-07 10:29:28.088723 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  146. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9902
  147. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  148. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 193
  149. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  150. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  151. 2025-01-07 10:29:28.108749 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  152. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  153. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  154. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  155. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  156. 2025-01-07 10:29:28.108749 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  157. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  158. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  159. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  160. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 309
  161. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  162. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  163. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  164. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  165. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  166. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 425
  167. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  168. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  169. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9902 balance Accountid 425 !!!
  170. 2025-01-07 10:29:28.108749 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  171. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  172. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:309|CODE:^27876304007.*|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:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425                                                                                                                                                                                        
  173. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  174. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  175. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  176. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  177. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  178. 2025-01-07 10:29:28.108749 97.00% [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                                                                                                                                                                                      
  179. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "465" OR number = "465") AND deleted = 0 limit 1
  180. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  181. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  182. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  183. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  184. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  185. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  186. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  187. 2025-01-07 10:29:28.108749 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  188. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  189. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  190. <document type="freeswitch/xml">                                                                                                                                                                                  
  191. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  192. <context name="default">                                                                                                                                                                                          
  193. <extension name="27876304007">                                                                                                                                                                                    
  194. <condition field="destination_number" expression="27876304007">                                                                                                                                                    
  195. <action application="set" data="effective_destination_number=27876304007"/>                                                                                                                                        
  196. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  197. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  198. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  199. <action application="set" data="type=3"/>                                                                                                                                                                          
  200. <action application="set" data="callstart=2025-01-07 08:29:28"/>                                                                                                                                                  
  201. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  202. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  203. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  204. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  205. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  206. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  207. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  208. <action application="set" data="accountname=default"/>                                                                                                                                                            
  209. <action application="set" data="origination_rates_did=ID:309|CODE:^27876304007.*|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:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425"/>          
  210. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  211. <action application="set" data="original_caller_id_name=27876304007"/>                                                                                                                                            
  212. <action application="set" data="original_caller_id_number=27876304007"/>                                                                                                                                          
  213. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  214. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  215. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  216. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  217. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  218. <action application="set" data="effective_caller_id_name=27876304007"/>                                                                                                                                            
  219. <action application="set" data="effective_caller_id_number=27876304007"/>                                                                                                                                          
  220. <action application="set" data="receiver_accid=465"/>                                                                                                                                                              
  221. <action application="export" data="domain_name="/>                                                                                                                                                                
  222. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  223. <action application="export" data="presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>                                              
  224. <action application="export" data="call_type=4"/>                                                                                                                                                                  
  225. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  226. <action application="set" data="accountcode=3254294174"/>                                                                                                                                                          
  227. <action application="set" data="caller_did_account_id=159"/>                                                                                                                                                      
  228. <action application="set" data="did_number=27876304007"/>                                                                                                                                                          
  229. <action application="set" data="did_init_inc=1"/>                                                                                                                                                                  
  230. <action application="set" data="did_inc=1"/>                                                                                                                                                                      
  231. <action application="set" data="did_cost=0.00000"/>                                                                                                                                                                
  232. <action application="set" data="did_connectcost=0.00000"/>                                                                                                                                                        
  233. <action application="set" data="did_as_cid_flag=0"/>                                                                                                                                                              
  234. <action application="set" data="origination_rates_did=0"/>                                                                                                                                                        
  235. <action application="set" data="did_id=309"/>                                                                                                                                                                      
  236. <action application="transfer" data="0740451462 XML default"/>                                                                                                                                                    
  237. </condition>                                                                                                                                                                                                      
  238. </extension>                                                                                                                                                                                                      
  239. </context>                                                                                                                                                                                                        
  240. </section>                                                                                                                                                                                                        
  241. </document>                                                                                                                                                                                                        
  242. Dialplan: sofia/default/27876300012@196.31.25.86 parsing [default->27876304007] continue=false
  243. Dialplan: sofia/default/27876300012@196.31.25.86 Regex (PASS) [27876304007] destination_number(27876304007) =~ /27876304007/ break=on-false
  244. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_destination_number=27876304007)
  245. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  246. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_flag=0)
  247. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_credit_limit=1.00000)
  248. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(type=3)
  249. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(callstart=2025-01-07 08:29:28)
  250. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(hangup_after_bridge=true)
  251. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(continue_on_fail=TRUE)
  252. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(account_id=159)
  253. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(parent_id=425)
  254. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(entity_id=3)
  255. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_processed=internal)
  256. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_direction=inbound)
  257. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(accountname=default)
  258. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates_did=ID:309|CODE:^27876304007.*|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:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425)                                                                                                                                                                                                    
  259. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates=0)
  260. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_name=27876304007)
  261. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_number=27876304007)
  262. Dialplan: sofia/default/27876300012@196.31.25.86 Action limit(db 3786491283 user_3786491283 10 )
  263. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(is_recording=1)
  264. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(media_bug_answer_req=true)
  265. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(record_sample_rate=8000)
  266. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  267. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_name=27876304007)
  268. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_number=27876304007)
  269. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(receiver_accid=465)
  270. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(domain_name=)
  271. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(sip_to_host=)
  272. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  273. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(call_type=4)
  274. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(calltype=STANDARD)
  275. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(accountcode=3254294174)
  276. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(caller_did_account_id=159)
  277. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_number=27876304007)
  278. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_init_inc=1)
  279. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_inc=1)
  280. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_cost=0.00000)
  281. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_connectcost=0.00000)
  282. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_as_cid_flag=0)
  283. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates_did=0)
  284. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_id=309)
  285. Dialplan: sofia/default/27876300012@196.31.25.86 Action transfer(0740451462 XML default)
  286. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  287. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING going to sleep
  288. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 114)
  289. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE
  290. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.86 SOFIA EXECUTE
  291. 2025-01-07 10:29:28.108749 97.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.86 Standard EXECUTE
  292. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_destination_number=27876304007)
  293. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_destination_number]=[27876304007]
  294. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  295. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  296. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_flag=0)
  297. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_flag]=[0]
  298. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_credit_limit=1.00000)
  299. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_credit_limit]=[1.00000]
  300. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(type=3)
  301. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [type]=[3]
  302. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(callstart=2025-01-07 08:29:28)
  303. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [callstart]=[2025-01-07 08:29:28]
  304. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(hangup_after_bridge=true)
  305. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [hangup_after_bridge]=[true]
  306. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(continue_on_fail=TRUE)
  307. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [continue_on_fail]=[TRUE]
  308. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(account_id=159)
  309. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [account_id]=[159]
  310. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(parent_id=425)
  311. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [parent_id]=[425]
  312. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(entity_id=3)
  313. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [entity_id]=[3]
  314. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_processed=internal)
  315. 2025-01-07 10:29:28.108749 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_processed]=[internal]
  316. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_direction=inbound)
  317. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_direction]=[inbound]
  318. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(accountname=default)
  319. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [accountname]=[default]
  320. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates_did=ID:309|CODE:^27876304007.*|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:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425)                                                                                                                                                                                                  
  321. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates_did]=[ID:309|CODE:^27876304007.*|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:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425]                                                                                                                                                    
  322. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates=0)
  323. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates]=[0]
  324. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_name=27876304007)
  325. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_name]=[27876304007]
  326. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_number=27876304007)
  327. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_number]=[27876304007]
  328. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 limit(db 3786491283 user_3786491283 10 )
  329. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  330. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  331. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(is_recording=1)
  332. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  333. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(media_bug_answer_req=true)
  334. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  335. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(record_sample_rate=8000)
  336. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  337. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/d36be23a-eb3d-4f54-9db1-1a8fdabb101b.wav)
  338. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d36be23a-eb3d-4f54-9db1-1a8fdabb101b.wav]
  339. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_name=27876304007)
  340. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_name]=[27876304007]
  341. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_number=27876304007)
  342. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_number]=[27876304007]
  343. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(receiver_accid=465)
  344. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [receiver_accid]=[465]
  345. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(domain_name=)
  346. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  347. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(sip_to_host=)
  348. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  349. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  350. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91]                                                                                                                                                                                                              
  351. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(call_type=4)
  352. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  353. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(calltype=STANDARD)
  354. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [calltype]=[STANDARD]
  355. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(accountcode=3254294174)
  356. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [accountcode]=[3254294174]
  357. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(caller_did_account_id=159)
  358. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [caller_did_account_id]=[159]
  359. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_number=27876304007)
  360. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_number]=[27876304007]
  361. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_init_inc=1)
  362. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_init_inc]=[1]
  363. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_inc=1)
  364. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_inc]=[1]
  365. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_cost=0.00000)
  366. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_cost]=[0.00000]
  367. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_connectcost=0.00000)
  368. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_connectcost]=[0.00000]
  369. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_as_cid_flag=0)
  370. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_as_cid_flag]=[0]
  371. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates_did=0)
  372. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates_did]=[0]
  373. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_id=309)
  374. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_id]=[309]
  375. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 transfer(0740451462 XML default)
  376. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_ivr.c:2289 (sofia/default/27876300012@196.31.25.86) State Change CS_EXECUTE -> CS_ROUTING
  377. 2025-01-07 10:29:28.128712 97.00% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/27876300012@196.31.25.86 to XML[0740451462@default]
  378. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE going to sleep
  379. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 114)
  380. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING
  381. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  382. 2025-01-07 10:29:28.128712 97.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.86 SOFIA ROUTING
  383. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.86 Standard ROUTING
  384. 2025-01-07 10:29:28.128712 97.00% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->0740451462 in context default
  385. 2025-01-07 10:29:28.128712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  386. 2025-01-07 10:29:28.128712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  387. 2025-01-07 10:29:28.128712 97.00% [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')                                                                                                                                                                                                
  388. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  389. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0740451462
  390. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0740451462' AND status=0 limit 1
  391. 2025-01-07 10:29:28.148712 97.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  392. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  393. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  394. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  395. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  396. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  397. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  398. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  399. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  400. 2025-01-07 10:29:28.148712 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1        
  401. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  402. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,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="0740451462" limit 1                                                                                                                                                                    
  403. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  404. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  405. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3254294174]
  406. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3254294174" OR id = "3254294174") AND deleted = 0 limit 1
  407. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0740451462.*' OR blocked_patterns = '^074045146.*' OR blocked_patterns = '^07404514.*' OR blocked_patterns = '^0740451.*' OR blocked_patterns = '^074045.*' OR blocked_patterns = '^07404.*' OR blocked_patterns = '^0740.*' OR blocked_patterns = '^074.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 465 limit 1                                                                                                              
  408. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  409. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  410. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  411. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  412. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  413. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  414. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  415. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27740451462" AND (accountid = 0 OR status = 1) LIMIT 1
  416. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  417. 2025-01-07 10:29:28.148712 97.00% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  418. 2025-01-07 10:29:28.148712 97.00% [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 = '^0740451462.*' OR patterns = '^074045146.*' OR patterns = '^07404514.*' OR patterns = '^0740451.*' OR patterns = '^074045.*' OR patterns = '^07404.*' OR patterns = '^0740.*' OR patterns = '^074.*' OR patterns = '^07.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 465 ORDER BY LENGTH(PKGPTR.patterns) DESC                        
  419. 2025-01-07 10:29:28.148712 97.00% [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 ="0740451462" AND A.accountid = '465' limit 1                                                                                                                                                                
  420. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0740451462
  421. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  422. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  423. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  424. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  425. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  426. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  427. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  428. 2025-01-07 10:29:28.148712 97.00% [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, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1        
  429. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  430. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,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="0740451462" limit 1                                                                                                                                                                    
  431. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  432. 2025-01-07 10:29:28.148712 97.00% [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 = '0740451462' OR number = '074045146' OR number = '07404514' OR number = '0740451' OR number = '074045' OR number = '07404' OR number = '0740' OR number = '074' OR number = '07' OR number = '0' OR number ='--') OR (number = '0740451462*' OR number = '074045146*' OR number = '07404514*' OR number = '0740451*' OR number = '074045*' OR number = '07404*' OR number = '0740*' OR number = '074*' OR number = '07*' OR number = '0*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                    
  433. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  434. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0740451462' OR routing_prefix = '074045146' OR routing_prefix = '07404514' OR routing_prefix = '0740451' OR routing_prefix = '074045' OR routing_prefix = '07404' OR routing_prefix = '0740' OR routing_prefix = '074' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 425 limit 1                                                                                                            
  435. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (0740451462)!!!!
  436. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Ported Number :27740451462
  437. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27740451462' limit 1
  438. 2025-01-07 10:29:28.148712 97.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0740451462)!!!!
  439. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  440. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 465
  441. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3254294174
  442. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9902
  443. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  444. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 209
  445. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  446. 2025-01-07 10:29:28.148712 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  447. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 209 AND status = 0
  448. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  449. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 209 AND status = 0
  450. 2025-01-07 10:29:28.148712 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0740451462.*' OR pattern = '^074045146.*' OR pattern = '^07404514.*' OR pattern = '^0740451.*' OR pattern = '^074045.*' OR pattern = '^07404.*' OR pattern = '^0740.*' OR pattern = '^074.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' 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 = 209 OR accountid=465)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                    
  451. 2025-01-07 10:29:28.168709 97.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  452. 2025-01-07 10:29:28.168709 97.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
  453. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  454. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  455. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 465
  456. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  457. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  458. <document type="freeswitch/xml">                                                                                                                                                                                  
  459. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  460. <context name="default">                                                                                                                                                                                          
  461. <extension name="0740451462">                                                                                                                                                                                      
  462. <condition field="destination_number" expression="0740451462">                                                                                                                                                    
  463. <action application="log" data="WARNING Accountcode 3254294174. Dialed number (0740451462)  origination rates not found!!"/>                                                                                      
  464. <action application="set" data="original_caller_id_name="27876300012""/>                                                                                                                                          
  465. <action application="set" data="original_caller_id_number="27876300012""/>                                                                                                                                        
  466. <action application="set" data="error_cdr=1"/>                                                                                                                                                                    
  467. <action application="set" data="callstart=2025-01-07 08:29:28"/>                                                                                                                                                  
  468. <action application="set" data="account_id=465"/>                                                                                                                                                                  
  469. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  470. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  471. <action application="set" data="sip_ignore_remote_cause=true"/>                                                                                                                                                    
  472. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  473. <action application="set" data="effective_destination_number=0740451462"/>                                                                                                                                        
  474. <action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>                                                                                                                            
  475. <action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>                                                                                                                                                  
  476. </condition>                                                                                                                                                                                                      
  477. </extension>                                                                                                                                                                                                      
  478. </context>                                                                                                                                                                                                        
  479. </section>                                                                                                                                                                                                        
  480. </document>                                                                                                                                                                                                        
  481. Dialplan: sofia/default/27876300012@196.31.25.86 parsing [default->0740451462] continue=false
  482. Dialplan: sofia/default/27876300012@196.31.25.86 Regex (PASS) [0740451462] destination_number(0740451462) =~ /0740451462/ break=on-false
  483. Dialplan: sofia/default/27876300012@196.31.25.86 Action log(WARNING Accountcode 3254294174. Dialed number (0740451462)  origination rates not found!!)
  484. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_name=)
  485. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_number=)
  486. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(error_cdr=1)
  487. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(callstart=2025-01-07 08:29:28)
  488. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(account_id=465)
  489. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(parent_id=425)
  490. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_direction=outbound)
  491. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(sip_ignore_remote_cause=true)
  492. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_processed=internal)
  493. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_destination_number=0740451462)
  494. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  495. Dialplan: sofia/default/27876300012@196.31.25.86 Action hangup(ORIGINATION_RATE_NOT_FOUND)
  496. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  497. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING going to sleep
  498. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 114)
  499. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE
  500. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.86 SOFIA EXECUTE
  501. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.86 Standard EXECUTE
  502. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 log(WARNING Accountcode 3254294174. Dialed number (0740451462)  origination rates not found!!)
  503. 2025-01-07 10:29:28.168709 97.00% [WARNING] mod_dptools.c:1879 Accountcode 3254294174. Dialed number (0740451462)  origination rates not found!!
  504. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_name=)
  505. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_name]=[UNDEF]
  506. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_number=)
  507. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_number]=[UNDEF]
  508. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(error_cdr=1)
  509. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [error_cdr]=[1]
  510. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(callstart=2025-01-07 08:29:28)
  511. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [callstart]=[2025-01-07 08:29:28]
  512. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(account_id=465)
  513. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [account_id]=[465]
  514. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(parent_id=425)
  515. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [parent_id]=[425]
  516. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_direction=outbound)
  517. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_direction]=[outbound]
  518. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(sip_ignore_remote_cause=true)
  519. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [sip_ignore_remote_cause]=[true]
  520. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_processed=internal)
  521. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_processed]=[internal]
  522. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_destination_number=0740451462)
  523. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_destination_number]=[0740451462]
  524. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  525. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
  526. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 hangup(ORIGINATION_RATE_NOT_FOUND)
  527. 2025-01-07 10:29:28.168709 97.00% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27876300012@196.31.25.86 [CS_EXECUTE] [NORMAL_CLEARING]
  528. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.31.25.86 skip receive message [PHONE_EVENT] (channel is hungup already)
  529. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE going to sleep
  530. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_HANGUP (Cur 1 Tot 114)
  531. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.31.25.86) Callstate Change RINGING -> HANGUP
  532. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.86) State HANGUP
  533. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.31.25.86 hanging up, cause: NORMAL_CLEARING
  534. 2025-01-07 10:29:28.168709 97.00% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  535. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.31.25.86 Standard HANGUP, cause: NORMAL_CLEARING
  536. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.86) State HANGUP going to sleep
  537. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.31.25.86) State Change CS_HANGUP -> CS_REPORTING
  538. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_REPORTING (Cur 1 Tot 114)
  539. 2025-01-07 10:29:28.168709 97.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.86) State REPORTING
  540. 2025-01-07 10:29:28.168709 97.00% [INFO] mod_json_cdr.c:271 Process [d36be23a-eb3d-4f54-9db1-1a8fdabb101b.cdr.json]
  541. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.31.25.86 Standard REPORTING, cause: NORMAL_CLEARING
  542. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.86) State REPORTING going to sleep
  543. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.31.25.86) State Change CS_REPORTING -> CS_DESTROY
  544. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_session.c:1753 Session 114 (sofia/default/27876300012@196.31.25.86) Locked, Waiting on external entities
  545. 2025-01-07 10:29:28.188721 97.00% [NOTICE] switch_core_session.c:1771 Session 114 (sofia/default/27876300012@196.31.25.86) Ended
  546. 2025-01-07 10:29:28.188721 97.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.31.25.86 [CS_DESTROY]
  547. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.31.25.86) Running State Change CS_DESTROY (Cur 0 Tot 114)
  548. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.86) State DESTROY
  549. 2025-01-07 10:29:28.188721 97.00% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.31.25.86 SOFIA DESTROY
  550. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.31.25.86 Standard DESTROY
  551. 2025-01-07 10:29:28.188721 97.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.86) State DESTROY going to sleep
  552. 2025-01-07 10:36:59.588707 98.67% [INFO] switch_stun.c:897 External ip address detected using STUN: 102.220.232.10
  553. 2025-01-07 10:36:59.828707 98.77% [INFO] switch_stun.c:897 External ip address detected using STUN: 102.220.232.10
  554.