From Silly Shama, 5 Days ago, written in Plain Text.
- view diff
Embed
  1. 2024-11-19 15:23:14.567127 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.31.25.88 [99dfd5bd-a9f8-4e4d-b85f-0746915d5660]
  2. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 300)
  3. 2024-11-19 15:23:14.567127 98.50% [INFO] sofia.c:10462 sofia/default/27876300012@196.31.25.88 receiving invite from 102.220.232.10:5060 version: 1.10.7 -release 64bit call-id: 445fc39b-211c-123e-fb88-0024e83afa77
  4. 2024-11-19 15:23:14.567127 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.10:0.
  5. 2024-11-19 15:23:14.567127 98.50% [DEBUG] sofia.c:10585 IP 102.220.232.10 Approved by acl "default[]". Access Granted.
  6. 2024-11-19 15:23:14.567127 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.88 entering state [received][100]
  7. 2024-11-19 15:23:14.567127 98.50% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1731990674 1731990675 IN IP4 196.31.25.88
  10. s=FreeSWITCH
  11. c=IN IP4 196.31.25.88
  12. t=0 0
  13. m=audio 31918 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. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  25. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  27. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  29. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  32. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  33. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  34. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.31.25.88 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.31.25.88 Original read codec set to PCMA:8
  36. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  37. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2024-11-19 15:23:14.567127 98.50% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.31.25.88) State Change CS_NEW -> CS_INIT
  39. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.31.25.88) State NEW
  40. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 300)
  41. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.88) State INIT
  42. 2024-11-19 15:23:14.567127 98.50% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.31.25.88 SOFIA INIT
  43. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.31.25.88 Standard INIT
  44. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.31.25.88) State Change CS_INIT -> CS_ROUTING
  45. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.88) State INIT going to sleep
  46. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 300)
  47. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.31.25.88) Callstate Change DOWN -> RINGING
  48. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.88) State ROUTING
  49. 2024-11-19 15:23:14.567127 98.50% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.88 SOFIA ROUTING
  50. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.88 Standard ROUTING
  51. 2024-11-19 15:23:14.567127 98.50% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->27876304007 in context default
  52. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  53. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  54. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  55. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304007
  57. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304007' AND status=0 limit 1
  58. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv6JB1
  59. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304007' limit 1
  61. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '465' and username = '27876304007' limit 1
  62. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' limit 1                                                                                                                                                                                          
  63. 2024-11-19 15:23:14.567127 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  64. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  65. 2024-11-19 15:23:14.567127 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  66. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  67. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  68. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  69. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  70. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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        
  71. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  72. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  73. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  74. 2024-11-19 15:23:14.567127 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  75. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  76. 2024-11-19 15:23:14.567127 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  77. 2024-11-19 15:23:14.587139 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  78. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  79. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  80. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  81. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  82. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304007" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2024-11-19 15:23:14.587139 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  84. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1                                                                                                                                                                                          
  85. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  86. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 465
  87. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^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                                                                                                                                                                                                            
  88. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27876304007" AND A.accountid = '159' limit 1                                                                                                                                                                
  89. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304007
  90. 2024-11-19 15:23:14.587139 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  91. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  92. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  93. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  94. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  95. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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        
  96. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  97. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  98. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '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 = '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                                                                                                                                                                                  
  99. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  100. 2024-11-19 15:23:14.587139 98.50% [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                                                                            
  101. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  102. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  103. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  104. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  105. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9902
  106. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  107. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  108. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  109. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  110. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  111. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  112. 2024-11-19 15:23:14.587139 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  113. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  114. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  115. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  116. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  117. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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        
  118. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  119. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 465  and status = 0 limit 1
  120. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27876304007
  121. 2024-11-19 15:23:14.587139 98.50% [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                                                                                  
  122. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  123. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  124. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 213
  125. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  126. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  127. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  128. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  129. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  130. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  131. 2024-11-19 15:23:14.587139 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  132. 2024-11-19 15:23:14.587139 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  133. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9902 balance Accountid 159 !!!
  134. 2024-11-19 15:23:14.607141 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  135. 2024-11-19 15:23:14.607141 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 425
  136. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "425" OR number = "425") AND deleted = 0 limit 1
  137. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  138. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  139. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 425
  140. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4375278430
  141. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  142. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9902
  143. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  144. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 193
  145. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  146. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  147. 2024-11-19 15:23:14.607141 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  148. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  149. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  150. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  151. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  152. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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        
  153. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  154. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  155. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  156. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 213
  157. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  158. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  159. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  160. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  161. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  162. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 425
  163. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  164. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  165. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9902 balance Accountid 425 !!!
  166. 2024-11-19 15:23:14.607141 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  167. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  168. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:213|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:213|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:425                                                                                                                                                                                        
  169. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  170. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  171. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  172. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  173. 2024-11-19 15:23:14.607141 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  174. 2024-11-19 15:23:14.607141 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 159 AND status=0 LIMIT 1                                                                                                                                                                                      
  175. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "465" OR number = "465") AND deleted = 0 limit 1
  176. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  177. 2024-11-19 15:23:14.627156 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  178. 2024-11-19 15:23:14.627156 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  179. 2024-11-19 15:23:14.627156 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  180. 2024-11-19 15:23:14.627156 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  181. 2024-11-19 15:23:14.627156 98.50% [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                                                                                                                                                                                                                  
  182. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  183. 2024-11-19 15:23:14.627156 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  184. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  185. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 465 or id = 465 ) and status = 0 limit 1                                                                                                                                                        
  186. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  187. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27876304007" limit 1                                                                                                
  188. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  189. <document type="freeswitch/xml">                                                                                                                                                                                  
  190. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  191. <context name="default">                                                                                                                                                                                          
  192. <extension name="27876304007">                                                                                                                                                                                    
  193. <condition field="destination_number" expression="27876304007">                                                                                                                                                    
  194. <action application="set" data="effective_destination_number=27876304007"/>                                                                                                                                        
  195. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  196. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  197. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  198. <action application="set" data="type=3"/>                                                                                                                                                                          
  199. <action application="set" data="callstart=2024-11-19 13:23:14"/>                                                                                                                                                  
  200. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  201. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  202. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  203. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  204. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  205. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  206. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  207. <action application="set" data="accountname=default"/>                                                                                                                                                            
  208. <action application="set" data="origination_rates_did=ID:213|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:213|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:425"/>          
  209. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  210. <action application="set" data="original_caller_id_name="27876300012""/>                                                                                                                                          
  211. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  212. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  213. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  214. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  215. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  216. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}DID-LOCAL_465.wav"/>                                                                                              
  217. <action application="set" data="effective_caller_id_name="27876300012""/>                                                                                                                                          
  218. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  219. <action application="set" data="receiver_accid=465"/>                                                                                                                                                              
  220. <action application="export" data="domain_name="/>                                                                                                                                                                
  221. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  222. <action application="export" data="presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>                                              
  223. <action application="export" data="call_type=0"/>                                                                                                                                                                  
  224. <action application="set" data="calltype=DID-LOCAL"/>                                                                                                                                                              
  225. <action application="set" data="daily_call_credit_limit=5.00000"/>                                                                                                                                                
  226. <action application="set" data="monthly_call_credit_limit=8.00000"/>                                                                                                                                              
  227. <action application="set" data="daily_call_used_limit=0.00980"/>                                                                                                                                                  
  228. <action application="set" data="monthly_call_used_limit=0.00980"/>                                                                                                                                                
  229. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060"/>                              
  230. <condition field="${cond(${user_data 27876304007@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  231. <action application="answer"/>                                                                                                                                                                                    
  232. <action application="export" data="voicemail_alternate_greet_id=27876304007"/>                                                                                                                                    
  233. <action application="voicemail" data="default $${domain_name} 27876304007"/>                                                                                                                                      
  234. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  235. </condition>                                                                                                                                                                                                      
  236. <action application="set" data="did_id=213"/>                                                                                                                                                                      
  237. <action application="set" data="destination_number=27876304007"/>                                                                                                                                                  
  238. <action application="set" data="leg_timeout=30"/>                                                                                                                                                                  
  239. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  240. <action application="set" data="is_local_extension=1"/>                                                                                                                                                            
  241. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  242. </condition>                                                                                                                                                                                                      
  243. </extension>                                                                                                                                                                                                      
  244. </context>                                                                                                                                                                                                        
  245. </section>                                                                                                                                                                                                        
  246. </document>                                                                                                                                                                                                        
  247. Dialplan: sofia/default/27876300012@196.31.25.88 parsing [default->27876304007] continue=false
  248. Dialplan: sofia/default/27876300012@196.31.25.88 Regex (PASS) [27876304007] destination_number(27876304007) =~ /27876304007/ break=on-false
  249. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(effective_destination_number=27876304007)
  250. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  251. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(notify_flag=0)
  252. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(notify_credit_limit=1.00000)
  253. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(type=3)
  254. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(callstart=2024-11-19 13:23:14)
  255. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(hangup_after_bridge=true)
  256. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(continue_on_fail=TRUE)
  257. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(account_id=159)
  258. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(parent_id=425)
  259. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(entity_id=3)
  260. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(call_processed=internal)
  261. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(call_direction=inbound)
  262. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(accountname=default)
  263. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(origination_rates_did=ID:213|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:213|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:425)                                                                                                                                                                                                    
  264. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(origination_rates=0)
  265. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(original_caller_id_name=)
  266. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(original_caller_id_number=27876300012)
  267. Dialplan: sofia/default/27876300012@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 )
  268. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(is_recording=1)
  269. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(media_bug_answer_req=true)
  270. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(record_sample_rate=8000)
  271. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}DID-LOCAL_465.wav)
  272. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(effective_caller_id_name=)
  273. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(effective_caller_id_number=27876300012)
  274. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(receiver_accid=465)
  275. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(domain_name=)
  276. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(sip_to_host=)
  277. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  278. Dialplan: sofia/default/27876300012@196.31.25.88 Action export(call_type=0)
  279. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(calltype=DID-LOCAL)
  280. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(daily_call_credit_limit=5.00000)
  281. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(monthly_call_credit_limit=8.00000)
  282. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(daily_call_used_limit=0.00980)
  283. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(monthly_call_used_limit=0.00980)
  284. Dialplan: sofia/default/27876300012@196.31.25.88 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060)
  285. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(did_id=213)
  286. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(destination_number=27876304007)
  287. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(leg_timeout=30)
  288. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(call_type_vm_flag=1)
  289. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(is_local_extension=1)
  290. Dialplan: sofia/default/27876300012@196.31.25.88 Action lua(did_call_forwarding.lua)
  291. |--- Dialplan: Processing recursive conditions level:1 [27876304007_recur_1] require-nested=TRUE
  292. |--- Dialplan: sofia/default/27876300012@196.31.25.88 Regex (FAIL) [27876304007_recur_1] ${cond(${user_data 27876304007@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  293. |--- Dialplan: sofia/default/27876300012@196.31.25.88 ANTI-Action hangup(${originate_disposition})
  294. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE
  295. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.88) State ROUTING going to sleep
  296. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 300)
  297. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.88) State EXECUTE
  298. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.88 SOFIA EXECUTE
  299. 2024-11-19 15:23:14.627156 98.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.88 Standard EXECUTE
  300. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(effective_destination_number=27876304007)
  301. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [effective_destination_number]=[27876304007]
  302. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  303. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  304. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(notify_flag=0)
  305. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [notify_flag]=[0]
  306. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(notify_credit_limit=1.00000)
  307. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [notify_credit_limit]=[1.00000]
  308. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(type=3)
  309. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [type]=[3]
  310. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(callstart=2024-11-19 13:23:14)
  311. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [callstart]=[2024-11-19 13:23:14]
  312. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(hangup_after_bridge=true)
  313. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [hangup_after_bridge]=[true]
  314. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(continue_on_fail=TRUE)
  315. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [continue_on_fail]=[TRUE]
  316. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(account_id=159)
  317. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [account_id]=[159]
  318. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(parent_id=425)
  319. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [parent_id]=[425]
  320. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(entity_id=3)
  321. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [entity_id]=[3]
  322. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(call_processed=internal)
  323. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [call_processed]=[internal]
  324. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(call_direction=inbound)
  325. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [call_direction]=[inbound]
  326. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(accountname=default)
  327. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [accountname]=[default]
  328. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(origination_rates_did=ID:213|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:213|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:425)                                                                                                                                                                                                  
  329. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [origination_rates_did]=[ID:213|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:213|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:425]                                                                                                                                                    
  330. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(origination_rates=0)
  331. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [origination_rates]=[0]
  332. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(original_caller_id_name=)
  333. 2024-11-19 15:23:14.627156 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [original_caller_id_name]=[UNDEF]
  334. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(original_caller_id_number=27876300012)
  335. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [original_caller_id_number]=[27876300012]
  336. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 limit(db 3786491283 user_3786491283 10 )
  337. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  338. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  339. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(is_recording=1)
  340. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  341. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(media_bug_answer_req=true)
  342. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  343. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(record_sample_rate=8000)
  344. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  345. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/99dfd5bd-a9f8-4e4d-b85f-0746915d5660DID-LOCAL_465.wav)
  346. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/99dfd5bd-a9f8-4e4d-b85f-0746915d5660DID-LOCAL_465.wav]
  347. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(effective_caller_id_name=)
  348. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [effective_caller_id_name]=[UNDEF]
  349. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(effective_caller_id_number=27876300012)
  350. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [effective_caller_id_number]=[27876300012]
  351. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(receiver_accid=465)
  352. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [receiver_accid]=[465]
  353. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(domain_name=)
  354. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  355. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(sip_to_host=)
  356. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  357. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  358. 2024-11-19 15:23:14.647128 98.50% [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]                                                                                                                                                                                                              
  359. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 export(call_type=0)
  360. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  361. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(calltype=DID-LOCAL)
  362. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [calltype]=[DID-LOCAL]
  363. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(daily_call_credit_limit=5.00000)
  364. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [daily_call_credit_limit]=[5.00000]
  365. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(monthly_call_credit_limit=8.00000)
  366. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [monthly_call_credit_limit]=[8.00000]
  367. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(daily_call_used_limit=0.00980)
  368. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [daily_call_used_limit]=[0.00980]
  369. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(monthly_call_used_limit=0.00980)
  370. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [monthly_call_used_limit]=[0.00980]
  371. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060)
  372. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [is_recording]=[1] to event
  373. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  374. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  375. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/99dfd5bd-a9f8-4e4d-b85f-0746915d5660DID-LOCAL_465.wav] to event                                                                                                                                                                  
  376. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [presence_data]=[x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91] to event                                                                                                                                                            
  377. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.88 EXPORTING[export_vars] [call_type]=[0] to event
  378. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  379. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  380. 2024-11-19 15:23:14.647128 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876304007@dewaldv6.astppbilling.org [664457f3-ce77-43ce-a452-92e77b8ccf7b]
  381. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_sofia.c:5121 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_NEW -> CS_INIT
  382. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_ivr_originate.c:3151 sofia/default/27876304007@dewaldv6.astppbilling.org Setting leg timeout to 30
  383. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 301)
  384. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@dewaldv6.astppbilling.org) State INIT
  385. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_sofia.c:97 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA INIT
  386. 2024-11-19 15:23:14.647128 98.50% [DEBUG] sofia_glue.c:1620 sip:102.220.232.10:5060 Setting proxy route to sofia/default/27876304007@dewaldv6.astppbilling.org
  387. 2024-11-19 15:23:14.647128 98.50% [INFO] sofia_glue.c:1651 sofia/default/27876304007@dewaldv6.astppbilling.org sending invite call-id: (null)
  388. 2024-11-19 15:23:14.647128 98.50% [DEBUG] sofia_glue.c:1654 sofia/default/27876304007@dewaldv6.astppbilling.org sending invite version: 1.10.7 -release 64bit
  389. Local SDP:                                                                                                                                                                                                        
  390. v=0                                                                                                                                                                                                                
  391. o=FreeSWITCH 1731997526 1731997527 IN IP4 102.220.232.10                                                                                                                                                          
  392. s=FreeSWITCH                                                                                                                                                                                                      
  393. c=IN IP4 102.220.232.10                                                                                                                                                                                            
  394. t=0 0                                                                                                                                                                                                              
  395. m=audio 25068 RTP/AVP 8 101                                                                                                                                                                                        
  396. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  397. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  398. a=fmtp:101 0-15                                                                                                                                                                                                    
  399. a=ptime:20                                                                                                                                                                                                        
  400. a=sendrecv                                                                                                                                                                                                        
  401.  
  402. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876304007@dewaldv6.astppbilling.org Standard INIT
  403. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  404. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@dewaldv6.astppbilling.org) State INIT going to sleep
  405. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 301)
  406. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@dewaldv6.astppbilling.org) State ROUTING
  407. 2024-11-19 15:23:14.647128 98.50% [DEBUG] mod_sofia.c:158 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA ROUTING
  408. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  409. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@dewaldv6.astppbilling.org) State ROUTING going to sleep
  410. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 301)
  411. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876304007@dewaldv6.astppbilling.org) State CONSUME_MEDIA
  412. 2024-11-19 15:23:14.647128 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876304007@dewaldv6.astppbilling.org) State CONSUME_MEDIA going to sleep
  413. 2024-11-19 15:23:14.647128 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@dewaldv6.astppbilling.org entering state [calling][0]
  414. 2024-11-19 15:23:14.847155 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@dewaldv6.astppbilling.org entering state [proceeding][180]
  415. 2024-11-19 15:23:14.847155 98.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27876304007@dewaldv6.astppbilling.org!
  416. 2024-11-19 15:23:14.847155 98.50% [DEBUG] switch_channel.c:3494 (sofia/default/27876304007@dewaldv6.astppbilling.org) Callstate Change DOWN -> RINGING
  417. 2024-11-19 15:23:14.867134 98.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300012@196.31.25.88!
  418. 2024-11-19 15:23:14.867134 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.88 entering state [early][180]
  419. 2024-11-19 15:23:14.867134 98.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300012@196.31.25.88!
  420. 2024-11-19 15:23:16.387162 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@dewaldv6.astppbilling.org entering state [terminated][486]
  421. 2024-11-19 15:23:16.387162 98.37% [NOTICE] sofia.c:8738 Hangup sofia/default/27876304007@dewaldv6.astppbilling.org [CS_CONSUME_MEDIA] [USER_BUSY]
  422. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 301)
  423. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876304007@dewaldv6.astppbilling.org) Callstate Change RINGING -> HANGUP
  424. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@dewaldv6.astppbilling.org) State HANGUP
  425. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876304007@dewaldv6.astppbilling.org hanging up, cause: USER_BUSY
  426. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876304007@dewaldv6.astppbilling.org Standard HANGUP, cause: USER_BUSY
  427. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@dewaldv6.astppbilling.org) State HANGUP going to sleep
  428. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  429. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 301)
  430. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@dewaldv6.astppbilling.org) State REPORTING
  431. 2024-11-19 15:23:16.387162 98.37% [INFO] mod_json_cdr.c:271 Process [664457f3-ce77-43ce-a452-92e77b8ccf7b.cdr.json]
  432. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  433. 2024-11-19 15:23:16.387162 98.37% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  434. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(did_id=213)
  435. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [did_id]=[213]
  436. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(destination_number=27876304007)
  437. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [destination_number]=[27876304007]
  438. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(leg_timeout=30)
  439. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [leg_timeout]=[30]
  440. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(call_type_vm_flag=1)
  441. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [call_type_vm_flag]=[1]
  442. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(is_local_extension=1)
  443. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [is_local_extension]=[1]
  444. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 lua(did_call_forwarding.lua)
  445. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  446. 2024-11-19 15:23:16.387162 98.37% [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')                                                                                                                                                                                                
  447. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876304007@dewaldv6.astppbilling.org Standard REPORTING, cause: USER_BUSY
  448. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@dewaldv6.astppbilling.org) State REPORTING going to sleep
  449. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  450. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_session.c:1753 Session 301 (sofia/default/27876304007@dewaldv6.astppbilling.org) Locked, Waiting on external entities
  451. 2024-11-19 15:23:16.387162 98.37% [NOTICE] switch_core_session.c:1771 Session 301 (sofia/default/27876304007@dewaldv6.astppbilling.org) Ended
  452. 2024-11-19 15:23:16.387162 98.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876304007@dewaldv6.astppbilling.org [CS_DESTROY]
  453. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 301)
  454. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@dewaldv6.astppbilling.org) State DESTROY
  455. 2024-11-19 15:23:16.387162 98.37% [DEBUG] mod_sofia.c:379 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA DESTROY
  456. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876304007@dewaldv6.astppbilling.org Standard DESTROY
  457. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@dewaldv6.astppbilling.org) State DESTROY going to sleep
  458. 2024-11-19 15:23:16.387162 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  459. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id :
  460. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Dispositions USER_BUSY This Is DiD Id : 213
  461. 2024-11-19 15:23:16.387162 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  SQL : select number,extensions,always,always_destination,always_vm_flag,user_busy,user_busy_destination,user_busy_vm_flag from dids where id='213' and status='0'                                                                                                                                                                                              
  462. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 sleep(500)
  463. 2024-11-19 15:23:16.887157 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  This Is Calltype : 4And Destination : 0740451462
  464. 2024-11-19 15:23:16.887157 98.27% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('DID_NUMBER', '(null)')
  465. 2024-11-19 15:23:16.887157 98.27% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('call_forwarding', 'true')
  466. 2024-11-19 15:23:16.887157 98.27% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('last_did_rates', '(null)')
  467. 2024-11-19 15:23:16.887157 98.27% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('calltype', 'STANDARD')
  468. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 transfer(0740451462 XML default)
  469. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_ivr.c:2289 (sofia/default/27876300012@196.31.25.88) State Change CS_EXECUTE -> CS_ROUTING
  470. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/27876300012@196.31.25.88 to XML[0740451462@default]
  471. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1209 sofia/default/27876300012@196.31.25.88 destroy/unlink session from object
  472. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.88) State EXECUTE going to sleep
  473. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 301)
  474. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.88) State ROUTING
  475. 2024-11-19 15:23:16.907125 98.27% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  476. 2024-11-19 15:23:16.907125 98.27% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.88 SOFIA ROUTING
  477. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.88 Standard ROUTING
  478. 2024-11-19 15:23:16.907125 98.27% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->0740451462 in context default
  479. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  480. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  481. 2024-11-19 15:23:16.907125 98.27% [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')                                                                                                                                                                                                
  482. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  483. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0740451462
  484. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0740451462' AND status=0 limit 1
  485. 2024-11-19 15:23:16.907125 98.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  486. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  487. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  488. 2024-11-19 15:23:16.907125 98.27% [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                                                                                                                                                                                          
  489. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  490. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  491. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  492. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  493. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  494. 2024-11-19 15:23:16.907125 98.27% [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        
  495. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  496. 2024-11-19 15:23:16.907125 98.27% [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                                                                                                                                                                    
  497. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  498. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  499. 2024-11-19 15:23:16.907125 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  500. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  501. 2024-11-19 15:23:16.907125 98.27% [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 = 159 limit 1                                                                                                              
  502. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  503. 2024-11-19 15:23:16.907125 98.27% [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                                                                                                                                                                                          
  504. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  505. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  506. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  507. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  508. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  509. 2024-11-19 15:23:16.907125 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27740451462" AND (accountid = 0 OR status = 1) LIMIT 1
  510. 2024-11-19 15:23:16.907125 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  511. 2024-11-19 15:23:16.907125 98.27% [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                                                                                                                                                                                          
  512. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  513. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  514. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  515. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  516. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  517. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  518. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  519. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  520. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  521. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  522. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  523. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  524. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  525. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  526. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  527. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  528. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  529. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462                                                                                                              
  530. 2024-11-19 15:23:16.927137 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  531. 2024-11-19 15:23:16.927137 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  532. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27740451462                                                                                                            
  533. 2024-11-19 15:23:16.927137 98.27% [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 = '^27740451462.*' OR patterns = '^2774045146.*' OR patterns = '^277404514.*' OR patterns = '^27740451.*' OR patterns = '^2774045.*' OR patterns = '^277404.*' OR patterns = '^27740.*' OR patterns = '^2774.*' OR patterns = '^277.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 159 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  534. 2024-11-19 15:23:16.927137 98.27% [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 ="27740451462" AND A.accountid = '159' limit 1                                                                                                                                                                
  535. 2024-11-19 15:23:16.927137 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27740451462
  536. 2024-11-19 15:23:16.927137 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  537. 2024-11-19 15:23:16.927137 98.27% [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                                                                                                                                                                                          
  538. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  539. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  540. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  541. 2024-11-19 15:23:16.927137 98.27% [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        
  542. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  543. 2024-11-19 15:23:16.927137 98.27% [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="27740451462" limit 1                                                                                                                                                                  
  544. 2024-11-19 15:23:16.927137 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  545. 2024-11-19 15:23:16.927137 98.27% [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 = '27740451462' OR number = '2774045146' OR number = '277404514' OR number = '27740451' OR number = '2774045' OR number = '277404' OR number = '27740' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27740451462*' OR number = '2774045146*' OR number = '277404514*' OR number = '27740451*' OR number = '2774045*' OR number = '277404*' OR number = '27740*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  546. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  547. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
  548. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  549. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "159" and status=0
  550. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :0
  551. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='27876300012' and status=0
  552. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  553. 2024-11-19 15:23:16.927137 98.27% [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                                                                                                                                                                                                                  
  554. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 159
  555. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  556. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  557. <document type="freeswitch/xml">                                                                                                                                                                                  
  558. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  559. <context name="default">                                                                                                                                                                                          
  560. <extension name="0740451462">                                                                                                                                                                                      
  561. <condition field="destination_number" expression="0740451462">                                                                                                                                                    
  562. <action application="log" data="WARNING CALLERID_NOT_FOUND 159"/>                                                                                                                                                  
  563. <action application="set" data="original_caller_id_name="27876300012""/>                                                                                                                                          
  564. <action application="set" data="original_caller_id_number="27876300012""/>                                                                                                                                        
  565. <action application="set" data="error_cdr=1"/>                                                                                                                                                                    
  566. <action application="set" data="callstart=2024-11-19 13:23:16"/>                                                                                                                                                  
  567. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  568. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  569. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  570. <action application="set" data="sip_ignore_remote_cause=true"/>                                                                                                                                                    
  571. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  572. <action application="set" data="effective_destination_number=27740451462"/>                                                                                                                                        
  573. <action application="set" data="last_bridge_hangup_cause=CALLERID_NOT_FOUND"/>                                                                                                                                    
  574. <action application="hangup" data="CALLERID_NOT_FOUND"/>                                                                                                                                                          
  575. </condition>                                                                                                                                                                                                      
  576. </extension>                                                                                                                                                                                                      
  577. </context>                                                                                                                                                                                                        
  578. </section>                                                                                                                                                                                                        
  579. </document>                                                                                                                                                                                                        
  580. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  581. 2024-11-19 15:23:16.927137 98.27% [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                                                                                                                                                                                                                  
  582. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 159
  583. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  584. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  585. <document type="freeswitch/xml">                                                                                                                                                                                  
  586. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  587. <context name="default">                                                                                                                                                                                          
  588. <extension name="0740451462">                                                                                                                                                                                      
  589. <condition field="destination_number" expression="0740451462">                                                                                                                                                    
  590. <action application="log" data="WARNING Accountcode . Dialed number (27740451462) is blocked for account!!"/>                                                                                                      
  591. <action application="set" data="original_caller_id_name="27876300012""/>                                                                                                                                          
  592. <action application="set" data="original_caller_id_number="27876300012""/>                                                                                                                                        
  593. <action application="set" data="error_cdr=1"/>                                                                                                                                                                    
  594. <action application="set" data="callstart=2024-11-19 13:23:16"/>                                                                                                                                                  
  595. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  596. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  597. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  598. <action application="set" data="sip_ignore_remote_cause=true"/>                                                                                                                                                    
  599. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  600. <action application="set" data="effective_destination_number=27740451462"/>                                                                                                                                        
  601. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>                                                                                                                                    
  602. <action application="hangup" data="DESTINATION_BLOCKED"/>                                                                                                                                                          
  603. </condition>                                                                                                                                                                                                      
  604. </extension>                                                                                                                                                                                                      
  605. </context>                                                                                                                                                                                                        
  606. </section>                                                                                                                                                                                                        
  607. </document>                                                                                                                                                                                                        
  608. Dialplan: sofia/default/27876300012@196.31.25.88 parsing [default->0740451462] continue=false
  609. Dialplan: sofia/default/27876300012@196.31.25.88 Regex (PASS) [0740451462] destination_number(0740451462) =~ /0740451462/ break=on-false
  610. Dialplan: sofia/default/27876300012@196.31.25.88 Action log(WARNING Accountcode . Dialed number (27740451462) is blocked for account!!)
  611. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(original_caller_id_name=)
  612. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(original_caller_id_number=)
  613. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(error_cdr=1)
  614. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(callstart=2024-11-19 13:23:16)
  615. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(account_id=159)
  616. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(parent_id=0)
  617. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(call_direction=outbound)
  618. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(sip_ignore_remote_cause=true)
  619. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(call_processed=internal)
  620. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(effective_destination_number=27740451462)
  621. Dialplan: sofia/default/27876300012@196.31.25.88 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  622. Dialplan: sofia/default/27876300012@196.31.25.88 Action hangup(DESTINATION_BLOCKED)
  623. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE
  624. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.88) State ROUTING going to sleep
  625. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 301)
  626. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.88) State EXECUTE
  627. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.88 SOFIA EXECUTE
  628. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.88 Standard EXECUTE
  629. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 log(WARNING Accountcode . Dialed number (27740451462) is blocked for account!!)
  630. 2024-11-19 15:23:16.927137 98.27% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (27740451462) is blocked for account!!
  631. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(original_caller_id_name=)
  632. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [original_caller_id_name]=[UNDEF]
  633. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(original_caller_id_number=)
  634. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [original_caller_id_number]=[UNDEF]
  635. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(error_cdr=1)
  636. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [error_cdr]=[1]
  637. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(callstart=2024-11-19 13:23:16)
  638. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [callstart]=[2024-11-19 13:23:16]
  639. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(account_id=159)
  640. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [account_id]=[159]
  641. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(parent_id=0)
  642. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [parent_id]=[0]
  643. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(call_direction=outbound)
  644. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [call_direction]=[outbound]
  645. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(sip_ignore_remote_cause=true)
  646. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [sip_ignore_remote_cause]=[true]
  647. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(call_processed=internal)
  648. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [call_processed]=[internal]
  649. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(effective_destination_number=27740451462)
  650. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [effective_destination_number]=[27740451462]
  651. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  652. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.88 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  653. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.88 hangup(DESTINATION_BLOCKED)
  654. 2024-11-19 15:23:16.927137 98.27% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27876300012@196.31.25.88 [CS_EXECUTE] [NORMAL_CLEARING]
  655. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already)
  656. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.88) State EXECUTE going to sleep
  657. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 301)
  658. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.31.25.88) Callstate Change RINGING -> HANGUP
  659. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.88) State HANGUP
  660. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.31.25.88 hanging up, cause: NORMAL_CLEARING
  661. 2024-11-19 15:23:16.927137 98.27% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  662. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.31.25.88 Standard HANGUP, cause: NORMAL_CLEARING
  663. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.88) State HANGUP going to sleep
  664. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING
  665. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 301)
  666. 2024-11-19 15:23:16.927137 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.88) State REPORTING
  667. 2024-11-19 15:23:16.927137 98.27% [INFO] mod_json_cdr.c:271 Process [99dfd5bd-a9f8-4e4d-b85f-0746915d5660.cdr.json]
  668. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.31.25.88 Standard REPORTING, cause: NORMAL_CLEARING
  669. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.88) State REPORTING going to sleep
  670. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY
  671. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_session.c:1753 Session 300 (sofia/default/27876300012@196.31.25.88) Locked, Waiting on external entities
  672. 2024-11-19 15:23:16.947126 98.27% [NOTICE] switch_core_session.c:1771 Session 300 (sofia/default/27876300012@196.31.25.88) Ended
  673. 2024-11-19 15:23:16.947126 98.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.31.25.88 [CS_DESTROY]
  674. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 301)
  675. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.88) State DESTROY
  676. 2024-11-19 15:23:16.947126 98.27% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.31.25.88 SOFIA DESTROY
  677. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.31.25.88 Standard DESTROY
  678. 2024-11-19 15:23:16.947126 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.88) State DESTROY going to sleep
  679.