From Prashant Kumar, 8 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. freeswitch@FS1ClusterQA>
  7. freeswitch@FS1ClusterQA>
  8. freeswitch@FS1ClusterQA>
  9. 2023-09-16 10:55:39.249487 96.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8700847196@13.232.246.166 [03bb11cf-db72-4eff-86ff-e7b1756a2b69]
  10. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 66)
  11. 2023-09-16 10:55:39.249487 96.60% [INFO] sofia.c:10462 sofia/default/8700847196@13.232.246.166 receiving invite from 78.47.101.152:5073 version: 1.10.7 -release 64bit call-id: 69f36165-cf22-123c-1193-02c9c4cfda14
  12. 2023-09-16 10:55:39.249487 96.60% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  13. 2023-09-16 10:55:39.249487 96.60% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  14. 2023-09-16 10:55:39.249487 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/8700847196@13.232.246.166 entering state [received][100]
  15. 2023-09-16 10:55:39.249487 96.60% [DEBUG] sofia.c:7509 Remote SDP:
  16. v=0
  17. o=FreeSWITCH 1694843475 1694843476 IN IP4 13.232.246.166
  18. s=FreeSWITCH
  19. c=IN IP4 13.232.246.166
  20. t=0 0
  21. m=audio 18264 RTP/AVP 8 101
  22. a=rtpmap:8 PCMA/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25. a=ptime:20
  26.  
  27. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  31. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8700847196@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_codec.c:111 sofia/default/8700847196@13.232.246.166 Original read codec set to PCMA:8
  33. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  34. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_media.c:5973 sofia/default/8700847196@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2023-09-16 10:55:39.249487 96.60% [DEBUG] sofia.c:7933 (sofia/default/8700847196@13.232.246.166) State Change CS_NEW -> CS_INIT
  36. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8700847196@13.232.246.166) State NEW
  37. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 66)
  38. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8700847196@13.232.246.166) State INIT
  39. 2023-09-16 10:55:39.249487 96.60% [DEBUG] mod_sofia.c:97 sofia/default/8700847196@13.232.246.166 SOFIA INIT
  40. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/8700847196@13.232.246.166 Standard INIT
  41. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8700847196@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  42. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8700847196@13.232.246.166) State INIT going to sleep
  43. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 66)
  44. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_channel.c:2380 (sofia/default/8700847196@13.232.246.166) Callstate Change DOWN -> RINGING
  45. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8700847196@13.232.246.166) State ROUTING
  46. 2023-09-16 10:55:39.249487 96.60% [DEBUG] mod_sofia.c:158 sofia/default/8700847196@13.232.246.166 SOFIA ROUTING
  47. 2023-09-16 10:55:39.249487 96.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/8700847196@13.232.246.166 Standard ROUTING
  48. 2023-09-16 10:55:39.249487 96.60% [INFO] mod_dialplan_xml.c:639 Processing 8700847196 <8700847196>->1080200 in context default
  49. 2023-09-16 10:55:39.269427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  50. 2023-09-16 10:55:39.289432 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2023-09-16 10:55:39.289432 96.60% [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-09-16 10:55:39.289432 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2023-09-16 10:55:39.329439 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2023-09-16 10:55:39.329439 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1080200
  55. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1080200' limit 1
  56. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1080200' AND status=0 limit 1
  57. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1080200' and status=0 LIMIT 1
  58. 2023-09-16 10:55:39.329439 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  59. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-09-16 10:55:39.329439 96.60% [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-09-16 10:55:39.329439 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  62. 2023-09-16 10:55:39.329439 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "8700847196" / 8700847196
  63. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  64. 2023-09-16 10:55:39.329439 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 108020 AND status=0 limit 1
  65. 2023-09-16 10:55:39.329439 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  66. 2023-09-16 10:55:39.329439 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  67. 2023-09-16 10:55:39.349473 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2023-09-16 10:55:39.349473 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2023-09-16 10:55:39.349473 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="6" and number ="8700847196" and status = '0' LIMIT 1
  70. 2023-09-16 10:55:39.349473 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  71. 2023-09-16 10:55:39.349473 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  72. 2023-09-16 10:55:39.349473 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9810050033]
  73. 2023-09-16 10:55:39.349473 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1080200
  74. 2023-09-16 10:55:39.349473 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9810050033" OR id = "9810050033") AND deleted = 0 limit 1
  75. 2023-09-16 10:55:39.369462 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  76. 2023-09-16 10:55:39.369462 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1080200" AND (accountid = 0 OR status = 1) LIMIT 1
  77. 2023-09-16 10:55:39.369462 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  78. 2023-09-16 10:55:39.369462 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 16
  79. 2023-09-16 10:55:39.369462 96.60% [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 = '^1080200.*' OR patterns = '^108020.*' OR patterns = '^10802.*' OR patterns = '^1080.*' OR patterns = '^108.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  80. 2023-09-16 10:55:39.369462 96.60% [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 ="1080200" AND A.accountid = '10' limit 1
  81. 2023-09-16 10:55:39.369462 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1080200
  82. 2023-09-16 10:55:39.369462 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  83. 2023-09-16 10:55:39.369462 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  84. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  85. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="6" and number ="8700847196" and status = '0' LIMIT 1
  87. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  88. 2023-09-16 10:55:39.389450 96.60% [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 = '1080200' OR number = '108020' OR number = '10802' OR number = '1080' OR number = '108' OR number = '10' OR number = '1' OR number ='--') OR (number = '1080200*' OR number = '108020*' OR number = '10802*' OR number = '1080*' OR number = '108*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8700847196' OR number = '870084719' OR number = '87008471' OR number = '8700847' OR number = '870084' OR number = '87008' OR number = '8700' OR number = '870' OR number = '87' OR number = '8' OR number ='--') OR (number = '8700847196*' OR number = '870084719*' OR number = '87008471*' OR number = '8700847*' OR number = '870084*' OR number = '87008*' OR number = '8700*' OR number = '870*' OR number = '87*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1080200' OR routing_prefix = '108020' OR routing_prefix = '10802' OR routing_prefix = '1080' OR routing_prefix = '108' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  92. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 10
  93. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9810050033
  94. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  95. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 499992.57
  96. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  97. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  98. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  99. 2023-09-16 10:55:39.389450 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  100. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  101. 2023-09-16 10:55:39.389450 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  102. 2023-09-16 10:55:39.389450 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  103. 2023-09-16 10:55:39.409448 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  104. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  106. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="6" and number ="8700847196" and status = '0' LIMIT 1
  107. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 16  and status = 0 limit 1
  108. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....1080200
  109. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  110. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  111. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  112. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.99000
  113. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  114. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  115. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.99000
  116. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  117. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  118. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  119. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  120. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000
  121. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1080200
  122. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 52
  123. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 10
  124. 2023-09-16 10:55:39.409448 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  125. 2023-09-16 10:55:39.409448 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  126. 2023-09-16 10:55:39.429440 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your499992.57 balance Accountid 10 !!!
  127. 2023-09-16 10:55:39.429440 96.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  128. 2023-09-16 10:55:39.429440 96.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 14
  129. 2023-09-16 10:55:39.429440 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "14" OR number = "14") AND deleted = 0 limit 1
  130. 2023-09-16 10:55:39.429440 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  131. 2023-09-16 10:55:39.429440 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  132. 2023-09-16 10:55:39.429440 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 14
  133. 2023-09-16 10:55:39.429440 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9810050077
  134. 2023-09-16 10:55:39.429440 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  135. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 499992.57
  136. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  137. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  138. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  139. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  140. 2023-09-16 10:55:39.449433 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  141. 2023-09-16 10:55:39.449433 96.60% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1080200" LIMIT 1
  142. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  143. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="6" and number ="8700847196" and status = '0' LIMIT 1
  145. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  146. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  147. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.77000
  148. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  149. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  150. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.77000
  151. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  152. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  153. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  154. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  155. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.77000
  156. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1080200
  157. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 52
  158. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
  159. 2023-09-16 10:55:39.449433 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  160. 2023-09-16 10:55:39.449433 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  161. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your499992.57 balance Accountid 14 !!!
  162. 2023-09-16 10:55:39.469422 96.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  163. 2023-09-16 10:55:39.469422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 7791.2077922078
  164. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:16||ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:14
  165. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  166. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  167. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  168. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  169. 2023-09-16 10:55:39.469422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  170. 2023-09-16 10:55:39.469422 96.60% [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 = 10 AND status=0 LIMIT 1
  171. 2023-09-16 10:55:39.469422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "16" OR number = "16") AND deleted = 0 limit 1
  172. 2023-09-16 10:55:39.469422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =16
  173. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:10
  174. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:10
  175. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 10
  176. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1
  177. 2023-09-16 10:55:39.489422 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta3.astppbilling.org
  178. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  179. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ClusterServer' and status = 0 limit 1
  180. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  181. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  182. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  183. 2023-09-16 10:55:39.489422 96.60% [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 = "4022768019" AND accounts.status = 0
  184. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :1080200
  185. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :1080200
  186. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1
  187. 2023-09-16 10:55:39.489422 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : clusterguibeta3.astppbilling.org
  188. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  189. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 16 or id = 16 ) and status = 0 limit 1
  190. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '4022768019' and accountid = '16'LIMIT 1
  191. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 4022768019
  192. 2023-09-16 10:55:39.489422 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  193. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '4022768019' and accountid = '16'LIMIT 1
  194. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  195. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  196. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  197. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4022768019"  AND domains.domain="clusterguibeta3.astppbilling.org" limit 1
  198. 2023-09-16 10:55:39.489422 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 28 limit 1
  199. 2023-09-16 10:55:39.509427 96.60% [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
  200. 2023-09-16 10:55:39.509427 96.60% [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
  201. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  202. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  203. 2023-09-16 10:55:39.509427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  204. 2023-09-16 10:55:39.509427 96.60% [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="4022768019"  AND domains.domain="clusterguibeta3.astppbilling.org" limit 1
  205. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4022768019"  AND domains.domain="clusterguibeta3.astppbilling.org" limit 1
  206. 2023-09-16 10:55:39.509427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 28
  207. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 28 limit 1
  208. 2023-09-16 10:55:39.509427 96.60% [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
  209. 2023-09-16 10:55:39.509427 96.60% [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
  210. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  211. 2023-09-16 10:55:39.509427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  212. 2023-09-16 10:55:39.509427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  213. 2023-09-16 10:55:39.509427 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  214. 2023-09-16 10:55:39.509427 96.60% [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="4022768019"  AND domains.domain="clusterguibeta3.astppbilling.org" limit 1
  215. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  216. 2023-09-16 10:55:39.509427 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4022768019"  AND domains.domain="clusterguibeta3.astppbilling.org" limit 1
  217. 2023-09-16 10:55:39.529421 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 28 limit 1
  218. 2023-09-16 10:55:39.529421 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  219. <document type="freeswitch/xml">
  220. <section name="dialplan" description="ASTPP Dialplan">
  221. <context name="default">
  222. <extension name="1080200">
  223. <condition field="destination_number" expression="1080200">
  224. <action application="set" data="effective_destination_number=1080200"/>
  225. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  226. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  227. <action application="set" data="notify_flag=0"/>
  228. <action application="set" data="notify_credit_limit=5.00000"/>
  229. <action application="set" data="type=3"/>
  230. <action application="set" data="callstart=2023-09-16 10:55:39"/>
  231. <action application="set" data="hangup_after_bridge=true"/>
  232. <action application="set" data="continue_on_fail=TRUE"/>
  233. <action application="set" data="account_id=10"/>
  234. <action application="set" data="parent_id=14"/>
  235. <action application="set" data="entity_id=3"/>
  236. <action application="set" data="call_processed=internal"/>
  237. <action application="set" data="call_direction=inbound"/>
  238. <action application="set" data="accountname=default"/>
  239. <action application="set" data="filename1=astpp.pbx.lua"/>
  240. <action application="set" data="origination_rates_did=ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:16||ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:14"/>
  241. <action application="set" data="origination_rates=0"/>
  242. <action application="set" data="original_caller_id_name="8700847196""/>
  243. <action application="set" data="original_caller_id_number=8700847196"/>
  244. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  245. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  246. <action application="set" data="effective_caller_id_name="8700847196""/>
  247. <action application="set" data="effective_caller_id_number=8700847196"/>
  248. <action application="set" data="receiver_accid=16"/>
  249. <action application="set" data="did_id=6"/>
  250. <action application="set" data="transfer_call_type=5"/>
  251. <action application="set" data="transfer_extensions=9810050099"/>
  252. <action application="set" data="busy_status=0"/>
  253. <action application="set" data="no_answer_status=1"/>
  254. <action application="set" data="always_status=1"/>
  255. <action application="set" data="transfer_status=0"/>
  256. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  257. <action application="set" data="variable_sip_network_ip=78.47.101.152"/>
  258. <action application="set" data="variable_sip_network_port=5073"/>
  259. <action application="export" data="domain_name=clusterguibeta3.astppbilling.org"/>
  260. <action application="export" data="sip_to_host=clusterguibeta3.astppbilling.org"/>
  261. <action application="export" data="presence_data=x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166"/>
  262. <action application="export" data="call_type=0"/>
  263. <action application="set" data="calltype=DID-LOCAL"/>
  264. <action application="set" data="daily_call_credit_limit=6000.00000"/>
  265. <action application="set" data="monthly_call_credit_limit=8000.00000"/>
  266. <action application="set" data="daily_call_used_limit=0.99000"/>
  267. <action application="set" data="monthly_call_used_limit=0.99000"/>
  268. <action application="hash" data="insert/${domain_name}-call_return/4022768019/${caller_id_number}"/>
  269. <action application="db" data="insert/pickup_any_group_${callgroup}/4022768019/${uuid}"/>
  270. <action application="set" data="dialed_extension=transfer_call"/>
  271. <action application="export" data="dialed_extension=transfer_call"/>
  272. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  273. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  274. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  275. <action application="set" data="hangup_after_bridge=true"/>
  276. <action application="export" data="did_user_domain=clusterguibeta3.astppbilling.org"/>
  277. <action application="set" data="sip_h_X-call-type=did"/>
  278. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  279. <action application="db" data="insert/pickup_any_group_${callgroup}/4022768019/${uuid}"/>
  280. <action application="set" data="dialed_extension=transfer_call"/>
  281. <action application="export" data="dialed_extension=transfer_call"/>
  282. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  283. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  284. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  285. <action application="set" data="hangup_after_bridge=true"/>
  286. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=16}[leg_timeout=0 ] sofia/${sofia_profile_name}/4022768019@clusterguibeta3.astppbilling.org:5073"/>
  287. <action application="set" data="on_busy_flag=1"/>
  288. <action application="set" data="on_busy_destination="/>
  289. <action application="set" data="no_answer_flag=1"/>
  290. <action application="set" data="no_answer_destination="/>
  291. <action application="set" data="not_register_flag=1"/>
  292. <action application="set" data="not_register_destination="/>
  293. <action application="set" data="opensips_flag=0"/>
  294. <action application="set" data="variable_sip_to_host=clusterguibeta3.astppbilling.org"/>
  295. <action application="set" data="opensips_domain=cluster.astppbilling.org"/>
  296. <action application="set" data="leg_timeout=0"/>
  297. <action application="set" data="userinfo_id=16"/>
  298. <action application="set" data="sip_destination_number=4022768019"/>
  299. <action application="set" data="did_number=4022768019"/>
  300. <action application="set" data="user_domain=clusterguibeta3.astppbilling.org"/>
  301. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  302. <action application="set" data="on_busy_flag=1"/>
  303. <action application="set" data="on_busy_destination="/>
  304. <action application="set" data="no_answer_flag=1"/>
  305. <action application="set" data="no_answer_destination="/>
  306. <action application="set" data="not_register_flag=1"/>
  307. <action application="set" data="not_register_destination="/>
  308. <action application="set" data="opensips_flag=0"/>
  309. <action application="set" data="variable_sip_to_host=clusterguibeta3.astppbilling.org"/>
  310. <action application="set" data="opensips_domain=cluster.astppbilling.org"/>
  311. <action application="set" data="leg_timeout=0"/>
  312. <action application="set" data="userinfo_id=16"/>
  313. <action application="set" data="sip_destination_number=4022768019"/>
  314. <action application="set" data="destination_number=4022768019"/>
  315. <action application="set" data="did_number=1080200"/>
  316. <action application="set" data="user_domain=clusterguibeta3.astppbilling.org"/>
  317. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  318. <condition field="${cond(${user_data 4022768019@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  319. <action application="answer"/>
  320. <action application="export" data="voicemail_alternate_greet_id=4022768019"/>
  321. <action application="voicemail" data="default $${domain_name} 4022768019"/>
  322. <anti-action application="hangup" data="${originate_disposition}"/>
  323. </condition>
  324. </condition>
  325. </extension>
  326. </context>
  327. </section>
  328. </document>
  329. Dialplan: sofia/default/8700847196@13.232.246.166 parsing [default->1080200] continue=false
  330. Dialplan: sofia/default/8700847196@13.232.246.166 Regex (PASS) [1080200] destination_number(1080200) =~ /1080200/ break=on-false
  331. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(effective_destination_number=1080200)
  332. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  333. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  334. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(notify_flag=0)
  335. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(notify_credit_limit=5.00000)
  336. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(type=3)
  337. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(callstart=2023-09-16 10:55:39)
  338. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(hangup_after_bridge=true)
  339. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(continue_on_fail=TRUE)
  340. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(account_id=10)
  341. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(parent_id=14)
  342. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(entity_id=3)
  343. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(call_processed=internal)
  344. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(call_direction=inbound)
  345. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(accountname=default)
  346. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  347. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(origination_rates_did=ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:16||ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:14)
  348. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(origination_rates=0)
  349. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(original_caller_id_name=)
  350. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(original_caller_id_number=8700847196)
  351. Dialplan: sofia/default/8700847196@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  352. Dialplan: sofia/default/8700847196@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  353. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(effective_caller_id_name=)
  354. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(effective_caller_id_number=8700847196)
  355. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(receiver_accid=16)
  356. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(did_id=6)
  357. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(transfer_call_type=5)
  358. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(transfer_extensions=9810050099)
  359. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(busy_status=0)
  360. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(no_answer_status=1)
  361. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(always_status=1)
  362. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(transfer_status=0)
  363. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  364. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(variable_sip_network_ip=78.47.101.152)
  365. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(variable_sip_network_port=5073)
  366. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(domain_name=clusterguibeta3.astppbilling.org)
  367. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(sip_to_host=clusterguibeta3.astppbilling.org)
  368. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(presence_data=x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166)
  369. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(call_type=0)
  370. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(calltype=DID-LOCAL)
  371. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(daily_call_credit_limit=6000.00000)
  372. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(monthly_call_credit_limit=8000.00000)
  373. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(daily_call_used_limit=0.99000)
  374. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(monthly_call_used_limit=0.99000)
  375. Dialplan: sofia/default/8700847196@13.232.246.166 Action hash(insert/${domain_name}-call_return/4022768019/${caller_id_number})
  376. Dialplan: sofia/default/8700847196@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/4022768019/${uuid})
  377. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(dialed_extension=transfer_call)
  378. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(dialed_extension=transfer_call)
  379. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  380. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  381. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  382. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(hangup_after_bridge=true)
  383. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(did_user_domain=clusterguibeta3.astppbilling.org)
  384. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(sip_h_X-call-type=did)
  385. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(sip_h_X-did-call-type=DID-LOCAL)
  386. Dialplan: sofia/default/8700847196@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/4022768019/${uuid})
  387. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(dialed_extension=transfer_call)
  388. Dialplan: sofia/default/8700847196@13.232.246.166 Action export(dialed_extension=transfer_call)
  389. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  390. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  391. Dialplan: sofia/default/8700847196@13.232.246.166 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  392. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(hangup_after_bridge=true)
  393. Dialplan: sofia/default/8700847196@13.232.246.166 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=16}[leg_timeout=0 ] sofia/${sofia_profile_name}/4022768019@clusterguibeta3.astppbilling.org:5073)
  394. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(on_busy_flag=1)
  395. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(on_busy_destination=)
  396. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(no_answer_flag=1)
  397. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(no_answer_destination=)
  398. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(not_register_flag=1)
  399. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(not_register_destination=)
  400. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(opensips_flag=0)
  401. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(variable_sip_to_host=clusterguibeta3.astppbilling.org)
  402. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(opensips_domain=cluster.astppbilling.org)
  403. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(leg_timeout=0)
  404. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(userinfo_id=16)
  405. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(sip_destination_number=4022768019)
  406. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(did_number=4022768019)
  407. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(user_domain=clusterguibeta3.astppbilling.org)
  408. Dialplan: sofia/default/8700847196@13.232.246.166 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  409. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(on_busy_flag=1)
  410. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(on_busy_destination=)
  411. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(no_answer_flag=1)
  412. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(no_answer_destination=)
  413. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(not_register_flag=1)
  414. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(not_register_destination=)
  415. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(opensips_flag=0)
  416. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(variable_sip_to_host=clusterguibeta3.astppbilling.org)
  417. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(opensips_domain=cluster.astppbilling.org)
  418. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(leg_timeout=0)
  419. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(userinfo_id=16)
  420. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(sip_destination_number=4022768019)
  421. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(destination_number=4022768019)
  422. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(did_number=1080200)
  423. Dialplan: sofia/default/8700847196@13.232.246.166 Action set(user_domain=clusterguibeta3.astppbilling.org)
  424. Dialplan: sofia/default/8700847196@13.232.246.166 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  425. |--- Dialplan: Processing recursive conditions level:1 [1080200_recur_1] require-nested=TRUE
  426. |--- Dialplan: sofia/default/8700847196@13.232.246.166 Regex (FAIL) [1080200_recur_1] ${cond(${user_data 4022768019@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  427. |--- Dialplan: sofia/default/8700847196@13.232.246.166 ANTI-Action hangup(${originate_disposition})
  428. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8700847196@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  429. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8700847196@13.232.246.166) State ROUTING going to sleep
  430. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 66)
  431. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8700847196@13.232.246.166) State EXECUTE
  432. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_sofia.c:213 sofia/default/8700847196@13.232.246.166 SOFIA EXECUTE
  433. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/8700847196@13.232.246.166 Standard EXECUTE
  434. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(effective_destination_number=1080200)
  435. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [effective_destination_number]=[1080200]
  436. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  437. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  438. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  439. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  440. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(notify_flag=0)
  441. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [notify_flag]=[0]
  442. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(notify_credit_limit=5.00000)
  443. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [notify_credit_limit]=[5.00000]
  444. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(type=3)
  445. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [type]=[3]
  446. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(callstart=2023-09-16 10:55:39)
  447. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [callstart]=[2023-09-16 10:55:39]
  448. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(hangup_after_bridge=true)
  449. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [hangup_after_bridge]=[true]
  450. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(continue_on_fail=TRUE)
  451. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [continue_on_fail]=[TRUE]
  452. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(account_id=10)
  453. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [account_id]=[10]
  454. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(parent_id=14)
  455. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [parent_id]=[14]
  456. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(entity_id=3)
  457. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [entity_id]=[3]
  458. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(call_processed=internal)
  459. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [call_processed]=[internal]
  460. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(call_direction=inbound)
  461. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [call_direction]=[inbound]
  462. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(accountname=default)
  463. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [accountname]=[default]
  464. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(filename1=astpp.pbx.lua)
  465. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [filename1]=[astpp.pbx.lua]
  466. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(origination_rates_did=ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:16||ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:14)
  467. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [origination_rates_did]=[ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:16||ID:6|CODE:^1080200.*|DESTINATION:1080200|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:52|ACCID:14]
  468. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(origination_rates=0)
  469. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [origination_rates]=[0]
  470. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(original_caller_id_name=)
  471. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [original_caller_id_name]=[UNDEF]
  472. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(original_caller_id_number=8700847196)
  473. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [original_caller_id_number]=[8700847196]
  474. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 hash(insert/167.235.194.5-last_dial/8700847196/1080200)
  475. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 hash(insert/167.235.194.5-call_return/1080200/8700847196)
  476. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(effective_caller_id_name=)
  477. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [effective_caller_id_name]=[UNDEF]
  478. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(effective_caller_id_number=8700847196)
  479. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [effective_caller_id_number]=[8700847196]
  480. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(receiver_accid=16)
  481. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [receiver_accid]=[16]
  482. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(did_id=6)
  483. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [did_id]=[6]
  484. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(transfer_call_type=5)
  485. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [transfer_call_type]=[5]
  486. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(transfer_extensions=9810050099)
  487. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [transfer_extensions]=[9810050099]
  488. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(busy_status=0)
  489. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [busy_status]=[0]
  490. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(no_answer_status=1)
  491. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [no_answer_status]=[1]
  492. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(always_status=1)
  493. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [always_status]=[1]
  494. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(transfer_status=0)
  495. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [transfer_status]=[0]
  496. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(variable_sip_to_host=167.235.194.5)
  497. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [variable_sip_to_host]=[167.235.194.5]
  498. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(variable_sip_network_ip=78.47.101.152)
  499. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [variable_sip_network_ip]=[78.47.101.152]
  500. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(variable_sip_network_port=5073)
  501. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [variable_sip_network_port]=[5073]
  502. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(domain_name=clusterguibeta3.astppbilling.org)
  503. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[clusterguibeta3.astppbilling.org]
  504. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(sip_to_host=clusterguibeta3.astppbilling.org)
  505. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[clusterguibeta3.astppbilling.org]
  506. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(presence_data=x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166)
  507. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166]
  508. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(call_type=0)
  509. 2023-09-16 10:55:39.569421 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  510. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(calltype=DID-LOCAL)
  511. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [calltype]=[DID-LOCAL]
  512. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(daily_call_credit_limit=6000.00000)
  513. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [daily_call_credit_limit]=[6000.00000]
  514. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(monthly_call_credit_limit=8000.00000)
  515. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [monthly_call_credit_limit]=[8000.00000]
  516. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(daily_call_used_limit=0.99000)
  517. 2023-09-16 10:55:39.569421 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [daily_call_used_limit]=[0.99000]
  518. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(monthly_call_used_limit=0.99000)
  519. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [monthly_call_used_limit]=[0.99000]
  520. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 hash(insert/clusterguibeta3.astppbilling.org-call_return/4022768019/8700847196)
  521. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 db(insert/pickup_any_group_/4022768019/03bb11cf-db72-4eff-86ff-e7b1756a2b69)
  522. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(dialed_extension=transfer_call)
  523. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [dialed_extension]=[transfer_call]
  524. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(dialed_extension=transfer_call)
  525. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  526. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  527. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  528. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  529. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  530. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  531. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  532. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(hangup_after_bridge=true)
  533. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [hangup_after_bridge]=[true]
  534. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(did_user_domain=clusterguibeta3.astppbilling.org)
  535. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[clusterguibeta3.astppbilling.org]
  536. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(sip_h_X-call-type=did)
  537. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [sip_h_X-call-type]=[did]
  538. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(sip_h_X-did-call-type=DID-LOCAL)
  539. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [sip_h_X-did-call-type]=[DID-LOCAL]
  540. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 db(insert/pickup_any_group_/4022768019/03bb11cf-db72-4eff-86ff-e7b1756a2b69)
  541. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(dialed_extension=transfer_call)
  542. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [dialed_extension]=[transfer_call]
  543. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 export(dialed_extension=transfer_call)
  544. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  545. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  546. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  547. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  548. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  549. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  550. 2023-09-16 10:55:39.589433 96.07% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  551. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(hangup_after_bridge=true)
  552. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [hangup_after_bridge]=[true]
  553. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=16}[leg_timeout=0 ] sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073)
  554. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [domain_name]=[clusterguibeta3.astppbilling.org] to event
  555. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[clusterguibeta3.astppbilling.org] to event
  556. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166] to event
  557. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [call_type]=[0] to event
  558. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  559. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [did_user_domain]=[clusterguibeta3.astppbilling.org] to event
  560. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  561. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  562. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  563. 2023-09-16 10:55:39.589433 96.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 [536a7951-9143-4a31-8dda-e26004845175]
  564. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_sofia.c:5121 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State Change CS_NEW -> CS_INIT
  565. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_INIT (Cur 2 Tot 67)
  566. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State INIT
  567. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_sofia.c:97 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 SOFIA INIT
  568. 2023-09-16 10:55:39.589433 96.07% [INFO] sofia_glue.c:1651 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 sending invite call-id: (null)
  569. 2023-09-16 10:55:39.589433 96.07% [DEBUG] sofia_glue.c:1654 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 sending invite version: 1.10.7 -release 64bit
  570. Local SDP:
  571. v=0
  572. o=FreeSWITCH 1694831957 1694831958 IN IP4 167.235.194.5
  573. s=FreeSWITCH
  574. c=IN IP4 167.235.194.5
  575. t=0 0
  576. m=audio 29782 RTP/AVP 8 101
  577. a=rtpmap:8 PCMA/8000
  578. a=rtpmap:101 telephone-event/8000
  579. a=fmtp:101 0-15
  580. a=ptime:20
  581. a=sendrecv
  582.  
  583. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 Standard INIT
  584. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State Change CS_INIT -> CS_ROUTING
  585. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State INIT going to sleep
  586. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_ROUTING (Cur 2 Tot 67)
  587. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State ROUTING
  588. 2023-09-16 10:55:39.589433 96.07% [DEBUG] mod_sofia.c:158 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 SOFIA ROUTING
  589. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  590. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State ROUTING going to sleep
  591. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 67)
  592. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State CONSUME_MEDIA
  593. 2023-09-16 10:55:39.589433 96.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State CONSUME_MEDIA going to sleep
  594. 2023-09-16 10:55:39.589433 96.07% [DEBUG] sofia.c:7499 Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 entering state [calling][0]
  595. 2023-09-16 10:55:41.069455 95.77% [DEBUG] sofia.c:7499 Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 entering state [proceeding][180]
  596. 2023-09-16 10:55:41.069455 95.77% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073!
  597. 2023-09-16 10:55:41.069455 95.77% [DEBUG] switch_channel.c:3494 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Callstate Change DOWN -> RINGING
  598. 2023-09-16 10:55:41.089471 95.77% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8700847196@13.232.246.166!
  599. 2023-09-16 10:55:41.089471 95.77% [DEBUG] sofia.c:7499 Channel sofia/default/8700847196@13.232.246.166 entering state [early][180]
  600. 2023-09-16 10:55:41.089471 95.77% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8700847196@13.232.246.166!
  601. 2023-09-16 10:55:55.929495 95.83% [DEBUG] sofia.c:7499 Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 entering state [terminated][486]
  602. 2023-09-16 10:55:55.929495 95.83% [NOTICE] sofia.c:8738 Hangup sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 [CS_CONSUME_MEDIA] [USER_BUSY]
  603. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_HANGUP (Cur 2 Tot 67)
  604. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Callstate Change RINGING -> HANGUP
  605. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State HANGUP
  606. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 hanging up, cause: USER_BUSY
  607. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 Standard HANGUP, cause: USER_BUSY
  608. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State HANGUP going to sleep
  609. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State Change CS_HANGUP -> CS_REPORTING
  610. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_REPORTING (Cur 2 Tot 67)
  611. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State REPORTING
  612. 2023-09-16 10:55:55.929495 95.83% [INFO] mod_json_cdr.c:271 Process [536a7951-9143-4a31-8dda-e26004845175.cdr.json]
  613. 2023-09-16 10:55:55.929495 95.83% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  614. 2023-09-16 10:55:55.929495 95.83% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  615. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(on_busy_flag=1)
  616. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [on_busy_flag]=[1]
  617. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(on_busy_destination=)
  618. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [on_busy_destination]=[UNDEF]
  619. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(no_answer_flag=1)
  620. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [no_answer_flag]=[1]
  621. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(no_answer_destination=)
  622. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [no_answer_destination]=[UNDEF]
  623. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(not_register_flag=1)
  624. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [not_register_flag]=[1]
  625. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(not_register_destination=)
  626. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [not_register_destination]=[UNDEF]
  627. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(opensips_flag=0)
  628. 2023-09-16 10:55:55.929495 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [opensips_flag]=[0]
  629. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(variable_sip_to_host=clusterguibeta3.astppbilling.org)
  630. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [variable_sip_to_host]=[clusterguibeta3.astppbilling.org]
  631. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(opensips_domain=cluster.astppbilling.org)
  632. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [opensips_domain]=[cluster.astppbilling.org]
  633. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(leg_timeout=0)
  634. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [leg_timeout]=[0]
  635. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(userinfo_id=16)
  636. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [userinfo_id]=[16]
  637. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(sip_destination_number=4022768019)
  638. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [sip_destination_number]=[4022768019]
  639. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(did_number=4022768019)
  640. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [did_number]=[4022768019]
  641. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 set(user_domain=clusterguibeta3.astppbilling.org)
  642. 2023-09-16 10:55:55.949456 95.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/8700847196@13.232.246.166 [user_domain]=[clusterguibeta3.astppbilling.org]
  643. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  644. 2023-09-16 10:55:55.949456 95.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  645. 2023-09-16 10:55:55.949456 95.83% [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')
  646. 2023-09-16 10:55:55.969427 95.83% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('sip_h_X-call-type', 'PSTN')
  647. 2023-09-16 10:55:55.969427 95.83% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('sip_h_X-did-call-type', 'SIP-DID')
  648. 2023-09-16 10:55:55.969427 95.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  649. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 bridge({sip_invite_params=user=LOCAL,sip_from_uri=9810050099@clusterguibeta3.astppbilling.org}[leg_timeout=0]sofia/default/9810050099@cluster.astppbilling.org;fs_path=sip:78.47.101.152:5073)
  650. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [domain_name]=[clusterguibeta3.astppbilling.org] to event
  651. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[clusterguibeta3.astppbilling.org] to event
  652. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x//14|||PK Call Service Provider(9810050033)|||^1080200.* // 1080200 // 0.99000|||||||||DID|||13.232.246.166] to event
  653. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [call_type]=[0] to event
  654. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  655. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [did_user_domain]=[clusterguibeta3.astppbilling.org] to event
  656. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_channel.c:1269 sofia/default/8700847196@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  657. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  658. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  659. 2023-09-16 10:55:55.989440 95.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9810050099@cluster.astppbilling.org [c9224c22-2dbf-4b47-b949-1c302b97a56b]
  660. 2023-09-16 10:55:55.989440 95.83% [DEBUG] mod_sofia.c:5121 (sofia/default/9810050099@cluster.astppbilling.org) State Change CS_NEW -> CS_INIT
  661. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_INIT (Cur 3 Tot 68)
  662. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9810050099@cluster.astppbilling.org) State INIT
  663. 2023-09-16 10:55:55.989440 95.83% [DEBUG] mod_sofia.c:97 sofia/default/9810050099@cluster.astppbilling.org SOFIA INIT
  664. 2023-09-16 10:55:55.989440 95.83% [DEBUG] sofia_glue.c:1620 sip:78.47.101.152:5073 Setting proxy route to sofia/default/9810050099@cluster.astppbilling.org
  665. 2023-09-16 10:55:55.989440 95.83% [INFO] sofia_glue.c:1651 sofia/default/9810050099@cluster.astppbilling.org sending invite call-id: (null)
  666. 2023-09-16 10:55:55.989440 95.83% [DEBUG] sofia_glue.c:1654 sofia/default/9810050099@cluster.astppbilling.org sending invite version: 1.10.7 -release 64bit
  667. Local SDP:
  668. v=0
  669. o=FreeSWITCH 1694838399 1694838400 IN IP4 167.235.194.5
  670. s=FreeSWITCH
  671. c=IN IP4 167.235.194.5
  672. t=0 0
  673. m=audio 23356 RTP/AVP 8 101
  674. a=rtpmap:8 PCMA/8000
  675. a=rtpmap:101 telephone-event/8000
  676. a=fmtp:101 0-15
  677. a=ptime:20
  678. a=sendrecv
  679.  
  680. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/9810050099@cluster.astppbilling.org Standard INIT
  681. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9810050099@cluster.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  682. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9810050099@cluster.astppbilling.org) State INIT going to sleep
  683. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 68)
  684. 2023-09-16 10:55:55.989440 95.83% [DEBUG] sofia.c:7499 Channel sofia/default/9810050099@cluster.astppbilling.org entering state [calling][0]
  685. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9810050099@cluster.astppbilling.org) State ROUTING
  686. 2023-09-16 10:55:55.989440 95.83% [DEBUG] mod_sofia.c:158 sofia/default/9810050099@cluster.astppbilling.org SOFIA ROUTING
  687. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9810050099@cluster.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  688. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9810050099@cluster.astppbilling.org) State ROUTING going to sleep
  689. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 68)
  690. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9810050099@cluster.astppbilling.org) State CONSUME_MEDIA
  691. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9810050099@cluster.astppbilling.org) State CONSUME_MEDIA going to sleep
  692. 2023-09-16 10:55:55.989440 95.83% [DEBUG] sofia.c:7499 Channel sofia/default/9810050099@cluster.astppbilling.org entering state [terminated][404]
  693. 2023-09-16 10:55:55.989440 95.83% [NOTICE] sofia.c:8738 Hangup sofia/default/9810050099@cluster.astppbilling.org [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  694. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_HANGUP (Cur 3 Tot 68)
  695. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9810050099@cluster.astppbilling.org) Callstate Change DOWN -> HANGUP
  696. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9810050099@cluster.astppbilling.org) State HANGUP
  697. 2023-09-16 10:55:55.989440 95.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/9810050099@cluster.astppbilling.org hanging up, cause: UNALLOCATED_NUMBER
  698. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/9810050099@cluster.astppbilling.org Standard HANGUP, cause: UNALLOCATED_NUMBER
  699. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9810050099@cluster.astppbilling.org) State HANGUP going to sleep
  700. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9810050099@cluster.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  701. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_REPORTING (Cur 3 Tot 68)
  702. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9810050099@cluster.astppbilling.org) State REPORTING
  703. 2023-09-16 10:55:55.989440 95.83% [INFO] mod_json_cdr.c:271 Process [c9224c22-2dbf-4b47-b949-1c302b97a56b.cdr.json]
  704. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 Standard REPORTING, cause: USER_BUSY
  705. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State REPORTING going to sleep
  706. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State Change CS_REPORTING -> CS_DESTROY
  707. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_session.c:1753 Session 67 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Locked, Waiting on external entities
  708. 2023-09-16 10:55:55.989440 95.83% [NOTICE] switch_core_session.c:1771 Session 67 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Ended
  709. 2023-09-16 10:55:55.989440 95.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 [CS_DESTROY]
  710. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) Running State Change CS_DESTROY (Cur 2 Tot 68)
  711. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State DESTROY
  712. 2023-09-16 10:55:55.989440 95.83% [DEBUG] mod_sofia.c:379 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 SOFIA DESTROY
  713. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073 Standard DESTROY
  714. 2023-09-16 10:55:55.989440 95.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4022768019@clusterguibeta3.astppbilling.org:5073) State DESTROY going to sleep
  715. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  716. 2023-09-16 10:55:56.009456 95.83% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: UNALLOCATED_NUMBER
  717. 2023-09-16 10:55:56.009456 95.83% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_BUSY This Is SIP Number : 4022768019
  718. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_recording_id] Query :SELECT  accountid,recording_id,username,SUBSTRING(dir_params, 1, 1000) AS dir_params FROM sip_devices WHERE username = '4022768019' and accountid = '16'
  719. 2023-09-16 10:55:56.009456 95.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] Check voicemail enabled :true
  720. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/9810050099@cluster.astppbilling.org Standard REPORTING, cause: UNALLOCATED_NUMBER
  721. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9810050099@cluster.astppbilling.org) State REPORTING going to sleep
  722. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  723. 2023-09-16 10:55:56.009456 95.83% [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')
  724. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9810050099@cluster.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  725. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_session.c:1753 Session 68 (sofia/default/9810050099@cluster.astppbilling.org) Locked, Waiting on external entities
  726. 2023-09-16 10:55:56.009456 95.83% [NOTICE] switch_core_session.c:1771 Session 68 (sofia/default/9810050099@cluster.astppbilling.org) Ended
  727. 2023-09-16 10:55:56.009456 95.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9810050099@cluster.astppbilling.org [CS_DESTROY]
  728. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9810050099@cluster.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 68)
  729. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9810050099@cluster.astppbilling.org) State DESTROY
  730. 2023-09-16 10:55:56.009456 95.83% [DEBUG] mod_sofia.c:379 sofia/default/9810050099@cluster.astppbilling.org SOFIA DESTROY
  731. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/9810050099@cluster.astppbilling.org Standard DESTROY
  732. 2023-09-16 10:55:56.009456 95.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9810050099@cluster.astppbilling.org) State DESTROY going to sleep
  733. 2023-09-16 10:55:56.029426 95.83% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 4022768019
  734. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_sip_devices] Query :SELECT id,name_greeting,busy_greeting,temporary_greeting,unavailable_greeting from sip_devices WHERE username = 4022768019 and accountid = 16 and status=0 LIMIT 1
  735. 2023-09-16 10:55:56.029426 95.83% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :4022768019
  736. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_core_session.c:2795 Application voicemail Requires media! pre_answering channel sofia/default/8700847196@13.232.246.166
  737. 2023-09-16 10:55:56.029426 95.83% [INFO] switch_core_session.c:2797 Sending early media
  738. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8700847196@13.232.246.166] 167.235.194.5 port 24324 -> 13.232.246.166 port 18264 codec: 8 ms: 20
  739. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  740. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_core_media.c:9089 sofia/default/8700847196@13.232.246.166 Set 2833 dtmf send payload to 101
  741. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_core_media.c:9096 sofia/default/8700847196@13.232.246.166 Set 2833 dtmf receive payload to 101
  742. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_core_media.c:9119 sofia/default/8700847196@13.232.246.166 Set rtp dtmf delay to 40
  743. 2023-09-16 10:55:56.029426 95.83% [DEBUG] mod_sofia.c:2610 Ring SDP:
  744. v=0
  745. o=FreeSWITCH 1694837432 1694837433 IN IP4 167.235.194.5
  746. s=FreeSWITCH
  747. c=IN IP4 167.235.194.5
  748. t=0 0
  749. m=audio 24324 RTP/AVP 8 101
  750. a=rtpmap:8 PCMA/8000
  751. a=rtpmap:101 telephone-event/8000
  752. a=fmtp:101 0-15
  753. a=ptime:20
  754. a=sendrecv
  755.  
  756. 2023-09-16 10:55:56.029426 95.83% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/8700847196@13.232.246.166!
  757. 2023-09-16 10:55:56.029426 95.83% [DEBUG] switch_channel.c:3622 (sofia/default/8700847196@13.232.246.166) Callstate Change RINGING -> EARLY
  758. EXECUTE [depth=0] sofia/default/8700847196@13.232.246.166 voicemail(default clusterguibeta3.astppbilling.org 4022768019)
  759. 2023-09-16 10:55:56.029426 95.83% [DEBUG] sofia.c:7499 Channel sofia/default/8700847196@13.232.246.166 entering state [early][183]
  760. 2023-09-16 10:55:56.149449 95.83% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  761. 2023-09-16 10:55:56.149449 95.83% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  762. 2023-09-16 10:55:56.169429 95.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  763. 2023-09-16 10:55:56.349458 95.83% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  764. 2023-09-16 10:55:57.509432 95.50% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  765. 2023-09-16 10:55:57.609490 95.53% [DEBUG] switch_ivr_play_say.c:250 Handle say:[4022768019] (en:en)
  766. 2023-09-16 10:55:57.609490 95.53% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  767. 2023-09-16 10:56:02.429444 94.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/4.wav!digits/0.wav!digits/2.wav!digits/2.wav!digits/7.wav!digits/6.wav!digits/8.wav!digits/0.wav!digits/1.wav!digits/9.wav
  768. 2023-09-16 10:56:02.529444 94.93% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  769. 2023-09-16 10:56:02.529444 94.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  770. 2023-09-16 10:56:03.509496 93.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  771. 2023-09-16 10:56:03.609555 93.73% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  772. 2023-09-16 10:56:03.609555 93.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  773. 2023-09-16 10:56:03.609555 93.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  774. 2023-09-16 10:56:08.209492 93.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  775. 2023-09-16 10:56:09.329447 94.43% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources!
  776. 2023-09-16 10:56:09.329447 94.43% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated
  777. 2023-09-16 10:56:09.329447 94.43% [DEBUG] switch_core_codec.c:223 sofia/default/8700847196@13.232.246.166 Push codec L16:100
  778. 2023-09-16 10:56:48.529466 96.83% [DEBUG] sofia.c:7499 Channel sofia/default/8700847196@13.232.246.166 entering state [terminated][487]
  779. 2023-09-16 10:56:48.529466 96.83% [NOTICE] sofia.c:8738 Hangup sofia/default/8700847196@13.232.246.166 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  780. 2023-09-16 10:56:48.529466 96.83% [DEBUG] switch_core_codec.c:248 sofia/default/8700847196@13.232.246.166 Restore previous codec PCMA:8.
  781. 2023-09-16 10:56:48.529466 96.83% [DEBUG] mod_voicemail.c:2832 Deliver VM to 4022768019@clusterguibeta3.astppbilling.org
  782. 2023-09-16 10:56:48.529466 96.83% [DEBUG] mod_voicemail.c:1925 Update MWI: Processing for 4022768019@clusterguibeta3.astppbilling.org in inbox
  783. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_voicemail.c:1950 Update MWI: Messages Waiting yes
  784. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_voicemail.c:1951 Update MWI: Update Reason NEW
  785. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_voicemail.c:1952 Update MWI: Message Account 4022768019@clusterguibeta3.astppbilling.org
  786. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_voicemail.c:1953 Update MWI: Voice Message 3/0
  787. 2023-09-16 10:56:48.549592 96.90% [ERR] sofia_presence.c:554 Cannot find profile clusterguibeta3.astppbilling.org
  788. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_session.c:2983 sofia/default/8700847196@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  789. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_cpp.cpp:1209 sofia/default/8700847196@13.232.246.166 destroy/unlink session from object
  790. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_session.c:2983 sofia/default/8700847196@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  791. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8700847196@13.232.246.166) State EXECUTE going to sleep
  792. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 68)
  793. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8700847196@13.232.246.166) Callstate Change EARLY -> HANGUP
  794. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8700847196@13.232.246.166) State HANGUP
  795. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_sofia.c:462 sofia/default/8700847196@13.232.246.166 Overriding SIP cause 487 with 404 from the other leg
  796. 2023-09-16 10:56:48.549592 96.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/8700847196@13.232.246.166 hanging up, cause: ORIGINATOR_CANCEL
  797. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/8700847196@13.232.246.166 Standard HANGUP, cause: ORIGINATOR_CANCEL
  798. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8700847196@13.232.246.166) State HANGUP going to sleep
  799. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8700847196@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  800. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8700847196@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 68)
  801. 2023-09-16 10:56:48.549592 96.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8700847196@13.232.246.166) State REPORTING
  802. 2023-09-16 10:56:48.549592 96.90% [INFO] mod_json_cdr.c:271 Process [03bb11cf-db72-4eff-86ff-e7b1756a2b69.cdr.json]
  803. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/8700847196@13.232.246.166 Standard REPORTING, cause: ORIGINATOR_CANCEL
  804. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8700847196@13.232.246.166) State REPORTING going to sleep
  805. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8700847196@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  806. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_session.c:1753 Session 66 (sofia/default/8700847196@13.232.246.166) Locked, Waiting on external entities
  807. 2023-09-16 10:56:48.629435 96.90% [NOTICE] switch_core_session.c:1771 Session 66 (sofia/default/8700847196@13.232.246.166) Ended
  808. 2023-09-16 10:56:48.629435 96.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8700847196@13.232.246.166 [CS_DESTROY]
  809. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8700847196@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 68)
  810. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8700847196@13.232.246.166) State DESTROY
  811. 2023-09-16 10:56:48.629435 96.90% [DEBUG] mod_sofia.c:379 sofia/default/8700847196@13.232.246.166 SOFIA DESTROY
  812. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/8700847196@13.232.246.166 Standard DESTROY
  813. 2023-09-16 10:56:48.629435 96.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8700847196@13.232.246.166) State DESTROY going to sleep
  814. freeswitch@FS1ClusterQA>
  815. freeswitch@FS1ClusterQA>
  816. freeswitch@FS1ClusterQA>
  817. freeswitch@FS1ClusterQA>
  818. freeswitch@FS1ClusterQA>
  819. freeswitch@FS1ClusterQA>
  820. freeswitch@FS1ClusterQA>
  821. freeswitch@FS1ClusterQA> /exit