From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- go back
Embed
  1. and you must configure your device to use the proper domain in its authentication credentials.
  2. 2023-07-12 09:57:16.870628 60.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [31010f03-6510-467c-a3b5-dc70f7a04fbe]
  3. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 4)
  4. 2023-07-12 09:57:16.870628 60.97% [INFO] sofia.c:10453 sofia/default/9900120420@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 531929f3-9b3d-123c-4c95-02c9c4cfda14
  5. 2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
  6. 2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  7. 2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
  8. 2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7497 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1689137664 1689137665 IN IP4 13.232.246.166
  11. s=FreeSWITCH
  12. c=IN IP4 13.232.246.166
  13. t=0 0
  14. m=audio 18172 RTP/AVP 0 101
  15. a=rtpmap:0 PCMU/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18. a=ptime:20
  19.  
  20. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  21. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  22. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  24. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  25. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9900120420@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  26. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
  27. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  28. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  29. 2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
  30. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
  31. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 4)
  32. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
  33. 2023-07-12 09:57:16.870628 60.97% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
  34. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
  35. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  36. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
  37. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 4)
  38. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
  39. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  40. 2023-07-12 09:57:16.870628 60.97% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  41. 2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  42. 2023-07-12 09:57:16.870628 60.97% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
  43. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  44. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  45. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  46. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  47. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  48. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  49. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
  50. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  51. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
  52. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  53. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
  55. 2023-07-12 09:57:16.890617 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  56. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  57. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  58. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  59. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  60. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  61. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  62. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  63. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  64. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  66. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  67. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "10050"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  68. 2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343670]
  69. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  70. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343670" OR id = "8871343670") AND deleted = 0 limit 1
  71. 2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  72. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  73. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  74. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  75. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  76. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10050" AND A.accountid = '13' limit 1
  78. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  79. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  81. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  82. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  83. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  84. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  85. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  86. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
  92. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343670
  93. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  94. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 76168.3732
  95. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  96. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  97. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  100. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  101. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  102. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  103. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  104. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  106. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  107. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  108. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
  109. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  110. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  111. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  112. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '118'
  113. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+00:00
  114. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  115. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  116. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:12
  117. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Jul
  118. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :12-7
  119. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :1
  120. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  121. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '118'
  122. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+00:00
  123. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  124. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  125. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 09.57
  126. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Wed
  127. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  128. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Wed
  129. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Wed
  130. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number4
  131. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :-7
  132. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
  133. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  134. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  135. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  136. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  137. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  138. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  139. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  140. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
  141. 2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  142. 2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  143. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your76168.3732 balance Accountid 13 !!!
  144. 2023-07-12 09:57:16.930614 60.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  145. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
  146. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  147. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  148. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
  149. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1
  150. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  151. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  152. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
  153. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  154. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  155. 2023-07-12 09:57:16.930614 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
  156. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 500
  157. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+alphaFreeswitchProxy' and status = 0 limit 1
  158. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  159. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  160. 2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  161. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "10000007000" AND accounts.status = 0
  162. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  163. 2023-07-12 09:57:16.930614 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
  164. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  165. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  166. <document type="freeswitch/xml">
  167. <section name="dialplan" description="ASTPP Dialplan">
  168. <context name="default">
  169. <extension name="10050">
  170. <condition field="destination_number" expression="10050">
  171. <action application="set" data="effective_destination_number=10050"/>
  172. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  173. <action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
  174. <action application="set" data="type=3"/>
  175. <action application="set" data="callstart=2023-07-12 09:57:16"/>
  176. <action application="set" data="hangup_after_bridge=true"/>
  177. <action application="set" data="continue_on_fail=TRUE"/>
  178. <action application="set" data="account_id=13"/>
  179. <action application="set" data="parent_id=0"/>
  180. <action application="set" data="entity_id=3"/>
  181. <action application="set" data="call_processed=internal"/>
  182. <action application="set" data="call_direction=inbound"/>
  183. <action application="set" data="accountname=CommunityVsix"/>
  184. <action application="set" data="filename1=astpp.pbx.lua"/>
  185. <action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  186. <action application="set" data="origination_rates=0"/>
  187. <action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
  188. <action application="set" data="original_caller_id_number=9900120420"/>
  189. <action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
  190. <action application="set" data="effective_caller_id_number=9900120420"/>
  191. <action application="set" data="receiver_accid=7"/>
  192. <action application="set" data="did_id=13"/>
  193. <action application="set" data="transfer_call_type=5"/>
  194. <action application="set" data="transfer_extensions=8827185844"/>
  195. <action application="set" data="busy_status=0"/>
  196. <action application="set" data="no_answer_status=1"/>
  197. <action application="set" data="always_status=1"/>
  198. <action application="set" data="transfer_status=1"/>
  199. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  200. <action application="set" data="variable_sip_network_ip=13.232.246.166"/>
  201. <action application="set" data="variable_sip_network_port=5077"/>
  202. <action application="export" data="domain_name=alpha6.astppbilling.org"/>
  203. <action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
  204. <action application="export" data="presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
  205. <action application="export" data="call_type=4"/>
  206. <action application="set" data="calltype=STANDARD"/>
  207. <action application="set" data="accountcode=8871343676"/>
  208. <action application="set" data="caller_did_account_id=13"/>
  209. <action application="set" data="did_number=10050"/>
  210. <action application="set" data="did_init_inc=0"/>
  211. <action application="set" data="did_inc=60"/>
  212. <action application="set" data="did_cost=1.20000"/>
  213. <action application="set" data="did_connectcost=0.00000"/>
  214. <action application="set" data="origination_rates_did=0"/>
  215. <action application="set" data="did_id=13"/>
  216. <action application="transfer" data="10000007000 XML default"/>
  217. </condition>
  218. </extension>
  219. </context>
  220. </section>
  221. </document>
  222. Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
  223. Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  224. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
  225. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  226. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  227. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=3)
  228. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-07-12 09:57:16)
  229. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
  230. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
  231. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=13)
  232. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
  233. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=3)
  234. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
  235. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
  236. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
  237. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  238. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  239. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
  240. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
  241. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
  242. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
  243. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
  244. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
  245. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
  246. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=5)
  247. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=8827185844)
  248. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
  249. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
  250. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
  251. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=1)
  252. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  253. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
  254. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
  255. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
  256. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
  257. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  258. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=4)
  259. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(calltype=STANDARD)
  260. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountcode=8871343676)
  261. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(caller_did_account_id=13)
  262. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_number=10050)
  263. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_init_inc=0)
  264. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_inc=60)
  265. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_cost=1.20000)
  266. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_connectcost=0.00000)
  267. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=0)
  268. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
  269. Dialplan: sofia/default/9900120420@13.232.246.166 Action transfer(10000007000 XML default)
  270. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  271. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  272. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 4)
  273. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
  274. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
  275. 2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
  276. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
  277. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
  278. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  279. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  280. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  281. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
  282. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=3)
  283. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[3]
  284. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-07-12 09:57:16)
  285. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-07-12 09:57:16]
  286. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
  287. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
  288. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
  289. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
  290. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=13)
  291. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[13]
  292. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
  293. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
  294. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=3)
  295. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[3]
  296. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
  297. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
  298. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
  299. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
  300. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
  301. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
  302. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
  303. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
  304. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  305. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  306. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
  307. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
  308. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
  309. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
  310. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
  311. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
  312. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
  313. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
  314. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
  315. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
  316. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
  317. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
  318. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
  319. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
  320. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=5)
  321. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[5]
  322. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=8827185844)
  323. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[8827185844]
  324. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
  325. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
  326. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
  327. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
  328. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
  329. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
  330. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=1)
  331. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[1]
  332. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
  333. 2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
  334. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
  335. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
  336. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
  337. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
  338. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
  339. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
  340. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
  341. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
  342. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  343. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
  344. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=4)
  345. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  346. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(calltype=STANDARD)
  347. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [calltype]=[STANDARD]
  348. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountcode=8871343676)
  349. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountcode]=[8871343676]
  350. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(caller_did_account_id=13)
  351. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [caller_did_account_id]=[13]
  352. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_number=10050)
  353. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_number]=[10050]
  354. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_init_inc=0)
  355. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_init_inc]=[0]
  356. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_inc=60)
  357. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_inc]=[60]
  358. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_cost=1.20000)
  359. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_cost]=[1.20000]
  360. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_connectcost=0.00000)
  361. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_connectcost]=[0.00000]
  362. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=0)
  363. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[0]
  364. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
  365. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
  366. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 transfer(10000007000 XML default)
  367. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_ivr.c:2288 (sofia/default/9900120420@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
  368. 2023-07-12 09:57:16.950624 60.97% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9900120420@13.232.246.166 to XML[10000007000@default]
  369. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
  370. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 4)
  371. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  372. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  373. 2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  374. 2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  375. 2023-07-12 09:57:16.950624 60.97% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10000007000 in context default
  376. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  377. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  378. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  379. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  380. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  381. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10000007000
  382. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10000007000' limit 1
  383. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  384. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10000007000' and status=0 LIMIT 1
  385. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  386. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  387. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
  388. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '10000007000' limit 1
  389. 2023-07-12 09:57:16.970620 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  390. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  391. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 07000
  392. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100000 AND status=0 limit 1
  393. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  394. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10000007000"  AND domains.domain="alpha6.astppbilling.org" limit 1
  395. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  396. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
  397. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10000007000
  398. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343676" OR id = "8871343676") AND deleted = 0 limit 1
  399. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10000007000.*' OR blocked_patterns = '^1000000700.*' OR blocked_patterns = '^100000070.*' OR blocked_patterns = '^10000007.*' OR blocked_patterns = '^1000000.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  400. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  401. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^10000007000.*' OR patterns = '^1000000700.*' OR patterns = '^100000070.*' OR patterns = '^10000007.*' OR patterns = '^1000000.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  402. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10000007000" AND A.accountid = '7' limit 1
  403. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10000007000
  404. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  405. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10000007000"  AND domains.domain="alpha6.astppbilling.org" limit 1
  406. 2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  407. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10000007000' OR number = '1000000700' OR number = '100000070' OR number = '10000007' OR number = '1000000' OR number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10000007000*' OR number = '1000000700*' OR number = '100000070*' OR number = '10000007*' OR number = '1000000*' OR number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  408. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 10000007000 : Type: 0 (0 for CLI, 1 for DST))
  409. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::****
  410. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : 1
  411. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  412. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 7
  413. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  414. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  415. <document type="freeswitch/xml">
  416. <section name="dialplan" description="ASTPP Dialplan">
  417. <context name="default">
  418. <extension name="10000007000">
  419. <condition field="destination_number" expression="10000007000">
  420. <action application="log" data="WARNING Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!"/>
  421. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>
  422. <action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
  423. <action application="set" data="original_caller_id_number=CallerPKCommunitySix"/>
  424. <action application="set" data="error_cdr=1"/>
  425. <action application="set" data="callstart=2023-07-12 09:57:16"/>
  426. <action application="set" data="account_id=7"/>
  427. <action application="set" data="parent_id=0"/>
  428. <action application="set" data="call_direction=outbound"/>
  429. <action application="set" data="sip_ignore_remote_cause=true"/>
  430. <action application="set" data="call_processed=internal"/>
  431. <action application="set" data="effective_destination_number=10000007000"/>
  432. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
  433. <action application="hangup" data="DESTINATION_BLOCKED"/>
  434. </condition>
  435. </extension>
  436. </context>
  437. </section>
  438. </document>
  439. Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10000007000] continue=false
  440. Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10000007000] destination_number(10000007000) =~ /10000007000/ break=on-false
  441. Dialplan: sofia/default/9900120420@13.232.246.166 Action log(WARNING Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!)
  442. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  443. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
  444. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=CallerPKCommunitySix)
  445. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(error_cdr=1)
  446. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-07-12 09:57:16)
  447. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=7)
  448. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
  449. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=outbound)
  450. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(sip_ignore_remote_cause=true)
  451. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
  452. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10000007000)
  453. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  454. Dialplan: sofia/default/9900120420@13.232.246.166 Action hangup(DESTINATION_BLOCKED)
  455. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  456. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  457. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 4)
  458. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
  459. 2023-07-12 09:57:16.970620 60.97% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
  460. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
  461. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 log(WARNING Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!)
  462. 2023-07-12 09:57:16.970620 60.97% [WARNING] mod_dptools.c:1867 Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!
  463. 2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
  464. 2023-07-12 09:57:16.990717 60.97% [INFO] switch_core_session.c:2787 Sending early media
  465. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 32496 -> 13.232.246.166 port 18172 codec: 0 ms: 20
  466. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  467. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
  468. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
  469. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
  470. 2023-07-12 09:57:16.990717 60.97% [DEBUG] mod_sofia.c:2609 Ring SDP:
  471. v=0
  472. o=FreeSWITCH 1689123340 1689123341 IN IP4 95.217.238.195
  473. s=FreeSWITCH
  474. c=IN IP4 95.217.238.195
  475. t=0 0
  476. m=audio 32496 RTP/AVP 0 101
  477. a=rtpmap:0 PCMU/8000
  478. a=rtpmap:101 telephone-event/8000
  479. a=fmtp:101 0-15
  480. a=ptime:20
  481. a=sendrecv
  482.  
  483. 2023-07-12 09:57:16.990717 60.97% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
  484. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
  485. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  486. 2023-07-12 09:57:16.990717 60.97% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
  487. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 16000 doesn't match requested rate 8000
  488. 2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  489. 2023-07-12 09:57:17.330617 60.97% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  490. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
  491. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
  492. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
  493. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=CallerPKCommunitySix)
  494. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[CallerPKCommunitySix]
  495. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(error_cdr=1)
  496. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [error_cdr]=[1]
  497. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-07-12 09:57:16)
  498. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-07-12 09:57:16]
  499. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=7)
  500. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[7]
  501. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
  502. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
  503. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=outbound)
  504. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[outbound]
  505. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(sip_ignore_remote_cause=true)
  506. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [sip_ignore_remote_cause]=[true]
  507. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
  508. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
  509. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10000007000)
  510. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10000007000]
  511. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  512. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  513. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 hangup(DESTINATION_BLOCKED)
  514. 2023-07-12 09:57:19.050623 60.70% [NOTICE] mod_dptools.c:1376 Hangup sofia/default/9900120420@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  515. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_session.c:2973 sofia/default/9900120420@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  516. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
  517. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 4)
  518. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9900120420@13.232.246.166) Callstate Change EARLY -> HANGUP
  519. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP
  520. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/9900120420@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  521. 2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  522. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/9900120420@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  523. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP going to sleep
  524. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9900120420@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  525. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 4)
  526. 2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING
  527. 2023-07-12 09:57:19.050623 60.70% [INFO] mod_json_cdr.c:272 Process [31010f03-6510-467c-a3b5-dc70f7a04fbe.cdr.json]
  528. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/9900120420@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  529. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING going to sleep
  530. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9900120420@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  531. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_session.c:1743 Session 4 (sofia/default/9900120420@13.232.246.166) Locked, Waiting on external entities
  532. 2023-07-12 09:57:19.070621 60.70% [NOTICE] switch_core_session.c:1761 Session 4 (sofia/default/9900120420@13.232.246.166) Ended
  533. 2023-07-12 09:57:19.070621 60.70% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9900120420@13.232.246.166 [CS_DESTROY]
  534. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9900120420@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 4)
  535. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY
  536. 2023-07-12 09:57:19.070621 60.70% [DEBUG] mod_sofia.c:379 sofia/default/9900120420@13.232.246.166 SOFIA DESTROY
  537. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/9900120420@13.232.246.166 Standard DESTROY
  538. 2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY going to sleep
  539. freeswitch@AlphaQaAlpesh>
  540. freeswitch@AlphaQaAlpesh>
  541. freeswitch@AlphaQaAlpesh>
  542. freeswitch@AlphaQaAlpesh>
  543. freeswitch@AlphaQaAlpesh>
  544. freeswitch@AlphaQaAlpesh> /exit
  545.  
  546. root@AlphaQaAlpesh:~#