From Yash, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and CDRS entry not display for Timecondition
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-06-16 03:49:12.096300 96.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [f2b5318a-799f-4039-86a3-8bcc2119c47a]
  2. 2023-06-16 03:49:12.096300 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 580)
  3. 2023-06-16 03:49:12.096300 96.10% [INFO] sofia.c:10462 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 receiving invite from 78.47.101.152:5060 version: 1.10.7 -release 64bit call-id: YjE2MWM4MzgxNmE3NmVhNGU2ZTEwNjgxODQ3ZDdhNjg.
  4. 2023-06-16 03:49:12.096300 96.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  5. 2023-06-16 03:49:12.096300 96.10% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  6. 2023-06-16 03:49:12.116266 96.10% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [received][100]
  7. 2023-06-16 03:49:12.116266 96.10% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=Z 0 0 IN IP4 103.240.35.46
  10. s=Z
  11. c=IN IP4 103.240.35.46
  12. t=0 0
  13. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  14. a=rtpmap:110 speex/8000
  15. a=rtpmap:98 iLBC/8000
  16. a=fmtp:98 mode=20
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19.  
  20. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  21. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  22. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  30. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  33. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/986057@clusterguibeta5.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  34. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_codec.c:111 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Original read codec set to PCMA:8
  35. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  36. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_media.c:5973 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  37. 2023-06-16 03:49:12.116266 96.10% [DEBUG] sofia.c:7933 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  38. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State NEW
  39. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 580)
  40. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State INIT
  41. 2023-06-16 03:49:12.116266 96.10% [DEBUG] mod_sofia.c:97 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA INIT
  42. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard INIT
  43. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  44. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State INIT going to sleep
  45. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 580)
  46. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_channel.c:2380 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  47. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING
  48. 2023-06-16 03:49:12.116266 96.10% [DEBUG] mod_sofia.c:158 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  49. 2023-06-16 03:49:12.116266 96.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard ROUTING
  50. 2023-06-16 03:49:12.116266 96.10% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->91884400 in context default
  51. 2023-06-16 03:49:12.116266 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  52. 2023-06-16 03:49:12.136253 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  53. 2023-06-16 03:49:12.136253 96.10% [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')
  54. 2023-06-16 03:49:12.136253 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-06-16 03:49:12.136253 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  56. 2023-06-16 03:49:12.136253 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884400
  57. 2023-06-16 03:49:12.136253 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884400' limit 1
  58. 2023-06-16 03:49:12.136253 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91884400' AND status=0 limit 1
  59. 2023-06-16 03:49:12.136253 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884400' and status=0 LIMIT 1
  60. 2023-06-16 03:49:12.176233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  61. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  63. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '91884400' limit 1
  64. 2023-06-16 03:49:12.176233 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  65. 2023-06-16 03:49:12.176233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  66. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00
  67. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 918844 AND status=0 limit 1
  68. 2023-06-16 03:49:12.176233 96.10% [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 ="91884400" LIMIT 1
  69. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  71. 2023-06-16 03:49:12.176233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  72. 2023-06-16 03:49:12.176233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  73. 2023-06-16 03:49:12.176233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  74. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =91884400
  75. 2023-06-16 03:49:12.176233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  76. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  77. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="91884400" AND (accountid = 0 OR status = 1) LIMIT 1
  78. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  79. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 34
  80. 2023-06-16 03:49:12.196257 96.10% [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 = '^91884400.*' OR patterns = '^9188440.*' OR patterns = '^918844.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  81. 2023-06-16 03:49:12.196257 96.10% [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 ="91884400" AND A.accountid = '34' limit 1
  82. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884400
  83. 2023-06-16 03:49:12.196257 96.10% [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 ="91884400" LIMIT 1
  84. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  85. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  86. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2023-06-16 03:49:12.196257 96.10% [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 = '91884400' OR number = '9188440' OR number = '918844' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884400*' OR number = '9188440*' OR number = '918844*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '986057' OR number = '98605' OR number = '9860' OR number = '986' OR number = '98' OR number = '9' OR number ='--') OR (number = '986057*' OR number = '98605*' OR number = '9860*' OR number = '986*' OR number = '98*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884400' OR routing_prefix = '9188440' OR routing_prefix = '918844' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  92. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 986057
  93. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  94. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3053.9027
  95. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  96. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  97. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  100. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  101. 2023-06-16 03:49:12.196257 96.10% [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 ="91884400" LIMIT 1
  102. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  103. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  104. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  105. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  106. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  107. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:8
  108. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '8' and status=0
  109. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  110. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22
  112. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  115. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884400
  116. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  117. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  118. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  119. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  120. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3053.9027 balance Accountid 34 !!!
  121. 2023-06-16 03:49:12.196257 96.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  122. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  123. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  124. 2023-06-16 03:49:12.196257 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  125. 2023-06-16 03:49:12.196257 96.10% [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 = 34 AND status=0 LIMIT 1
  126. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  127. 2023-06-16 03:49:12.196257 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  128. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:34
  129. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:34
  130. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 34
  131. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  132. 2023-06-16 03:49:12.236240 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta5.astppbilling.org
  133. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 2
  134. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  135. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  136. span style="color: green; font-weight: bold;"> 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"256","no_answer_call_type":"11","priority":"1"}]
  137. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  138. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "256" limit 1
  139. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  140. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  141. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  142. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  143. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  144. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  145. 2023-06-16 03:49:12.236240 96.10% [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 = "2" AND accounts.status = 0
  146. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884400
  147. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884400
  148. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  149. 2023-06-16 03:49:12.236240 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta5.astppbilling.org
  150. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  151. 2023-06-16 03:49:12.236240 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 2
  152. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  153. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  154. <document type="freeswitch/xml">
  155. <section name="dialplan" description="ASTPP Dialplan">
  156. <context name="default">
  157. <extension name="Y Test timecondi" continue="true">
  158. <condition break="never">
  159. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  160. </condition>
  161. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  162. <action application="set" data="office_status=open" inline="true"/>
  163. <action application="set" data="extensions=761767" inline="true"/>
  164. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  165. <action application="set" data="no_answer_call_type=11" inline="true"/>
  166. </condition>
  167. </extension>
  168. <extension name="tod route, x91884400">
  169. <condition field="destination_number" expression="^(\+?)?(91884400)$">
  170. <action application="execute_extension" data="91884400_${office_status}"/>
  171. </condition>
  172. </extension>
  173. <extension name="office is open">
  174. <condition field="destination_number" expression="^(\+?)?(91884400_open)$">
  175. <action application="set" data="domain_name=clusterguibeta5.astppbilling.org"/>
  176. <action application="set" data="set_extensions=${extensions}"/>
  177. <action application="set" data="no_answer_flag=true"/>
  178. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  179. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  180. <action application="set" data="no_answer_number=${extensions}" />
  181. <action application="transfer" data="34 XML default"/>
  182. </condition>
  183. </extension>
  184. <extension name="91884400">
  185. <condition field="destination_number" expression="91884400">
  186. <action application="set" data="effective_destination_number=91884400"/>
  187. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  188. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  189. <action application="set" data="notify_flag=0"/>
  190. <action application="set" data="notify_credit_limit=5.00000"/>
  191. <action application="set" data="type=0"/>
  192. <action application="set" data="callstart=2023-06-16 03:49:12"/>
  193. <action application="set" data="hangup_after_bridge=true"/>
  194. <action application="set" data="continue_on_fail=TRUE"/>
  195. <action application="set" data="account_id=34"/>
  196. <action application="set" data="parent_id=0"/>
  197. <action application="set" data="entity_id=0"/>
  198. <action application="set" data="call_processed=internal"/>
  199. <action application="set" data="call_direction=inbound"/>
  200. <action application="set" data="accountname=default"/>
  201. <action application="set" data="filename1=astpp.pbx.lua"/>
  202. <action application="set" data="origination_rates_did=ID:22|CODE:^91884400.*|DESTINATION:91884400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:34"/>
  203. <action application="set" data="origination_rates=0"/>
  204. <action application="set" data="original_caller_id_name=986057"/>
  205. <action application="set" data="original_caller_id_number=986057"/>
  206. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  207. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  208. <action application="set" data="effective_caller_id_name=986057"/>
  209. <action application="set" data="effective_caller_id_number=986057"/>
  210. <action application="set" data="receiver_accid=34"/>
  211. <action application="export" data="domain_name=clusterguibeta5.astppbilling.org"/>
  212. <action application="export" data="sip_to_host=clusterguibeta5.astppbilling.org"/>
  213. <action application="export" data="presence_data=x|||Yash(986057)|||^91884400.* // 91884400 // 0.00000|||||||||DID|||103.240.35.46"/>
  214. <action application="export" data="call_type=11"/>
  215. </condition>
  216. </extension>
  217. </context>
  218. </section>
  219. </document>
  220. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->Y Test timecondi] continue=true
  221. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Absolute Condition [Y Test timecondi]
  222. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(timezone=Europe/Sarajevo) INLINE
  223. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(timezone=Europe/Sarajevo)
  224. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [timezone]=[Europe/Sarajevo]
  225. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Date/Time Match (PASS) [Y Test timecondi] break=never
  226. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(office_status=open) INLINE
  227. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(office_status=open)
  228. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [office_status]=[open]
  229. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(extensions=761767) INLINE
  230. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(extensions=761767)
  231. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [extensions]=[761767]
  232. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  233. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  234. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  235. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=11) INLINE
  236. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=11)
  237. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[11]
  238. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->tod route, x91884400] continue=false
  239. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [tod route, x91884400] destination_number(91884400) =~ /^(\+?)?(91884400)$/ break=on-false
  240. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action execute_extension(91884400_${office_status})
  241. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  242. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  243. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 580)
  244. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE
  245. 2023-06-16 03:49:12.236240 96.10% [DEBUG] mod_sofia.c:213 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA EXECUTE
  246. 2023-06-16 03:49:12.236240 96.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard EXECUTE
  247. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 execute_extension(91884400_open)
  248. 2023-06-16 03:49:12.236240 96.10% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->91884400_open in context default
  249. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  250. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  251. 2023-06-16 03:49:12.256254 96.10% [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')
  252. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  253. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  254. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884400
  255. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884400' limit 1
  256. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91884400' AND status=0 limit 1
  257. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884400' and status=0 LIMIT 1
  258. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  259. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  260. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  261. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '91884400' limit 1
  262. 2023-06-16 03:49:12.256254 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  263. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  264. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00
  265. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 918844 AND status=0 limit 1
  266. 2023-06-16 03:49:12.256254 96.10% [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 ="91884400" LIMIT 1
  267. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  268. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  269. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  270. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  271. 2023-06-16 03:49:12.256254 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  272. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =91884400
  273. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  274. 2023-06-16 03:49:12.256254 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  275. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="91884400" AND (accountid = 0 OR status = 1) LIMIT 1
  276. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  277. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 34
  278. 2023-06-16 03:49:12.296230 96.10% [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 = '^91884400.*' OR patterns = '^9188440.*' OR patterns = '^918844.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  279. 2023-06-16 03:49:12.296230 96.10% [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 ="91884400" AND A.accountid = '34' limit 1
  280. 2023-06-16 03:49:12.296230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884400
  281. 2023-06-16 03:49:12.296230 96.10% [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 ="91884400" LIMIT 1
  282. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  283. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  284. 2023-06-16 03:49:12.296230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  285. 2023-06-16 03:49:12.296230 96.10% [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 = '91884400' OR number = '9188440' OR number = '918844' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884400*' OR number = '9188440*' OR number = '918844*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '986057' OR number = '98605' OR number = '9860' OR number = '986' OR number = '98' OR number = '9' OR number ='--') OR (number = '986057*' OR number = '98605*' OR number = '9860*' OR number = '986*' OR number = '98*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  286. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  287. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884400' OR routing_prefix = '9188440' OR routing_prefix = '918844' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  288. 2023-06-16 03:49:12.296230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  289. 2023-06-16 03:49:12.296230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  290. 2023-06-16 03:49:12.296230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 986057
  291. 2023-06-16 03:49:12.296230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  292. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3053.9027
  293. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  294. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  295. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  296. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  297. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  298. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  299. 2023-06-16 03:49:12.316233 96.10% [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 ="91884400" LIMIT 1
  300. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  301. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  302. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  303. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  304. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  305. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:8
  306. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '8' and status=0
  307. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  308. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  309. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22
  310. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  311. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  312. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  313. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884400
  314. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  315. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  316. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  317. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  318. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3053.9027 balance Accountid 34 !!!
  319. 2023-06-16 03:49:12.316233 96.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  320. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  321. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  322. 2023-06-16 03:49:12.316233 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  323. 2023-06-16 03:49:12.316233 96.10% [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 = 34 AND status=0 LIMIT 1
  324. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  325. 2023-06-16 03:49:12.316233 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  326. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:34
  327. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:34
  328. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 34
  329. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  330. 2023-06-16 03:49:12.336230 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta5.astppbilling.org
  331. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 2
  332. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  333. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  334. span style="color: green; font-weight: bold;"> 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"256","no_answer_call_type":"11","priority":"1"}]
  335. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  336. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "256" limit 1
  337. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  338. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  339. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  340. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  341. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  342. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  343. 2023-06-16 03:49:12.336230 96.10% [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 = "2" AND accounts.status = 0
  344. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884400
  345. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884400
  346. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  347. 2023-06-16 03:49:12.336230 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta5.astppbilling.org
  348. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  349. 2023-06-16 03:49:12.336230 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 2
  350. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  351. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  352. <document type="freeswitch/xml">
  353. <section name="dialplan" description="ASTPP Dialplan">
  354. <context name="default">
  355. <extension name="Y Test timecondi" continue="true">
  356. <condition break="never">
  357. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  358. </condition>
  359. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  360. <action application="set" data="office_status=open" inline="true"/>
  361. <action application="set" data="extensions=761767" inline="true"/>
  362. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  363. <action application="set" data="no_answer_call_type=11" inline="true"/>
  364. </condition>
  365. </extension>
  366. <extension name="tod route, x91884400">
  367. <condition field="destination_number" expression="^(\+?)?(91884400)$">
  368. <action application="execute_extension" data="91884400_${office_status}"/>
  369. </condition>
  370. </extension>
  371. <extension name="office is open">
  372. <condition field="destination_number" expression="^(\+?)?(91884400_open)$">
  373. <action application="set" data="domain_name=clusterguibeta5.astppbilling.org"/>
  374. <action application="set" data="set_extensions=${extensions}"/>
  375. <action application="set" data="no_answer_flag=true"/>
  376. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  377. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  378. <action application="set" data="no_answer_number=${extensions}" />
  379. <action application="transfer" data="34 XML default"/>
  380. </condition>
  381. </extension>
  382. <extension name="91884400">
  383. <condition field="destination_number" expression="91884400">
  384. <action application="set" data="effective_destination_number=91884400"/>
  385. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  386. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  387. <action application="set" data="notify_flag=0"/>
  388. <action application="set" data="notify_credit_limit=5.00000"/>
  389. <action application="set" data="type=0"/>
  390. <action application="set" data="callstart=2023-06-16 03:49:12"/>
  391. <action application="set" data="hangup_after_bridge=true"/>
  392. <action application="set" data="continue_on_fail=TRUE"/>
  393. <action application="set" data="account_id=34"/>
  394. <action application="set" data="parent_id=0"/>
  395. <action application="set" data="entity_id=0"/>
  396. <action application="set" data="call_processed=internal"/>
  397. <action application="set" data="call_direction=inbound"/>
  398. <action application="set" data="accountname=default"/>
  399. <action application="set" data="filename1=astpp.pbx.lua"/>
  400. <action application="set" data="origination_rates_did=ID:22|CODE:^91884400.*|DESTINATION:91884400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:34"/>
  401. <action application="set" data="origination_rates=0"/>
  402. <action application="set" data="original_caller_id_name=986057"/>
  403. <action application="set" data="original_caller_id_number=986057"/>
  404. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  405. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  406. <action application="set" data="effective_caller_id_name=986057"/>
  407. <action application="set" data="effective_caller_id_number=986057"/>
  408. <action application="set" data="receiver_accid=34"/>
  409. <action application="export" data="domain_name=clusterguibeta5.astppbilling.org"/>
  410. <action application="export" data="sip_to_host=clusterguibeta5.astppbilling.org"/>
  411. <action application="export" data="presence_data=x|||Yash(986057)|||^91884400.* // 91884400 // 0.00000|||||||||DID|||103.240.35.46"/>
  412. <action application="export" data="call_type=11"/>
  413. </condition>
  414. </extension>
  415. </context>
  416. </section>
  417. </document>
  418. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->Y Test timecondi] continue=true
  419. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Absolute Condition [Y Test timecondi]
  420. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(timezone=Europe/Sarajevo) INLINE
  421. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(timezone=Europe/Sarajevo)
  422. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [timezone]=[Europe/Sarajevo]
  423. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Date/Time Match (PASS) [Y Test timecondi] break=never
  424. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(office_status=open) INLINE
  425. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(office_status=open)
  426. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [office_status]=[open]
  427. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(extensions=761767) INLINE
  428. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(extensions=761767)
  429. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [extensions]=[761767]
  430. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  431. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  432. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  433. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=11) INLINE
  434. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=11)
  435. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[11]
  436. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->tod route, x91884400] continue=false
  437. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (FAIL) [tod route, x91884400] destination_number(91884400_open) =~ /^(\+?)?(91884400)$/ break=on-false
  438. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->office is open] continue=false
  439. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [office is open] destination_number(91884400_open) =~ /^(\+?)?(91884400_open)$/ break=on-false
  440. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(domain_name=clusterguibeta5.astppbilling.org)
  441. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(set_extensions=${extensions})
  442. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_flag=true)
  443. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  444. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  445. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  446. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=${no_answer_call_type})
  447. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_number=${extensions})
  448. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action transfer(34 XML default)
  449. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(domain_name=clusterguibeta5.astppbilling.org)
  450. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(domain_name=clusterguibeta5.astppbilling.org)
  451. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [domain_name]=[clusterguibeta5.astppbilling.org]
  452. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(set_extensions=${extensions})
  453. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(set_extensions=761767)
  454. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [set_extensions]=[761767]
  455. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_flag=true)
  456. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_flag=true)
  457. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_flag]=[true]
  458. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  459. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=11)
  460. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[11]
  461. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_number=${extensions})
  462. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_number=761767)
  463. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_number]=[761767]
  464. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_core_session.c:3095 Execute [depth=1] transfer(34 XML default)
  465. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 transfer(34 XML default)
  466. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_ivr.c:2289 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_EXECUTE -> CS_ROUTING
  467. 2023-06-16 03:49:12.336230 96.10% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/986057@clusterguibeta5.astppbilling.org:5060 to XML[34@default]
  468. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE going to sleep
  469. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 580)
  470. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING
  471. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  472. 2023-06-16 03:49:12.336230 96.10% [DEBUG] mod_sofia.c:158 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  473. 2023-06-16 03:49:12.336230 96.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard ROUTING
  474. 2023-06-16 03:49:12.336230 96.10% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->34 in context default
  475. 2023-06-16 03:49:12.356250 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  476. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  477. 2023-06-16 03:49:12.356250 96.10% [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')
  478. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  479. 2023-06-16 03:49:12.356250 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  480. 2023-06-16 03:49:12.356250 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34
  481. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '34' limit 1
  482. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34' AND status=0 limit 1
  483. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '34' and status=0 LIMIT 1
  484. 2023-06-16 03:49:12.356250 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  485. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  486. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  487. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '34' limit 1
  488. 2023-06-16 03:49:12.356250 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  489. 2023-06-16 03:49:12.356250 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  490. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  491. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 34 AND status=0 limit 1
  492. 2023-06-16 03:49:12.356250 96.10% [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 ="34" LIMIT 1
  493. 2023-06-16 03:49:12.356250 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  494. 2023-06-16 03:49:12.356250 96.10% [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="34"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  495. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  496. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  497. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  498. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =34
  499. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  500. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  501. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34" AND (accountid = 0 OR status = 1) LIMIT 1
  502. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :91884400
  503. 2023-06-16 03:49:12.376246 96.10% [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 ="91884400" LIMIT 1
  504. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  505. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  506. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :34
  507. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  508. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  509. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :34
  510. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  511. 2023-06-16 03:49:12.376246 96.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainclusterguibeta5.astppbilling.org
  512. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 11
  513. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Time Conditions
  514. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "761767"
  515. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC5]
  516. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="761767"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  517. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  518. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  519. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  520. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  521. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  522. <document type="freeswitch/xml">
  523. <section name="dialplan" description="ASTPP Dialplan">
  524. <context name="default">
  525. <extension name="34">
  526. <condition field="destination_number" expression="34">
  527. <action application="export" data="did_user_domain=clusterguibeta5.astppbilling.org"/>
  528. <action application="set" data="continue_on_fail=TRUE"/>
  529. <action application="set" data="ignore_early_media=true"/>
  530. <action application="set" data="no_answer_flag=false"/>
  531. <action application="set" data="did_calltype=11"/>
  532. <action application="set" data="did_extensions=761767"/>
  533. <action application="set" data="daily_call_credit_limit=0.00000"/>
  534. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  535. <action application="set" data="daily_call_used_limit=0.00000"/>
  536. <action application="set" data="monthly_call_used_limit=0.00000"/>
  537. <action application="set" data="sip_destination_number=761767"/>
  538. <action application="set" data="sip_to_host=clusterguibeta5.astppbilling.org"/>
  539. <action application="hash" data="insert/${domain_name}-call_return/761767/${caller_id_number}"/>
  540. <action application="set" data="user_domain=clusterguibeta5.astppbilling.org"/>
  541. <action application="db" data="insert/pickup_any_group_${callgroup}/761767/${uuid}"/>
  542. <action application="set" data="dialed_extension=transfer_call"/>
  543. <action application="export" data="dialed_extension=transfer_call"/>
  544. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  545. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  546. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  547. <action application="export" data="ring_group_transfer=true"/>
  548. <action application="set" data="userinfo_id=34"/>
  549. <action application="bridge" data="{sip_invite_params=user=LOCAL}sofia/${sofia_profile_name}/761767@clusterguibeta5.astppbilling.org:5060"/>
  550. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  551. </condition>
  552. </extension>
  553. </context>
  554. </section>
  555. </document>
  556. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->34] continue=false
  557. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [34] destination_number(34) =~ /34/ break=on-false
  558. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(did_user_domain=clusterguibeta5.astppbilling.org)
  559. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(continue_on_fail=TRUE)
  560. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(ignore_early_media=true)
  561. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_flag=false)
  562. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(did_calltype=11)
  563. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(did_extensions=761767)
  564. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_credit_limit=0.00000)
  565. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_credit_limit=0.00000)
  566. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_used_limit=0.00000)
  567. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_used_limit=0.00000)
  568. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(sip_destination_number=761767)
  569. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(sip_to_host=clusterguibeta5.astppbilling.org)
  570. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action hash(insert/${domain_name}-call_return/761767/${caller_id_number})
  571. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(user_domain=clusterguibeta5.astppbilling.org)
  572. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action db(insert/pickup_any_group_${callgroup}/761767/${uuid})
  573. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(dialed_extension=transfer_call)
  574. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(dialed_extension=transfer_call)
  575. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  576. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  577. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  578. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(ring_group_transfer=true)
  579. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(userinfo_id=34)
  580. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action bridge({sip_invite_params=user=LOCAL}sofia/${sofia_profile_name}/761767@clusterguibeta5.astppbilling.org:5060)
  581. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  582. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  583. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  584. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 580)
  585. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE
  586. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_sofia.c:213 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA EXECUTE
  587. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard EXECUTE
  588. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(did_user_domain=clusterguibeta5.astppbilling.org)
  589. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[clusterguibeta5.astppbilling.org]
  590. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(continue_on_fail=TRUE)
  591. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [continue_on_fail]=[TRUE]
  592. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(ignore_early_media=true)
  593. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [ignore_early_media]=[true]
  594. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_flag=false)
  595. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_flag]=[false]
  596. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(did_calltype=11)
  597. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [did_calltype]=[11]
  598. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(did_extensions=761767)
  599. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [did_extensions]=[761767]
  600. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_credit_limit=0.00000)
  601. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_credit_limit]=[0.00000]
  602. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_credit_limit=0.00000)
  603. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_credit_limit]=[0.00000]
  604. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_used_limit=0.00000)
  605. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_used_limit]=[0.00000]
  606. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_used_limit=0.00000)
  607. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_used_limit]=[0.00000]
  608. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(sip_destination_number=761767)
  609. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [sip_destination_number]=[761767]
  610. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(sip_to_host=clusterguibeta5.astppbilling.org)
  611. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [sip_to_host]=[clusterguibeta5.astppbilling.org]
  612. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 hash(insert/clusterguibeta5.astppbilling.org-call_return/761767/986057)
  613. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(user_domain=clusterguibeta5.astppbilling.org)
  614. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [user_domain]=[clusterguibeta5.astppbilling.org]
  615. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 db(insert/pickup_any_group_/761767/f2b5318a-799f-4039-86a3-8bcc2119c47a)
  616. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(dialed_extension=transfer_call)
  617. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [dialed_extension]=[transfer_call]
  618. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(dialed_extension=transfer_call)
  619. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  620. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  621. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  622. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  623. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  624. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  625. 2023-06-16 03:49:12.376246 96.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  626. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(ring_group_transfer=true)
  627. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  628. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(userinfo_id=34)
  629. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [userinfo_id]=[34]
  630. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 bridge({sip_invite_params=user=LOCAL}sofia/default/761767@clusterguibeta5.astppbilling.org:5060)
  631. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [did_user_domain]=[clusterguibeta5.astppbilling.org] to event
  632. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  633. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  634. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  635. 2023-06-16 03:49:12.376246 96.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 [e321c00f-80e8-42c0-be5c-4ede6099b6d2]
  636. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_sofia.c:5121 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  637. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 581)
  638. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State INIT
  639. 2023-06-16 03:49:12.376246 96.10% [DEBUG] mod_sofia.c:97 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 SOFIA INIT
  640. 2023-06-16 03:49:12.376246 96.10% [INFO] sofia_glue.c:1651 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 sending invite call-id: (null)
  641. 2023-06-16 03:49:12.376246 96.10% [DEBUG] sofia_glue.c:1654 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 sending invite version: 1.10.7 -release 64bit
  642. Local SDP:
  643. v=0
  644. o=FreeSWITCH 1686857694 1686857695 IN IP4 167.235.194.5
  645. s=FreeSWITCH
  646. c=IN IP4 167.235.194.5
  647. t=0 0
  648. m=audio 29658 RTP/AVP 8 101
  649. a=rtpmap:8 PCMA/8000
  650. a=rtpmap:101 telephone-event/8000
  651. a=fmtp:101 0-15
  652. a=ptime:20
  653. a=sendrecv
  654.  
  655. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Standard INIT
  656. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  657. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State INIT going to sleep
  658. 2023-06-16 03:49:12.376246 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 581)
  659. 2023-06-16 03:49:12.416379 96.10% [DEBUG] sofia.c:7499 Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 entering state [calling][0]
  660. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State ROUTING
  661. 2023-06-16 03:49:12.416379 96.10% [DEBUG] mod_sofia.c:158 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  662. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  663. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  664. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 581)
  665. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State CONSUME_MEDIA
  666. 2023-06-16 03:49:12.416379 96.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  667. 2023-06-16 03:49:15.676271 95.23% [DEBUG] sofia.c:7499 Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 entering state [proceeding][180]
  668. 2023-06-16 03:49:15.676271 95.23% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/761767@clusterguibeta5.astppbilling.org:5060!
  669. 2023-06-16 03:49:15.676271 95.23% [DEBUG] switch_channel.c:3494 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  670. 2023-06-16 03:49:15.696249 95.23% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/986057@clusterguibeta5.astppbilling.org:5060!
  671. 2023-06-16 03:49:15.696249 95.23% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [early][180]
  672. 2023-06-16 03:49:15.696249 95.23% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/986057@clusterguibeta5.astppbilling.org:5060!
  673. 2023-06-16 03:49:26.256271 94.73% [DEBUG] sofia.c:7499 Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 entering state [completing][200]
  674. 2023-06-16 03:49:26.256271 94.73% [DEBUG] sofia.c:7509 Remote SDP:
  675. v=0
  676. o=Zoiper 0 1093917800 IN IP4 185.117.83.208
  677. s=Zoiper
  678. c=IN IP4 185.117.83.208
  679. t=0 0
  680. m=audio 49601 RTP/AVP 8 106 9 0 3 101 98
  681. a=rtpmap:106 opus/48000/2
  682. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  683. a=rtpmap:101 telephone-event/8000
  684. a=fmtp:101 0-16
  685. a=rtpmap:98 telephone-event/48000
  686. a=fmtp:98 0-16
  687. a=rtcp-mux
  688. a=ptime:20
  689. a=direction:both
  690. a=oldoip:10.156.235.240
  691. a=oldcip:10.156.235.240
  692.  
  693. 2023-06-16 03:49:26.256271 94.73% [DEBUG] sofia.c:7499 Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 entering state [ready][200]
  694. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  695. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  696. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  697. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  698. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  699. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  700. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  701. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/761767@clusterguibeta5.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  702. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_codec.c:111 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Original read codec set to PCMA:8
  703. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  704. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:5973 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  705. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/761767@clusterguibeta5.astppbilling.org:5060] 167.235.194.5 port 29658 -> 185.117.83.208 port 49601 codec: 8 ms: 20
  706. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  707. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 49601
  708. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 49601
  709. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9089 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  710. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9096 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  711. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9119 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Set rtp dtmf delay to 40
  712. 2023-06-16 03:49:26.256271 94.73% [NOTICE] sofia.c:8683 Channel [sofia/default/761767@clusterguibeta5.astppbilling.org:5060] has been answered
  713. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_channel.c:3950 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  714. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/986057@clusterguibeta5.astppbilling.org:5060] 167.235.194.5 port 28958 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  715. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  716. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9089 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  717. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9096 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  718. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_media.c:9119 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set rtp dtmf delay to 40
  719. 2023-06-16 03:49:26.256271 94.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/986057@clusterguibeta5.astppbilling.org:5060:
  720. v=0
  721. o=FreeSWITCH 1686858408 1686858409 IN IP4 167.235.194.5
  722. s=FreeSWITCH
  723. c=IN IP4 167.235.194.5
  724. t=0 0
  725. m=audio 28958 RTP/AVP 8 101
  726. a=rtpmap:8 PCMA/8000
  727. a=rtpmap:101 telephone-event/8000
  728. a=fmtp:101 0-15
  729. a=ptime:20
  730. a=sendrecv
  731.  
  732. 2023-06-16 03:49:26.256271 94.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/986057@clusterguibeta5.astppbilling.org:5060] has been answered
  733. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_channel.c:3950 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  734. 2023-06-16 03:49:26.256271 94.73% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [completed][200]
  735. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/761767@clusterguibeta5.astppbilling.org:5060] Peer UUID: e321c00f-80e8-42c0-be5c-4ede6099b6d2
  736. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  737. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 581)
  738. 2023-06-16 03:49:26.256271 94.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State EXCHANGE_MEDIA
  739. 2023-06-16 03:49:26.256271 94.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  740. 2023-06-16 03:49:26.556301 94.73% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [ready][200]
  741. 2023-06-16 03:49:26.576263 94.73% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[2013087102] base_seq[38010]
  742. 2023-06-16 03:49:26.576263 94.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  743. 2023-06-16 03:49:26.836320 94.70% [INFO] switch_rtp.c:7894 Auto Changing audio port from 185.117.83.208:49601 to 117.228.26.98:30503
  744. 2023-06-16 03:50:03.936243 94.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1303@clusterfs.astppbilling.org] from ip 45.61.185.51
  745. 2023-06-16 03:50:04.096274 94.87% [WARNING] sofia_reg.c:3223 Can't find user [1303@clusterfs.astppbilling.org] from 45.61.185.51
  746. You must define a domain called 'clusterfs.astppbilling.org' in your directory and add a user with the id="1303" attribute
  747. and you must configure your device to use the proper domain in its authentication credentials.
  748. 2023-06-16 03:50:04.096274 94.87% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1303@clusterfs.astppbilling.org] from ip 45.61.185.51
  749. 2023-06-16 03:50:06.396243 91.90% [NOTICE] sofia.c:1065 Hangup sofia/default/761767@clusterguibeta5.astppbilling.org:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  750. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/761767@clusterguibeta5.astppbilling.org:5060]
  751. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State EXCHANGE_MEDIA going to sleep
  752. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 581)
  753. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  754. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State HANGUP
  755. 2023-06-16 03:50:06.396243 91.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  756. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  757. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State HANGUP going to sleep
  758. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  759. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 581)
  760. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State REPORTING
  761. 2023-06-16 03:50:06.396243 91.90% [INFO] mod_json_cdr.c:271 Process [e321c00f-80e8-42c0-be5c-4ede6099b6d2.cdr.json]
  762. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_ivr_bridge.c:820 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 ending bridge by request from write function
  763. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/986057@clusterguibeta5.astppbilling.org:5060]
  764. 2023-06-16 03:50:06.396243 91.90% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  765. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  766. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  767. 2023-06-16 03:50:06.436244 91.90% [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')
  768. 2023-06-16 03:50:06.436244 91.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions SUCCESS This Is SIP Number : 761767
  769. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_cpp.cpp:1209 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 destroy/unlink session from object
  770. 2023-06-16 03:50:06.436244 91.90% [NOTICE] switch_core_state_machine.c:382 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 has executed the last dialplan instruction, hanging up.
  771. 2023-06-16 03:50:06.436244 91.90% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  772. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE going to sleep
  773. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 581)
  774. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  775. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State HANGUP
  776. 2023-06-16 03:50:06.436244 91.90% [DEBUG] mod_sofia.c:462 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Overriding SIP cause 480 with 200 from the other leg
  777. 2023-06-16 03:50:06.436244 91.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  778. 2023-06-16 03:50:06.436244 91.90% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/986057@clusterguibeta5.astppbilling.org:5060
  779. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  780. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State HANGUP going to sleep
  781. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  782. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 581)
  783. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State REPORTING
  784. 2023-06-16 03:50:06.436244 91.90% [INFO] mod_json_cdr.c:271 Process [f2b5318a-799f-4039-86a3-8bcc2119c47a.cdr.json]
  785. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  786. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State REPORTING going to sleep
  787. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  788. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_session.c:1753 Session 581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Locked, Waiting on external entities
  789. 2023-06-16 03:50:06.436244 91.90% [NOTICE] switch_core_session.c:1771 Session 581 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Ended
  790. 2023-06-16 03:50:06.436244 91.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/761767@clusterguibeta5.astppbilling.org:5060 [CS_DESTROY]
  791. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 581)
  792. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State DESTROY
  793. 2023-06-16 03:50:06.436244 91.90% [DEBUG] mod_sofia.c:379 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 SOFIA DESTROY
  794. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/761767@clusterguibeta5.astppbilling.org:5060 Standard DESTROY
  795. 2023-06-16 03:50:06.436244 91.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/761767@clusterguibeta5.astppbilling.org:5060) State DESTROY going to sleep
  796. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  797. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State REPORTING going to sleep
  798. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  799. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_session.c:1753 Session 580 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Locked, Waiting on external entities
  800. 2023-06-16 03:50:06.476234 91.90% [NOTICE] switch_core_session.c:1771 Session 580 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Ended
  801. 2023-06-16 03:50:06.476234 91.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [CS_DESTROY]
  802. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 0 Tot 581)
  803. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State DESTROY
  804. 2023-06-16 03:50:06.476234 91.90% [DEBUG] mod_sofia.c:379 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA DESTROY
  805. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard DESTROY
  806. 2023-06-16 03:50:06.476234 91.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State DESTROY going to sleep
  807. 2023-06-16 03:51:07.696264 90.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [c20a7ad8-9f1a-489d-9970-d287594f9e1f]
  808. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 582)
  809. 2023-06-16 03:51:07.696264 90.80% [INFO] sofia.c:10462 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 receiving invite from 78.47.101.152:5060 version: 1.10.7 -release 64bit call-id: NTMyMjM3MTAyMzQ2MGQzYjg4NGU3MDRiMWQ0N2NhNWY.
  810. 2023-06-16 03:51:07.696264 90.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  811. 2023-06-16 03:51:07.696264 90.80% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  812. 2023-06-16 03:51:07.696264 90.80% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [received][100]
  813. 2023-06-16 03:51:07.696264 90.80% [DEBUG] sofia.c:7509 Remote SDP:
  814. v=0
  815. o=Z 0 0 IN IP4 103.240.35.46
  816. s=Z
  817. c=IN IP4 103.240.35.46
  818. t=0 0
  819. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  820. a=rtpmap:110 speex/8000
  821. a=rtpmap:98 iLBC/8000
  822. a=fmtp:98 mode=20
  823. a=rtpmap:101 telephone-event/8000
  824. a=fmtp:101 0-15
  825.  
  826. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  827. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  828. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  829. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  830. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  831. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  832. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  833. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  834. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  835. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  836. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  837. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  838. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  839. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/986057@clusterguibeta5.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  840. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_codec.c:111 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Original read codec set to PCMA:8
  841. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  842. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_media.c:5973 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  843. 2023-06-16 03:51:07.696264 90.80% [DEBUG] sofia.c:7933 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  844. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State NEW
  845. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 582)
  846. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State INIT
  847. 2023-06-16 03:51:07.696264 90.80% [DEBUG] mod_sofia.c:97 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA INIT
  848. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard INIT
  849. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  850. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State INIT going to sleep
  851. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 582)
  852. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_channel.c:2380 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  853. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING
  854. 2023-06-16 03:51:07.696264 90.80% [DEBUG] mod_sofia.c:158 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  855. 2023-06-16 03:51:07.696264 90.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard ROUTING
  856. 2023-06-16 03:51:07.696264 90.80% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->91884400 in context default
  857. 2023-06-16 03:51:07.716251 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  858. 2023-06-16 03:51:07.716251 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  859. 2023-06-16 03:51:07.716251 90.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')
  860. 2023-06-16 03:51:07.716251 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  861. 2023-06-16 03:51:07.716251 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  862. 2023-06-16 03:51:07.716251 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884400
  863. 2023-06-16 03:51:07.716251 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884400' limit 1
  864. 2023-06-16 03:51:07.716251 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91884400' AND status=0 limit 1
  865. 2023-06-16 03:51:07.716251 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884400' and status=0 LIMIT 1
  866. 2023-06-16 03:51:07.756232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  867. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  868. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  869. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '91884400' limit 1
  870. 2023-06-16 03:51:07.756232 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  871. 2023-06-16 03:51:07.756232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  872. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00
  873. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 918844 AND status=0 limit 1
  874. 2023-06-16 03:51:07.756232 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  875. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  876. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  877. 2023-06-16 03:51:07.756232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  878. 2023-06-16 03:51:07.756232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  879. 2023-06-16 03:51:07.756232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  880. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =91884400
  881. 2023-06-16 03:51:07.756232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  882. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  883. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="91884400" AND (accountid = 0 OR status = 1) LIMIT 1
  884. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  885. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 34
  886. 2023-06-16 03:51:07.776249 90.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 = '^91884400.*' OR patterns = '^9188440.*' OR patterns = '^918844.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  887. 2023-06-16 03:51:07.776249 90.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 ="91884400" AND A.accountid = '34' limit 1
  888. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884400
  889. 2023-06-16 03:51:07.776249 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  890. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  891. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  892. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  893. 2023-06-16 03:51:07.776249 90.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 = '91884400' OR number = '9188440' OR number = '918844' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884400*' OR number = '9188440*' OR number = '918844*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '986057' OR number = '98605' OR number = '9860' OR number = '986' OR number = '98' OR number = '9' OR number ='--') OR (number = '986057*' OR number = '98605*' OR number = '9860*' OR number = '986*' OR number = '98*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  894. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  895. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884400' OR routing_prefix = '9188440' OR routing_prefix = '918844' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  896. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  897. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  898. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 986057
  899. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  900. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3053.9027
  901. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  902. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  903. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  904. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  905. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  906. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  907. 2023-06-16 03:51:07.776249 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  908. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  909. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  910. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  911. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  912. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  913. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:8
  914. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '8' and status=0
  915. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  916. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  917. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22
  918. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  919. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  920. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  921. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884400
  922. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  923. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  924. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  925. 2023-06-16 03:51:07.776249 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  926. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3053.9027 balance Accountid 34 !!!
  927. 2023-06-16 03:51:07.776249 90.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  928. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  929. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  930. 2023-06-16 03:51:07.776249 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  931. 2023-06-16 03:51:07.776249 90.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 = 34 AND status=0 LIMIT 1
  932. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  933. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  934. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:34
  935. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:34
  936. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 34
  937. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  938. 2023-06-16 03:51:07.816236 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta5.astppbilling.org
  939. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 2
  940. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  941. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  942. span style="color: green; font-weight: bold;"> 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"918822001#","no_answer_call_type":"12","priority":"1"}]
  943. span style="color: green; font-weight: bold;"> 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  944. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  945. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  946. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  947. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  948. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  949. 2023-06-16 03:51:07.816236 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  950. 2023-06-16 03:51:07.816236 90.80% [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 = "2" AND accounts.status = 0
  951. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884400
  952. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884400
  953. 2023-06-16 03:51:07.816236 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  954. 2023-06-16 03:51:07.836232 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta5.astppbilling.org
  955. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  956. 2023-06-16 03:51:07.836232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 2
  957. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  958. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  959. <document type="freeswitch/xml">
  960. <section name="dialplan" description="ASTPP Dialplan">
  961. <context name="default">
  962. <extension name="Y Test timecondi" continue="true">
  963. <condition break="never">
  964. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  965. </condition>
  966. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  967. <action application="set" data="office_status=open" inline="true"/>
  968. <action application="set" data="extensions=918822001#" inline="true"/>
  969. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  970. <action application="set" data="no_answer_call_type=12" inline="true"/>
  971. </condition>
  972. </extension>
  973. <extension name="tod route, x91884400">
  974. <condition field="destination_number" expression="^(\+?)?(91884400)$">
  975. <action application="execute_extension" data="91884400_${office_status}"/>
  976. </condition>
  977. </extension>
  978. <extension name="office is open">
  979. <condition field="destination_number" expression="^(\+?)?(91884400_open)$">
  980. <action application="set" data="domain_name=clusterguibeta5.astppbilling.org"/>
  981. <action application="set" data="set_extensions=${extensions}"/>
  982. <action application="set" data="no_answer_flag=true"/>
  983. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  984. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  985. <action application="set" data="no_answer_number=${extensions}" />
  986. <action application="transfer" data="34 XML default"/>
  987. </condition>
  988. </extension>
  989. <extension name="91884400">
  990. <condition field="destination_number" expression="91884400">
  991. <action application="set" data="effective_destination_number=91884400"/>
  992. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  993. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  994. <action application="set" data="notify_flag=0"/>
  995. <action application="set" data="notify_credit_limit=5.00000"/>
  996. <action application="set" data="type=0"/>
  997. <action application="set" data="callstart=2023-06-16 03:51:07"/>
  998. <action application="set" data="hangup_after_bridge=true"/>
  999. <action application="set" data="continue_on_fail=TRUE"/>
  1000. <action application="set" data="account_id=34"/>
  1001. <action application="set" data="parent_id=0"/>
  1002. <action application="set" data="entity_id=0"/>
  1003. <action application="set" data="call_processed=internal"/>
  1004. <action application="set" data="call_direction=inbound"/>
  1005. <action application="set" data="accountname=default"/>
  1006. <action application="set" data="filename1=astpp.pbx.lua"/>
  1007. <action application="set" data="origination_rates_did=ID:22|CODE:^91884400.*|DESTINATION:91884400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:34"/>
  1008. <action application="set" data="origination_rates=0"/>
  1009. <action application="set" data="original_caller_id_name=986057"/>
  1010. <action application="set" data="original_caller_id_number=986057"/>
  1011. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  1012. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  1013. <action application="set" data="effective_caller_id_name=986057"/>
  1014. <action application="set" data="effective_caller_id_number=986057"/>
  1015. <action application="set" data="receiver_accid=34"/>
  1016. <action application="export" data="domain_name=clusterguibeta5.astppbilling.org"/>
  1017. <action application="export" data="sip_to_host=clusterguibeta5.astppbilling.org"/>
  1018. <action application="export" data="presence_data=x|||Yash(986057)|||^91884400.* // 91884400 // 0.00000|||||||||DID|||103.240.35.46"/>
  1019. <action application="export" data="call_type=11"/>
  1020. </condition>
  1021. </extension>
  1022. </context>
  1023. </section>
  1024. </document>
  1025. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->Y Test timecondi] continue=true
  1026. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Absolute Condition [Y Test timecondi]
  1027. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(timezone=Europe/Sarajevo) INLINE
  1028. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(timezone=Europe/Sarajevo)
  1029. 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [timezone]=[Europe/Sarajevo]
  1030. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Date/Time Match (PASS) [Y Test timecondi] break=never
  1031. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(office_status=open) INLINE
  1032. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(office_status=open)
  1033. 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [office_status]=[open]
  1034. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(extensions=918822001#) INLINE
  1035. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(extensions=918822001#)
  1036. span style="color: goldenrod; font-weight: bold;"> 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [extensions]=[918822001#]
  1037. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  1038. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  1039. 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  1040. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=12) INLINE
  1041. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=12)
  1042. 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[12]
  1043. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->tod route, x91884400] continue=false
  1044. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [tod route, x91884400] destination_number(91884400) =~ /^(\+?)?(91884400)$/ break=on-false
  1045. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action execute_extension(91884400_${office_status})
  1046. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  1047. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  1048. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 582)
  1049. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE
  1050. 2023-06-16 03:51:07.836232 90.80% [DEBUG] mod_sofia.c:213 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA EXECUTE
  1051. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard EXECUTE
  1052. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 execute_extension(91884400_open)
  1053. 2023-06-16 03:51:07.836232 90.80% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->91884400_open in context default
  1054. 2023-06-16 03:51:07.836232 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1055. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1056. 2023-06-16 03:51:07.836232 90.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')
  1057. 2023-06-16 03:51:07.836232 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1058. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1059. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884400
  1060. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884400' limit 1
  1061. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91884400' AND status=0 limit 1
  1062. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884400' and status=0 LIMIT 1
  1063. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  1064. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1065. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  1066. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '91884400' limit 1
  1067. 2023-06-16 03:51:07.856241 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1068. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  1069. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00
  1070. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 918844 AND status=0 limit 1
  1071. 2023-06-16 03:51:07.856241 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  1072. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1073. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  1074. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  1075. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  1076. 2023-06-16 03:51:07.856241 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  1077. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =91884400
  1078. 2023-06-16 03:51:07.856241 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  1079. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  1080. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="91884400" AND (accountid = 0 OR status = 1) LIMIT 1
  1081. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1082. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 34
  1083. 2023-06-16 03:51:07.876240 90.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 = '^91884400.*' OR patterns = '^9188440.*' OR patterns = '^918844.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1084. 2023-06-16 03:51:07.876240 90.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 ="91884400" AND A.accountid = '34' limit 1
  1085. 2023-06-16 03:51:07.876240 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884400
  1086. 2023-06-16 03:51:07.876240 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  1087. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1088. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  1089. 2023-06-16 03:51:07.876240 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  1090. 2023-06-16 03:51:07.876240 90.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 = '91884400' OR number = '9188440' OR number = '918844' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884400*' OR number = '9188440*' OR number = '918844*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '986057' OR number = '98605' OR number = '9860' OR number = '986' OR number = '98' OR number = '9' OR number ='--') OR (number = '986057*' OR number = '98605*' OR number = '9860*' OR number = '986*' OR number = '98*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1091. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1092. 2023-06-16 03:51:07.876240 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884400' OR routing_prefix = '9188440' OR routing_prefix = '918844' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1093. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1094. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  1095. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 986057
  1096. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  1097. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3053.9027
  1098. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1099. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1100. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1101. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1102. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  1103. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1104. 2023-06-16 03:51:07.896233 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  1105. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1106. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  1107. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1108. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1109. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  1110. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:8
  1111. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '8' and status=0
  1112. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  1113. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1114. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22
  1115. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1116. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1117. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1118. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884400
  1119. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  1120. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  1121. 2023-06-16 03:51:07.896233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1122. 2023-06-16 03:51:07.896233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  1123. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3053.9027 balance Accountid 34 !!!
  1124. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1125. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1126. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  1127. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  1128. 2023-06-16 03:51:07.916244 90.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 = 34 AND status=0 LIMIT 1
  1129. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  1130. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =34
  1131. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:34
  1132. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:34
  1133. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 34
  1134. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  1135. 2023-06-16 03:51:07.916244 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta5.astppbilling.org
  1136. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 2
  1137. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  1138. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  1139. span style="color: green; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"918822001#","no_answer_call_type":"12","priority":"1"}]
  1140. span style="color: green; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  1141. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  1142. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  1143. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1144. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1145. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1146. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  1147. 2023-06-16 03:51:07.916244 90.80% [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 = "2" AND accounts.status = 0
  1148. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884400
  1149. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884400
  1150. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  1151. 2023-06-16 03:51:07.916244 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta5.astppbilling.org
  1152. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  1153. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 2
  1154. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  1155. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1156. <document type="freeswitch/xml">
  1157. <section name="dialplan" description="ASTPP Dialplan">
  1158. <context name="default">
  1159. <extension name="Y Test timecondi" continue="true">
  1160. <condition break="never">
  1161. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  1162. </condition>
  1163. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  1164. <action application="set" data="office_status=open" inline="true"/>
  1165. <action application="set" data="extensions=918822001#" inline="true"/>
  1166. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  1167. <action application="set" data="no_answer_call_type=12" inline="true"/>
  1168. </condition>
  1169. </extension>
  1170. <extension name="tod route, x91884400">
  1171. <condition field="destination_number" expression="^(\+?)?(91884400)$">
  1172. <action application="execute_extension" data="91884400_${office_status}"/>
  1173. </condition>
  1174. </extension>
  1175. <extension name="office is open">
  1176. <condition field="destination_number" expression="^(\+?)?(91884400_open)$">
  1177. <action application="set" data="domain_name=clusterguibeta5.astppbilling.org"/>
  1178. <action application="set" data="set_extensions=${extensions}"/>
  1179. <action application="set" data="no_answer_flag=true"/>
  1180. <action application="set" data="no_answer_did_number=91884400" inline="true"/>
  1181. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  1182. <action application="set" data="no_answer_number=${extensions}" />
  1183. <action application="transfer" data="34 XML default"/>
  1184. </condition>
  1185. </extension>
  1186. <extension name="91884400">
  1187. <condition field="destination_number" expression="91884400">
  1188. <action application="set" data="effective_destination_number=91884400"/>
  1189. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1190. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1191. <action application="set" data="notify_flag=0"/>
  1192. <action application="set" data="notify_credit_limit=5.00000"/>
  1193. <action application="set" data="type=0"/>
  1194. <action application="set" data="callstart=2023-06-16 03:51:07"/>
  1195. <action application="set" data="hangup_after_bridge=true"/>
  1196. <action application="set" data="continue_on_fail=TRUE"/>
  1197. <action application="set" data="account_id=34"/>
  1198. <action application="set" data="parent_id=0"/>
  1199. <action application="set" data="entity_id=0"/>
  1200. <action application="set" data="call_processed=internal"/>
  1201. <action application="set" data="call_direction=inbound"/>
  1202. <action application="set" data="accountname=default"/>
  1203. <action application="set" data="filename1=astpp.pbx.lua"/>
  1204. <action application="set" data="origination_rates_did=ID:22|CODE:^91884400.*|DESTINATION:91884400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:34"/>
  1205. <action application="set" data="origination_rates=0"/>
  1206. <action application="set" data="original_caller_id_name=986057"/>
  1207. <action application="set" data="original_caller_id_number=986057"/>
  1208. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  1209. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  1210. <action application="set" data="effective_caller_id_name=986057"/>
  1211. <action application="set" data="effective_caller_id_number=986057"/>
  1212. <action application="set" data="receiver_accid=34"/>
  1213. <action application="export" data="domain_name=clusterguibeta5.astppbilling.org"/>
  1214. <action application="export" data="sip_to_host=clusterguibeta5.astppbilling.org"/>
  1215. <action application="export" data="presence_data=x|||Yash(986057)|||^91884400.* // 91884400 // 0.00000|||||||||DID|||103.240.35.46"/>
  1216. <action application="export" data="call_type=11"/>
  1217. </condition>
  1218. </extension>
  1219. </context>
  1220. </section>
  1221. </document>
  1222. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->Y Test timecondi] continue=true
  1223. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Absolute Condition [Y Test timecondi]
  1224. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(timezone=Europe/Sarajevo) INLINE
  1225. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(timezone=Europe/Sarajevo)
  1226. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [timezone]=[Europe/Sarajevo]
  1227. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Date/Time Match (PASS) [Y Test timecondi] break=never
  1228. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(office_status=open) INLINE
  1229. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(office_status=open)
  1230. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [office_status]=[open]
  1231. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(extensions=918822001#) INLINE
  1232. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(extensions=918822001#)
  1233. span style="color: goldenrod; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [extensions]=[918822001#]
  1234. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  1235. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  1236. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  1237. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=12) INLINE
  1238. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=12)
  1239. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[12]
  1240. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->tod route, x91884400] continue=false
  1241. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (FAIL) [tod route, x91884400] destination_number(91884400_open) =~ /^(\+?)?(91884400)$/ break=on-false
  1242. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->office is open] continue=false
  1243. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [office is open] destination_number(91884400_open) =~ /^(\+?)?(91884400_open)$/ break=on-false
  1244. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(domain_name=clusterguibeta5.astppbilling.org)
  1245. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(set_extensions=${extensions})
  1246. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_flag=true)
  1247. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_did_number=91884400) INLINE
  1248. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_did_number=91884400)
  1249. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_did_number]=[91884400]
  1250. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_call_type=${no_answer_call_type})
  1251. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_number=${extensions})
  1252. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action transfer(34 XML default)
  1253. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(domain_name=clusterguibeta5.astppbilling.org)
  1254. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(domain_name=clusterguibeta5.astppbilling.org)
  1255. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [domain_name]=[clusterguibeta5.astppbilling.org]
  1256. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(set_extensions=${extensions})
  1257. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(set_extensions=918822001#)
  1258. span style="color: goldenrod; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [set_extensions]=[918822001#]
  1259. span style="color: cornflowerblue; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_flag=true)
  1260. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_flag=true)
  1261. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_flag]=[true]
  1262. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  1263. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_call_type=12)
  1264. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_call_type]=[12]
  1265. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_number=${extensions})
  1266. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_number=918822001#)
  1267. span style="color: goldenrod; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_number]=[918822001#]
  1268. span style="color: cornflowerblue; font-weight: bold;"> 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_core_session.c:3095 Execute [depth=1] transfer(34 XML default)
  1269. EXECUTE [depth=1] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 transfer(34 XML default)
  1270. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_ivr.c:2289 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_EXECUTE -> CS_ROUTING
  1271. 2023-06-16 03:51:07.916244 90.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/986057@clusterguibeta5.astppbilling.org:5060 to XML[34@default]
  1272. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE going to sleep
  1273. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 582)
  1274. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING
  1275. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  1276. 2023-06-16 03:51:07.916244 90.80% [DEBUG] mod_sofia.c:158 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  1277. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard ROUTING
  1278. 2023-06-16 03:51:07.916244 90.80% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->34 in context default
  1279. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1280. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1281. 2023-06-16 03:51:07.916244 90.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')
  1282. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1283. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1284. 2023-06-16 03:51:07.916244 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34
  1285. 2023-06-16 03:51:07.916244 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '34' limit 1
  1286. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34' AND status=0 limit 1
  1287. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '34' and status=0 LIMIT 1
  1288. 2023-06-16 03:51:07.956233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  1289. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1290. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  1291. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '34' limit 1
  1292. 2023-06-16 03:51:07.956233 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1293. 2023-06-16 03:51:07.956233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  1294. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  1295. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 34 AND status=0 limit 1
  1296. 2023-06-16 03:51:07.956233 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="34" LIMIT 1
  1297. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1298. 2023-06-16 03:51:07.956233 90.80% [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="34"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  1299. 2023-06-16 03:51:07.956233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1300. 2023-06-16 03:51:07.956233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  1301. 2023-06-16 03:51:07.956233 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  1302. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =34
  1303. 2023-06-16 03:51:07.956233 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  1304. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  1305. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34" AND (accountid = 0 OR status = 1) LIMIT 1
  1306. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :91884400
  1307. 2023-06-16 03:51:07.976380 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  1308. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1309. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  1310. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :34
  1311. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "34" AND deleted = 0 limit 1
  1312. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  1313. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :34
  1314. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 34 limit 1
  1315. 2023-06-16 03:51:07.976380 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainclusterguibeta5.astppbilling.org
  1316. 2023-06-16 03:51:07.976380 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 12
  1317. 2023-06-16 03:51:07.976380 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] Time-Codtion Pstn Call
  1318. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 34  and status = 0 limit 1
  1319. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  1320. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1321. <document type="freeswitch/xml">
  1322. <section name="dialplan" description="ASTPP Dialplan">
  1323. <context name="default">
  1324. <extension name="34">
  1325. <condition field="destination_number" expression="34">
  1326. <action application="export" data="did_user_domain=clusterguibeta5.astppbilling.org"/>
  1327. <action application="set" data="continue_on_fail=TRUE"/>
  1328. <action application="set" data="ignore_early_media=true"/>
  1329. <action application="set" data="no_answer_flag=false"/>
  1330. <action application="set" data="did_calltype=12"/>
  1331. <action application="set" data="did_extensions=918822001#"/>
  1332. <action application="set" data="daily_call_credit_limit=0.00000"/>
  1333. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  1334. <action application="set" data="daily_call_used_limit=0.00000"/>
  1335. <action application="set" data="monthly_call_used_limit=0.00000"/>
  1336. <action application="set" data="accountcode=986057"/>
  1337. <action application="transfer" data="918822001 XML default"/>
  1338. </condition>
  1339. </extension>
  1340. </context>
  1341. </section>
  1342. </document>
  1343. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->34] continue=false
  1344. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [34] destination_number(34) =~ /34/ break=on-false
  1345. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(did_user_domain=clusterguibeta5.astppbilling.org)
  1346. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(continue_on_fail=TRUE)
  1347. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(ignore_early_media=true)
  1348. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(no_answer_flag=false)
  1349. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(did_calltype=12)
  1350. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(did_extensions=918822001#)
  1351. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_credit_limit=0.00000)
  1352. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_credit_limit=0.00000)
  1353. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_used_limit=0.00000)
  1354. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_used_limit=0.00000)
  1355. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(accountcode=986057)
  1356. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action transfer(918822001 XML default)
  1357. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  1358. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  1359. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 582)
  1360. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE
  1361. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_sofia.c:213 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA EXECUTE
  1362. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard EXECUTE
  1363. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(did_user_domain=clusterguibeta5.astppbilling.org)
  1364. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[clusterguibeta5.astppbilling.org]
  1365. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(continue_on_fail=TRUE)
  1366. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [continue_on_fail]=[TRUE]
  1367. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(ignore_early_media=true)
  1368. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [ignore_early_media]=[true]
  1369. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(no_answer_flag=false)
  1370. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [no_answer_flag]=[false]
  1371. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(did_calltype=12)
  1372. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [did_calltype]=[12]
  1373. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(did_extensions=918822001#)
  1374. span style="color: goldenrod; font-weight: bold;"> 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [did_extensions]=[918822001#]
  1375. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_credit_limit=0.00000)
  1376. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_credit_limit]=[0.00000]
  1377. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_credit_limit=0.00000)
  1378. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_credit_limit]=[0.00000]
  1379. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_used_limit=0.00000)
  1380. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_used_limit]=[0.00000]
  1381. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_used_limit=0.00000)
  1382. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_used_limit]=[0.00000]
  1383. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(accountcode=986057)
  1384. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [accountcode]=[986057]
  1385. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 transfer(918822001 XML default)
  1386. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_ivr.c:2289 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_EXECUTE -> CS_ROUTING
  1387. 2023-06-16 03:51:07.976380 90.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/986057@clusterguibeta5.astppbilling.org:5060 to XML[918822001@default]
  1388. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE going to sleep
  1389. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 582)
  1390. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING
  1391. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  1392. 2023-06-16 03:51:07.976380 90.80% [DEBUG] mod_sofia.c:158 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA ROUTING
  1393. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard ROUTING
  1394. 2023-06-16 03:51:07.976380 90.80% [INFO] mod_dialplan_xml.c:639 Processing 986057 <986057>->918822001 in context default
  1395. 2023-06-16 03:51:07.976380 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1396. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1397. 2023-06-16 03:51:07.976380 90.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')
  1398. 2023-06-16 03:51:07.976380 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1399. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1400. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918822001
  1401. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '918822001' limit 1
  1402. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918822001' AND status=0 limit 1
  1403. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '918822001' and status=0 LIMIT 1
  1404. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER986057
  1405. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1406. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'clusterguibeta5.astppbilling.org' limit 1
  1407. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '34' and username = '918822001' limit 1
  1408. 2023-06-16 03:51:08.016239 90.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1409. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 986057 / 986057
  1410. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 001
  1411. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 918822 AND status=0 limit 1
  1412. 2023-06-16 03:51:08.016239 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918822001" LIMIT 1
  1413. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1414. 2023-06-16 03:51:08.016239 90.80% [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="918822001"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  1415. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1416. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  1417. 2023-06-16 03:51:08.016239 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 986057]
  1418. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =918822001
  1419. 2023-06-16 03:51:08.016239 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "986057" AND deleted = 0 limit 1
  1420. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918822001.*' OR blocked_patterns = '^91882200.*' OR blocked_patterns = '^9188220.*' OR blocked_patterns = '^918822.*' OR blocked_patterns = '^91882.*' OR blocked_patterns = '^9188.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  1421. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918822001" AND (accountid = 0 OR status = 1) LIMIT 1
  1422. 2023-06-16 03:51:08.036243 90.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 = '^918822001.*' OR patterns = '^91882200.*' OR patterns = '^9188220.*' OR patterns = '^918822.*' OR patterns = '^91882.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1423. 2023-06-16 03:51:08.036243 90.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 ="918822001" AND A.accountid = '34' limit 1
  1424. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918822001
  1425. 2023-06-16 03:51:08.036243 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918822001" LIMIT 1
  1426. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1427. 2023-06-16 03:51:08.036243 90.80% [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="918822001"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  1428. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1429. 2023-06-16 03:51:08.036243 90.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 = '918822001' OR number = '91882200' OR number = '9188220' OR number = '918822' OR number = '91882' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '918822001*' OR number = '91882200*' OR number = '9188220*' OR number = '918822*' OR number = '91882*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '986057' OR number = '98605' OR number = '9860' OR number = '986' OR number = '98' OR number = '9' OR number ='--') OR (number = '986057*' OR number = '98605*' OR number = '9860*' OR number = '986*' OR number = '98*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1430. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1431. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '918822001' OR routing_prefix = '91882200' OR routing_prefix = '9188220' OR routing_prefix = '918822' OR routing_prefix = '91882' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1432. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1433. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  1434. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 986057
  1435. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3053.9027
  1436. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1437. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1438. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1439. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1440. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  1441. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1442. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  1443. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918822001.*' OR pattern = '^91882200.*' OR pattern = '^9188220.*' OR pattern = '^918822.*' OR pattern = '^91882.*' OR pattern = '^9188.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND (caller_id_pattern = '^986057.*' OR caller_id_pattern = '^98605.*' OR caller_id_pattern = '^9860.*' OR caller_id_pattern = '^986.*' OR caller_id_pattern = '^98.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 8 OR accountid=34)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1444. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1445. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1446. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:2.40000
  1447. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:8
  1448. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '8' and status=0
  1449. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:2.40000
  1450. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1451. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3157584
  1452. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.10000
  1453. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1454. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.40000
  1455. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : India
  1456. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1457. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  1458. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1459. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1460. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1461. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:|ID:3157584|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.40000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:0|ACCID:34!!!
  1462. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3053.9027 balance Accountid 34 !!!
  1463. 2023-06-16 03:51:08.036243 90.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1464. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1465. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3157584
  1466. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
  1467. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1468. 2023-06-16 03:51:08.036243 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918822001.*' OR pattern = '^91882200.*' OR pattern = '^9188220.*' OR pattern = '^918822.*' OR pattern = '^91882.*' OR pattern = '^9188.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  1469. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1470. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  1471. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
  1472. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : India
  1473. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.10000
  1474. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1475. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
  1476. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1477. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1478. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  1479. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YGateway
  1480. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1481. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1482. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1483. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1484. 2023-06-16 03:51:08.036243 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1485. 2023-06-16 03:51:08.036243 90.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 = 34 AND status=0 LIMIT 1
  1486. 2023-06-16 03:51:08.076231 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1487. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1488. 2023-06-16 03:51:08.076231 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1489. 2023-06-16 03:51:08.076231 90.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  1490. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :918822001
  1491. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :918822001
  1492. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  1493. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  1494. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  1495. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="986057"  AND domains.domain="clusterguibeta5.astppbilling.org" limit 1
  1496. 2023-06-16 03:51:08.076231 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884400" LIMIT 1
  1497. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1498. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="34" and did_id ="22" and number ="986057" and status = '0' LIMIT 1
  1499. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1500. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1501. <document type="freeswitch/xml">
  1502. <section name="dialplan" description="ASTPP Dialplan">
  1503. <context name="default">
  1504. <extension name="918822001">
  1505. <condition field="destination_number" expression="918822001">
  1506. <action application="set" data="effective_destination_number=918822001"/>
  1507. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1508. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1509. <action application="set" data="notify_flag=0"/>
  1510. <action application="set" data="notify_credit_limit=5.00000"/>
  1511. <action application="set" data="type=0"/>
  1512. <action application="set" data="callstart=2023-06-16 03:51:08"/>
  1513. <action application="set" data="hangup_after_bridge=true"/>
  1514. <action application="set" data="continue_on_fail=TRUE"/>
  1515. <action application="set" data="account_id=34"/>
  1516. <action application="set" data="parent_id=0"/>
  1517. <action application="set" data="entity_id=0"/>
  1518. <action application="set" data="call_processed=internal"/>
  1519. <action application="set" data="call_direction=outbound"/>
  1520. <action application="set" data="accountname=default"/>
  1521. <action application="set" data="filename1=astpp.pbx.lua"/>
  1522. <action application="set" data="origination_rates=SHADOWBILLING:|ID:3157584|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.40000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:0|ACCID:34"/>
  1523. <action application="set" data="original_caller_id_name=986057"/>
  1524. <action application="set" data="original_caller_id_number=986057"/>
  1525.  
  1526. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  1527. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  1528. <action application="set" data="effective_caller_id_name=986057"/>
  1529. <action application="set" data="effective_caller_id_number=986057"/>
  1530. <action application="set" data="calltype=STANDARD"/>
  1531. <action application="set" data="termination_rates=ID:7|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|COST:1.40000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3"/>
  1532. <action application="set" data="trunk_id=4"/>
  1533. <action application="set" data="provider_id=3"/>
  1534. <action application="set" data="rate_flag=0"/>
  1535. <action application="set" data="daily_call_credit_limit=0.00000"/>
  1536. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  1537. <action application="set" data="daily_call_used_limit=0.00000"/>
  1538. <action application="set" data="monthly_call_used_limit=0.00000"/>
  1539. <action application="set" data="quality_trunk_seq=4"/>
  1540. <action application="set" data="force_trunk_flag=3157584"/>
  1541. <action application="export" data="presence_data=trunk_id=4"/>
  1542. <action application="set" data="intcall=0"/>
  1543. <action application="export" data="presence_id=918822001"/>
  1544. <action application="export" data="presence_data=x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46"/>
  1545. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YGateway/918822001;fs_path=sip:78.47.101.152:5060"/>
  1546. </condition>
  1547. </extension>
  1548. </context>
  1549. </section>
  1550. </document>
  1551. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 parsing [default->918822001] continue=false
  1552. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Regex (PASS) [918822001] destination_number(918822001) =~ /918822001/ break=on-false
  1553. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(effective_destination_number=918822001)
  1554. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1555. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1556. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(notify_flag=0)
  1557. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(notify_credit_limit=5.00000)
  1558. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(type=0)
  1559. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(callstart=2023-06-16 03:51:08)
  1560. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(hangup_after_bridge=true)
  1561. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(continue_on_fail=TRUE)
  1562. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(account_id=34)
  1563. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(parent_id=0)
  1564. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(entity_id=0)
  1565. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(call_processed=internal)
  1566. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(call_direction=outbound)
  1567. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(accountname=default)
  1568. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(filename1=astpp.pbx.lua)
  1569. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(origination_rates=SHADOWBILLING:|ID:3157584|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.40000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:0|ACCID:34)
  1570. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(original_caller_id_name=986057)
  1571. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(original_caller_id_number=986057)
  1572. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  1573. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  1574. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(effective_caller_id_name=986057)
  1575. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(effective_caller_id_number=986057)
  1576. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(calltype=STANDARD)
  1577. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(termination_rates=ID:7|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|COST:1.40000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3)
  1578. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(trunk_id=4)
  1579. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(provider_id=3)
  1580. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(rate_flag=0)
  1581. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_credit_limit=0.00000)
  1582. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_credit_limit=0.00000)
  1583. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(daily_call_used_limit=0.00000)
  1584. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(monthly_call_used_limit=0.00000)
  1585. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(quality_trunk_seq=4)
  1586. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(force_trunk_flag=3157584)
  1587. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(presence_data=trunk_id=4)
  1588. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action set(intcall=0)
  1589. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(presence_id=918822001)
  1590. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action export(presence_data=x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46)
  1591. Dialplan: sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YGateway/918822001;fs_path=sip:78.47.101.152:5060)
  1592. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  1593. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State ROUTING going to sleep
  1594. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 582)
  1595. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE
  1596. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_sofia.c:213 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA EXECUTE
  1597. 2023-06-16 03:51:08.076231 90.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard EXECUTE
  1598. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(effective_destination_number=918822001)
  1599. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [effective_destination_number]=[918822001]
  1600. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  1601. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1602. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1603. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1604. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(notify_flag=0)
  1605. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [notify_flag]=[0]
  1606. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(notify_credit_limit=5.00000)
  1607. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [notify_credit_limit]=[5.00000]
  1608. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(type=0)
  1609. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [type]=[0]
  1610. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(callstart=2023-06-16 03:51:08)
  1611. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [callstart]=[2023-06-16 03:51:08]
  1612. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(hangup_after_bridge=true)
  1613. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [hangup_after_bridge]=[true]
  1614. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(continue_on_fail=TRUE)
  1615. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [continue_on_fail]=[TRUE]
  1616. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(account_id=34)
  1617. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [account_id]=[34]
  1618. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(parent_id=0)
  1619. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [parent_id]=[0]
  1620. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(entity_id=0)
  1621. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [entity_id]=[0]
  1622. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(call_processed=internal)
  1623. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [call_processed]=[internal]
  1624. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(call_direction=outbound)
  1625. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [call_direction]=[outbound]
  1626. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(accountname=default)
  1627. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [accountname]=[default]
  1628. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(filename1=astpp.pbx.lua)
  1629. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [filename1]=[astpp.pbx.lua]
  1630. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(origination_rates=SHADOWBILLING:|ID:3157584|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.40000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:0|ACCID:34)
  1631. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [origination_rates]=[SHADOWBILLING:|ID:3157584|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.40000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:0|ACCID:34]
  1632. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(original_caller_id_name=986057)
  1633. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [original_caller_id_name]=[986057]
  1634. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(original_caller_id_number=986057)
  1635. 2023-06-16 03:51:08.076231 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [original_caller_id_number]=[986057]
  1636. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 hash(insert/clusterguibeta5.astppbilling.org-last_dial/986057/918822001)
  1637. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 hash(insert/clusterguibeta5.astppbilling.org-call_return/918822001/986057)
  1638. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(effective_caller_id_name=986057)
  1639. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [effective_caller_id_name]=[986057]
  1640. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(effective_caller_id_number=986057)
  1641. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [effective_caller_id_number]=[986057]
  1642. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(calltype=STANDARD)
  1643. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [calltype]=[STANDARD]
  1644. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(termination_rates=ID:7|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|COST:1.40000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3)
  1645. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [termination_rates]=[ID:7|CODE:^91.*|DESTINATION:India|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|COST:1.40000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3]
  1646. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(trunk_id=4)
  1647. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [trunk_id]=[4]
  1648. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(provider_id=3)
  1649. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [provider_id]=[3]
  1650. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(rate_flag=0)
  1651. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [rate_flag]=[0]
  1652. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_credit_limit=0.00000)
  1653. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_credit_limit]=[0.00000]
  1654. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_credit_limit=0.00000)
  1655. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_credit_limit]=[0.00000]
  1656. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(daily_call_used_limit=0.00000)
  1657. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [daily_call_used_limit]=[0.00000]
  1658. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(monthly_call_used_limit=0.00000)
  1659. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [monthly_call_used_limit]=[0.00000]
  1660. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(quality_trunk_seq=4)
  1661. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [quality_trunk_seq]=[4]
  1662. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(force_trunk_flag=3157584)
  1663. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [force_trunk_flag]=[3157584]
  1664. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(presence_data=trunk_id=4)
  1665. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  1666. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 set(intcall=0)
  1667. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [intcall]=[0]
  1668. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(presence_id=918822001)
  1669. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[918822001]
  1670. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 export(presence_data=x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46)
  1671. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46]
  1672. EXECUTE [depth=0] sofia/default/986057@clusterguibeta5.astppbilling.org:5060 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YGateway/918822001;fs_path=sip:78.47.101.152:5060)
  1673. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [did_user_domain]=[clusterguibeta5.astppbilling.org] to event
  1674. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [presence_data]=[x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46] to event
  1675. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [presence_id]=[918822001] to event
  1676. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_channel.c:1269 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 EXPORTING[export_vars] [presence_data]=[x|||Yash(986057)|||^91.* // India // 2.40000 |||YTrunk // ^91.* // India // 1.40000 // trunk_id=4|||STD|||103.240.35.46] to event
  1677. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1678. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1679. 2023-06-16 03:51:08.096232 90.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918822001 [854c6222-5ec8-40d0-ae6a-c7dd30f26d38]
  1680. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_sofia.c:5121 (sofia/default/918822001) State Change CS_NEW -> CS_INIT
  1681. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_INIT (Cur 2 Tot 583)
  1682. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918822001) State INIT
  1683. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_sofia.c:97 sofia/default/918822001 SOFIA INIT
  1684. 2023-06-16 03:51:08.096232 90.80% [DEBUG] sofia_glue.c:1620 sip:78.47.101.152:5060 Setting proxy route to sofia/default/918822001
  1685. 2023-06-16 03:51:08.096232 90.80% [INFO] sofia_glue.c:1651 sofia/default/918822001 sending invite call-id: (null)
  1686. 2023-06-16 03:51:08.096232 90.80% [DEBUG] sofia_glue.c:1654 sofia/default/918822001 sending invite version: 1.10.7 -release 64bit
  1687. Local SDP:
  1688. v=0
  1689. o=FreeSWITCH 1686870786 1686870787 IN IP4 167.235.194.5
  1690. s=FreeSWITCH
  1691. c=IN IP4 167.235.194.5
  1692. t=0 0
  1693. m=audio 16682 RTP/AVP 8 101
  1694. a=rtpmap:8 PCMA/8000
  1695. a=rtpmap:101 telephone-event/8000
  1696. a=fmtp:101 0-15
  1697. a=ptime:20
  1698. a=sendrecv
  1699.  
  1700. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/918822001 Standard INIT
  1701. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918822001) State Change CS_INIT -> CS_ROUTING
  1702. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918822001) State INIT going to sleep
  1703. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_ROUTING (Cur 2 Tot 583)
  1704. 2023-06-16 03:51:08.096232 90.80% [DEBUG] sofia.c:7499 Channel sofia/default/918822001 entering state [calling][0]
  1705. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918822001) State ROUTING
  1706. 2023-06-16 03:51:08.096232 90.80% [DEBUG] mod_sofia.c:158 sofia/default/918822001 SOFIA ROUTING
  1707. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918822001) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1708. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918822001) State ROUTING going to sleep
  1709. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 583)
  1710. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918822001) State CONSUME_MEDIA
  1711. 2023-06-16 03:51:08.096232 90.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918822001) State CONSUME_MEDIA going to sleep
  1712. 2023-06-16 03:51:08.416331 90.80% [DEBUG] sofia.c:7499 Channel sofia/default/918822001 entering state [completing][200]
  1713. 2023-06-16 03:51:08.416331 90.80% [DEBUG] sofia.c:7509 Remote SDP:
  1714. v=0
  1715. o=root 1318115297 1318115297 IN IP4 159.203.131.36
  1716. s=Asterisk PBX 16.4.0
  1717. c=IN IP4 159.203.131.36
  1718. t=0 0
  1719. m=audio 14922 RTP/AVP 8 101
  1720. a=rtpmap:8 PCMA/8000
  1721. a=rtpmap:101 telephone-event/8000
  1722. a=fmtp:101 0-16
  1723. a=maxptime:150
  1724.  
  1725. 2023-06-16 03:51:08.416331 90.80% [DEBUG] sofia.c:7499 Channel sofia/default/918822001 entering state [ready][200]
  1726. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  1727. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1728. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1729. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/918822001 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1730. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_codec.c:111 sofia/default/918822001 Original read codec set to PCMA:8
  1731. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1732. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:5973 sofia/default/918822001 Set 2833 dtmf send payload to 101 recv payload to 101
  1733. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/918822001] 167.235.194.5 port 16682 -> 159.203.131.36 port 14922 codec: 8 ms: 20
  1734. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1735. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9089 sofia/default/918822001 Set 2833 dtmf send payload to 101
  1736. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9096 sofia/default/918822001 Set 2833 dtmf receive payload to 101
  1737. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9119 sofia/default/918822001 Set rtp dtmf delay to 40
  1738. 2023-06-16 03:51:08.416331 90.80% [NOTICE] sofia.c:8683 Channel [sofia/default/918822001] has been answered
  1739. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_channel.c:3950 (sofia/default/918822001) Callstate Change DOWN -> ACTIVE
  1740. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/986057@clusterguibeta5.astppbilling.org:5060] 167.235.194.5 port 27844 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  1741. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1742. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9089 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  1743. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9096 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  1744. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_media.c:9119 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Set rtp dtmf delay to 40
  1745. 2023-06-16 03:51:08.416331 90.80% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/986057@clusterguibeta5.astppbilling.org:5060:
  1746. v=0
  1747. o=FreeSWITCH 1686859624 1686859625 IN IP4 167.235.194.5
  1748. s=FreeSWITCH
  1749. c=IN IP4 167.235.194.5
  1750. t=0 0
  1751. m=audio 27844 RTP/AVP 8 101
  1752. a=rtpmap:8 PCMA/8000
  1753. a=rtpmap:101 telephone-event/8000
  1754. a=fmtp:101 0-15
  1755. a=ptime:20
  1756. a=sendrecv
  1757.  
  1758. 2023-06-16 03:51:08.416331 90.80% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/986057@clusterguibeta5.astppbilling.org:5060] has been answered
  1759. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_channel.c:3950 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  1760. 2023-06-16 03:51:08.416331 90.80% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [completed][200]
  1761. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/918822001] Peer UUID: 854c6222-5ec8-40d0-ae6a-c7dd30f26d38
  1762. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/918822001) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1763. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 583)
  1764. 2023-06-16 03:51:08.416331 90.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/918822001) State EXCHANGE_MEDIA
  1765. 2023-06-16 03:51:08.416331 90.80% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1766. 2023-06-16 03:51:08.616287 90.80% [DEBUG] switch_ivr_bridge.c:655 sofia/default/918822001 Bridge execute app sched_hangup(+6000 normal_clearing)
  1767. 2023-06-16 03:51:08.636281 89.67% [DEBUG] switch_ivr.c:632 sofia/default/918822001 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1768. EXECUTE [depth=0] sofia/default/918822001 sched_hangup(+6000 normal_clearing)
  1769. 2023-06-16 03:51:08.636281 89.67% [DEBUG] switch_scheduler.c:263 Added task 32 switch_ivr_schedule_hangup (854c6222-5ec8-40d0-ae6a-c7dd30f26d38) to run at 1686893468
  1770. 2023-06-16 03:51:08.736283 89.67% [DEBUG] sofia.c:7499 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 entering state [ready][200]
  1771. 2023-06-16 03:51:08.756264 89.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1772. 2023-06-16 03:51:08.876282 89.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1773. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_ivr_bridge.c:820 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 ending bridge by request from write function
  1774. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/918822001]
  1775. 2023-06-16 03:51:26.176255 89.37% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/918822001 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1776. 2023-06-16 03:51:26.176255 89.37% [NOTICE] sofia.c:1065 Hangup sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  1777. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/918822001) State EXCHANGE_MEDIA going to sleep
  1778. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_HANGUP (Cur 2 Tot 583)
  1779. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918822001) Callstate Change ACTIVE -> HANGUP
  1780. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918822001) State HANGUP
  1781. 2023-06-16 03:51:26.176255 89.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/918822001 hanging up, cause: NORMAL_CLEARING
  1782. 2023-06-16 03:51:26.176255 89.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/918822001
  1783. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/986057@clusterguibeta5.astppbilling.org:5060]
  1784. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/918822001 Standard HANGUP, cause: NORMAL_CLEARING
  1785. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918822001) State HANGUP going to sleep
  1786. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918822001) State Change CS_HANGUP -> CS_REPORTING
  1787. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918822001) Running State Change CS_REPORTING (Cur 2 Tot 583)
  1788. 2023-06-16 03:51:26.176255 89.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918822001) State REPORTING
  1789. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/918822001 skip receive message [UNBRIDGE] (channel is hungup already)
  1790. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  1791. 2023-06-16 03:51:26.196252 89.37% [INFO] mod_json_cdr.c:271 Process [854c6222-5ec8-40d0-ae6a-c7dd30f26d38.cdr.json]
  1792. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_session.c:2983 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
  1793. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State EXECUTE going to sleep
  1794. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 583)
  1795. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  1796. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State HANGUP
  1797. 2023-06-16 03:51:26.196252 89.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  1798. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  1799. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State HANGUP going to sleep
  1800. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  1801. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 583)
  1802. 2023-06-16 03:51:26.196252 89.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State REPORTING
  1803. 2023-06-16 03:51:26.196252 89.37% [INFO] mod_json_cdr.c:271 Process [c20a7ad8-9f1a-489d-9970-d287594f9e1f.cdr.json]
  1804. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/918822001 Standard REPORTING, cause: NORMAL_CLEARING
  1805. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918822001) State REPORTING going to sleep
  1806. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918822001) State Change CS_REPORTING -> CS_DESTROY
  1807. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_session.c:1753 Session 583 (sofia/default/918822001) Locked, Waiting on external entities
  1808. 2023-06-16 03:51:26.216281 89.37% [NOTICE] switch_core_session.c:1771 Session 583 (sofia/default/918822001) Ended
  1809. 2023-06-16 03:51:26.216281 89.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918822001 [CS_DESTROY]
  1810. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918822001) Running State Change CS_DESTROY (Cur 1 Tot 583)
  1811. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918822001) State DESTROY
  1812. 2023-06-16 03:51:26.216281 89.37% [DEBUG] mod_sofia.c:379 sofia/default/918822001 SOFIA DESTROY
  1813. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/918822001 Standard DESTROY
  1814. 2023-06-16 03:51:26.216281 89.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918822001) State DESTROY going to sleep
  1815. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  1816. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State REPORTING going to sleep
  1817. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  1818. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_session.c:1753 Session 582 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Locked, Waiting on external entities
  1819. 2023-06-16 03:51:26.256307 89.37% [NOTICE] switch_core_session.c:1771 Session 582 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Ended
  1820. 2023-06-16 03:51:26.256307 89.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/986057@clusterguibeta5.astppbilling.org:5060 [CS_DESTROY]
  1821. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 0 Tot 583)
  1822. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State DESTROY
  1823. 2023-06-16 03:51:26.256307 89.37% [DEBUG] mod_sofia.c:379 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 SOFIA DESTROY
  1824. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/986057@clusterguibeta5.astppbilling.org:5060 Standard DESTROY
  1825. 2023-06-16 03:51:26.256307 89.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/986057@clusterguibeta5.astppbilling.org:5060) State DESTROY going to sleep
  1826. 2023-06-16 03:51:26.656280 89.17% [DEBUG] switch_scheduler.c:147 Deleting task 32 switch_ivr_schedule_hangup (854c6222-5ec8-40d0-ae6a-c7dd30f26d38)