From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. 2023-06-23 13:12:12.959286 60.20% [WARNING] sofia_reg.c:3211 Can't find user [35@alpha.astppbilling.org] from 103.240.35.46
  2. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="35" attribute
  3. and you must configure your device to use the proper domain in its authentication credentials.
  4. 2023-06-23 13:12:13.979286 58.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [012a67c6-a88f-47b0-a4e3-ee159ce582ca]
  5. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 51)
  6. 2023-06-23 13:12:13.979286 58.27% [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: 694621e9-8c6a-123c-65b2-02c9c4cfda14
  7. 2023-06-23 13:12:13.979286 58.27% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
  8. 2023-06-23 13:12:13.979286 58.27% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  9. 2023-06-23 13:12:13.979286 58.27% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
  10. 2023-06-23 13:12:13.979286 58.27% [DEBUG] sofia.c:7497 Remote SDP:
  11. v=0
  12. o=FreeSWITCH 1687508679 1687508680 IN IP4 13.232.246.166
  13. s=FreeSWITCH
  14. c=IN IP4 13.232.246.166
  15. t=0 0
  16. m=audio 17254 RTP/AVP 0 101
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-15
  20. a=ptime:20
  21.  
  22. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  24. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  26. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  27. 2023-06-23 13:12:13.979286 58.27% [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
  28. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
  29. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  30. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2023-06-23 13:12:13.979286 58.27% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
  32. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
  33. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 51)
  34. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
  35. 2023-06-23 13:12:13.979286 58.27% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
  36. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
  37. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  38. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
  39. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 51)
  40. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
  41. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  42. 2023-06-23 13:12:13.979286 58.27% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  43. 2023-06-23 13:12:13.979286 58.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  44. 2023-06-23 13:12:13.979286 58.27% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
  45. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  50. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  51. 2023-06-23 13:12:13.999288 58.27% [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
  52. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  53. 2023-06-23 13:12:13.999288 58.27% [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
  54. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  55. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
  57. 2023-06-23 13:12:13.999288 58.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  58. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  59. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  60. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  61. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  62. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  63. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  64. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id 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
  65. 2023-06-23 13:12:13.999288 58.27% [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
  66. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2023-06-23 13:12:13.999288 58.27% [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
  68. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  69. 2023-06-23 13:12:13.999288 58.27% [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
  70. 2023-06-23 13:12:13.999288 58.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343670]
  71. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  72. 2023-06-23 13:12:13.999288 58.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343670" OR id = "8871343670") AND deleted = 0 limit 1
  73. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  74. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  75. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  76. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  77. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  78. 2023-06-23 13:12:14.019291 57.13% [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
  79. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10050" AND A.accountid = '13' limit 1
  80. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  81. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  82. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  83. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  84. 2023-06-23 13:12:14.019291 57.13% [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
  85. 2023-06-23 13:12:14.019291 57.13% [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
  86. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2023-06-23 13:12:14.019291 57.13% [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
  88. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  89. 2023-06-23 13:12:14.019291 57.13% [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
  90. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  91. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  92. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  93. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
  94. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343670
  95. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  96. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79351.21
  97. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  98. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  99. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  100. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  101. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  102. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  103. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  104. 2023-06-23 13:12:14.019291 57.13% [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
  105. 2023-06-23 13:12:14.019291 57.13% [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
  106. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  107. 2023-06-23 13:12:14.019291 57.13% [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
  108. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  109. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  110. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
  111. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  112. 2023-06-23 13:12:14.019291 57.13% [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
  113. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
  114. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  115. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  116. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  117. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  118. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  119. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  120. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  121. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
  122. 2023-06-23 13:12:14.019291 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  123. 2023-06-23 13:12:14.019291 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  124. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79351.21 balance Accountid 13 !!!
  125. 2023-06-23 13:12:14.039310 57.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  126. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
  127. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  128. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  129. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
  130. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1
  131. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  132. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  133. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
  134. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  135. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  136. 2023-06-23 13:12:14.039310 57.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
  137. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 500
  138. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  139. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  140. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  141. 2023-06-23 13:12:14.039310 57.13% [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 = "3" AND accounts.status = 0
  142. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  143. 2023-06-23 13:12:14.039310 57.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
  144. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  145. 2023-06-23 13:12:14.039310 57.13% [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
  146. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  147. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  148. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '7' LIMIT 1
  149. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  150. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  151. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  152. 2023-06-23 13:12:14.039310 57.13% [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 = 3 and status = 0 LIMIT 1
  153. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::1
  154. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '1' LIMIT 1
  155. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================ASTPPWelcomeRingGroup_200623102014.wav
  156. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '4' LIMIT 1
  157. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold recording name :- /var/www/html/astpp//upload/pbx/OnHoldMusicAlertFile_200623102646.wav
  158. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  159. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================5
  160. 2023-06-23 13:12:14.039310 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '5' LIMIT 1
  161. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== 1 announcement=File name==================CantinaBand60_200623114125.wav
  162. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  163. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  164. 2023-06-23 13:12:14.039310 57.13% [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
  165. 2023-06-23 13:12:14.039310 57.13% [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"
  166. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  167. 2023-06-23 13:12:14.039310 57.13% [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
  168. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  169. 2023-06-23 13:12:14.039310 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  170. 2023-06-23 13:12:14.039310 57.13% [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="8871343676"  AND domains.domain="alpha6.astppbilling.org" limit 1
  171. 2023-06-23 13:12:14.059292 57.13% [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 = "8871343676"
  172. 2023-06-23 13:12:14.059292 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  173. 2023-06-23 13:12:14.059292 57.13% [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="8871343676"  AND domains.domain="alpha6.astppbilling.org" limit 1
  174. 2023-06-23 13:12:14.059292 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  175. 2023-06-23 13:12:14.059292 57.13% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|
  176. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${eg-ring}' LIMIT 1
  177. 2023-06-23 13:12:14.059292 57.13% [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
  178. 2023-06-23 13:12:14.059292 57.13% [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
  179. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  180. <document type="freeswitch/xml">
  181. <section name="dialplan" description="ASTPP Dialplan">
  182. <context name="default">
  183. <extension name="10050">
  184. <condition field="destination_number" expression="10050">
  185. <action application="set" data="effective_destination_number=10050"/>
  186. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  187. <action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
  188. <action application="set" data="type=3"/>
  189. <action application="set" data="callstart=2023-06-23 13:12:14"/>
  190. <action application="set" data="hangup_after_bridge=true"/>
  191. <action application="set" data="continue_on_fail=TRUE"/>
  192. <action application="set" data="account_id=13"/>
  193. <action application="set" data="parent_id=0"/>
  194. <action application="set" data="entity_id=3"/>
  195. <action application="set" data="call_processed=internal"/>
  196. <action application="set" data="call_direction=inbound"/>
  197. <action application="set" data="accountname=CommunityVsix"/>
  198. <action application="set" data="filename1=astpp.pbx.lua"/>
  199. <action application="sleep" data="500"/>
  200. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  201. <action application="say" data="en NUMBER PRONOUNCED 500"/>
  202. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  203. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  204. <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"/>
  205. <action application="set" data="origination_rates=0"/>
  206. <action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
  207. <action application="set" data="original_caller_id_number=9900120420"/>
  208. <action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
  209. <action application="set" data="effective_caller_id_number=9900120420"/>
  210. <action application="set" data="receiver_accid=7"/>
  211. <action application="set" data="did_id=13"/>
  212. <action application="set" data="transfer_call_type=4"/>
  213. <action application="set" data="transfer_extensions=91000070000"/>
  214. <action application="set" data="busy_status=0"/>
  215. <action application="set" data="no_answer_status=1"/>
  216. <action application="set" data="always_status=1"/>
  217. <action application="set" data="transfer_status=0"/>
  218. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  219. <action application="set" data="variable_sip_network_ip=13.232.246.166"/>
  220. <action application="set" data="variable_sip_network_port=5077"/>
  221. <action application="export" data="domain_name=alpha6.astppbilling.org"/>
  222. <action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
  223. <action application="export" data="presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
  224. <action application="export" data="call_type=7"/>
  225. <action application="set" data="did_calltype=7"/>
  226. <action application="set" data="did_extensions=3"/>
  227. <action application="set" data="daily_call_credit_limit=0.00000"/>
  228. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  229. <action application="set" data="daily_call_used_limit=0.00000"/>
  230. <action application="set" data="monthly_call_used_limit=0.00000"/>
  231. <action application="playback" data="/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav"/>
  232. <action application="bridge_export" data="hold_music=/var/www/html/astpp//upload/pbx/OnHoldMusicAlertFile_200623102646.wav"/>
  233. <action application="set" data="group_confirm_key=exec"/>
  234. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  235. <action application="set" data="effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix"/>
  236. <action application="set" data="effective_caller_id_number=777799#9900120420"/>
  237. <action application="set" data="ringback=${eg-ring}"/>
  238. <action application="set" data="module_name=pbx"/>
  239. <action application="db" data="insert/pickup_any_group_${callgroup}/3/${uuid}"/>
  240. <action application="set" data="dialed_extension=transfer_call"/>
  241. <action application="export" data="dialed_extension=transfer_call"/>
  242. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  243. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  244. <action application="export" data="ring_group_transfer=true"/>
  245. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  246. <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=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|"/>
  247. <action application="set" data="original_did_number=10050"/>
  248. <action application="set" data="no_answer_number="/>
  249. <action application="set" data="no_answer_call_type=conference"/>
  250. <action application="set" data="no_answer_call_type_value=2"/>
  251. <action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
  252. <action application="set" data="userinfo_id=13"/>
  253. <action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
  254. <action application="set" data="opensips_flag=1"/>
  255. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  256. </condition>
  257. </extension>
  258. </context>
  259. </section>
  260. </document>
  261. Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
  262. Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  263. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
  264. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  265. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  266. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=3)
  267. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-06-23 13:12:14)
  268. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
  269. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
  270. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=13)
  271. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
  272. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=3)
  273. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
  274. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
  275. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
  276. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  277. Dialplan: sofia/default/9900120420@13.232.246.166 Action sleep(500)
  278. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  279. Dialplan: sofia/default/9900120420@13.232.246.166 Action say(en NUMBER PRONOUNCED 500)
  280. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  281. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  282. 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)
  283. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
  284. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
  285. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
  286. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
  287. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
  288. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
  289. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
  290. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=4)
  291. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=91000070000)
  292. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
  293. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
  294. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
  295. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=0)
  296. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  297. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
  298. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
  299. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
  300. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
  301. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  302. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=7)
  303. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_calltype=7)
  304. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_extensions=3)
  305. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  306. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  307. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  308. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  309. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
  310. Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge_export(hold_music=/var/www/html/astpp//upload/pbx/OnHoldMusicAlertFile_200623102646.wav)
  311. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_key=exec)
  312. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  313. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
  314. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=777799#9900120420)
  315. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=${eg-ring})
  316. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(module_name=pbx)
  317. Dialplan: sofia/default/9900120420@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/3/${uuid})
  318. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(dialed_extension=transfer_call)
  319. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(dialed_extension=transfer_call)
  320. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  321. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  322. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(ring_group_transfer=true)
  323. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(fail_on_single_reject=CALL_REJECTED)
  324. 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=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|)
  325. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_did_number=10050)
  326. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_number=)
  327. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type=conference)
  328. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type_value=2)
  329. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
  330. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(userinfo_id=13)
  331. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
  332. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(opensips_flag=1)
  333. Dialplan: sofia/default/9900120420@13.232.246.166 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  334. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  335. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  336. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 51)
  337. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
  338. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
  339. 2023-06-23 13:12:14.059292 57.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
  340. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
  341. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
  342. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  343. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  344. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  345. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
  346. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=3)
  347. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[3]
  348. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-06-23 13:12:14)
  349. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-06-23 13:12:14]
  350. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
  351. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
  352. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
  353. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
  354. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=13)
  355. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[13]
  356. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
  357. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
  358. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=3)
  359. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[3]
  360. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
  361. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
  362. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
  363. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
  364. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
  365. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
  366. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
  367. 2023-06-23 13:12:14.059292 57.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
  368. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 sleep(500)
  369. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
  370. 2023-06-23 13:12:14.559290 57.13% [INFO] switch_core_session.c:2787 Sending early media
  371. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 19460 -> 13.232.246.166 port 17254 codec: 0 ms: 20
  372. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  373. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
  374. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
  375. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
  376. 2023-06-23 13:12:14.559290 57.13% [DEBUG] mod_sofia.c:2609 Ring SDP:
  377. v=0
  378. o=FreeSWITCH 1687506474 1687506475 IN IP4 95.217.238.195
  379. s=FreeSWITCH
  380. c=IN IP4 95.217.238.195
  381. t=0 0
  382. m=audio 19460 RTP/AVP 0 101
  383. a=rtpmap:0 PCMU/8000
  384. a=rtpmap:101 telephone-event/8000
  385. a=fmtp:101 0-15
  386. a=ptime:20
  387. a=sendrecv
  388.  
  389. 2023-06-23 13:12:14.559290 57.13% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
  390. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
  391. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  392. 2023-06-23 13:12:14.559290 57.13% [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
  393. 2023-06-23 13:12:14.559290 57.13% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  394. 2023-06-23 13:12:14.559290 57.13% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
  395. 2023-06-23 13:12:14.899288 57.13% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  396. 2023-06-23 13:12:15.759287 55.07% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  397. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 say(en NUMBER PRONOUNCED 500)
  398. 2023-06-23 13:12:15.759287 55.07% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  399. 2023-06-23 13:12:16.999293 53.63% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/5.wav!digits/hundred.wav
  400. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  401. 2023-06-23 13:12:16.999293 53.63% [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
  402. 2023-06-23 13:12:16.999293 53.63% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  403. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
  404. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  405. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  406. 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)
  407. 2023-06-23 13:12:17.479286 52.40% [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]
  408. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
  409. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
  410. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
  411. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
  412. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
  413. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
  414. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
  415. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
  416. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
  417. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
  418. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
  419. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
  420. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
  421. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
  422. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=4)
  423. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[4]
  424. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=91000070000)
  425. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[91000070000]
  426. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
  427. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
  428. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
  429. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
  430. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
  431. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
  432. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=0)
  433. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[0]
  434. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
  435. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
  436. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
  437. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
  438. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
  439. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
  440. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
  441. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
  442. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
  443. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
  444. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  445. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
  446. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=7)
  447. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  448. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_calltype=7)
  449. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_calltype]=[7]
  450. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_extensions=3)
  451. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_extensions]=[3]
  452. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_credit_limit=0.00000)
  453. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  454. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  455. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  456. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_used_limit=0.00000)
  457. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_used_limit]=[0.00000]
  458. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_used_limit=0.00000)
  459. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  460. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
  461. 2023-06-23 13:12:17.479286 52.40% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav] [System error : No such file or directory.]
  462. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge_export(hold_music=/var/www/html/astpp//upload/pbx/OnHoldMusicAlertFile_200623102646.wav)
  463. 2023-06-23 13:12:17.479286 52.40% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[/var/www/html/astpp//upload/pbx/OnHoldMusicAlertFile_200623102646.wav]
  464. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_key=exec)
  465. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_key]=[exec]
  466. 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)
  467. 2023-06-23 13:12:17.479286 52.40% [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]
  468. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
  469. span style="color: goldenrod; font-weight: bold;"> 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[RINGGROUPCID#CallerPKCommunitySix]
  470. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=777799#9900120420)
  471. span style="color: goldenrod; font-weight: bold;"> 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[777799#9900120420]
  472. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,1000,475,375))
  473. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,1000,475,375)]
  474. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(module_name=pbx)
  475. 2023-06-23 13:12:17.479286 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [module_name]=[pbx]
  476. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 db(insert/pickup_any_group_/3/012a67c6-a88f-47b0-a4e3-ee159ce582ca)
  477. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(dialed_extension=transfer_call)
  478. 2023-06-23 13:12:17.499289 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [dialed_extension]=[transfer_call]
  479. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(dialed_extension=transfer_call)
  480. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  481. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  482. 2023-06-23 13:12:17.499289 52.40% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  483. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  484. 2023-06-23 13:12:17.499289 52.40% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  485. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(ring_group_transfer=true)
  486. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  487. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(fail_on_single_reject=CALL_REJECTED)
  488. 2023-06-23 13:12:17.499289 52.40% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [fail_on_single_reject]=[CALL_REJECTED]
  489. 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=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|)
  490. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  491. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  492. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  493. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  494. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  495. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  496. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  497. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  498. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  499. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  500. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  501. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  502. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  503. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  504. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  505. 2023-06-23 13:12:17.499289 52.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8827185844@192.168.1.51 [ab43c594-3dc4-491a-8e62-7b2bf6b2dcef]
  506. 2023-06-23 13:12:17.499289 52.40% [DEBUG] mod_sofia.c:5117 (sofia/default/8827185844@192.168.1.51) State Change CS_NEW -> CS_INIT
  507. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8827185844@192.168.1.51 Setting leg timeout to 10
  508. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8827185844@192.168.1.51 Setting leg timeout to 10
  509. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_INIT (Cur 2 Tot 52)
  510. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT
  511. 2023-06-23 13:12:17.499289 52.40% [DEBUG] mod_sofia.c:97 sofia/default/8827185844@192.168.1.51 SOFIA INIT
  512. 2023-06-23 13:12:17.499289 52.40% [DEBUG] sofia_glue.c:1623 sip:8827185844@103.240.35.46:5060 Setting proxy route to sofia/default/8827185844@192.168.1.51
  513. 2023-06-23 13:12:17.499289 52.40% [INFO] sofia_glue.c:1654 sofia/default/8827185844@192.168.1.51 sending invite call-id: (null)
  514. 2023-06-23 13:12:17.499289 52.40% [DEBUG] sofia_glue.c:1657 sofia/default/8827185844@192.168.1.51 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  515. Local SDP:
  516. v=0
  517. o=FreeSWITCH 1687493755 1687493756 IN IP4 95.217.238.195
  518. s=FreeSWITCH
  519. c=IN IP4 95.217.238.195
  520. t=0 0
  521. m=audio 32182 RTP/AVP 0 101
  522. a=rtpmap:0 PCMU/8000
  523. a=rtpmap:101 telephone-event/8000
  524. a=fmtp:101 0-15
  525. a=ptime:20
  526. a=sendrecv
  527.  
  528. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/8827185844@192.168.1.51 Standard INIT
  529. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8827185844@192.168.1.51) State Change CS_INIT -> CS_ROUTING
  530. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT going to sleep
  531. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_ROUTING (Cur 2 Tot 52)
  532. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING
  533. 2023-06-23 13:12:17.499289 52.40% [DEBUG] mod_sofia.c:158 sofia/default/8827185844@192.168.1.51 SOFIA ROUTING
  534. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8827185844@192.168.1.51) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  535. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING going to sleep
  536. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 52)
  537. 2023-06-23 13:12:17.499289 52.40% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@192.168.1.51 entering state [calling][0]
  538. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA
  539. 2023-06-23 13:12:17.499289 52.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA going to sleep
  540. 2023-06-23 13:12:18.339286 50.47% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [299671@alpha.astppbilling.org] from ip 103.240.35.46
  541. 2023-06-23 13:12:18.659287 50.47% [WARNING] sofia_reg.c:3211 Can't find user [299671@alpha.astppbilling.org] from 103.240.35.46
  542. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="299671" attribute
  543. and you must configure your device to use the proper domain in its authentication credentials.
  544. 2023-06-23 13:12:22.159286 43.37% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [8827185844@alpha6.astppbilling.org] from ip 103.240.35.46
  545. 2023-06-23 13:12:23.519296 42.07% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [8827185844@alpha6.astppbilling.org] from ip 103.240.35.46
  546. 2023-06-23 13:12:24.819288 40.37% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@192.168.1.51 entering state [proceeding][180]
  547. 2023-06-23 13:12:24.819288 40.37% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8827185844@192.168.1.51!
  548. 2023-06-23 13:12:24.819288 40.37% [DEBUG] switch_channel.c:3494 (sofia/default/8827185844@192.168.1.51) Callstate Change DOWN -> RINGING
  549. 2023-06-23 13:12:24.839283 40.37% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  550. 2023-06-23 13:12:24.839283 40.37% [DEBUG] switch_core_codec.c:223 sofia/default/9900120420@13.232.246.166 Push codec L16:100
  551. 2023-06-23 13:12:24.839283 40.37% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,1000,475,375)]
  552. 2023-06-23 13:12:28.019290 34.90% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/8827185844@192.168.1.51 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  553. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_HANGUP (Cur 2 Tot 52)
  554. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8827185844@192.168.1.51) Callstate Change RINGING -> HANGUP
  555. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP
  556. 2023-06-23 13:12:28.019290 34.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/8827185844@192.168.1.51 hanging up, cause: ALLOTTED_TIMEOUT
  557. 2023-06-23 13:12:28.019290 34.90% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8827185844@192.168.1.51
  558. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/8827185844@192.168.1.51 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  559. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP going to sleep
  560. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8827185844@192.168.1.51) State Change CS_HANGUP -> CS_REPORTING
  561. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_REPORTING (Cur 2 Tot 52)
  562. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING
  563. 2023-06-23 13:12:28.019290 34.90% [INFO] mod_json_cdr.c:272 Process [ab43c594-3dc4-491a-8e62-7b2bf6b2dcef.cdr.json]
  564. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/8827185844@192.168.1.51 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  565. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING going to sleep
  566. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8827185844@192.168.1.51) State Change CS_REPORTING -> CS_DESTROY
  567. 2023-06-23 13:12:28.019290 34.90% [DEBUG] switch_core_session.c:1743 Session 52 (sofia/default/8827185844@192.168.1.51) Locked, Waiting on external entities
  568. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_codec.c:248 sofia/default/9900120420@13.232.246.166 Restore previous codec PCMU:0.
  569. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  570. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  571. 2023-06-23 13:12:28.039286 34.90% [NOTICE] switch_core_session.c:1761 Session 52 (sofia/default/8827185844@192.168.1.51) Ended
  572. 2023-06-23 13:12:28.039286 34.90% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8827185844@192.168.1.51 [CS_DESTROY]
  573. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8827185844@192.168.1.51) Running State Change CS_DESTROY (Cur 1 Tot 52)
  574. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@192.168.1.51) State DESTROY
  575. 2023-06-23 13:12:28.039286 34.90% [DEBUG] mod_sofia.c:379 sofia/default/8827185844@192.168.1.51 SOFIA DESTROY
  576. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/8827185844@192.168.1.51 Standard DESTROY
  577. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@192.168.1.51) State DESTROY going to sleep
  578. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  579. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  580. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  581. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  582. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  583. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  584. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  585. 2023-06-23 13:12:28.039286 34.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@103.240.35.46:46217 [a4f2bb5f-4a0c-41da-85e2-9f3c0d04dd1c]
  586. 2023-06-23 13:12:28.039286 34.90% [DEBUG] mod_sofia.c:5117 (sofia/default/8871343676@103.240.35.46:46217) State Change CS_NEW -> CS_INIT
  587. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8871343676@103.240.35.46:46217 Setting leg timeout to 15
  588. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8871343676@103.240.35.46:46217 Setting leg timeout to 15
  589. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_INIT (Cur 2 Tot 53)
  590. 2023-06-23 13:12:28.039286 34.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:46217) State INIT
  591. 2023-06-23 13:12:28.039286 34.90% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@103.240.35.46:46217 SOFIA INIT
  592. 2023-06-23 13:12:28.039286 34.90% [INFO] sofia_glue.c:1654 sofia/default/8871343676@103.240.35.46:46217 sending invite call-id: (null)
  593. 2023-06-23 13:12:28.039286 34.90% [DEBUG] sofia_glue.c:1657 sofia/default/8871343676@103.240.35.46:46217 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  594. Local SDP:
  595. v=0
  596. o=FreeSWITCH 1687495900 1687495901 IN IP4 95.217.238.195
  597. s=FreeSWITCH
  598. c=IN IP4 95.217.238.195
  599. t=0 0
  600. m=audio 30048 RTP/AVP 0 101
  601. a=rtpmap:0 PCMU/8000
  602. a=rtpmap:101 telephone-event/8000
  603. a=fmtp:101 0-15
  604. a=ptime:20
  605. a=sendrecv
  606.  
  607. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@103.240.35.46:46217 Standard INIT
  608. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@103.240.35.46:46217) State Change CS_INIT -> CS_ROUTING
  609. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:46217) State INIT going to sleep
  610. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_ROUTING (Cur 2 Tot 53)
  611. 2023-06-23 13:12:28.059285 34.90% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@103.240.35.46:46217 entering state [calling][0]
  612. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:46217) State ROUTING
  613. 2023-06-23 13:12:28.059285 34.90% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@103.240.35.46:46217 SOFIA ROUTING
  614. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8871343676@103.240.35.46:46217) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  615. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:46217) State ROUTING going to sleep
  616. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 53)
  617. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:46217) State CONSUME_MEDIA
  618. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:46217) State CONSUME_MEDIA going to sleep
  619. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  620. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_core_codec.c:223 sofia/default/9900120420@13.232.246.166 Push codec L16:100
  621. 2023-06-23 13:12:28.059285 34.90% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,1000,475,375)]
  622. 2023-06-23 13:12:36.639292 28.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [5034307845@alpha1.astppbilling.org] from ip 103.240.35.46
  623. 2023-06-23 13:12:36.939294 28.70% [WARNING] sofia_reg.c:3211 Can't find user [5034307845@alpha1.astppbilling.org] from 103.240.35.46
  624. You must define a domain called 'alpha1.astppbilling.org' in your directory and add a user with the id="5034307845" attribute
  625. and you must configure your device to use the proper domain in its authentication credentials.
  626. 2023-06-23 13:12:38.139286 28.80% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [4741863415@alpha1.astppbilling.org] from ip 103.240.35.46
  627. 2023-06-23 13:12:38.459287 28.80% [WARNING] sofia_reg.c:3211 Can't find user [4741863415@alpha1.astppbilling.org] from 103.240.35.46
  628. You must define a domain called 'alpha1.astppbilling.org' in your directory and add a user with the id="4741863415" attribute
  629. and you must configure your device to use the proper domain in its authentication credentials.
  630. 2023-06-23 13:12:39.359288 28.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [11@alpha1.astppbilling.org] from ip 103.240.35.46
  631. 2023-06-23 13:12:39.659292 28.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [122@alpha5.astppbilling.org] from ip 103.240.35.46
  632. 2023-06-23 13:12:39.959295 28.70% [WARNING] sofia_reg.c:3211 Can't find user [11@alpha1.astppbilling.org] from 103.240.35.46
  633. You must define a domain called 'alpha1.astppbilling.org' in your directory and add a user with the id="11" attribute
  634. and you must configure your device to use the proper domain in its authentication credentials.
  635. 2023-06-23 13:12:39.979283 28.70% [WARNING] sofia_reg.c:3211 Can't find user [122@alpha5.astppbilling.org] from 103.240.35.46
  636. You must define a domain called 'alpha5.astppbilling.org' in your directory and add a user with the id="122" attribute
  637. and you must configure your device to use the proper domain in its authentication credentials.
  638. 2023-06-23 13:12:40.259299 29.07% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [150@alpha5.astppbilling.org] from ip 103.240.35.46
  639. 2023-06-23 13:12:40.579292 29.07% [WARNING] sofia_reg.c:3211 Can't find user [150@alpha5.astppbilling.org] from 103.240.35.46
  640. You must define a domain called 'alpha5.astppbilling.org' in your directory and add a user with the id="150" attribute
  641. and you must configure your device to use the proper domain in its authentication credentials.
  642. 2023-06-23 13:12:42.559285 29.17% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [8871343676@alpha6.astppbilling.org] from ip 103.240.35.46
  643. 2023-06-23 13:12:43.299284 29.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [8871343676@alpha6.astppbilling.org] from ip 103.240.35.46
  644. 2023-06-23 13:12:43.299284 29.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [8871343676@alpha6.astppbilling.org] from ip 103.240.35.46
  645. 2023-06-23 13:12:44.019294 29.90% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/8871343676@103.240.35.46:46217 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  646. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_HANGUP (Cur 2 Tot 53)
  647. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@103.240.35.46:46217) Callstate Change DOWN -> HANGUP
  648. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@103.240.35.46:46217) State HANGUP
  649. 2023-06-23 13:12:44.019294 29.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@103.240.35.46:46217 hanging up, cause: ALLOTTED_TIMEOUT
  650. 2023-06-23 13:12:44.019294 29.90% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8871343676@103.240.35.46:46217
  651. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@103.240.35.46:46217 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  652. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@103.240.35.46:46217) State HANGUP going to sleep
  653. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@103.240.35.46:46217) State Change CS_HANGUP -> CS_REPORTING
  654. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_REPORTING (Cur 2 Tot 53)
  655. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@103.240.35.46:46217) State REPORTING
  656. 2023-06-23 13:12:44.019294 29.90% [INFO] mod_json_cdr.c:272 Process [a4f2bb5f-4a0c-41da-85e2-9f3c0d04dd1c.cdr.json]
  657. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@103.240.35.46:46217 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  658. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@103.240.35.46:46217) State REPORTING going to sleep
  659. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@103.240.35.46:46217) State Change CS_REPORTING -> CS_DESTROY
  660. 2023-06-23 13:12:44.019294 29.90% [DEBUG] switch_core_session.c:1743 Session 53 (sofia/default/8871343676@103.240.35.46:46217) Locked, Waiting on external entities
  661. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_core_codec.c:248 sofia/default/9900120420@13.232.246.166 Restore previous codec PCMU:0.
  662. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  663. 2023-06-23 13:12:44.039289 29.90% [NOTICE] switch_core_session.c:1761 Session 53 (sofia/default/8871343676@103.240.35.46:46217) Ended
  664. 2023-06-23 13:12:44.039289 29.90% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8871343676@103.240.35.46:46217 [CS_DESTROY]
  665. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@103.240.35.46:46217) Running State Change CS_DESTROY (Cur 1 Tot 53)
  666. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@103.240.35.46:46217) State DESTROY
  667. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@103.240.35.46:46217 SOFIA DESTROY
  668. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@103.240.35.46:46217 Standard DESTROY
  669. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@103.240.35.46:46217) State DESTROY going to sleep
  670. 2023-06-23 13:12:44.039289 29.90% [INFO] mod_dptools.c:3637 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  671. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_did_number=10050)
  672. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_did_number]=[10050]
  673. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_number=)
  674. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_number]=[UNDEF]
  675. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type=conference)
  676. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type]=[conference]
  677. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type_value=2)
  678. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type_value]=[2]
  679. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
  680. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
  681. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(userinfo_id=13)
  682. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [userinfo_id]=[13]
  683. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
  684. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
  685. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(opensips_flag=1)
  686. 2023-06-23 13:12:44.039289 29.90% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [opensips_flag]=[1]
  687. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  688. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  689. 2023-06-23 13:12:44.039289 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  690. 2023-06-23 13:12:44.059288 29.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions ALLOTTED_TIMEOUT This Is No Answer Number : 2
  691. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_call_type', '8')
  692. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '2')
  693. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_flag', 'true')
  694. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 transfer(13 XML default)
  695. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_ivr.c:2288 (sofia/default/9900120420@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
  696. 2023-06-23 13:12:44.059288 29.90% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9900120420@13.232.246.166 to XML[13@default]
  697. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1209 sofia/default/9900120420@13.232.246.166 destroy/unlink session from object
  698. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
  699. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 53)
  700. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change EARLY -> RINGING
  701. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  702. 2023-06-23 13:12:44.059288 29.90% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  703. 2023-06-23 13:12:44.059288 29.90% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  704. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  705. 2023-06-23 13:12:44.059288 29.90% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->13 in context default
  706. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  707. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  708. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  709. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  710. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  711. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 13
  712. 2023-06-23 13:12:44.059288 29.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
  713. 2023-06-23 13:12:44.059288 29.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
  714. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
  715. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 13
  716. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '13' limit 1
  717. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  718. 2023-06-23 13:12:44.059288 29.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 = '13' and status=0 LIMIT 1
  719. 2023-06-23 13:12:44.059288 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
  720. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  721. 2023-06-23 13:12:44.059288 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
  722. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '13' limit 1
  723. 2023-06-23 13:12:44.079283 29.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  724. 2023-06-23 13:12:44.079283 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : RINGGROUPCID#CallerPKCommunitySix / 777799#9900120420
  725. span style="color: goldenrod; font-weight: bold;"> 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  726. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 13 AND status=0 limit 1
  727. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  728. 2023-06-23 13:12:44.079283 29.90% [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="13"  AND domains.domain="alpha6.astppbilling.org" limit 1
  729. 2023-06-23 13:12:44.079283 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  730. 2023-06-23 13:12:44.079283 29.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 "13"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  731. 2023-06-23 13:12:44.079283 29.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343670]
  732. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =13
  733. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343670" OR id = "8871343670") AND deleted = 0 limit 1
  734. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^13.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
  735. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  736. 2023-06-23 13:12:44.079283 29.90% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1805: attempt to index global 'didinfo' (a nil value)
  737. stack traceback:
  738.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1805: in function 'ringgroup_no_answer_forward'
  739.         ./astpp/scripts/astpp.dialplan.lua:355: in main chunk
  740.         [C]: in function 'dofile'
  741.         ./astpp/astpp_deb9.lua:138: in main chunk
  742. 2023-06-23 13:12:44.079283 29.90% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  743. 2023-06-23 13:12:44.079283 29.90% [WARNING] mod_dialplan_xml.c:669 Context default not found
  744. 2023-06-23 13:12:44.079283 29.90% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  745. 2023-06-23 13:12:44.079283 29.90% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9900120420@13.232.246.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  746. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  747. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 53)
  748. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> HANGUP
  749. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP
  750. 2023-06-23 13:12:44.079283 29.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/9900120420@13.232.246.166 hanging up, cause: NO_ROUTE_DESTINATION
  751. 2023-06-23 13:12:44.079283 29.90% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  752. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/9900120420@13.232.246.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  753. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP going to sleep
  754. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9900120420@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  755. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 53)
  756. 2023-06-23 13:12:44.079283 29.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING
  757. 2023-06-23 13:12:44.079283 29.90% [INFO] mod_json_cdr.c:272 Process [012a67c6-a88f-47b0-a4e3-ee159ce582ca.cdr.json]
  758. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/9900120420@13.232.246.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  759. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING going to sleep
  760. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9900120420@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  761. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_session.c:1743 Session 51 (sofia/default/9900120420@13.232.246.166) Locked, Waiting on external entities
  762. 2023-06-23 13:12:44.099286 29.90% [NOTICE] switch_core_session.c:1761 Session 51 (sofia/default/9900120420@13.232.246.166) Ended
  763. 2023-06-23 13:12:44.099286 29.90% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9900120420@13.232.246.166 [CS_DESTROY]
  764. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9900120420@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 53)
  765. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY
  766. 2023-06-23 13:12:44.099286 29.90% [DEBUG] mod_sofia.c:379 sofia/default/9900120420@13.232.246.166 SOFIA DESTROY
  767. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/9900120420@13.232.246.166 Standard DESTROY
  768. 2023-06-23 13:12:44.099286 29.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY going to sleep
  769.