From abc, 1 Year ago, written in HTML5.
- view diff
Embed
  1. root@AlphaQA:~# fs_cli -p4kwrvy2yak2gB11Eyku9 -r
  2. .=======================================================.
  3. |            _____ ____     ____ _     ___              |
  4. |           |  ___/ ___|   / ___| |   |_ _|             |
  5. |           | |_  \___ \  | |   | |    | |              |
  6. |           |  _|  ___) | | |___| |___ | |              |
  7. |           |_|   |____/   \____|_____|___|             |
  8. |                                                       |
  9. .=======================================================.
  10. | Anthony Minessale II, Ken Rice,                       |
  11. | Michael Jerris, Travis Cross                          |
  12. | FreeSWITCH (http://www.freeswitch.org)                |
  13. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  14. | Brought to you by ClueCon http://www.cluecon.com/     |
  15. .=======================================================.
  16.  
  17. .===============================================================.
  18. |       _                                                       |
  19. |   ___| |_   _  ___  ___ ___  _ __         ___ ___  _ __ ___   |
  20. |  / __| | | | |/ _ \/ __/ _ \| '_ \       / __/ _ \| '_ ` _ \  |
  21. | | (__| | |_| |  __/ (_| (_) | | | |  _  | (_| (_) | | | | | | |
  22. |  \___|_|\__,_|\___|\___\___/|_| |_| (_)  \___\___/|_| |_| |_| |
  23. |                                                               |
  24. .===============================================================.
  25.  
  26. Type /help <enter> to see a list of commands
  27.  
  28.  
  29.  
  30.  
  31. [This app Best viewed at 160x60 or more..]
  32. +OK log level  [7]
  33. 2022-12-07 11:57:32.731125 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8585065@142.132.184.134 [7eed8c82-03ac-41fb-a6b6-7edb256e3581]
  34. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_NEW (Cur 1 Tot 261)
  35. 2022-12-07 11:57:32.731125 95.53% [INFO] sofia.c:10462 sofia/default/8585065@142.132.184.134 receiving invite from 142.132.184.134:5076 version: 1.10.7 -release 64bit call-id: 2c7f5e78-f0c9-123b-91ab-9600013c8d14
  36. 2022-12-07 11:57:32.731125 95.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
  37. 2022-12-07 11:57:32.731125 95.53% [DEBUG] sofia.c:10585 IP 142.132.184.134 Approved by acl "default[]". Access Granted.
  38. 2022-12-07 11:57:32.731125 95.53% [DEBUG] sofia.c:7499 Channel sofia/default/8585065@142.132.184.134 entering state [received][100]
  39. 2022-12-07 11:57:32.731125 95.53% [DEBUG] sofia.c:7509 Remote SDP:
  40. v=0
  41. o=FreeSWITCH 1670387492 1670387493 IN IP4 142.132.184.134
  42. s=FreeSWITCH
  43. c=IN IP4 142.132.184.134
  44. t=0 0
  45. m=audio 26760 RTP/AVP 0 101
  46. a=rtpmap:0 PCMU/8000
  47. a=rtpmap:101 telephone-event/8000
  48. a=fmtp:101 0-15
  49. a=ptime:20
  50.  
  51. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  52. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  53. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  54. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  55. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8585065@142.132.184.134 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  56. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_codec.c:111 sofia/default/8585065@142.132.184.134 Original read codec set to PCMU:0
  57. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  58. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_media.c:5973 sofia/default/8585065@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
  59. 2022-12-07 11:57:32.731125 95.53% [DEBUG] sofia.c:7933 (sofia/default/8585065@142.132.184.134) State Change CS_NEW -> CS_INIT
  60. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8585065@142.132.184.134) State NEW
  61. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_INIT (Cur 1 Tot 261)
  62. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8585065@142.132.184.134) State INIT
  63. 2022-12-07 11:57:32.731125 95.53% [DEBUG] mod_sofia.c:97 sofia/default/8585065@142.132.184.134 SOFIA INIT
  64. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/8585065@142.132.184.134 Standard INIT
  65. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8585065@142.132.184.134) State Change CS_INIT -> CS_ROUTING
  66. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8585065@142.132.184.134) State INIT going to sleep
  67. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_ROUTING (Cur 1 Tot 261)
  68. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_channel.c:2380 (sofia/default/8585065@142.132.184.134) Callstate Change DOWN -> RINGING
  69. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8585065@142.132.184.134) State ROUTING
  70. 2022-12-07 11:57:32.731125 95.53% [DEBUG] mod_sofia.c:158 sofia/default/8585065@142.132.184.134 SOFIA ROUTING
  71. 2022-12-07 11:57:32.731125 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/8585065@142.132.184.134 Standard ROUTING
  72. 2022-12-07 11:57:32.731125 95.53% [INFO] mod_dialplan_xml.c:639 Processing 8585065 <8585065>->1212000 in context default
  73. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  74. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  75. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  76. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  77. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  78. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1212000
  79. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1212000' limit 1
  80. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  81. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1212000' and status=0 LIMIT 1
  82. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  83. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1212000' limit 1
  85. 2022-12-07 11:57:32.751105 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  86. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8585065 / 8585065
  87. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  88. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 121200 AND status=0 limit 1
  89. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  90. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  91. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  92. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  93. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  94. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  95. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  96. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  97. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("142.132.184.134") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1212000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  98. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999212]
  99. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999212" AND deleted = 0 limit 1
  100. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  101. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  102. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  103. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  104. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1509
  105. 2022-12-07 11:57:32.751105 95.53% [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 = '^1212000.*' OR patterns = '^121200.*' OR patterns = '^12120.*' OR patterns = '^1212.*' OR patterns = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 1509 ORDER BY LENGTH(PKGPTR.patterns) DESC
  106. 2022-12-07 11:57:32.751105 95.53% [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 ="1212000" AND A.accountid = '1509' limit 1
  107. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1212000
  108. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  109. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  110. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  111. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  112. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  113. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  114. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  115. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  116. 2022-12-07 11:57:32.751105 95.53% [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 = '1212000' OR number = '121200' OR number = '12120' OR number = '1212' OR number = '121' OR number = '12' OR number = '1' OR number ='--') OR (number = '1212000*' OR number = '121200*' OR number = '12120*' OR number = '1212*' OR number = '121*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '8585065' OR number = '858506' OR number = '85850' OR number = '8585' OR number = '858' OR number = '85' OR number = '8' OR number ='--') OR (number = '8585065*' OR number = '858506*' OR number = '85850*' OR number = '8585*' OR number = '858*' OR number = '85*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  117. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  118. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1212000' OR routing_prefix = '121200' OR routing_prefix = '12120' OR routing_prefix = '1212' OR routing_prefix = '121' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  119. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  120. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1509
  121. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999212
  122. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  123. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 455
  124. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  125. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 177
  126. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  127. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  128. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  129. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::177
  130. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  131. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  132. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  133. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  134. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  135. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  136. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  137. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 143
  138. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  139. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  140. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 60.00000
  141. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1212000
  142. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  143. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1509
  144. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  145. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  146. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your455 balance Accountid 1509 !!!
  147. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 7.5833333333333 minutes
  148. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  149. 2022-12-07 11:57:32.751105 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  150. 2022-12-07 11:57:32.751105 95.53% [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 = 1509 AND status=0 LIMIT 1
  151. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1509" AND deleted = 0 limit 1
  152. 2022-12-07 11:57:32.751105 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  153. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:1509
  154. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:1509
  155. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 1509
  156. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  157. 2022-12-07 11:57:32.771115 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha.astppbilling.org
  158. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 18
  159. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '18' and status =0 LIMIT 1
  160. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"6","no_answer_call_type":"7"}]
  161. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-09","wday":"2-6","mday":"1-31","mon":"1-12","year":"2032-2032","extensions":"1480","no_answer_call_type":"11","priority":"1"}]
  162. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  163. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "1480" limit 1
  164. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '194' LIMIT 1
  165. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:09"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2032-2032"
  166. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 7.5833333333333
  167. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  168. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  169. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  170. 2022-12-07 11:57:32.771115 95.53% [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 = "18" AND accounts.status = 0
  171. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  172. 2022-12-07 11:57:32.771115 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha.astppbilling.org
  173. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1509  and status = 0 limit 1
  174. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  175. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 18
  176. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '18' and status =0 LIMIT 1
  177. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  178. <document type="freeswitch/xml">
  179. <section name="dialplan" description="ASTPP Dialplan">
  180. <context name="default">
  181. <extension name="TCH_Third" continue="true">
  182. <condition time-of-day= "00:01-23:59" break="never">
  183. <action application="set" data="office_status=open" inline="true"/>
  184. <action application="set" data="extensions=6" inline="true"/>
  185. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  186. <action application="set" data="no_answer_call_type=7" inline="true"/>
  187. </condition>
  188. </extension>
  189. <extension name="TCH_Third" continue="true">
  190. <condition break="never">
  191. <action application="set" data="timezone=Asia/Kolkata" inline="true"/>
  192. </condition>
  193. <condition  time-of-day= "00:00-23:09"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2032-2032"  break="never">
  194. <action application="set" data="office_status=open" inline="true"/>
  195. <action application="set" data="extensions=8585066" inline="true"/>
  196. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  197. <action application="set" data="no_answer_call_type=11" inline="true"/>
  198. </condition>
  199. </extension>
  200. <extension name="tod route, x1212000">
  201. <condition field="destination_number" expression="^(\+?)?(1212000)$">
  202. <action application="execute_extension" data="1212000_${office_status}"/>
  203. </condition>
  204. </extension>
  205. <extension name="office is open">
  206. <condition field="destination_number" expression="^(\+?)?(1212000_open)$">
  207. <action application="set" data="domain_name=alpha.astppbilling.org"/>
  208. <action application="set" data="set_extensions=${extensions}"/>
  209. <action application="set" data="no_answer_flag=true"/>
  210. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  211. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  212. <action application="set" data="no_answer_number=${extensions}" />
  213. <action application="transfer" data="1509 XML default"/>
  214. </condition>
  215. </extension>
  216. <extension name="1212000">
  217. <condition field="destination_number" expression="1212000">
  218. <action application="set" data="effective_destination_number=1212000"/>
  219. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  220. <action application="set" data="bridge_pre_execute_bleg_data=+455 normal_clearing"/>
  221. <action application="set" data="notify_flag=0"/>
  222. <action application="set" data="notify_credit_limit=5.00000"/>
  223. <action application="set" data="type=0"/>
  224. <action application="set" data="callstart=2022-12-07 11:57:32"/>
  225. <action application="set" data="hangup_after_bridge=true"/>
  226. <action application="set" data="continue_on_fail=TRUE"/>
  227. <action application="set" data="account_id=1509"/>
  228. <action application="set" data="parent_id=0"/>
  229. <action application="set" data="entity_id=0"/>
  230. <action application="set" data="call_processed=internal"/>
  231. <action application="set" data="call_direction=inbound"/>
  232. <action application="set" data="accountname=beta_server"/>
  233. <action application="export" data="t38_passthru=true"/>
  234. <action application="set" data="fax_enable_t38=true"/>
  235. <action application="set" data="fax_enable_t38_request=true"/>
  236. <action application="set" data="filename1=astpp.pbx.lua"/>
  237. <action application="set" data="origination_rates_did=ID:143|CODE:^1212000.*|DESTINATION:1212000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:60.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:1509"/>
  238. <action application="set" data="origination_rates=0"/>
  239. <action application="set" data="original_caller_id_name=8585065"/>
  240. <action application="set" data="original_caller_id_number=8585065"/>
  241. <action application="export" data="is_recording=1"/>
  242. <action application="export" data="media_bug_answer_req=true"/>
  243. <action application="export" data="RECORD_STEREO=true"/>
  244. <action application="export" data="record_sample_rate=8000"/>
  245. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  246. <action application="limit" data="db 1212000 user_1212000 10 "/>
  247. <action application="set" data="effective_caller_id_name=8585065"/>
  248. <action application="set" data="effective_caller_id_number=8585065"/>
  249. <action application="set" data="receiver_accid=1509"/>
  250. <action application="set" data="did_id=143"/>
  251. <action application="set" data="transfer_call_type=4"/>
  252. <action application="set" data="transfer_extensions="/>
  253. <action application="set" data="busy_status=1"/>
  254. <action application="set" data="no_answer_status=1"/>
  255. <action application="set" data="always_status=1"/>
  256. <action application="set" data="transfer_status=1"/>
  257. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  258. <action application="set" data="variable_sip_network_ip=142.132.184.134"/>
  259. <action application="set" data="variable_sip_network_port=5076"/>
  260. <action application="export" data="domain_name=alpha.astppbilling.org"/>
  261. <action application="export" data="sip_to_host=alpha.astppbilling.org"/>
  262. <action application="limit" data="db 1212000 did_1212000 10 "/>
  263. <action application="export" data="presence_data=x|||TimeCondition_HYBRID_Testing_CUSTOMER(9999212)|||||||||DID|||142.132.184.134"/>
  264. <action application="export" data="call_type=11"/>
  265. </condition>
  266. </extension>
  267. </context>
  268. </section>
  269. </document>
  270. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->TCH_Third] continue=true
  271. Dialplan: sofia/default/8585065@142.132.184.134 Date/Time Match (PASS) [TCH_Third] break=never
  272. Dialplan: sofia/default/8585065@142.132.184.134 Action set(office_status=open) INLINE
  273. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(office_status=open)
  274. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [office_status]=[open]
  275. Dialplan: sofia/default/8585065@142.132.184.134 Action set(extensions=6) INLINE
  276. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(extensions=6)
  277. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [extensions]=[6]
  278. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_did_number=1212000) INLINE
  279. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(no_answer_did_number=1212000)
  280. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_did_number]=[1212000]
  281. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_call_type=7) INLINE
  282. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(no_answer_call_type=7)
  283. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_call_type]=[7]
  284. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->TCH_Third] continue=true
  285. Dialplan: sofia/default/8585065@142.132.184.134 Absolute Condition [TCH_Third]
  286. Dialplan: sofia/default/8585065@142.132.184.134 Action set(timezone=Asia/Kolkata) INLINE
  287. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(timezone=Asia/Kolkata)
  288. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [timezone]=[Asia/Kolkata]
  289. Dialplan: sofia/default/8585065@142.132.184.134 Date/TimeMatch (FAIL) [TCH_Third] break=never
  290. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->tod route, x1212000] continue=false
  291. Dialplan: sofia/default/8585065@142.132.184.134 Regex (PASS) [tod route, x1212000] destination_number(1212000) =~ /^(\+?)?(1212000)$/ break=on-false
  292. Dialplan: sofia/default/8585065@142.132.184.134 Action execute_extension(1212000_${office_status})
  293. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8585065@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  294. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8585065@142.132.184.134) State ROUTING going to sleep
  295. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_EXECUTE (Cur 1 Tot 261)
  296. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8585065@142.132.184.134) State EXECUTE
  297. 2022-12-07 11:57:32.771115 95.53% [DEBUG] mod_sofia.c:213 sofia/default/8585065@142.132.184.134 SOFIA EXECUTE
  298. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/8585065@142.132.184.134 Standard EXECUTE
  299. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 execute_extension(1212000_open)
  300. 2022-12-07 11:57:32.771115 95.53% [INFO] mod_dialplan_xml.c:639 Processing 8585065 <8585065>->1212000_open in context default
  301. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  302. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  303. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  304. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  305. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  306. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1212000
  307. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1212000' limit 1
  308. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  309. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1212000' and status=0 LIMIT 1
  310. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  311. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  312. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1212000' limit 1
  313. 2022-12-07 11:57:32.771115 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  314. 2022-12-07 11:57:32.771115 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8585065 / 8585065
  315. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  316. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 121200 AND status=0 limit 1
  317. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  318. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  319. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  320. 2022-12-07 11:57:32.771115 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  321. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  322. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  323. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  324. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  325. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("142.132.184.134") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1212000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  326. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999212]
  327. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999212" AND deleted = 0 limit 1
  328. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  329. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  330. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  331. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  332. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1509
  333. 2022-12-07 11:57:32.791109 95.53% [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 = '^1212000.*' OR patterns = '^121200.*' OR patterns = '^12120.*' OR patterns = '^1212.*' OR patterns = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 1509 ORDER BY LENGTH(PKGPTR.patterns) DESC
  334. 2022-12-07 11:57:32.791109 95.53% [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 ="1212000" AND A.accountid = '1509' limit 1
  335. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1212000
  336. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  337. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  338. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  339. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  340. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  341. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  342. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  343. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  344. 2022-12-07 11:57:32.791109 95.53% [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 = '1212000' OR number = '121200' OR number = '12120' OR number = '1212' OR number = '121' OR number = '12' OR number = '1' OR number ='--') OR (number = '1212000*' OR number = '121200*' OR number = '12120*' OR number = '1212*' OR number = '121*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '8585065' OR number = '858506' OR number = '85850' OR number = '8585' OR number = '858' OR number = '85' OR number = '8' OR number ='--') OR (number = '8585065*' OR number = '858506*' OR number = '85850*' OR number = '8585*' OR number = '858*' OR number = '85*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  345. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  346. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1212000' OR routing_prefix = '121200' OR routing_prefix = '12120' OR routing_prefix = '1212' OR routing_prefix = '121' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  347. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  348. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1509
  349. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999212
  350. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  351. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 455
  352. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  353. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 177
  354. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  355. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  356. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  357. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::177
  358. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  359. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  360. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  361. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  362. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  363. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  364. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  365. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 143
  366. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  367. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  368. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 60.00000
  369. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1212000
  370. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  371. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1509
  372. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  373. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  374. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your455 balance Accountid 1509 !!!
  375. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 7.5833333333333 minutes
  376. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  377. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  378. 2022-12-07 11:57:32.791109 95.53% [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 = 1509 AND status=0 LIMIT 1
  379. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1509" AND deleted = 0 limit 1
  380. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =1509
  381. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:1509
  382. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:1509
  383. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 1509
  384. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  385. 2022-12-07 11:57:32.791109 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha.astppbilling.org
  386. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 18
  387. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '18' and status =0 LIMIT 1
  388. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"6","no_answer_call_type":"7"}]
  389. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-09","wday":"2-6","mday":"1-31","mon":"1-12","year":"2032-2032","extensions":"1480","no_answer_call_type":"11","priority":"1"}]
  390. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  391. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "1480" limit 1
  392. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '194' LIMIT 1
  393. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:09"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2032-2032"
  394. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 7.5833333333333
  395. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  396. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  397. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  398. 2022-12-07 11:57:32.791109 95.53% [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 = "18" AND accounts.status = 0
  399. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  400. 2022-12-07 11:57:32.791109 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha.astppbilling.org
  401. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1509  and status = 0 limit 1
  402. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  403. 2022-12-07 11:57:32.791109 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 18
  404. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '18' and status =0 LIMIT 1
  405. 2022-12-07 11:57:32.791109 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  406. <document type="freeswitch/xml">
  407. <section name="dialplan" description="ASTPP Dialplan">
  408. <context name="default">
  409. <extension name="TCH_Third" continue="true">
  410. <condition time-of-day= "00:01-23:59" break="never">
  411. <action application="set" data="office_status=open" inline="true"/>
  412. <action application="set" data="extensions=6" inline="true"/>
  413. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  414. <action application="set" data="no_answer_call_type=7" inline="true"/>
  415. </condition>
  416. </extension>
  417. <extension name="TCH_Third" continue="true">
  418. <condition break="never">
  419. <action application="set" data="timezone=Asia/Kolkata" inline="true"/>
  420. </condition>
  421. <condition  time-of-day= "00:00-23:09"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2032-2032"  break="never">
  422. <action application="set" data="office_status=open" inline="true"/>
  423. <action application="set" data="extensions=8585066" inline="true"/>
  424. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  425. <action application="set" data="no_answer_call_type=11" inline="true"/>
  426. </condition>
  427. </extension>
  428. <extension name="tod route, x1212000">
  429. <condition field="destination_number" expression="^(\+?)?(1212000)$">
  430. <action application="execute_extension" data="1212000_${office_status}"/>
  431. </condition>
  432. </extension>
  433. <extension name="office is open">
  434. <condition field="destination_number" expression="^(\+?)?(1212000_open)$">
  435. <action application="set" data="domain_name=alpha.astppbilling.org"/>
  436. <action application="set" data="set_extensions=${extensions}"/>
  437. <action application="set" data="no_answer_flag=true"/>
  438. <action application="set" data="no_answer_did_number=1212000" inline="true"/>
  439. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  440. <action application="set" data="no_answer_number=${extensions}" />
  441. <action application="transfer" data="1509 XML default"/>
  442. </condition>
  443. </extension>
  444. <extension name="1212000">
  445. <condition field="destination_number" expression="1212000">
  446. <action application="set" data="effective_destination_number=1212000"/>
  447. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  448. <action application="set" data="bridge_pre_execute_bleg_data=+455 normal_clearing"/>
  449. <action application="set" data="notify_flag=0"/>
  450. <action application="set" data="notify_credit_limit=5.00000"/>
  451. <action application="set" data="type=0"/>
  452. <action application="set" data="callstart=2022-12-07 11:57:32"/>
  453. <action application="set" data="hangup_after_bridge=true"/>
  454. <action application="set" data="continue_on_fail=TRUE"/>
  455. <action application="set" data="account_id=1509"/>
  456. <action application="set" data="parent_id=0"/>
  457. <action application="set" data="entity_id=0"/>
  458. <action application="set" data="call_processed=internal"/>
  459. <action application="set" data="call_direction=inbound"/>
  460. <action application="set" data="accountname=beta_server"/>
  461. <action application="export" data="t38_passthru=true"/>
  462. <action application="set" data="fax_enable_t38=true"/>
  463. <action application="set" data="fax_enable_t38_request=true"/>
  464. <action application="set" data="filename1=astpp.pbx.lua"/>
  465. <action application="set" data="origination_rates_did=ID:143|CODE:^1212000.*|DESTINATION:1212000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:60.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:1509"/>
  466. <action application="set" data="origination_rates=0"/>
  467. <action application="set" data="original_caller_id_name=8585065"/>
  468. <action application="set" data="original_caller_id_number=8585065"/>
  469. <action application="export" data="is_recording=1"/>
  470. <action application="export" data="media_bug_answer_req=true"/>
  471. <action application="export" data="RECORD_STEREO=true"/>
  472. <action application="export" data="record_sample_rate=8000"/>
  473. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  474. <action application="limit" data="db 1212000 user_1212000 10 "/>
  475. <action application="set" data="effective_caller_id_name=8585065"/>
  476. <action application="set" data="effective_caller_id_number=8585065"/>
  477. <action application="set" data="receiver_accid=1509"/>
  478. <action application="set" data="did_id=143"/>
  479. <action application="set" data="transfer_call_type=4"/>
  480. <action application="set" data="transfer_extensions="/>
  481. <action application="set" data="busy_status=1"/>
  482. <action application="set" data="no_answer_status=1"/>
  483. <action application="set" data="always_status=1"/>
  484. <action application="set" data="transfer_status=1"/>
  485. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  486. <action application="set" data="variable_sip_network_ip=142.132.184.134"/>
  487. <action application="set" data="variable_sip_network_port=5076"/>
  488. <action application="export" data="domain_name=alpha.astppbilling.org"/>
  489. <action application="export" data="sip_to_host=alpha.astppbilling.org"/>
  490. <action application="limit" data="db 1212000 did_1212000 10 "/>
  491. <action application="export" data="presence_data=x|||TimeCondition_HYBRID_Testing_CUSTOMER(9999212)|||||||||DID|||142.132.184.134"/>
  492. <action application="export" data="call_type=11"/>
  493. </condition>
  494. </extension>
  495. </context>
  496. </section>
  497. </document>
  498. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->TCH_Third] continue=true
  499. Dialplan: sofia/default/8585065@142.132.184.134 Date/Time Match (PASS) [TCH_Third] break=never
  500. Dialplan: sofia/default/8585065@142.132.184.134 Action set(office_status=open) INLINE
  501. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(office_status=open)
  502. 2022-12-07 11:57:32.791109 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [office_status]=[open]
  503. Dialplan: sofia/default/8585065@142.132.184.134 Action set(extensions=6) INLINE
  504. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(extensions=6)
  505. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [extensions]=[6]
  506. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_did_number=1212000) INLINE
  507. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_did_number=1212000)
  508. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_did_number]=[1212000]
  509. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_call_type=7) INLINE
  510. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_call_type=7)
  511. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_call_type]=[7]
  512. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->TCH_Third] continue=true
  513. Dialplan: sofia/default/8585065@142.132.184.134 Absolute Condition [TCH_Third]
  514. Dialplan: sofia/default/8585065@142.132.184.134 Action set(timezone=Asia/Kolkata) INLINE
  515. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(timezone=Asia/Kolkata)
  516. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [timezone]=[Asia/Kolkata]
  517. Dialplan: sofia/default/8585065@142.132.184.134 Date/TimeMatch (FAIL) [TCH_Third] break=never
  518. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->tod route, x1212000] continue=false
  519. Dialplan: sofia/default/8585065@142.132.184.134 Regex (FAIL) [tod route, x1212000] destination_number(1212000_open) =~ /^(\+?)?(1212000)$/ break=on-false
  520. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->office is open] continue=false
  521. Dialplan: sofia/default/8585065@142.132.184.134 Regex (PASS) [office is open] destination_number(1212000_open) =~ /^(\+?)?(1212000_open)$/ break=on-false
  522. Dialplan: sofia/default/8585065@142.132.184.134 Action set(domain_name=alpha.astppbilling.org)
  523. Dialplan: sofia/default/8585065@142.132.184.134 Action set(set_extensions=${extensions})
  524. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_flag=true)
  525. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_did_number=1212000) INLINE
  526. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_did_number=1212000)
  527. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_did_number]=[1212000]
  528. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_call_type=${no_answer_call_type})
  529. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_number=${extensions})
  530. Dialplan: sofia/default/8585065@142.132.184.134 Action transfer(1509 XML default)
  531. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(domain_name=alpha.astppbilling.org)
  532. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(domain_name=alpha.astppbilling.org)
  533. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [domain_name]=[alpha.astppbilling.org]
  534. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(set_extensions=${extensions})
  535. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(set_extensions=6)
  536. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [set_extensions]=[6]
  537. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_flag=true)
  538. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_flag=true)
  539. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_flag]=[true]
  540. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  541. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_call_type=7)
  542. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_call_type]=[7]
  543. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_number=${extensions})
  544. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 set(no_answer_number=6)
  545. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_number]=[6]
  546. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] transfer(1509 XML default)
  547. EXECUTE [depth=1] sofia/default/8585065@142.132.184.134 transfer(1509 XML default)
  548. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_ivr.c:2289 (sofia/default/8585065@142.132.184.134) State Change CS_EXECUTE -> CS_ROUTING
  549. 2022-12-07 11:57:32.811107 95.53% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/8585065@142.132.184.134 to XML[1509@default]
  550. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8585065@142.132.184.134) State EXECUTE going to sleep
  551. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_ROUTING (Cur 1 Tot 261)
  552. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8585065@142.132.184.134) State ROUTING
  553. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  554. 2022-12-07 11:57:32.811107 95.53% [DEBUG] mod_sofia.c:158 sofia/default/8585065@142.132.184.134 SOFIA ROUTING
  555. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/8585065@142.132.184.134 Standard ROUTING
  556. 2022-12-07 11:57:32.811107 95.53% [INFO] mod_dialplan_xml.c:639 Processing 8585065 <8585065>->1509 in context default
  557. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  558. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  559. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  560. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  561. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  562. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1509
  563. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1509' limit 1
  564. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  565. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1509' and status=0 LIMIT 1
  566. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  567. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  568. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1509' limit 1
  569. 2022-12-07 11:57:32.811107 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  570. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8585065 / 8585065
  571. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  572. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1509 AND status=0 limit 1
  573. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  574. 2022-12-07 11:57:32.811107 95.53% [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="1509"  AND domains.domain="168.119.48.166" limit 1
  575. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  576. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("142.132.184.134") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1509"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  577. 2022-12-07 11:57:32.811107 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999212]
  578. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999212" AND deleted = 0 limit 1
  579. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1509.*' OR blocked_patterns = '^150.*' OR blocked_patterns = '^15.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 1509 limit 1
  580. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  581. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :1212000
  582. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  583. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1212000" LIMIT 1
  584. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  585. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1509" and did_id ="143" and number ="8585065" and status = '0' LIMIT 1
  586. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :1509
  587. 2022-12-07 11:57:32.811107 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1509" AND deleted = 0 limit 1
  588. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1509.*' OR blocked_patterns = '^150.*' OR blocked_patterns = '^15.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 1509 limit 1
  589. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :1509
  590. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  591. 2022-12-07 11:57:32.831100 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainalpha.astppbilling.org
  592. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  593. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  594. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '1509' LIMIT 1
  595. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  596. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  597. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  598. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 6 and status = 0 LIMIT 1
  599. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  600. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  601. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  602. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1509 limit 1
  603. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  604. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  605. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  606. 2022-12-07 11:57:32.831100 95.53% [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="8585067"  AND domains.domain="alpha.astppbilling.org" limit 1
  607. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8585067"
  608. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  609. 2022-12-07 11:57:32.831100 95.53% [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="8585067"  AND domains.domain="alpha.astppbilling.org" limit 1
  610. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  611. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=45,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=8585067,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=45,leg_delay_start=0]user/8585067@alpha.astppbilling.org|
  612. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  613. 2022-12-07 11:57:32.831100 95.53% [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
  614. 2022-12-07 11:57:32.831100 95.53% [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
  615. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  616. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  617. <document type="freeswitch/xml">
  618. <section name="dialplan" description="ASTPP Dialplan">
  619. <context name="default">
  620. <extension name="1509">
  621. <condition field="destination_number" expression="1509">
  622. <action application="export" data="did_user_domain=168.119.48.166"/>
  623. <action application="set" data="continue_on_fail=TRUE"/>
  624. <action application="set" data="ignore_early_media=true"/>
  625. <action application="set" data="no_answer_flag=false"/>
  626. <action application="set" data="did_calltype=7"/>
  627. <action application="set" data="did_extensions=6"/>
  628. <action application="export" data="is_recording=1"/>
  629. <action application="export" data="media_bug_answer_req=true"/>
  630. <action application="export" data="RECORD_STEREO=true"/>
  631. <action application="export" data="record_sample_rate=8000"/>
  632. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  633. <action application="set" data="group_confirm_key=exec"/>
  634. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  635. <action application="set" data="ringback="/>
  636. <action application="set" data="module_name=pbx"/>
  637. <action application="db" data="insert/pickup_any_group_${callgroup}/6/${uuid}"/>
  638. <action application="set" data="dialed_extension=transfer_call"/>
  639. <action application="export" data="dialed_extension=transfer_call"/>
  640. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  641. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  642. <action application="export" data="ring_group_transfer=true"/>
  643. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  644. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=45,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=8585067,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=45,leg_delay_start=0]user/8585067@alpha.astppbilling.org|"/>
  645. <action application="set" data="original_did_number=1509"/>
  646. </condition>
  647. </extension>
  648. </context>
  649. </section>
  650. </document>
  651. Dialplan: sofia/default/8585065@142.132.184.134 parsing [default->1509] continue=false
  652. Dialplan: sofia/default/8585065@142.132.184.134 Regex (PASS) [1509] destination_number(1509) =~ /1509/ break=on-false
  653. Dialplan: sofia/default/8585065@142.132.184.134 Action export(did_user_domain=168.119.48.166)
  654. Dialplan: sofia/default/8585065@142.132.184.134 Action set(continue_on_fail=TRUE)
  655. Dialplan: sofia/default/8585065@142.132.184.134 Action set(ignore_early_media=true)
  656. Dialplan: sofia/default/8585065@142.132.184.134 Action set(no_answer_flag=false)
  657. Dialplan: sofia/default/8585065@142.132.184.134 Action set(did_calltype=7)
  658. Dialplan: sofia/default/8585065@142.132.184.134 Action set(did_extensions=6)
  659. Dialplan: sofia/default/8585065@142.132.184.134 Action export(is_recording=1)
  660. Dialplan: sofia/default/8585065@142.132.184.134 Action export(media_bug_answer_req=true)
  661. Dialplan: sofia/default/8585065@142.132.184.134 Action export(RECORD_STEREO=true)
  662. Dialplan: sofia/default/8585065@142.132.184.134 Action export(record_sample_rate=8000)
  663. Dialplan: sofia/default/8585065@142.132.184.134 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  664. Dialplan: sofia/default/8585065@142.132.184.134 Action set(group_confirm_key=exec)
  665. Dialplan: sofia/default/8585065@142.132.184.134 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  666. Dialplan: sofia/default/8585065@142.132.184.134 Action set(ringback=)
  667. Dialplan: sofia/default/8585065@142.132.184.134 Action set(module_name=pbx)
  668. Dialplan: sofia/default/8585065@142.132.184.134 Action db(insert/pickup_any_group_${callgroup}/6/${uuid})
  669. Dialplan: sofia/default/8585065@142.132.184.134 Action set(dialed_extension=transfer_call)
  670. Dialplan: sofia/default/8585065@142.132.184.134 Action export(dialed_extension=transfer_call)
  671. Dialplan: sofia/default/8585065@142.132.184.134 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  672. Dialplan: sofia/default/8585065@142.132.184.134 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  673. Dialplan: sofia/default/8585065@142.132.184.134 Action export(ring_group_transfer=true)
  674. Dialplan: sofia/default/8585065@142.132.184.134 Action set(fail_on_single_reject=CALL_REJECTED)
  675. Dialplan: sofia/default/8585065@142.132.184.134 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=45,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=8585067,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=45,leg_delay_start=0]user/8585067@alpha.astppbilling.org|)
  676. Dialplan: sofia/default/8585065@142.132.184.134 Action set(original_did_number=1509)
  677. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8585065@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  678. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8585065@142.132.184.134) State ROUTING going to sleep
  679. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_EXECUTE (Cur 1 Tot 261)
  680. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8585065@142.132.184.134) State EXECUTE
  681. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_sofia.c:213 sofia/default/8585065@142.132.184.134 SOFIA EXECUTE
  682. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/8585065@142.132.184.134 Standard EXECUTE
  683. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(did_user_domain=168.119.48.166)
  684. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[168.119.48.166]
  685. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(continue_on_fail=TRUE)
  686. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [continue_on_fail]=[TRUE]
  687. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(ignore_early_media=true)
  688. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [ignore_early_media]=[true]
  689. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(no_answer_flag=false)
  690. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [no_answer_flag]=[false]
  691. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(did_calltype=7)
  692. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [did_calltype]=[7]
  693. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(did_extensions=6)
  694. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [did_extensions]=[6]
  695. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(is_recording=1)
  696. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  697. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(media_bug_answer_req=true)
  698. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  699. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(RECORD_STEREO=true)
  700. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  701. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(record_sample_rate=8000)
  702. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  703. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav)
  704. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav]
  705. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(group_confirm_key=exec)
  706. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [group_confirm_key]=[exec]
  707. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  708. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  709. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(ringback=)
  710. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [ringback]=[UNDEF]
  711. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(module_name=pbx)
  712. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [module_name]=[pbx]
  713. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 db(insert/pickup_any_group_/6/7eed8c82-03ac-41fb-a6b6-7edb256e3581)
  714. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(dialed_extension=transfer_call)
  715. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [dialed_extension]=[transfer_call]
  716. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(dialed_extension=transfer_call)
  717. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  718. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  719. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  720. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  721. 2022-12-07 11:57:32.831100 95.53% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  722. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 export(ring_group_transfer=true)
  723. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  724. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(fail_on_single_reject=CALL_REJECTED)
  725. 2022-12-07 11:57:32.831100 95.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [fail_on_single_reject]=[CALL_REJECTED]
  726. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=45,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=8585067,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=45,leg_delay_start=0]user/8585067@alpha.astppbilling.org|)
  727. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [did_user_domain]=[168.119.48.166] to event
  728. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [is_recording]=[1] to event
  729. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  730. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  731. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  732. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav] to event
  733. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  734. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  735. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  736. 2022-12-07 11:57:32.831100 95.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  737. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [did_user_domain]=[168.119.48.166] to event
  738. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [is_recording]=[1] to event
  739. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  740. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  741. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  742. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav] to event
  743. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  744. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_channel.c:1269 sofia/default/8585065@142.132.184.134 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  745. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  746. 2022-12-07 11:57:32.851129 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid [7cd390a3-1da6-4148-8aaa-2347cae9d3ed]
  747. 2022-12-07 11:57:32.851129 95.53% [DEBUG] mod_sofia.c:5121 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State Change CS_NEW -> CS_INIT
  748. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_ivr_originate.c:3151 sofia/default/mq8kppdd@0qnlthd007hn.invalid Setting leg timeout to 45
  749. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_INIT (Cur 2 Tot 262)
  750. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State INIT
  751. 2022-12-07 11:57:32.851129 95.53% [DEBUG] mod_sofia.c:97 sofia/default/mq8kppdd@0qnlthd007hn.invalid SOFIA INIT
  752. 2022-12-07 11:57:32.851129 95.53% [DEBUG] sofia_glue.c:1620 sip:mq8kppdd@59.95.250.178:55152;transport=wss Setting proxy route to sofia/default/mq8kppdd@0qnlthd007hn.invalid
  753. 2022-12-07 11:57:32.851129 95.53% [INFO] sofia_glue.c:1651 sofia/default/mq8kppdd@0qnlthd007hn.invalid sending invite call-id: (null)
  754. 2022-12-07 11:57:32.851129 95.53% [DEBUG] sofia_glue.c:1654 sofia/default/mq8kppdd@0qnlthd007hn.invalid sending invite version: 1.10.7 -release 64bit
  755. Local SDP:
  756. v=0
  757. o=FreeSWITCH 1670387430 1670387431 IN IP4 168.119.48.166
  758. s=FreeSWITCH
  759. c=IN IP4 168.119.48.166
  760. t=0 0
  761. a=msid-semantic: WMS qtaZRvsmCCG9MccK8t2414oRfS2RE6UV
  762. m=audio 26822 RTP/SAVPF 0 101
  763. a=rtpmap:0 PCMU/8000
  764. a=rtpmap:101 telephone-event/8000
  765. a=fingerprint:sha-256 23:43:1C:82:B1:38:03:52:33:CA:54:A5:01:9D:46:33:DE:F0:C7:B0:89:19:63:1D:16:B9:EF:59:30:88:61:8E
  766. a=setup:actpass
  767. a=rtcp-mux
  768. a=rtcp:26822 IN IP4 168.119.48.166
  769. a=ssrc:1068645460 cname:qUL7g4kJwQI8TKIR
  770. a=ssrc:1068645460 msid:qtaZRvsmCCG9MccK8t2414oRfS2RE6UV a0
  771. a=ssrc:1068645460 mslabel:qtaZRvsmCCG9MccK8t2414oRfS2RE6UV
  772. a=ssrc:1068645460 label:qtaZRvsmCCG9MccK8t2414oRfS2RE6UVa0
  773. a=ice-ufrag:4AMVv0DBIvids3ZJ
  774. a=ice-pwd:OAHUuRuQy2OhDnZxOBj9sMB1
  775. a=candidate:8402140855 1 udp 2130706431 168.119.48.166 26822 typ host generation 0
  776. a=candidate:8402140855 2 udp 2130706431 168.119.48.166 26822 typ host generation 0
  777. a=ptime:20
  778. a=sendrecv
  779.  
  780. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/mq8kppdd@0qnlthd007hn.invalid Standard INIT
  781. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State Change CS_INIT -> CS_ROUTING
  782. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State INIT going to sleep
  783. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_ROUTING (Cur 2 Tot 262)
  784. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State ROUTING
  785. 2022-12-07 11:57:32.851129 95.53% [DEBUG] mod_sofia.c:158 sofia/default/mq8kppdd@0qnlthd007hn.invalid SOFIA ROUTING
  786. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  787. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State ROUTING going to sleep
  788. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 262)
  789. 2022-12-07 11:57:32.851129 95.53% [DEBUG] sofia.c:7499 Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid entering state [calling][0]
  790. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State CONSUME_MEDIA
  791. 2022-12-07 11:57:32.851129 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State CONSUME_MEDIA going to sleep
  792. 2022-12-07 11:57:33.171114 95.53% [DEBUG] sofia.c:7499 Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid entering state [proceeding][180]
  793. 2022-12-07 11:57:33.171114 95.53% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/mq8kppdd@0qnlthd007hn.invalid!
  794. 2022-12-07 11:57:33.171114 95.53% [DEBUG] switch_channel.c:3494 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Callstate Change DOWN -> RINGING
  795. 2022-12-07 11:57:33.171114 95.53% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8585065@142.132.184.134!
  796. 2022-12-07 11:57:33.171114 95.53% [DEBUG] sofia.c:7499 Channel sofia/default/8585065@142.132.184.134 entering state [early][180]
  797. 2022-12-07 11:57:33.171114 95.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8585065@142.132.184.134!
  798. 2022-12-07 11:57:34.711104 96.63% [DEBUG] sofia.c:7499 Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid entering state [completing][200]
  799. 2022-12-07 11:57:34.711104 96.63% [DEBUG] sofia.c:7509 Remote SDP:
  800. v=0
  801. o=- 8283564121852847799 2 IN IP4 127.0.0.1
  802. s=-
  803. t=0 0
  804. a=msid-semantic: WMS 7O90mG0VuLp1RE4kZxdj9zq66Odhlc1XXP67
  805. m=audio 51026 UDP/TLS/RTP/SAVPF 0 101
  806. c=IN IP4 59.95.250.178
  807. a=rtpmap:0 PCMU/8000
  808. a=rtpmap:101 telephone-event/8000
  809. a=rtcp:9 IN IP4 0.0.0.0
  810. a=candidate:739738413 1 udp 2122260223 192.168.1.4 51025 typ host generation 0 network-id 1 network-cost 10
  811. a=candidate:4145324908 1 udp 1686052607 59.95.250.178 51026 typ srflx raddr 192.168.1.4 rport 51025 generation 0 network-id 1 network-cost 10
  812. a=candidate:3535624121 1 tcp 1518280447 192.168.1.4 9 typ host tcptype active generation 0 network-id 1 network-cost 10
  813. a=ice-ufrag:UXlj
  814. a=ice-pwd:VDEFXG+18Sa3GyVD9rB3nks7
  815. a=ice-options:trickle
  816. a=fingerprint:sha-256 54:79:B7:81:7E:8F:F0:72:57:EF:31:A5:80:C8:3D:4C:D0:2B:51:81:D0:75:71:07:BE:AF:45:1C:E6:81:78:0C
  817. a=setup:active
  818. a=mid:0
  819. a=rtcp-mux
  820. a=ssrc:2413461165 cname:d2kpKIRIlpzyH3XE
  821. a=ssrc:2413461165 msid:7O90mG0VuLp1RE4kZxdj9zq66Odhlc1XXP67 49bc1f21-0080-4d09-b538-c6bc6a5625e5
  822.  
  823. 2022-12-07 11:57:34.711104 96.63% [DEBUG] sofia.c:7499 Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid entering state [ready][200]
  824. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  825. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  826. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  827. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/mq8kppdd@0qnlthd007hn.invalid PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  828. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_codec.c:111 sofia/default/mq8kppdd@0qnlthd007hn.invalid Original read codec set to PCMU:0
  829. 2022-12-07 11:57:34.711104 96.63% [WARNING] switch_core_media.c:4293 NO candidate ACL defined, Defaulting to wan.auto
  830. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4344 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.1.4:51025
  831. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4344 Save audio Candidate cid: 1 proto: udp type: srflx addr: 59.95.250.178:51026
  832. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4389 Searching for rtp candidate.
  833. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4398 Choose rtp candidate, index 1, 59.95.250.178:51026
  834. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4138 sofia/default/mq8kppdd@0qnlthd007hn.invalid choosing family v4
  835. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4409 Choose same candidate, index 0, for rtcp based on rtcp-mux attribute 59.95.250.178:51026
  836. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4461 setting remote audio ice addr to index 1 59.95.250.178:51026 based on candidate
  837. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:4496 Setting remote rtcp audio addr to 59.95.250.178:51026 based on candidate
  838. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  839. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:5973 sofia/default/mq8kppdd@0qnlthd007hn.invalid Set 2833 dtmf send payload to 101 recv payload to 101
  840. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/mq8kppdd@0qnlthd007hn.invalid] 168.119.48.166 port 26822 -> 59.95.250.178 port 51026 codec: 0 ms: 20
  841. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  842. 2022-12-07 11:57:34.711104 96.63% [INFO] switch_core_media.c:8957 Activating Audio ICE
  843. 2022-12-07 11:57:34.711104 96.63% [NOTICE] switch_rtp.c:5122 Activating RTP audio ICE: UXlj:4AMVv0DBIvids3ZJ 59.95.250.178:51026
  844. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 51026
  845. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 51026
  846. 2022-12-07 11:57:34.711104 96.63% [INFO] switch_core_media.c:9008 Skipping RTCP ICE (Same as RTP)
  847. 2022-12-07 11:57:34.711104 96.63% [INFO] switch_rtp.c:3913 Activate RTP/RTCP audio DTLS server
  848. 2022-12-07 11:57:34.711104 96.63% [INFO] switch_rtp.c:4096 Changing audio DTLS state from OFF to HANDSHAKE
  849. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:9089 sofia/default/mq8kppdd@0qnlthd007hn.invalid Set 2833 dtmf send payload to 101
  850. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:9096 sofia/default/mq8kppdd@0qnlthd007hn.invalid Set 2833 dtmf receive payload to 101
  851. 2022-12-07 11:57:34.711104 96.63% [DEBUG] switch_core_media.c:9119 sofia/default/mq8kppdd@0qnlthd007hn.invalid Set rtp dtmf delay to 40
  852. 2022-12-07 11:57:34.711104 96.63% [NOTICE] sofia.c:8683 Channel [sofia/default/mq8kppdd@0qnlthd007hn.invalid] has been answered
  853. EXECUTE [depth=1] sofia/default/mq8kppdd@0qnlthd007hn.invalid record_session(/usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav)
  854. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  855. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/mq8kppdd@0qnlthd007hn.invalid
  856. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_channel.c:3950 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Callstate Change RINGING -> ACTIVE
  857. EXECUTE [depth=0] sofia/default/mq8kppdd@0qnlthd007hn.invalid lua(/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  858. 2022-12-07 11:57:34.731111 96.63% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm flag :true
  859. 2022-12-07 11:57:34.731111 96.63% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: true
  860. 2022-12-07 11:57:34.731111 96.63% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group prompt :: astpp-prompt.wav ::
  861. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000
  862. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  863. 2022-12-07 11:57:34.731111 96.63% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  864. 2022-12-07 11:57:34.771106 96.63% [NOTICE] switch_rtp.c:1314 Auto Changing audio stun/rtp/dtls port from 59.95.250.178:51026 to 59.95.250.178:51025 idx:1
  865. 2022-12-07 11:57:35.091115 96.63% [INFO] switch_rtp.c:3425 Changing audio DTLS state from HANDSHAKE to SETUP
  866. 2022-12-07 11:57:35.111112 96.63% [INFO] switch_rtp.c:3332 audio Fingerprint Verified.
  867. 2022-12-07 11:57:35.111112 96.63% [INFO] switch_rtp.c:4423 Activating audio Secure RTP SEND
  868. 2022-12-07 11:57:35.111112 96.63% [INFO] switch_rtp.c:4401 Activating audio Secure RTP RECV
  869. 2022-12-07 11:57:35.111112 96.63% [DEBUG] switch_core_sqldb.c:2778 Secure Type: srtp:dtls:AES_CM_128_HMAC_SHA1_80
  870. 2022-12-07 11:57:35.111112 96.63% [INFO] switch_rtp.c:3374 Changing audio DTLS state from SETUP to READY
  871. 2022-12-07 11:57:35.111112 96.63% [DEBUG] switch_core_sqldb.c:2778 Secure Type: srtp:dtls:AES_CM_128_HMAC_SHA1_80
  872. 2022-12-07 11:57:35.311111 97.00% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  873. 2022-12-07 11:57:35.331130 97.00% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[2413461165] base_seq[8780]
  874. 2022-12-07 11:57:40.611111 97.13% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  875. 2022-12-07 11:57:40.611111 97.13% [DEBUG] switch_ivr.c:1385 Codec Activated L16@8000hz 1 channels 20ms
  876. 2022-12-07 11:57:41.211112 97.10% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000
  877. 2022-12-07 11:57:41.211112 97.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  878. 2022-12-07 11:57:44.051112 97.10% [NOTICE] sofia.c:1065 Hangup sofia/default/mq8kppdd@0qnlthd007hn.invalid [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
  879. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_HANGUP (Cur 2 Tot 262)
  880. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/7eed8c82-03ac-41fb-a6b6-7edb256e3581.wav
  881. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  882. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/mq8kppdd@0qnlthd007hn.invalid
  883. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Callstate Change ACTIVE -> HANGUP
  884. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State HANGUP
  885. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid hanging up, cause: NORMAL_CLEARING
  886. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/mq8kppdd@0qnlthd007hn.invalid Standard HANGUP, cause: NORMAL_CLEARING
  887. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State HANGUP going to sleep
  888. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State Change CS_HANGUP -> CS_REPORTING
  889. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_REPORTING (Cur 2 Tot 262)
  890. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State REPORTING
  891. 2022-12-07 11:57:44.051112 97.10% [INFO] mod_json_cdr.c:271 Process [7cd390a3-1da6-4148-8aaa-2347cae9d3ed.cdr.json]
  892. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]
  893. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [NORMAL_CLEARING]
  894. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]
  895. 2022-12-07 11:57:44.051112 97.10% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_CLEARING
  896. EXECUTE [depth=0] sofia/default/8585065@142.132.184.134 set(original_did_number=1509)
  897. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/8585065@142.132.184.134 [original_did_number]=[1509]
  898. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_core_state_machine.c:382 sofia/default/8585065@142.132.184.134 has executed the last dialplan instruction, hanging up.
  899. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8585065@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
  900. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8585065@142.132.184.134) State EXECUTE going to sleep
  901. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 262)
  902. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8585065@142.132.184.134) Callstate Change RINGING -> HANGUP
  903. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8585065@142.132.184.134) State HANGUP
  904. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_sofia.c:462 sofia/default/8585065@142.132.184.134 Overriding SIP cause 480 with 200 from the other leg
  905. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/8585065@142.132.184.134 hanging up, cause: NORMAL_CLEARING
  906. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 200
  907. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/8585065@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
  908. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8585065@142.132.184.134) State HANGUP going to sleep
  909. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8585065@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
  910. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8585065@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 262)
  911. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8585065@142.132.184.134) State REPORTING
  912. 2022-12-07 11:57:44.051112 97.10% [INFO] mod_json_cdr.c:271 Process [7eed8c82-03ac-41fb-a6b6-7edb256e3581.cdr.json]
  913. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  914. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm get digit :
  915. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  916. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_cpp.cpp:1209 sofia/default/mq8kppdd@0qnlthd007hn.invalid destroy/unlink session from object
  917. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_session.c:2983 sofia/default/mq8kppdd@0qnlthd007hn.invalid skip receive message [PHONE_EVENT] (channel is hungup already)
  918. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/8585065@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
  919. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8585065@142.132.184.134) State REPORTING going to sleep
  920. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8585065@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
  921. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_session.c:1753 Session 261 (sofia/default/8585065@142.132.184.134) Locked, Waiting on external entities
  922. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_core_session.c:1771 Session 261 (sofia/default/8585065@142.132.184.134) Ended
  923. 2022-12-07 11:57:44.051112 97.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8585065@142.132.184.134 [CS_DESTROY]
  924. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8585065@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 262)
  925. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8585065@142.132.184.134) State DESTROY
  926. 2022-12-07 11:57:44.051112 97.10% [DEBUG] mod_sofia.c:379 sofia/default/8585065@142.132.184.134 SOFIA DESTROY
  927. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/8585065@142.132.184.134 Standard DESTROY
  928. 2022-12-07 11:57:44.051112 97.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8585065@142.132.184.134) State DESTROY going to sleep
  929. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/mq8kppdd@0qnlthd007hn.invalid Standard REPORTING, cause: NORMAL_CLEARING
  930. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State REPORTING going to sleep
  931. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State Change CS_REPORTING -> CS_DESTROY
  932. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_session.c:1753 Session 262 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Locked, Waiting on external entities
  933. 2022-12-07 11:57:44.491104 97.07% [NOTICE] switch_core_session.c:1771 Session 262 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Ended
  934. 2022-12-07 11:57:44.491104 97.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/mq8kppdd@0qnlthd007hn.invalid [CS_DESTROY]
  935. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) Running State Change CS_DESTROY (Cur 0 Tot 262)
  936. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State DESTROY
  937. 2022-12-07 11:57:44.491104 97.07% [DEBUG] mod_sofia.c:379 sofia/default/mq8kppdd@0qnlthd007hn.invalid SOFIA DESTROY
  938. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/mq8kppdd@0qnlthd007hn.invalid Standard DESTROY
  939. 2022-12-07 11:57:44.491104 97.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/mq8kppdd@0qnlthd007hn.invalid) State DESTROY going to sleep