From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Ring Group - No ans call type-Queue issue
  1. 2023-07-03 06:07:23.269337 88.07% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  2. 2023-07-03 06:07:28.789300 88.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [9d66ff2c-46d7-40b1-afef-7997e886ab44]
  3. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 58)
  4. 2023-07-03 06:07:28.789300 88.90% [INFO] sofia.c:10453 sofia/default/9900120420@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: bb0cb49e-940a-123c-4588-02c9c4cfda14
  5. 2023-07-03 06:07:28.789300 88.90% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
  6. 2023-07-03 06:07:28.789300 88.90% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  7. 2023-07-03 06:07:28.789300 88.90% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
  8. 2023-07-03 06:07:28.789300 88.90% [DEBUG] sofia.c:7497 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1688336464 1688336465 IN IP4 13.232.246.166
  11. s=FreeSWITCH
  12. c=IN IP4 13.232.246.166
  13. t=0 0
  14. m=audio 27984 RTP/AVP 0 101
  15. a=rtpmap:0 PCMU/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18. a=ptime:20
  19.  
  20. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  21. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  22. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  24. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  25. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9900120420@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  26. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
  27. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  28. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  29. 2023-07-03 06:07:28.789300 88.90% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
  30. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
  31. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 58)
  32. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
  33. 2023-07-03 06:07:28.789300 88.90% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
  34. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
  35. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  36. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
  37. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 58)
  38. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
  39. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  40. 2023-07-03 06:07:28.789300 88.90% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  41. 2023-07-03 06:07:28.789300 88.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  42. 2023-07-03 06:07:28.789300 88.90% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
  43. 2023-07-03 06:07:28.809307 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  44. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  45. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  46. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  47. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  48. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  49. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
  50. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  51. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
  52. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  53. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
  55. 2023-07-03 06:07:28.829292 88.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  56. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  57. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  58. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  59. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  60. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  61. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  62. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  63. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  64. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  66. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  67. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "10050"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  68. 2023-07-03 06:07:28.829292 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3783280269]
  69. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  70. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3783280269" OR id = "3783280269") AND deleted = 0 limit 1
  71. 2023-07-03 06:07:28.829292 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  72. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  73. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  74. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  75. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  76. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10050" AND A.accountid = '85' limit 1
  78. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  79. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  81. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  82. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  83. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  84. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  85. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  86. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 84 limit 1
  90. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 85
  92. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3783280269
  93. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  94. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 76525.4432
  95. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  96. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 59
  97. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  100. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::59
  101. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  102. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  103. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  104. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  106. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  107. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  108. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
  109. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:59
  110. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '59' and status=0
  111. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
  112. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  113. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  114. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  115. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  116. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  117. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  118. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  119. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 85
  120. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  121. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  122. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your76525.4432 balance Accountid 85 !!!
  123. 2023-07-03 06:07:28.849267 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  124. 2023-07-03 06:07:28.849267 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 84
  125. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "84" OR number = "84") AND deleted = 0 limit 1
  126. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  127. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  128. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 84
  129. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8533904325
  130. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  131. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 76525.4432
  132. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  133. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  134. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  135. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  136. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  137. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  138. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  139. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  140. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
  141. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  142. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  143. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
  144. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  145. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  146. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
  147. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  148. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  149. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  150. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  151. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  152. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  153. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  154. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 84
  155. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  156. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  157. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your76525.4432 balance Accountid 84 !!!
  158. 2023-07-03 06:07:28.849267 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  159. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7
  160. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  161. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  162. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
  163. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  164. 2023-07-03 06:07:28.849267 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  165. 2023-07-03 06:07:28.849267 88.90% [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 = 85 AND status=0 LIMIT 1
  166. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1
  167. 2023-07-03 06:07:28.849267 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  168. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:85
  169. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:85
  170. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 85
  171. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  172. 2023-07-03 06:07:28.889286 88.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
  173. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 500
  174. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  175. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  176. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  177. 2023-07-03 06:07:28.889286 88.90% [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 = "1" AND accounts.status = 0
  178. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  179. 2023-07-03 06:07:28.889286 88.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
  180. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  181. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 7 or id = 7 ) and status = 0 limit 1
  182. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  183. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  184. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '7' LIMIT 1
  185. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option -
  186. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  187. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  188. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
  189. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  190. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  191. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  192. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  193. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  194. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  195. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  196. 2023-07-03 06:07:28.889286 88.90% [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="8827185844"  AND domains.domain="alpha6.astppbilling.org" limit 1
  197. 2023-07-03 06:07:28.889286 88.90% [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 = "8827185844"
  198. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  199. 2023-07-03 06:07:28.889286 88.90% [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="8827185844"  AND domains.domain="alpha6.astppbilling.org" limit 1
  200. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  201. 2023-07-03 06:07:28.889286 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|
  202. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '3' LIMIT 1
  203. 2023-07-03 06:07:28.889286 88.90% [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
  204. 2023-07-03 06:07:28.889286 88.90% [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
  205. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  206. <document type="freeswitch/xml">
  207. <section name="dialplan" description="ASTPP Dialplan">
  208. <context name="default">
  209. <extension name="10050">
  210. <condition field="destination_number" expression="10050">
  211. <action application="set" data="effective_destination_number=10050"/>
  212. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  213. <action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
  214. <action application="set" data="notify_flag=0"/>
  215. <action application="set" data="notify_credit_limit=2.00000"/>
  216. <action application="set" data="type=0"/>
  217. <action application="set" data="callstart=2023-07-03 06:07:28"/>
  218. <action application="set" data="hangup_after_bridge=true"/>
  219. <action application="set" data="continue_on_fail=TRUE"/>
  220. <action application="set" data="account_id=85"/>
  221. <action application="set" data="parent_id=84"/>
  222. <action application="set" data="entity_id=0"/>
  223. <action application="set" data="call_processed=internal"/>
  224. <action application="set" data="call_direction=inbound"/>
  225. <action application="set" data="accountname=CommunityVsix"/>
  226. <action application="set" data="filename1=astpp.pbx.lua"/>
  227. <action application="sleep" data="500"/>
  228. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  229. <action application="say" data="en NUMBER PRONOUNCED 500"/>
  230. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  231. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  232. <action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  233. <action application="set" data="origination_rates=0"/>
  234. <action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
  235. <action application="set" data="original_caller_id_number=9900120420"/>
  236. <action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
  237. <action application="set" data="effective_caller_id_number=9900120420"/>
  238. <action application="set" data="receiver_accid=7"/>
  239. <action application="set" data="did_id=13"/>
  240. <action application="set" data="transfer_call_type=4"/>
  241. <action application="set" data="transfer_extensions=91000070000"/>
  242. <action application="set" data="busy_status=0"/>
  243. <action application="set" data="no_answer_status=1"/>
  244. <action application="set" data="always_status=1"/>
  245. <action application="set" data="transfer_status=0"/>
  246. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  247. <action application="set" data="variable_sip_network_ip=13.232.246.166"/>
  248. <action application="set" data="variable_sip_network_port=5077"/>
  249. <action application="export" data="domain_name=alpha6.astppbilling.org"/>
  250. <action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
  251. <action application="export" data="presence_data=x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
  252. <action application="export" data="call_type=7"/>
  253. <action application="set" data="did_calltype=7"/>
  254. <action application="set" data="did_extensions=1"/>
  255. <action application="set" data="daily_call_credit_limit=0.00000"/>
  256. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  257. <action application="set" data="daily_call_used_limit=0.00000"/>
  258. <action application="set" data="monthly_call_used_limit=0.00000"/>
  259. <action application="set" data="group_confirm_key=exec"/>
  260. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  261. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav"/>
  262. <action application="set" data="module_name=pbx"/>
  263. <action application="db" data="insert/pickup_any_group_${callgroup}/1/${uuid}"/>
  264. <action application="set" data="dialed_extension=transfer_call"/>
  265. <action application="export" data="dialed_extension=transfer_call"/>
  266. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  267. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  268. <action application="export" data="ring_group_transfer=true"/>
  269. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  270. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|"/>
  271. <action application="set" data="original_did_number=10050"/>
  272. <action application="set" data="no_answer_number="/>
  273. <action application="set" data="no_answer_call_type=queue"/>
  274. <action application="set" data="no_answer_call_type_value=1"/>
  275. <action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
  276. <action application="set" data="userinfo_id=85"/>
  277. <action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
  278. <action application="set" data="opensips_flag=1"/>
  279. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  280. </condition>
  281. </extension>
  282. </context>
  283. </section>
  284. </document>
  285. Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
  286. Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  287. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
  288. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  289. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  290. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(notify_flag=0)
  291. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(notify_credit_limit=2.00000)
  292. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=0)
  293. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-07-03 06:07:28)
  294. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
  295. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
  296. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=85)
  297. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=84)
  298. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=0)
  299. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
  300. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
  301. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
  302. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  303. Dialplan: sofia/default/9900120420@13.232.246.166 Action sleep(500)
  304. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  305. Dialplan: sofia/default/9900120420@13.232.246.166 Action say(en NUMBER PRONOUNCED 500)
  306. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  307. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  308. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  309. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
  310. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
  311. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
  312. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
  313. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
  314. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
  315. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
  316. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=4)
  317. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=91000070000)
  318. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
  319. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
  320. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
  321. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=0)
  322. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  323. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
  324. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
  325. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
  326. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
  327. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  328. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=7)
  329. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_calltype=7)
  330. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_extensions=1)
  331. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  332. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  333. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  334. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  335. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_key=exec)
  336. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  337. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=/var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav)
  338. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(module_name=pbx)
  339. Dialplan: sofia/default/9900120420@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/1/${uuid})
  340. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(dialed_extension=transfer_call)
  341. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(dialed_extension=transfer_call)
  342. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  343. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  344. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(ring_group_transfer=true)
  345. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(fail_on_single_reject=CALL_REJECTED)
  346. Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|)
  347. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_did_number=10050)
  348. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_number=)
  349. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type=queue)
  350. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type_value=1)
  351. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
  352. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(userinfo_id=85)
  353. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
  354. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(opensips_flag=1)
  355. Dialplan: sofia/default/9900120420@13.232.246.166 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  356. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  357. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  358. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 58)
  359. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
  360. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
  361. 2023-07-03 06:07:28.889286 88.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
  362. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
  363. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
  364. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  365. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  366. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  367. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
  368. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(notify_flag=0)
  369. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [notify_flag]=[0]
  370. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(notify_credit_limit=2.00000)
  371. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [notify_credit_limit]=[2.00000]
  372. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=0)
  373. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[0]
  374. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-07-03 06:07:28)
  375. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-07-03 06:07:28]
  376. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
  377. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
  378. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
  379. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
  380. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=85)
  381. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[85]
  382. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=84)
  383. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[84]
  384. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=0)
  385. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[0]
  386. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
  387. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
  388. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
  389. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
  390. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
  391. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
  392. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
  393. 2023-07-03 06:07:28.889286 88.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
  394. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 sleep(500)
  395. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
  396. 2023-07-03 06:07:29.409273 88.57% [INFO] switch_core_session.c:2787 Sending early media
  397. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 20126 -> 13.232.246.166 port 27984 codec: 0 ms: 20
  398. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  399. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
  400. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
  401. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
  402. 2023-07-03 06:07:29.409273 88.57% [DEBUG] mod_sofia.c:2609 Ring SDP:
  403. v=0
  404. o=FreeSWITCH 1688344323 1688344324 IN IP4 95.217.238.195
  405. s=FreeSWITCH
  406. c=IN IP4 95.217.238.195
  407. t=0 0
  408. m=audio 20126 RTP/AVP 0 101
  409. a=rtpmap:0 PCMU/8000
  410. a=rtpmap:101 telephone-event/8000
  411. a=fmtp:101 0-15
  412. a=ptime:20
  413. a=sendrecv
  414.  
  415. 2023-07-03 06:07:29.409273 88.57% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
  416. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
  417. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  418. 2023-07-03 06:07:29.409273 88.57% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
  419. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  420. 2023-07-03 06:07:29.409273 88.57% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  421. 2023-07-03 06:07:29.769321 88.57% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  422. 2023-07-03 06:07:30.609294 88.97% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  423. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 say(en NUMBER PRONOUNCED 500)
  424. 2023-07-03 06:07:30.609294 88.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  425. 2023-07-03 06:07:31.849350 88.97% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/5.wav!digits/hundred.wav
  426. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  427. 2023-07-03 06:07:31.849350 88.97% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
  428. 2023-07-03 06:07:31.849350 88.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  429. 2023-07-03 06:07:32.329314 89.87% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
  430. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  431. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  432. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  433. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  434. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
  435. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
  436. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
  437. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
  438. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
  439. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
  440. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
  441. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
  442. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
  443. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
  444. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
  445. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
  446. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
  447. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
  448. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=4)
  449. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[4]
  450. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=91000070000)
  451. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[91000070000]
  452. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
  453. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
  454. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
  455. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
  456. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
  457. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
  458. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=0)
  459. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[0]
  460. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
  461. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
  462. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
  463. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
  464. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
  465. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
  466. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
  467. 2023-07-03 06:07:32.329314 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
  468. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
  469. 2023-07-03 06:07:32.329314 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
  470. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  471. 2023-07-03 06:07:32.329314 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
  472. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=7)
  473. 2023-07-03 06:07:32.329314 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  474. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_calltype=7)
  475. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_calltype]=[7]
  476. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_extensions=1)
  477. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_extensions]=[1]
  478. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_credit_limit=0.00000)
  479. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  480. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  481. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  482. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_used_limit=0.00000)
  483. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_used_limit]=[0.00000]
  484. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_used_limit=0.00000)
  485. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  486. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_key=exec)
  487. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_key]=[exec]
  488. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  489. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  490. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=/var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav)
  491. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[/var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav]
  492. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(module_name=pbx)
  493. 2023-07-03 06:07:32.329314 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [module_name]=[pbx]
  494. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 db(insert/pickup_any_group_/1/9d66ff2c-46d7-40b1-afef-7997e886ab44)
  495. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(dialed_extension=transfer_call)
  496. 2023-07-03 06:07:32.349280 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [dialed_extension]=[transfer_call]
  497. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(dialed_extension=transfer_call)
  498. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  499. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  500. 2023-07-03 06:07:32.349280 89.87% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  501. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  502. 2023-07-03 06:07:32.349280 89.87% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  503. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(ring_group_transfer=true)
  504. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  505. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(fail_on_single_reject=CALL_REJECTED)
  506. 2023-07-03 06:07:32.349280 89.87% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [fail_on_single_reject]=[CALL_REJECTED]
  507. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|)
  508. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  509. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  510. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  511. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  512. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  513. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  514. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  515. 2023-07-03 06:07:32.349280 89.87% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  516. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  517. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  518. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x//84|||Xy customer(3783280269)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  519. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  520. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  521. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  522. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  523. 2023-07-03 06:07:32.369374 89.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8827185844@49.34.204.82:44797 [e6acc915-05bd-4559-b195-a6d012386b5c]
  524. 2023-07-03 06:07:32.369374 89.87% [DEBUG] mod_sofia.c:5117 (sofia/default/8827185844@49.34.204.82:44797) State Change CS_NEW -> CS_INIT
  525. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8827185844@49.34.204.82:44797 Setting leg timeout to 15
  526. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_INIT (Cur 2 Tot 59)
  527. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@49.34.204.82:44797) State INIT
  528. 2023-07-03 06:07:32.369374 89.87% [DEBUG] mod_sofia.c:97 sofia/default/8827185844@49.34.204.82:44797 SOFIA INIT
  529. 2023-07-03 06:07:32.369374 89.87% [DEBUG] sofia_glue.c:1623 sip:8827185844@49.34.204.82:44797;transport=TCP;rinstance=0f48b76be133fa9a Setting proxy route to sofia/default/8827185844@49.34.204.82:44797
  530. 2023-07-03 06:07:32.369374 89.87% [INFO] sofia_glue.c:1654 sofia/default/8827185844@49.34.204.82:44797 sending invite call-id: (null)
  531. 2023-07-03 06:07:32.369374 89.87% [DEBUG] sofia_glue.c:1657 sofia/default/8827185844@49.34.204.82:44797 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  532. Local SDP:
  533. v=0
  534. o=FreeSWITCH 1688342872 1688342873 IN IP4 95.217.238.195
  535. s=FreeSWITCH
  536. c=IN IP4 95.217.238.195
  537. t=0 0
  538. m=audio 21580 RTP/AVP 0 101
  539. a=rtpmap:0 PCMU/8000
  540. a=rtpmap:101 telephone-event/8000
  541. a=fmtp:101 0-15
  542. a=ptime:20
  543. a=sendrecv
  544.  
  545. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/8827185844@49.34.204.82:44797 Standard INIT
  546. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8827185844@49.34.204.82:44797) State Change CS_INIT -> CS_ROUTING
  547. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@49.34.204.82:44797) State INIT going to sleep
  548. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_ROUTING (Cur 2 Tot 59)
  549. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@49.34.204.82:44797) State ROUTING
  550. 2023-07-03 06:07:32.369374 89.87% [DEBUG] mod_sofia.c:158 sofia/default/8827185844@49.34.204.82:44797 SOFIA ROUTING
  551. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8827185844@49.34.204.82:44797) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  552. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@49.34.204.82:44797) State ROUTING going to sleep
  553. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 59)
  554. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@49.34.204.82:44797) State CONSUME_MEDIA
  555. 2023-07-03 06:07:32.369374 89.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@49.34.204.82:44797) State CONSUME_MEDIA going to sleep
  556. 2023-07-03 06:07:32.369374 89.87% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@49.34.204.82:44797 entering state [calling][0]
  557. 2023-07-03 06:07:33.309286 90.33% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@49.34.204.82:44797 entering state [proceeding][180]
  558. 2023-07-03 06:07:33.309286 90.33% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8827185844@49.34.204.82:44797!
  559. 2023-07-03 06:07:33.309286 90.33% [DEBUG] switch_channel.c:3494 (sofia/default/8827185844@49.34.204.82:44797) Callstate Change DOWN -> RINGING
  560. 2023-07-03 06:07:33.349296 90.33% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  561. 2023-07-03 06:07:33.349296 90.33% [DEBUG] switch_core_codec.c:223 sofia/default/9900120420@13.232.246.166 Push codec L16:100
  562. 2023-07-03 06:07:33.349296 90.33% [DEBUG] switch_ivr_originate.c:1385 Play Ringback File [/var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav]
  563. 2023-07-03 06:07:33.349296 90.33% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/CantinaBand60_030723044418.wav sample rate 22050 doesn't match requested rate 8000
  564. 2023-07-03 06:07:38.869307 90.80% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.112.53
  565. freeswitch@AlphaQaAlpesh>
  566. 2023-07-03 06:07:39.189293 91.00% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 157.32.112.53
  567. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
  568. and you must configure your device to use the proper domain in its authentication credentials.
  569. 2023-07-03 06:07:39.189293 91.00% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.112.53
  570. freeswitch@AlphaQaAlpesh>
  571. freeswitch@AlphaQaAlpesh>
  572. freeswitch@AlphaQaAlpesh>
  573. 2023-07-03 06:07:46.549326 92.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  574. 2023-07-03 06:07:48.009321 92.07% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/8827185844@49.34.204.82:44797 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  575. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_HANGUP (Cur 2 Tot 59)
  576. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8827185844@49.34.204.82:44797) Callstate Change RINGING -> HANGUP
  577. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@49.34.204.82:44797) State HANGUP
  578. 2023-07-03 06:07:48.009321 92.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/8827185844@49.34.204.82:44797 hanging up, cause: ALLOTTED_TIMEOUT
  579. 2023-07-03 06:07:48.009321 92.07% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8827185844@49.34.204.82:44797
  580. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/8827185844@49.34.204.82:44797 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  581. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@49.34.204.82:44797) State HANGUP going to sleep
  582. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8827185844@49.34.204.82:44797) State Change CS_HANGUP -> CS_REPORTING
  583. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_REPORTING (Cur 2 Tot 59)
  584. 2023-07-03 06:07:48.009321 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@49.34.204.82:44797) State REPORTING
  585. 2023-07-03 06:07:48.009321 92.07% [INFO] mod_json_cdr.c:272 Process [e6acc915-05bd-4559-b195-a6d012386b5c.cdr.json]
  586. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_codec.c:248 sofia/default/9900120420@13.232.246.166 Restore previous codec PCMU:0.
  587. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  588. 2023-07-03 06:07:48.029351 92.07% [NOTICE] switch_ivr_originate.c:3049 Cannot create outgoing channel of type [user] cause: [ALLOTTED_TIMEOUT]
  589. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  590. 2023-07-03 06:07:48.029351 92.07% [INFO] mod_dptools.c:3637 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  591. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_did_number=10050)
  592. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_did_number]=[10050]
  593. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_number=)
  594. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_number]=[UNDEF]
  595. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type=queue)
  596. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type]=[queue]
  597. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type_value=1)
  598. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type_value]=[1]
  599. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
  600. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
  601. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(userinfo_id=85)
  602. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [userinfo_id]=[85]
  603. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
  604. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/8827185844@49.34.204.82:44797 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  605. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@49.34.204.82:44797) State REPORTING going to sleep
  606. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
  607. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(opensips_flag=1)
  608. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8827185844@49.34.204.82:44797) State Change CS_REPORTING -> CS_DESTROY
  609. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_session.c:1743 Session 59 (sofia/default/8827185844@49.34.204.82:44797) Locked, Waiting on external entities
  610. 2023-07-03 06:07:48.029351 92.07% [NOTICE] switch_core_session.c:1761 Session 59 (sofia/default/8827185844@49.34.204.82:44797) Ended
  611. 2023-07-03 06:07:48.029351 92.07% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8827185844@49.34.204.82:44797 [CS_DESTROY]
  612. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [opensips_flag]=[1]
  613. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8827185844@49.34.204.82:44797) Running State Change CS_DESTROY (Cur 1 Tot 59)
  614. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@49.34.204.82:44797) State DESTROY
  615. 2023-07-03 06:07:48.029351 92.07% [DEBUG] mod_sofia.c:379 sofia/default/8827185844@49.34.204.82:44797 SOFIA DESTROY
  616. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/8827185844@49.34.204.82:44797 Standard DESTROY
  617. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@49.34.204.82:44797) State DESTROY going to sleep
  618. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  619. 2023-07-03 06:07:48.029351 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  620. 2023-07-03 06:07:48.029351 92.07% [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')
  621. 2023-07-03 06:07:48.049270 92.07% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions ALLOTTED_TIMEOUT This Is No Answer Number : 1
  622. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_call_type', '9')
  623. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '1')
  624. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_flag', 'true')
  625. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 transfer(85 XML default)
  626. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_ivr.c:2288 (sofia/default/9900120420@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
  627. 2023-07-03 06:07:48.049270 92.07% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9900120420@13.232.246.166 to XML[85@default]
  628. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_cpp.cpp:1209 sofia/default/9900120420@13.232.246.166 destroy/unlink session from object
  629. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
  630. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 59)
  631. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change EARLY -> RINGING
  632. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  633. 2023-07-03 06:07:48.049270 92.07% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  634. 2023-07-03 06:07:48.049270 92.07% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  635. 2023-07-03 06:07:48.049270 92.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  636. 2023-07-03 06:07:48.049270 92.07% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->85 in context default
  637. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  638. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  639. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  640. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  641. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  642. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 85
  643. 2023-07-03 06:07:48.069277 92.07% [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
  644. 2023-07-03 06:07:48.069277 92.07% [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
  645. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
  646. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 85
  647. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '85' limit 1
  648. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  649. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '85' and status=0 LIMIT 1
  650. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  651. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  652. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
  653. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '85' limit 1
  654. 2023-07-03 06:07:48.069277 92.07% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  655. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  656. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  657. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 85 AND status=0 limit 1
  658. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  659. 2023-07-03 06:07:48.069277 92.07% [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="85"  AND domains.domain="alpha6.astppbilling.org" limit 1
  660. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  661. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "85"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  662. 2023-07-03 06:07:48.069277 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3783280269]
  663. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =85
  664. 2023-07-03 06:07:48.069277 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3783280269" OR id = "3783280269") AND deleted = 0 limit 1
  665. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^85.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 85 limit 1
  666. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  667. 2023-07-03 06:07:48.089278 92.07% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1805: attempt to index global 'didinfo' (a nil value)
  668. stack traceback:
  669.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1805: in function 'ringgroup_no_answer_forward'
  670.         ./astpp/scripts/astpp.dialplan.lua:355: in main chunk
  671.         [C]: in function 'dofile'
  672.         ./astpp/astpp_deb9.lua:138: in main chunk
  673. 2023-07-03 06:07:48.089278 92.07% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  674. 2023-07-03 06:07:48.089278 92.07% [WARNING] mod_dialplan_xml.c:669 Context default not found
  675. 2023-07-03 06:07:48.089278 92.07% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  676. 2023-07-03 06:07:48.089278 92.07% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9900120420@13.232.246.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  677. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  678. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 59)
  679. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> HANGUP
  680. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP
  681. 2023-07-03 06:07:48.089278 92.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/9900120420@13.232.246.166 hanging up, cause: NO_ROUTE_DESTINATION
  682. 2023-07-03 06:07:48.089278 92.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  683. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/9900120420@13.232.246.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  684. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP going to sleep
  685. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9900120420@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  686. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 59)
  687. 2023-07-03 06:07:48.089278 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING
  688. 2023-07-03 06:07:48.089278 92.07% [INFO] mod_json_cdr.c:272 Process [9d66ff2c-46d7-40b1-afef-7997e886ab44.cdr.json]
  689. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/9900120420@13.232.246.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  690. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING going to sleep
  691. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9900120420@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  692. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_session.c:1743 Session 58 (sofia/default/9900120420@13.232.246.166) Locked, Waiting on external entities
  693. 2023-07-03 06:07:48.109279 92.07% [NOTICE] switch_core_session.c:1761 Session 58 (sofia/default/9900120420@13.232.246.166) Ended
  694. 2023-07-03 06:07:48.109279 92.07% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9900120420@13.232.246.166 [CS_DESTROY]
  695. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9900120420@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 59)
  696. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY
  697. 2023-07-03 06:07:48.109279 92.07% [DEBUG] mod_sofia.c:379 sofia/default/9900120420@13.232.246.166 SOFIA DESTROY
  698. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/9900120420@13.232.246.166 Standard DESTROY
  699. 2023-07-03 06:07:48.109279 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY going to sleep
  700. 2023-07-03 06:07:48.549346 92.07% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  701. 2023-07-03 06:08:11.609277 85.07% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.112.53
  702. 2023-07-03 06:08:11.929270 85.10% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 157.32.112.53
  703. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
  704. and you must configure your device to use the proper domain in its authentication credentials.
  705. 2023-07-03 06:08:11.929270 85.10% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.112.53
  706. 2023-07-03 06:08:12.829298 85.10% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  707. 2023-07-03 06:08:13.829303 85.10% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  708. freeswitch@AlphaQaAlpesh>
  709. freeswitch@AlphaQaAlpesh>
  710. freeswitch@AlphaQaAlpesh>
  711. freeswitch@AlphaQaAlpesh>