From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. freeswitch@FS1ClusterQA>
  3. freeswitch@FS1ClusterQA>
  4. freeswitch@FS1ClusterQA>
  5. freeswitch@FS1ClusterQA>
  6. 2023-07-13 13:17:12.556781 91.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9084093666@13.232.246.166 [6f7aa142-ea2b-4dab-94fc-c6083c4c3cfe]
  7. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 605)
  8. 2023-07-13 13:17:12.556781 91.73% [INFO] sofia.c:10462 sofia/default/9084093666@13.232.246.166 receiving invite from 78.47.101.152:5060 version: 1.10.7 -release 64bit call-id: 6b7f2eaf-9c22-123c-4c95-02c9c4cfda14
  9. 2023-07-13 13:17:12.556781 91.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  10. 2023-07-13 13:17:12.556781 91.73% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  11. 2023-07-13 13:17:12.556781 91.73% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [received][100]
  12. 2023-07-13 13:17:12.556781 91.73% [DEBUG] sofia.c:7509 Remote SDP:
  13. v=0
  14. o=FreeSWITCH 1689234730 1689234731 IN IP4 13.232.246.166
  15. s=FreeSWITCH
  16. c=IN IP4 13.232.246.166
  17. t=0 0
  18. m=audio 19502 RTP/AVP 8 18 101
  19. a=rtpmap:8 PCMA/8000
  20. a=rtpmap:18 G729/8000
  21. a=rtpmap:101 telephone-event/8000
  22. a=fmtp:101 0-15
  23. a=ptime:20
  24.  
  25. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  27. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  31. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9084093666@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_codec.c:111 sofia/default/9084093666@13.232.246.166 Original read codec set to PCMA:8
  33. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  34. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_media.c:5973 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2023-07-13 13:17:12.556781 91.73% [DEBUG] sofia.c:7933 (sofia/default/9084093666@13.232.246.166) State Change CS_NEW -> CS_INIT
  36. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9084093666@13.232.246.166) State NEW
  37. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 605)
  38. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT
  39. 2023-07-13 13:17:12.556781 91.73% [DEBUG] mod_sofia.c:97 sofia/default/9084093666@13.232.246.166 SOFIA INIT
  40. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/9084093666@13.232.246.166 Standard INIT
  41. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9084093666@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  42. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT going to sleep
  43. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 605)
  44. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_channel.c:2380 (sofia/default/9084093666@13.232.246.166) Callstate Change DOWN -> RINGING
  45. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING
  46. 2023-07-13 13:17:12.556781 91.73% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING
  47. 2023-07-13 13:17:12.556781 91.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING
  48. 2023-07-13 13:17:12.556781 91.73% [INFO] mod_dialplan_xml.c:639 Processing CommunitySixServer <9084093666>->10050 in context default
  49. 2023-07-13 13:17:12.576770 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  50. 2023-07-13 13:17:12.576770 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2023-07-13 13:17:12.576770 91.73% [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')
  52. 2023-07-13 13:17:12.576770 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2023-07-13 13:17:12.576770 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2023-07-13 13:17:12.576770 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  55. 2023-07-13 13:17:12.576770 91.73% [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
  56. 2023-07-13 13:17:12.576770 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10050' AND status=0 limit 1
  57. 2023-07-13 13:17:12.576770 91.73% [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
  58. 2023-07-13 13:17:12.576770 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  59. 2023-07-13 13:17:12.576770 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-07-13 13:17:12.576770 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  61. 2023-07-13 13:17:12.616760 91.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  62. 2023-07-13 13:17:12.616760 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "CommunitySixServer" / 9084093666
  63. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  64. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  65. 2023-07-13 13:17:12.616760 91.73% [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
  66. 2023-07-13 13:17:12.616760 91.73% [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
  67. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  69. 2023-07-13 13:17:12.616760 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  70. 2023-07-13 13:17:12.616760 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  71. 2023-07-13 13:17:12.616760 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8800713436]
  72. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  73. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8800713436" AND deleted = 0 limit 1
  74. 2023-07-13 13:17:12.616760 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  75. 2023-07-13 13:17:12.637014 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10050" AND (accountid = 0 OR status = 1) LIMIT 1
  76. 2023-07-13 13:17:12.637014 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  77. 2023-07-13 13:17:12.637014 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 42
  78. 2023-07-13 13:17:12.637014 91.73% [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 = 42 ORDER BY LENGTH(PKGPTR.patterns) DESC
  79. 2023-07-13 13:17:12.637014 91.73% [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 = '42' limit 1
  80. 2023-07-13 13:17:12.637014 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  81. 2023-07-13 13:17:12.637014 91.73% [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
  82. 2023-07-13 13:17:12.637014 91.73% [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
  83. 2023-07-13 13:17:12.637014 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2023-07-13 13:17:12.637014 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  85. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  86. 2023-07-13 13:17:12.656785 91.73% [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 = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  87. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  88. 2023-07-13 13:17:12.656785 91.73% [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
  89. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  90. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 42
  91. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8800713436
  92. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  93. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3658826.2201
  94. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  95. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 16
  96. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 16 AND status = 0
  99. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  100. 2023-07-13 13:17:12.656785 91.73% [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
  101. 2023-07-13 13:17:12.656785 91.73% [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
  102. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  103. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  104. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  105. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  106. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.46370
  107. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:16
  108. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '16' and status=0
  109. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.46370
  110. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8
  112. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.46370
  115. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece Scotland marine
  116. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 215
  117. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 42
  118. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  119. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  120. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3658826.2201 balance Accountid 42 !!!
  121. 2023-07-13 13:17:12.656785 91.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  122. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  123. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  124. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  125. 2023-07-13 13:17:12.656785 91.73% [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 = 42 AND status=0 LIMIT 1
  126. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "42" AND deleted = 0 limit 1
  127. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  128. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:42
  129. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:42
  130. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 42
  131. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  132. 2023-07-13 13:17:12.656785 91.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta1.astppbilling.org
  133. 2023-07-13 13:17:12.656785 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  134. 2023-07-13 13:17:12.656785 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  135. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  136. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  137. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "2" AND accounts.status = 0
  138. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  139. 2023-07-13 13:17:12.696754 91.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta1.astppbilling.org
  140. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  141. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  142. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  143. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '42' LIMIT 1
  144. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 0
  145. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT value from `system` WHERE name = 'code_welcome_file' LIMIT 1
  146. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - astpp-screen.wav
  147. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - true
  148. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name - "CommunitySixServer"-20230713131712.wav
  149. 2023-07-13 13:17:12.696754 91.73% [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 = 2 and status = 0 LIMIT 1
  150. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::2
  151. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '2' LIMIT 1
  152. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================ASTPPWelcomeRingGroup_130723115618.wav
  153. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  154. 2023-07-13 13:17:12.696754 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  155. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name = "CommunitySixServer"-20230713131712.wav
  156. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : voicemail_sip =
  157. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : voicemail_sip_domain = clusterguibeta1.astppbilling.org
  158. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  159. 2023-07-13 13:17:12.696754 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  160. 2023-07-13 13:17:12.696754 91.73% [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="8800713436"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  161. 2023-07-13 13:17:12.696754 91.73% [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 = "8800713436"
  162. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  163. 2023-07-13 13:17:12.716790 91.73% [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="8800713436"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  164. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  165. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  166. 2023-07-13 13:17:12.716790 91.73% [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="9839115785"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  167. 2023-07-13 13:17:12.716790 91.73% [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 = "9839115785"
  168. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  169. 2023-07-13 13:17:12.716790 91.73% [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="9839115785"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  170. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  171. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=55,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement="CommunitySixServer"-20230713131712.wav,dialed_user=8800713436,is_intro_recorded=true,voicemail_sip=,voicemail_sip_domain=clusterguibeta1.astppbilling.org,leg_timeout=55,leg_delay_start=0]sofia/${sofia_profile_name}/8800713436@clusterguibeta1.astppbilling.org:5060|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement="CommunitySixServer"-20230713131712.wav,dialed_user=9839115785,is_intro_recorded=true,voicemail_sip=,voicemail_sip_domain=clusterguibeta1.astppbilling.org,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/9839115785@clusterguibeta1.astppbilling.org:5060|
  172. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '8' LIMIT 1
  173. 2023-07-13 13:17:12.716790 91.73% [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
  174. 2023-07-13 13:17:12.716790 91.73% [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
  175. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  176. <document type="freeswitch/xml">
  177. <section name="dialplan" description="ASTPP Dialplan">
  178. <context name="default">
  179. <extension name="10050">
  180. <condition field="destination_number" expression="10050">
  181. <action application="set" data="effective_destination_number=10050"/>
  182. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  183. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  184. <action application="set" data="notify_flag=0"/>
  185. <action application="set" data="notify_credit_limit=5.00000"/>
  186. <action application="set" data="type=0"/>
  187. <action application="set" data="callstart=2023-07-13 13:17:12"/>
  188. <action application="set" data="hangup_after_bridge=true"/>
  189. <action application="set" data="continue_on_fail=TRUE"/>
  190. <action application="set" data="account_id=42"/>
  191. <action application="set" data="parent_id=0"/>
  192. <action application="set" data="entity_id=0"/>
  193. <action application="set" data="call_processed=internal"/>
  194. <action application="set" data="call_direction=inbound"/>
  195. <action application="set" data="accountname=default"/>
  196. <action application="set" data="filename1=astpp.pbx.lua"/>
  197. <action application="set" data="origination_rates_did=ID:8|CODE:^10050.*|DESTINATION:Greece Scotland marine|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.46370|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:215|ACCID:42"/>
  198. <action application="set" data="origination_rates=0"/>
  199. <action application="set" data="original_caller_id_name="CommunitySixServer""/>
  200. <action application="set" data="original_caller_id_number=9084093666"/>
  201. <action application="set" data="effective_caller_id_name="CommunitySixServer""/>
  202. <action application="set" data="effective_caller_id_number=9084093666"/>
  203. <action application="set" data="receiver_accid=42"/>
  204. <action application="set" data="did_id=8"/>
  205. <action application="set" data="transfer_call_type=4"/>
  206. <action application="set" data="transfer_extensions="/>
  207. <action application="set" data="busy_status=1"/>
  208. <action application="set" data="no_answer_status=1"/>
  209. <action application="set" data="always_status=1"/>
  210. <action application="set" data="transfer_status=1"/>
  211. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  212. <action application="set" data="variable_sip_network_ip=78.47.101.152"/>
  213. <action application="set" data="variable_sip_network_port=5060"/>
  214. <action application="export" data="domain_name=clusterguibeta1.astppbilling.org"/>
  215. <action application="export" data="sip_to_host=clusterguibeta1.astppbilling.org"/>
  216. <action application="export" data="presence_data=x|||Cluster PK Client(8800713436)|||^10050.* // Greece Scotland marine // 1.46370|||||||||DID|||13.232.246.166"/>
  217. <action application="export" data="call_type=7"/>
  218. <action application="set" data="did_calltype=7"/>
  219. <action application="set" data="did_extensions=2"/>
  220. <action application="set" data="daily_call_credit_limit=0.00000"/>
  221. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  222. <action application="set" data="daily_call_used_limit=0.00000"/>
  223. <action application="set" data="monthly_call_used_limit=0.00000"/>
  224. <action application="playback" data="/var/www/html/astpp/upload/astpp-screen.wav"/>
  225. <action application="set" data="playback_terminators=#"/>
  226. <action application="record" data="/var/www/html/astpp/upload/callscreening/"CommunitySixServer"-20230713131712.wav 20 200"/>
  227. <action application="playback" data="/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav"/>
  228. <action application="set" data="group_confirm_key=exec"/>
  229. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  230. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/file_example_WAV_1MG_130723120048.wav"/>
  231. <action application="set" data="module_name=pbx"/>
  232. <action application="db" data="insert/pickup_any_group_${callgroup}/2/${uuid}"/>
  233. <action application="set" data="dialed_extension=transfer_call"/>
  234. <action application="export" data="dialed_extension=transfer_call"/>
  235. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  236. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  237. <action application="export" data="ring_group_transfer=true"/>
  238. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  239. <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=55,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement="CommunitySixServer"-20230713131712.wav,dialed_user=8800713436,is_intro_recorded=true,voicemail_sip=,voicemail_sip_domain=clusterguibeta1.astppbilling.org,leg_timeout=55,leg_delay_start=0]sofia/${sofia_profile_name}/8800713436@clusterguibeta1.astppbilling.org:5060|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement="CommunitySixServer"-20230713131712.wav,dialed_user=9839115785,is_intro_recorded=true,voicemail_sip=,voicemail_sip_domain=clusterguibeta1.astppbilling.org,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/9839115785@clusterguibeta1.astppbilling.org:5060|"/>
  240. <action application="set" data="original_did_number=10050"/>
  241. <action application="set" data="no_answer_number="/>
  242. <action application="set" data="no_answer_call_type=pstn_1"/>
  243. <action application="set" data="no_answer_call_type_value=10000404000"/>
  244. <action application="set" data="variable_sip_to_host=clusterguibeta1.astppbilling.org"/>
  245. <action application="set" data="userinfo_id=42"/>
  246. <action application="set" data="variable_sip_to_host=clusterguibeta1.astppbilling.org"/>
  247. <action application="set" data="opensips_flag=0"/>
  248. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  249. </condition>
  250. </extension>
  251. </context>
  252. </section>
  253. </document>
  254. 2023-07-13 13:17:12.716790 91.73% [ERR] switch_xml.c:1770 Error[[error near line 65]: missing >]
  255. 2023-07-13 13:17:12.716790 91.73% [WARNING] mod_dialplan_xml.c:669 Context default not found
  256. 2023-07-13 13:17:12.716790 91.73% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  257. 2023-07-13 13:17:12.716790 91.73% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9084093666@13.232.246.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  258. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep
  259. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 605)
  260. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9084093666@13.232.246.166) Callstate Change RINGING -> HANGUP
  261. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP
  262. 2023-07-13 13:17:12.716790 91.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/9084093666@13.232.246.166 hanging up, cause: NO_ROUTE_DESTINATION
  263. 2023-07-13 13:17:12.716790 91.73% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  264. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/9084093666@13.232.246.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  265. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP going to sleep
  266. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9084093666@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  267. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 605)
  268. 2023-07-13 13:17:12.716790 91.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING
  269. 2023-07-13 13:17:12.716790 91.73% [INFO] mod_json_cdr.c:271 Process [6f7aa142-ea2b-4dab-94fc-c6083c4c3cfe.cdr.json]
  270. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/9084093666@13.232.246.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  271. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING going to sleep
  272. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9084093666@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  273. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_session.c:1753 Session 605 (sofia/default/9084093666@13.232.246.166) Locked, Waiting on external entities
  274. 2023-07-13 13:17:12.736793 91.73% [NOTICE] switch_core_session.c:1771 Session 605 (sofia/default/9084093666@13.232.246.166) Ended
  275. 2023-07-13 13:17:12.736793 91.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9084093666@13.232.246.166 [CS_DESTROY]
  276. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9084093666@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 605)
  277. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY
  278. 2023-07-13 13:17:12.736793 91.73% [DEBUG] mod_sofia.c:379 sofia/default/9084093666@13.232.246.166 SOFIA DESTROY
  279. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/9084093666@13.232.246.166 Standard DESTROY
  280. 2023-07-13 13:17:12.736793 91.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY going to sleep
  281. 2023-07-13 13:18:54.956799 97.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9084093666@13.232.246.166 [35a56624-8fad-435d-912b-705822a7626d]
  282. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 606)
  283. 2023-07-13 13:18:54.956799 97.57% [INFO] sofia.c:10462 sofia/default/9084093666@13.232.246.166 receiving invite from 78.47.101.152:5060 version: 1.10.7 -release 64bit call-id: a88961ad-9c22-123c-4c95-02c9c4cfda14
  284. 2023-07-13 13:18:54.956799 97.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  285. 2023-07-13 13:18:54.956799 97.57% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  286. 2023-07-13 13:18:54.956799 97.57% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [received][100]
  287. 2023-07-13 13:18:54.956799 97.57% [DEBUG] sofia.c:7509 Remote SDP:
  288. v=0
  289. o=FreeSWITCH 1689235590 1689235591 IN IP4 13.232.246.166
  290. s=FreeSWITCH
  291. c=IN IP4 13.232.246.166
  292. t=0 0
  293. m=audio 18744 RTP/AVP 8 18 101
  294. a=rtpmap:8 PCMA/8000
  295. a=rtpmap:18 G729/8000
  296. a=rtpmap:101 telephone-event/8000
  297. a=fmtp:101 0-15
  298. a=ptime:20
  299.  
  300. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  301. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  302. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  303. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  304. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  305. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  306. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9084093666@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  307. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_codec.c:111 sofia/default/9084093666@13.232.246.166 Original read codec set to PCMA:8
  308. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  309. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_media.c:5973 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  310. 2023-07-13 13:18:54.956799 97.57% [DEBUG] sofia.c:7933 (sofia/default/9084093666@13.232.246.166) State Change CS_NEW -> CS_INIT
  311. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9084093666@13.232.246.166) State NEW
  312. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 606)
  313. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT
  314. 2023-07-13 13:18:54.956799 97.57% [DEBUG] mod_sofia.c:97 sofia/default/9084093666@13.232.246.166 SOFIA INIT
  315. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/9084093666@13.232.246.166 Standard INIT
  316. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9084093666@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  317. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT going to sleep
  318. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 606)
  319. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_channel.c:2380 (sofia/default/9084093666@13.232.246.166) Callstate Change DOWN -> RINGING
  320. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING
  321. 2023-07-13 13:18:54.956799 97.57% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING
  322. 2023-07-13 13:18:54.956799 97.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING
  323. 2023-07-13 13:18:54.956799 97.57% [INFO] mod_dialplan_xml.c:639 Processing CommunitySixServer <9084093666>->10050 in context default
  324. 2023-07-13 13:18:54.976775 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  325. 2023-07-13 13:18:54.996760 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  326. 2023-07-13 13:18:54.996760 97.57% [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')
  327. 2023-07-13 13:18:54.996760 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  328. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  329. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  330. 2023-07-13 13:18:55.016771 97.57% [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
  331. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10050' AND status=0 limit 1
  332. 2023-07-13 13:18:55.016771 97.57% [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
  333. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  334. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  335. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  336. 2023-07-13 13:18:55.016771 97.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  337. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "CommunitySixServer" / 9084093666
  338. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  339. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  340. 2023-07-13 13:18:55.016771 97.57% [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
  341. 2023-07-13 13:18:55.016771 97.57% [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
  342. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  343. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  344. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  345. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  346. 2023-07-13 13:18:55.016771 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8800713436]
  347. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  348. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8800713436" AND deleted = 0 limit 1
  349. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  350. 2023-07-13 13:18:55.016771 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10050" AND (accountid = 0 OR status = 1) LIMIT 1
  351. 2023-07-13 13:18:55.056752 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  352. 2023-07-13 13:18:55.056752 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 42
  353. 2023-07-13 13:18:55.056752 97.57% [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 = 42 ORDER BY LENGTH(PKGPTR.patterns) DESC
  354. 2023-07-13 13:18:55.056752 97.57% [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 = '42' limit 1
  355. 2023-07-13 13:18:55.056752 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  356. 2023-07-13 13:18:55.056752 97.57% [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
  357. 2023-07-13 13:18:55.056752 97.57% [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
  358. 2023-07-13 13:18:55.056752 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  359. 2023-07-13 13:18:55.056752 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  360. 2023-07-13 13:18:55.056752 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  361. 2023-07-13 13:18:55.056752 97.57% [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 = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  362. 2023-07-13 13:18:55.056752 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  363. 2023-07-13 13:18:55.056752 97.57% [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
  364. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  365. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 42
  366. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8800713436
  367. 2023-07-13 13:18:55.076759 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  368. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3658826.2201
  369. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  370. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 16
  371. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  372. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  373. 2023-07-13 13:18:55.076759 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 16 AND status = 0
  374. 2023-07-13 13:18:55.076759 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  375. 2023-07-13 13:18:55.076759 97.57% [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
  376. 2023-07-13 13:18:55.076759 97.57% [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
  377. 2023-07-13 13:18:55.076759 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  378. 2023-07-13 13:18:55.076759 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="42" and did_id ="8" and number ="9084093666" and status = '0' LIMIT 1
  379. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  380. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  381. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.46370
  382. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:16
  383. 2023-07-13 13:18:55.076759 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '16' and status=0
  384. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.46370
  385. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  386. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8
  387. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  388. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  389. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.46370
  390. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece Scotland marine
  391. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 215
  392. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 42
  393. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  394. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  395. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3658826.2201 balance Accountid 42 !!!
  396. 2023-07-13 13:18:55.096758 97.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  397. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  398. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  399. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  400. 2023-07-13 13:18:55.096758 97.57% [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 = 42 AND status=0 LIMIT 1
  401. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "42" AND deleted = 0 limit 1
  402. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =42
  403. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:42
  404. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:42
  405. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 42
  406. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  407. 2023-07-13 13:18:55.096758 97.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta1.astppbilling.org
  408. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  409. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  410. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  411. 2023-07-13 13:18:55.096758 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  412. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "2" AND accounts.status = 0
  413. 2023-07-13 13:18:55.096758 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  414. 2023-07-13 13:18:55.116777 97.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta1.astppbilling.org
  415. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  416. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  417. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  418. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '42' LIMIT 1
  419. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  420. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  421. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  422. 2023-07-13 13:18:55.116777 97.57% [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 = 2 and status = 0 LIMIT 1
  423. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::2
  424. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '2' LIMIT 1
  425. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================ASTPPWelcomeRingGroup_130723115618.wav
  426. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  427. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 42 limit 1
  428. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================6
  429. 2023-07-13 13:18:55.116777 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '6' LIMIT 1
  430. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== 1 announcement=File name==================sample-15s_130723115914.wav
  431. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  432. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  433. 2023-07-13 13:18:55.116777 97.57% [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="8800713436"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  434. 2023-07-13 13:18:55.116777 97.57% [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 = "8800713436"
  435. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  436. 2023-07-13 13:18:55.116777 97.57% [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="8800713436"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  437. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  438. 2023-07-13 13:18:55.116777 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  439. 2023-07-13 13:18:55.116777 97.57% [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="9839115785"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  440. 2023-07-13 13:18:55.116777 97.57% [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 = "9839115785"
  441. 2023-07-13 13:18:55.136762 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  442. 2023-07-13 13:18:55.136762 97.57% [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="9839115785"  AND domains.domain="clusterguibeta1.astppbilling.org" limit 1
  443. 2023-07-13 13:18:55.136762 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  444. 2023-07-13 13:18:55.136762 97.57% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=55,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=8800713436,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=55,leg_delay_start=0]sofia/${sofia_profile_name}/8800713436@clusterguibeta1.astppbilling.org:5060|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=9839115785,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/9839115785@clusterguibeta1.astppbilling.org:5060|
  445. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '8' LIMIT 1
  446. 2023-07-13 13:18:55.136762 97.57% [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
  447. 2023-07-13 13:18:55.136762 97.57% [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
  448. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  449. <document type="freeswitch/xml">
  450. <section name="dialplan" description="ASTPP Dialplan">
  451. <context name="default">
  452. <extension name="10050">
  453. <condition field="destination_number" expression="10050">
  454. <action application="set" data="effective_destination_number=10050"/>
  455. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  456. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  457. <action application="set" data="notify_flag=0"/>
  458. <action application="set" data="notify_credit_limit=5.00000"/>
  459. <action application="set" data="type=0"/>
  460. <action application="set" data="callstart=2023-07-13 13:18:55"/>
  461. <action application="set" data="hangup_after_bridge=true"/>
  462. <action application="set" data="continue_on_fail=TRUE"/>
  463. <action application="set" data="account_id=42"/>
  464. <action application="set" data="parent_id=0"/>
  465. <action application="set" data="entity_id=0"/>
  466. <action application="set" data="call_processed=internal"/>
  467. <action application="set" data="call_direction=inbound"/>
  468. <action application="set" data="accountname=default"/>
  469. <action application="set" data="filename1=astpp.pbx.lua"/>
  470. <action application="set" data="origination_rates_did=ID:8|CODE:^10050.*|DESTINATION:Greece Scotland marine|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.46370|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:215|ACCID:42"/>
  471. <action application="set" data="origination_rates=0"/>
  472. <action application="set" data="original_caller_id_name="CommunitySixServer""/>
  473. <action application="set" data="original_caller_id_number=9084093666"/>
  474. <action application="set" data="effective_caller_id_name="CommunitySixServer""/>
  475. <action application="set" data="effective_caller_id_number=9084093666"/>
  476. <action application="set" data="receiver_accid=42"/>
  477. <action application="set" data="did_id=8"/>
  478. <action application="set" data="transfer_call_type=4"/>
  479. <action application="set" data="transfer_extensions="/>
  480. <action application="set" data="busy_status=1"/>
  481. <action application="set" data="no_answer_status=1"/>
  482. <action application="set" data="always_status=1"/>
  483. <action application="set" data="transfer_status=1"/>
  484. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  485. <action application="set" data="variable_sip_network_ip=78.47.101.152"/>
  486. <action application="set" data="variable_sip_network_port=5060"/>
  487. <action application="export" data="domain_name=clusterguibeta1.astppbilling.org"/>
  488. <action application="export" data="sip_to_host=clusterguibeta1.astppbilling.org"/>
  489. <action application="export" data="presence_data=x|||Cluster PK Client(8800713436)|||^10050.* // Greece Scotland marine // 1.46370|||||||||DID|||13.232.246.166"/>
  490. <action application="export" data="call_type=7"/>
  491. <action application="set" data="did_calltype=7"/>
  492. <action application="set" data="did_extensions=2"/>
  493. <action application="set" data="daily_call_credit_limit=0.00000"/>
  494. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  495. <action application="set" data="daily_call_used_limit=0.00000"/>
  496. <action application="set" data="monthly_call_used_limit=0.00000"/>
  497. <action application="playback" data="/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav"/>
  498. <action application="set" data="group_confirm_key=exec"/>
  499. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  500. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/file_example_WAV_1MG_130723120048.wav"/>
  501. <action application="set" data="module_name=pbx"/>
  502. <action application="db" data="insert/pickup_any_group_${callgroup}/2/${uuid}"/>
  503. <action application="set" data="dialed_extension=transfer_call"/>
  504. <action application="export" data="dialed_extension=transfer_call"/>
  505. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  506. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  507. <action application="export" data="ring_group_transfer=true"/>
  508. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  509. <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=55,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=8800713436,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=55,leg_delay_start=0]sofia/${sofia_profile_name}/8800713436@clusterguibeta1.astppbilling.org:5060|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=9839115785,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/9839115785@clusterguibeta1.astppbilling.org:5060|"/>
  510. <action application="set" data="original_did_number=10050"/>
  511. <action application="set" data="no_answer_number="/>
  512. <action application="set" data="no_answer_call_type=pstn_1"/>
  513. <action application="set" data="no_answer_call_type_value=10000404000"/>
  514. <action application="set" data="variable_sip_to_host=clusterguibeta1.astppbilling.org"/>
  515. <action application="set" data="userinfo_id=42"/>
  516. <action application="set" data="variable_sip_to_host=clusterguibeta1.astppbilling.org"/>
  517. <action application="set" data="opensips_flag=0"/>
  518. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  519. </condition>
  520. </extension>
  521. </context>
  522. </section>
  523. </document>
  524. Dialplan: sofia/default/9084093666@13.232.246.166 parsing [default->10050] continue=false
  525. Dialplan: sofia/default/9084093666@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  526. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_destination_number=10050)
  527. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  528. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  529. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_flag=0)
  530. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_credit_limit=5.00000)
  531. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(type=0)
  532. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(callstart=2023-07-13 13:18:55)
  533. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(hangup_after_bridge=true)
  534. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(continue_on_fail=TRUE)
  535. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(account_id=42)
  536. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(parent_id=0)
  537. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(entity_id=0)
  538. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_processed=internal)
  539. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_direction=inbound)
  540. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountname=default)
  541. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  542. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates_did=ID:8|CODE:^10050.*|DESTINATION:Greece Scotland marine|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.46370|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:215|ACCID:42)
  543. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates=0)
  544. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_name=)
  545. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_number=9084093666)
  546. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_name=)
  547. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_number=9084093666)
  548. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(receiver_accid=42)
  549. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_id=8)
  550. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(transfer_call_type=4)
  551. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(transfer_extensions=)
  552. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(busy_status=1)
  553. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(no_answer_status=1)
  554. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(always_status=1)
  555. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(transfer_status=1)
  556. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  557. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(variable_sip_network_ip=78.47.101.152)
  558. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(variable_sip_network_port=5060)
  559. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(domain_name=clusterguibeta1.astppbilling.org)
  560. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(sip_to_host=clusterguibeta1.astppbilling.org)
  561. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=x|||Cluster PK Client(8800713436)|||^10050.* // Greece Scotland marine // 1.46370|||||||||DID|||13.232.246.166)
  562. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(call_type=7)
  563. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_calltype=7)
  564. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_extensions=2)
  565. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  566. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  567. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  568. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  569. Dialplan: sofia/default/9084093666@13.232.246.166 Action playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav)
  570. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(group_confirm_key=exec)
  571. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  572. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(ringback=/var/www/html/astpp//upload/pbx/file_example_WAV_1MG_130723120048.wav)
  573. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(module_name=pbx)
  574. Dialplan: sofia/default/9084093666@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/2/${uuid})
  575. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(dialed_extension=transfer_call)
  576. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(dialed_extension=transfer_call)
  577. Dialplan: sofia/default/9084093666@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  578. Dialplan: sofia/default/9084093666@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  579. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(ring_group_transfer=true)
  580. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(fail_on_single_reject=CALL_REJECTED)
  581. Dialplan: sofia/default/9084093666@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=55,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=8800713436,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=55,leg_delay_start=0]sofia/${sofia_profile_name}/8800713436@clusterguibeta1.astppbilling.org:5060|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=sample-15s_130723115914.wav,dialed_user=9839115785,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/9839115785@clusterguibeta1.astppbilling.org:5060|)
  582. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_did_number=10050)
  583. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(no_answer_number=)
  584. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(no_answer_call_type=pstn_1)
  585. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(no_answer_call_type_value=10000404000)
  586. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(variable_sip_to_host=clusterguibeta1.astppbilling.org)
  587. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(userinfo_id=42)
  588. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(variable_sip_to_host=clusterguibeta1.astppbilling.org)
  589. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(opensips_flag=0)
  590. Dialplan: sofia/default/9084093666@13.232.246.166 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  591. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9084093666@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  592. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep
  593. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 606)
  594. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE
  595. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_sofia.c:213 sofia/default/9084093666@13.232.246.166 SOFIA EXECUTE
  596. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/9084093666@13.232.246.166 Standard EXECUTE
  597. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_destination_number=10050)
  598. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_destination_number]=[10050]
  599. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  600. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  601. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  602. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  603. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_flag=0)
  604. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_flag]=[0]
  605. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_credit_limit=5.00000)
  606. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_credit_limit]=[5.00000]
  607. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(type=0)
  608. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [type]=[0]
  609. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(callstart=2023-07-13 13:18:55)
  610. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [callstart]=[2023-07-13 13:18:55]
  611. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(hangup_after_bridge=true)
  612. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [hangup_after_bridge]=[true]
  613. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(continue_on_fail=TRUE)
  614. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [continue_on_fail]=[TRUE]
  615. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(account_id=42)
  616. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [account_id]=[42]
  617. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(parent_id=0)
  618. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [parent_id]=[0]
  619. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(entity_id=0)
  620. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [entity_id]=[0]
  621. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_processed=internal)
  622. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_processed]=[internal]
  623. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_direction=inbound)
  624. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_direction]=[inbound]
  625. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountname=default)
  626. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountname]=[default]
  627. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(filename1=astpp.pbx.lua)
  628. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [filename1]=[astpp.pbx.lua]
  629. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates_did=ID:8|CODE:^10050.*|DESTINATION:Greece Scotland marine|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.46370|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:215|ACCID:42)
  630. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates_did]=[ID:8|CODE:^10050.*|DESTINATION:Greece Scotland marine|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.46370|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:215|ACCID:42]
  631. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates=0)
  632. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates]=[0]
  633. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_name=)
  634. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_name]=[UNDEF]
  635. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_number=9084093666)
  636. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_number]=[9084093666]
  637. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_name=)
  638. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_name]=[UNDEF]
  639. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_number=9084093666)
  640. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_number]=[9084093666]
  641. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(receiver_accid=42)
  642. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [receiver_accid]=[42]
  643. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_id=8)
  644. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_id]=[8]
  645. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(transfer_call_type=4)
  646. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [transfer_call_type]=[4]
  647. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(transfer_extensions=)
  648. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [transfer_extensions]=[UNDEF]
  649. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(busy_status=1)
  650. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [busy_status]=[1]
  651. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(no_answer_status=1)
  652. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [no_answer_status]=[1]
  653. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(always_status=1)
  654. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [always_status]=[1]
  655. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(transfer_status=1)
  656. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [transfer_status]=[1]
  657. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(variable_sip_to_host=167.235.194.5)
  658. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [variable_sip_to_host]=[167.235.194.5]
  659. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(variable_sip_network_ip=78.47.101.152)
  660. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [variable_sip_network_ip]=[78.47.101.152]
  661. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(variable_sip_network_port=5060)
  662. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [variable_sip_network_port]=[5060]
  663. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(domain_name=clusterguibeta1.astppbilling.org)
  664. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[clusterguibeta1.astppbilling.org]
  665. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(sip_to_host=clusterguibeta1.astppbilling.org)
  666. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[clusterguibeta1.astppbilling.org]
  667. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=x|||Cluster PK Client(8800713436)|||^10050.* // Greece Scotland marine // 1.46370|||||||||DID|||13.232.246.166)
  668. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Cluster PK Client(8800713436)|||^10050.* // Greece Scotland marine // 1.46370|||||||||DID|||13.232.246.166]
  669. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(call_type=7)
  670. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  671. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_calltype=7)
  672. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_calltype]=[7]
  673. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_extensions=2)
  674. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_extensions]=[2]
  675. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_credit_limit=0.00000)
  676. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  677. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  678. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  679. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_used_limit=0.00000)
  680. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_used_limit]=[0.00000]
  681. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_used_limit=0.00000)
  682. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  683. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/9084093666@13.232.246.166
  684. 2023-07-13 13:18:55.136762 97.57% [INFO] switch_core_session.c:2797 Sending early media
  685. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9084093666@13.232.246.166] 167.235.194.5 port 30290 -> 13.232.246.166 port 18744 codec: 8 ms: 20
  686. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  687. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_media.c:9089 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101
  688. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_media.c:9096 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf receive payload to 101
  689. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_core_media.c:9119 sofia/default/9084093666@13.232.246.166 Set rtp dtmf delay to 40
  690. 2023-07-13 13:18:55.136762 97.57% [DEBUG] mod_sofia.c:2610 Ring SDP:
  691. v=0
  692. o=FreeSWITCH 1689224045 1689224046 IN IP4 167.235.194.5
  693. s=FreeSWITCH
  694. c=IN IP4 167.235.194.5
  695. t=0 0
  696. m=audio 30290 RTP/AVP 8 101
  697. a=rtpmap:8 PCMA/8000
  698. a=rtpmap:101 telephone-event/8000
  699. a=fmtp:101 0-15
  700. a=ptime:20
  701. a=sendrecv
  702.  
  703. 2023-07-13 13:18:55.136762 97.57% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/9084093666@13.232.246.166!
  704. 2023-07-13 13:18:55.136762 97.57% [DEBUG] switch_channel.c:3622 (sofia/default/9084093666@13.232.246.166) Callstate Change RINGING -> EARLY
  705. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav)
  706. 2023-07-13 13:18:55.136762 97.57% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [early][183]
  707. 2023-07-13 13:18:55.176749 97.57% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav sample rate 16000 doesn't match requested rate 8000
  708. 2023-07-13 13:18:55.176749 97.57% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  709. 2023-07-13 13:18:55.496813 96.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  710. 2023-07-13 13:18:59.716778 96.97% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [terminated][487]
  711. 2023-07-13 13:18:59.716778 96.97% [NOTICE] sofia.c:8738 Hangup sofia/default/9084093666@13.232.246.166 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  712. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_130723115618.wav
  713. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_session.c:2983 sofia/default/9084093666@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  714. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE going to sleep
  715. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 606)
  716. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9084093666@13.232.246.166) Callstate Change EARLY -> HANGUP
  717. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP
  718. 2023-07-13 13:18:59.716778 96.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/9084093666@13.232.246.166 hanging up, cause: ORIGINATOR_CANCEL
  719. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/9084093666@13.232.246.166 Standard HANGUP, cause: ORIGINATOR_CANCEL
  720. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP going to sleep
  721. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9084093666@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  722. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 606)
  723. 2023-07-13 13:18:59.716778 96.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING
  724. 2023-07-13 13:18:59.716778 96.97% [INFO] mod_json_cdr.c:271 Process [35a56624-8fad-435d-912b-705822a7626d.cdr.json]
  725. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/9084093666@13.232.246.166 Standard REPORTING, cause: ORIGINATOR_CANCEL
  726. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING going to sleep
  727. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9084093666@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  728. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_session.c:1753 Session 606 (sofia/default/9084093666@13.232.246.166) Locked, Waiting on external entities
  729. 2023-07-13 13:18:59.756782 96.97% [NOTICE] switch_core_session.c:1771 Session 606 (sofia/default/9084093666@13.232.246.166) Ended
  730. 2023-07-13 13:18:59.756782 96.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9084093666@13.232.246.166 [CS_DESTROY]
  731. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9084093666@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 606)
  732. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY
  733. 2023-07-13 13:18:59.756782 96.97% [DEBUG] mod_sofia.c:379 sofia/default/9084093666@13.232.246.166 SOFIA DESTROY
  734. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/9084093666@13.232.246.166 Standard DESTROY
  735. 2023-07-13 13:18:59.756782 96.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY going to sleep
  736. freeswitch@FS1ClusterQA> /exit