From Bitty Lechwe, 4 Weeks ago, written in HTML5.
- view diff
Embed
  1. 2024-10-28 12:06:07.470283 99.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.7.219.43:8356 [1797e2fe-13af-4d54-9419-2ef93955ada2]
  2. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 45676)
  3. 2024-10-28 12:06:07.470283 99.80% [INFO] sofia.c:10462 sofia/default/27876300012@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 7ff35a2-18bc5149-c9dfbd20-d55f965a
  4. 2024-10-28 12:06:07.470283 99.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  5. 2024-10-28 12:06:07.470283 99.80% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  6. 2024-10-28 12:06:07.470283 99.80% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100]
  7. 2024-10-28 12:06:07.470283 99.80% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=bk 450939 1 IN IP4 196.7.219.43
  10. s=-
  11. c=IN IP4 196.7.219.43
  12. t=0 0
  13. m=audio 48548 RTP/AVP 8 18 0 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:18 G729/8000
  16. a=fmtp:18 annexb=no
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=ptime:20
  21. a=ptime:20
  22. a=ptime:20
  23.  
  24. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  29. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  30. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  31. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  32. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  33. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  34. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  38. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  39. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  40. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8
  42. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  43. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2024-10-28 12:06:07.470283 99.80% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
  45. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW
  46. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 1 Tot 45676)
  47. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT
  48. 2024-10-28 12:06:07.470283 99.80% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT
  49. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT
  50. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
  51. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep
  52. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 45676)
  53. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING
  54. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
  55. 2024-10-28 12:06:07.470283 99.80% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
  56. 2024-10-28 12:06:07.470283 99.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
  57. 2024-10-28 12:06:07.470283 99.80% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0876303962 in context default
  58. 2024-10-28 12:06:07.530283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  59. 2024-10-28 12:06:07.550284 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  60. 2024-10-28 12:06:07.550284 99.80% [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')                                                                                                                                                                                                
  61. 2024-10-28 12:06:07.550284 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2024-10-28 12:06:07.570282 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0876303962
  63. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0876303962' AND status=0 limit 1
  64. 2024-10-28 12:06:07.570282 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012
  65. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0876303962' limit 1
  67. 2024-10-28 12:06:07.570282 99.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2024-10-28 12:06:07.570282 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300012 / 27876300012
  69. 2024-10-28 12:06:07.570282 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  70. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  71. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0876303962
  72. 2024-10-28 12:06:07.570282 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0876303962
  73. 2024-10-28 12:06:07.570282 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27876303962
  74. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  75. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  76. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876303962" LIMIT 1                                    
  77. 2024-10-28 12:06:07.570282 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  78. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  79. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  80. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
  81. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
  82. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  83. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  84. 2024-10-28 12:06:07.590283 99.80% [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                                                                                                                                                                                          
  85. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0876303962
  86. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0876303962
  87. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27876303962
  88. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  89. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  90. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303962" AND (accountid = 0 OR status = 1) LIMIT 1
  91. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  92. 2024-10-28 12:06:07.590283 99.80% [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                                                                                                                                                                                          
  93. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  94. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 467
  95. 2024-10-28 12:06:07.590283 99.80% [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 = '^0876303962.*' OR patterns = '^087630396.*' OR patterns = '^08763039.*' OR patterns = '^0876303.*' OR patterns = '^087630.*' OR patterns = '^08763.*' OR patterns = '^0876.*' OR patterns = '^087.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 467 ORDER BY LENGTH(PKGPTR.patterns) DESC                        
  96. 2024-10-28 12:06:07.590283 99.80% [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 ="0876303962" AND A.accountid = '419' limit 1                                                                                                                                                                
  97. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0876303962
  98. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  99. 2024-10-28 12:06:07.590283 99.80% [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                                                                                                                                                                                          
  100. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0876303962
  101. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0876303962
  102. 2024-10-28 12:06:07.590283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27876303962
  103. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  104. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  105. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876303962" LIMIT 1                                    
  106. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  107. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  108. 2024-10-28 12:06:07.590283 99.80% [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 = '0876303962' OR number = '087630396' OR number = '08763039' OR number = '0876303' OR number = '087630' OR number = '08763' OR number = '0876' OR number = '087' OR number = '08' OR number = '0' OR number ='--') OR (number = '0876303962*' OR number = '087630396*' OR number = '08763039*' OR number = '0876303*' OR number = '087630*' OR number = '08763*' OR number = '0876*' OR number = '087*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                    
  109. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  110. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0876303962' OR routing_prefix = '087630396' OR routing_prefix = '08763039' OR routing_prefix = '0876303' OR routing_prefix = '087630' OR routing_prefix = '08763' OR routing_prefix = '0876' OR routing_prefix = '087' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1                                                                                                            
  111. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  112. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
  113. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
  114. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  115. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.9478
  116. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  117. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
  118. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  119. 2024-10-28 12:06:07.590283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  120. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  121. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  122. 2024-10-28 12:06:07.590283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27876303962
  123. 2024-10-28 12:06:07.590283 99.80% [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 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 ="27876303962" LIMIT 1                                                                                                              
  124. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  125. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  126. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 203
  127. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  128. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  129. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  130. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  131. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  132. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
  133. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  134. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  135. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.9478 balance Accountid 419 !!!
  136. 2024-10-28 12:06:07.610283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  137. 2024-10-28 12:06:07.610283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  138. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  139. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  140. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  141. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  142. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  143. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  144. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.9478
  145. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  146. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  147. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  148. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  149. 2024-10-28 12:06:07.610283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  150. 2024-10-28 12:06:07.610283 99.80% [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                                                                                                                                                                                          
  151. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  152. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  153. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
  154. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876303962" LIMIT 1                                    
  155. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  156. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  157. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  158. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 203
  159. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  160. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  161. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  162. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  163. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  164. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  165. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  166. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  167. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.9478 balance Accountid 405 !!!
  168. 2024-10-28 12:06:07.610283 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  169. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  170. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:203|CODE:^27876303962.*|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:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405                                                                                                                                                                                        
  171. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  172. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  173. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  174. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  175. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  176. 2024-10-28 12:06:07.610283 99.80% [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 = 419 AND status=0 LIMIT 1                                                                                                                                                                                      
  177. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "467" OR number = "467") AND deleted = 0 limit 1
  178. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
  179. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:419
  180. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:419
  181. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 419
  182. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  183. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  184. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  185. 2024-10-28 12:06:07.610283 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  186. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  187. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  188. <document type="freeswitch/xml">                                                                                                                                                                                  
  189. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  190. <context name="default">                                                                                                                                                                                          
  191. <extension name="27876303962">                                                                                                                                                                                    
  192. <condition field="destination_number" expression="0876303962">                                                                                                                                                    
  193. <action application="set" data="effective_destination_number=0876303962"/>                                                                                                                                        
  194. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  195. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  196. <action application="set" data="notify_credit_limit=450.00000"/>                                                                                                                                                  
  197. <action application="set" data="type=0"/>                                                                                                                                                                          
  198. <action application="set" data="callstart=2024-10-28 12:06:07"/>                                                                                                                                                  
  199. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  200. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  201. <action application="set" data="account_id=419"/>                                                                                                                                                                  
  202. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  203. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  204. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  205. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  206. <action application="set" data="accountname=default"/>                                                                                                                                                            
  207. <action application="set" data="origination_rates_did=ID:203|CODE:^27876303962.*|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:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405"/>          
  208. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  209. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  210. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  211. <action application="limit" data="db 8773282952 user_8773282952 16 "/>                                                                                                                                            
  212. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  213. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  214. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  215. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  216. <action application="set" data="effective_caller_id_name=27876300012"/>                                                                                                                                            
  217. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  218. <action application="set" data="receiver_accid=467"/>                                                                                                                                                              
  219. <action application="export" data="domain_name="/>                                                                                                                                                                
  220. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  221. <action application="export" data="presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43"/>                                          
  222. <action application="export" data="call_type=4"/>                                                                                                                                                                  
  223. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  224. <action application="set" data="accountcode=4910157719"/>                                                                                                                                                          
  225. <action application="set" data="caller_did_account_id=419"/>                                                                                                                                                      
  226. <action application="set" data="did_number=27876303962"/>                                                                                                                                                          
  227. <action application="set" data="did_init_inc=1"/>                                                                                                                                                                  
  228. <action application="set" data="did_inc=1"/>                                                                                                                                                                      
  229. <action application="set" data="did_cost=0.00000"/>                                                                                                                                                                
  230. <action application="set" data="did_connectcost=0.00000"/>                                                                                                                                                        
  231. <action application="set" data="origination_rates_did=0"/>                                                                                                                                                        
  232. <action application="set" data="did_id=203"/>                                                                                                                                                                      
  233. <action application="transfer" data="0740451462 XML default"/>                                                                                                                                                    
  234. </condition>                                                                                                                                                                                                      
  235. </extension>                                                                                                                                                                                                      
  236. </context>                                                                                                                                                                                                        
  237. </section>                                                                                                                                                                                                        
  238. </document>                                                                                                                                                                                                        
  239. Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27876303962] continue=false
  240. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27876303962] destination_number(0876303962) =~ /0876303962/ break=on-false
  241. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=0876303962)
  242. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  243. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0)
  244. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=450.00000)
  245. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0)
  246. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-28 12:06:07)
  247. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true)
  248. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
  249. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419)
  250. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405)
  251. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0)
  252. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
  253. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=inbound)
  254. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default)
  255. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates_did=ID:203|CODE:^27876303962.*|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:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                              
  256. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=0)
  257. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
  258. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
  259. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
  260. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1)
  261. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true)
  262. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000)
  263. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  264. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012)
  265. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012)
  266. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(receiver_accid=467)
  267. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(domain_name=)
  268. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(sip_to_host=)
  269. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43)
  270. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(call_type=4)
  271. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD)
  272. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountcode=4910157719)
  273. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(caller_did_account_id=419)
  274. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_number=27876303962)
  275. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_init_inc=1)
  276. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_inc=1)
  277. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_cost=0.00000)
  278. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_connectcost=0.00000)
  279. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates_did=0)
  280. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_id=203)
  281. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action transfer(0740451462 XML default)
  282. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  283. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
  284. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 45676)
  285. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
  286. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
  287. 2024-10-28 12:06:07.610283 99.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
  288. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=0876303962)
  289. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[0876303962]
  290. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  291. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  292. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0)
  293. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0]
  294. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=450.00000)
  295. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[450.00000]
  296. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0)
  297. 2024-10-28 12:06:07.610283 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0]
  298. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-28 12:06:07)
  299. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-28 12:06:07]
  300. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true)
  301. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true]
  302. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE)
  303. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE]
  304. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419)
  305. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419]
  306. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405)
  307. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405]
  308. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0)
  309. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0]
  310. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
  311. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
  312. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=inbound)
  313. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[inbound]
  314. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default)
  315. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default]
  316. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates_did=ID:203|CODE:^27876303962.*|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:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                              
  317. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates_did]=[ID:203|CODE:^27876303962.*|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:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405]                                                                                                                                                
  318. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=0)
  319. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[0]
  320. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
  321. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
  322. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
  323. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
  324. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
  325. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
  326. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
  327. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1)
  328. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  329. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true)
  330. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  331. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000)
  332. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  333. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/1797e2fe-13af-4d54-9419-2ef93955ada2.wav)
  334. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/1797e2fe-13af-4d54-9419-2ef93955ada2.wav]
  335. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012)
  336. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012]
  337. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012)
  338. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012]
  339. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(receiver_accid=467)
  340. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [receiver_accid]=[467]
  341. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(domain_name=)
  342. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  343. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(sip_to_host=)
  344. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  345. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43)
  346. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43]                                                                                                                                                                                                          
  347. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(call_type=4)
  348. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  349. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD)
  350. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD]
  351. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountcode=4910157719)
  352. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountcode]=[4910157719]
  353. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(caller_did_account_id=419)
  354. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [caller_did_account_id]=[419]
  355. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_number=27876303962)
  356. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_number]=[27876303962]
  357. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_init_inc=1)
  358. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_init_inc]=[1]
  359. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_inc=1)
  360. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_inc]=[1]
  361. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_cost=0.00000)
  362. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_cost]=[0.00000]
  363. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_connectcost=0.00000)
  364. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_connectcost]=[0.00000]
  365. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates_did=0)
  366. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates_did]=[0]
  367. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_id=203)
  368. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_id]=[203]
  369. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 transfer(0740451462 XML default)
  370. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_ivr.c:2289 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_EXECUTE -> CS_ROUTING
  371. 2024-10-28 12:06:07.630281 99.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/27876300012@196.7.219.43:8356 to XML[0740451462@default]
  372. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
  373. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 45676)
  374. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
  375. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  376. 2024-10-28 12:06:07.630281 99.80% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
  377. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
  378. 2024-10-28 12:06:07.630281 99.80% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0740451462 in context default
  379. 2024-10-28 12:06:07.630281 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  380. 2024-10-28 12:06:07.630281 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  381. 2024-10-28 12:06:07.630281 99.80% [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')                                                                                                                                                                                                
  382. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  383. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0740451462
  384. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0740451462' AND status=0 limit 1
  385. 2024-10-28 12:06:07.650280 99.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  386. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300012 / 27876300012
  387. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  388. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                                                                                                          
  389. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  390. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  391. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  392. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  393. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  394. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1                                    
  395. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  396. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                                                                                    
  397. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  398. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  399. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4910157719]
  400. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4910157719" OR id = "4910157719") AND deleted = 0 limit 1
  401. 2024-10-28 12:06:07.650280 99.80% [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 = 467 limit 1                                                                                                              
  402. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  403. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                                                                                                          
  404. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
  405. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  406. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  407. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  408. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  409. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27740451462" AND (accountid = 0 OR status = 1) LIMIT 1
  410. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  411. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                                                                                                          
  412. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  413. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  414. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  415. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  416. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  417. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  418. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  419. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  420. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  421. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  422. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  423. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  424. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  425. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  426. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  427. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  428. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  429. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                              
  430. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
  431. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
  432. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                            
  433. 2024-10-28 12:06:07.650280 99.80% [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 = 467 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  434. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 879
  435. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 307
  436. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 307 AND status = 0
  437. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
  438. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
  439. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 467 AND package_id = 879 AND status=1 LIMIT 1
  440. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 4.2666666666667
  441. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 879
  442. 2024-10-28 12:06:07.650280 99.80% [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 = '467' limit 1                                                                                                                                                                
  443. 2024-10-28 12:06:07.650280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27740451462
  444. 2024-10-28 12:06:07.650280 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  445. 2024-10-28 12:06:07.650280 99.80% [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                                                                                                                                                                                          
  446. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  447. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  448. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  449. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1                                    
  450. 2024-10-28 12:06:07.650280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  451. 2024-10-28 12:06:07.670280 99.80% [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                                                                                                                                                                  
  452. 2024-10-28 12:06:07.670280 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  453. 2024-10-28 12:06:07.670280 99.80% [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                                                                                                                                                                                  
  454. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  455. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
  456. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  457. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "467" and status=0
  458. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :0
  459. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='27876300012' and status=0
  460. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  461. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  462. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 467
  463. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  464. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  465. <document type="freeswitch/xml">                                                                                                                                                                                  
  466. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  467. <context name="default">                                                                                                                                                                                          
  468. <extension name="0740451462">                                                                                                                                                                                      
  469. <condition field="destination_number" expression="0740451462">                                                                                                                                                    
  470. <action application="log" data="WARNING CALLERID_NOT_FOUND 467"/>                                                                                                                                                  
  471. <action application="playback" data=""/>                                                                                                                                                                          
  472. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  473. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  474. <action application="set" data="error_cdr=1"/>                                                                                                                                                                    
  475. <action application="set" data="callstart=2024-10-28 12:06:07"/>                                                                                                                                                  
  476. <action application="set" data="account_id=467"/>                                                                                                                                                                  
  477. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  478. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  479. <action application="set" data="sip_ignore_remote_cause=true"/>                                                                                                                                                    
  480. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  481. <action application="set" data="effective_destination_number=27740451462"/>                                                                                                                                        
  482. <action application="set" data="last_bridge_hangup_cause=CALLERID_NOT_FOUND"/>                                                                                                                                    
  483. <action application="hangup" data="CALLERID_NOT_FOUND"/>                                                                                                                                                          
  484. </condition>                                                                                                                                                                                                      
  485. </extension>                                                                                                                                                                                                      
  486. </context>                                                                                                                                                                                                        
  487. </section>                                                                                                                                                                                                        
  488. </document>                                                                                                                                                                                                        
  489. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  490. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  491. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 467
  492. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  493. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  494. <document type="freeswitch/xml">                                                                                                                                                                                  
  495. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  496. <context name="default">                                                                                                                                                                                          
  497. <extension name="0740451462">                                                                                                                                                                                      
  498. <condition field="destination_number" expression="0740451462">                                                                                                                                                    
  499. <action application="log" data="WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!"/>                                                                                            
  500. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>                                                                                                              
  501. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  502. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  503. <action application="set" data="error_cdr=1"/>                                                                                                                                                                    
  504. <action application="set" data="callstart=2024-10-28 12:06:07"/>                                                                                                                                                  
  505. <action application="set" data="account_id=467"/>                                                                                                                                                                  
  506. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  507. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  508. <action application="set" data="sip_ignore_remote_cause=true"/>                                                                                                                                                    
  509. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  510. <action application="set" data="effective_destination_number=27740451462"/>                                                                                                                                        
  511. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>                                                                                                                                    
  512. <action application="hangup" data="DESTINATION_BLOCKED"/>                                                                                                                                                          
  513. </condition>                                                                                                                                                                                                      
  514. </extension>                                                                                                                                                                                                      
  515. </context>                                                                                                                                                                                                        
  516. </section>                                                                                                                                                                                                        
  517. </document>                                                                                                                                                                                                        
  518. Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->0740451462] continue=false
  519. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [0740451462] destination_number(0740451462) =~ /0740451462/ break=on-false
  520. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action log(WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!)
  521. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  522. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
  523. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
  524. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(error_cdr=1)
  525. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-28 12:06:07)
  526. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=467)
  527. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=425)
  528. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound)
  529. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(sip_ignore_remote_cause=true)
  530. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
  531. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27740451462)
  532. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  533. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action hangup(DESTINATION_BLOCKED)
  534. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  535. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
  536. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 45676)
  537. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
  538. 2024-10-28 12:06:07.670280 99.80% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
  539. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
  540. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 log(WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!)
  541. 2024-10-28 12:06:07.670280 99.80% [WARNING] mod_dptools.c:1879 Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!
  542. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27876300012@196.7.219.43:8356
  543. 2024-10-28 12:06:07.670280 99.80% [INFO] switch_core_session.c:2797 Sending early media
  544. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.19 port 24674 -> 196.7.219.43 port 48548 codec: 8 ms: 20
  545. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  546. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  547. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  548. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40
  549. 2024-10-28 12:06:07.670280 99.80% [DEBUG] mod_sofia.c:2610 Ring SDP:
  550. v=0                                                                                                                                                                                                                
  551. o=FreeSWITCH 1730092493 1730092494 IN IP4 102.220.232.19                                                                                                                                                          
  552. s=FreeSWITCH                                                                                                                                                                                                      
  553. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  554. t=0 0                                                                                                                                                                                                              
  555. m=audio 24674 RTP/AVP 8 101                                                                                                                                                                                        
  556. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  557. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  558. a=fmtp:101 0-15                                                                                                                                                                                                    
  559. a=ptime:20                                                                                                                                                                                                        
  560. a=sendrecv                                                                                                                                                                                                        
  561.  
  562. 2024-10-28 12:06:07.670280 99.80% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300012@196.7.219.43:8356!
  563. 2024-10-28 12:06:07.670280 99.80% [DEBUG] switch_channel.c:3622 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> EARLY
  564. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  565. 2024-10-28 12:06:07.690281 99.80% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 22050 doesn't match requested rate 8000
  566. 2024-10-28 12:06:07.690281 99.80% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  567. 2024-10-28 12:06:07.690281 99.80% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][183]
  568. 2024-10-28 12:06:07.930282 99.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  569. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
  570. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
  571. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
  572. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
  573. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
  574. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(error_cdr=1)
  575. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [error_cdr]=[1]
  576. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-28 12:06:07)
  577. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-28 12:06:07]
  578. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=467)
  579. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[467]
  580. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=425)
  581. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[425]
  582. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound)
  583. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound]
  584. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(sip_ignore_remote_cause=true)
  585. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [sip_ignore_remote_cause]=[true]
  586. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
  587. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
  588. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27740451462)
  589. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27740451462]
  590. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  591. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  592. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 hangup(DESTINATION_BLOCKED)
  593. 2024-10-28 12:06:09.690283 99.77% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
  594. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  595. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
  596. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 1 Tot 45676)
  597. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change EARLY -> HANGUP
  598. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP
  599. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
  600. 2024-10-28 12:06:09.690283 99.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  601. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
  602. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep
  603. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  604. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 1 Tot 45676)
  605. 2024-10-28 12:06:09.690283 99.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING
  606. 2024-10-28 12:06:09.690283 99.77% [INFO] mod_json_cdr.c:271 Process [1797e2fe-13af-4d54-9419-2ef93955ada2.cdr.json]
  607. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
  608. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep
  609. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  610. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_session.c:1753 Session 45676 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities
  611. 2024-10-28 12:06:09.750283 99.77% [NOTICE] switch_core_session.c:1771 Session 45676 (sofia/default/27876300012@196.7.219.43:8356) Ended
  612. 2024-10-28 12:06:09.750283 99.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY]
  613. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 45676)
  614. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY
  615. 2024-10-28 12:06:09.750283 99.77% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY
  616. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY
  617. 2024-10-28 12:06:09.750283 99.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep
  618.