From Danilo, 1 Year ago, written in Plain Text.
- view diff
Embed
  1. +OK log level  [7]
  2. 2023-02-03 09:31:13.591253 96.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3438233779@187.60.60.161 [51d615e8-d82d-40a7-a813-7ca7a8eadbd4]
  3. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_NEW (Cur 1 Tot 48)
  4. 2023-02-03 09:31:13.591253 96.43% [INFO] sofia.c:10462 sofia/default/3438233779@187.60.60.161 receiving invite from 187.60.60.161:5060 version: 1.10.7 -release 64bit call-id: 1890169500-3884405473-1060698583@JKSBCQ21-02.mydomain.com
  5. 2023-02-03 09:31:13.591253 96.43% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 187.60.60.161:0.
  6. 2023-02-03 09:31:13.591253 96.43% [DEBUG] sofia.c:10585 IP 187.60.60.161 Approved by acl "default[]". Access Granted.
  7. 2023-02-03 09:31:13.591253 96.43% [DEBUG] sofia.c:7499 Channel sofia/default/3438233779@187.60.60.161 entering state [received][100]
  8. 2023-02-03 09:31:13.591253 96.43% [DEBUG] sofia.c:7509 Remote SDP:
  9. v=0
  10. o=PortaSIP 3640978196718217683 1 IN IP4 187.60.60.168
  11. s=sip call
  12. t=0 0
  13. m=audio 36750 RTP/AVP 8 0 18 97
  14. c=IN IP4 187.60.60.202
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:0 PCMU/8000
  17. a=rtpmap:18 G729/8000
  18. a=fmtp:18 annexb=yes
  19. a=rtpmap:97 telephone-event/8000
  20. a=fmtp:97 0-15
  21. a=ptime:20
  22.  
  23. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  26. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  29. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  30. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 97@8000
  32. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3438233779@187.60.60.161 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  33. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_codec.c:111 sofia/default/3438233779@187.60.60.161 Original read codec set to PCMA:8
  34. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 97@8000
  35. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_media.c:5973 sofia/default/3438233779@187.60.60.161 Set 2833 dtmf send payload to 97 recv payload to 97
  36. 2023-02-03 09:31:13.591253 96.43% [DEBUG] sofia.c:7933 (sofia/default/3438233779@187.60.60.161) State Change CS_NEW -> CS_INIT
  37. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3438233779@187.60.60.161) State NEW
  38. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_INIT (Cur 1 Tot 48)
  39. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3438233779@187.60.60.161) State INIT
  40. 2023-02-03 09:31:13.591253 96.43% [DEBUG] mod_sofia.c:97 sofia/default/3438233779@187.60.60.161 SOFIA INIT
  41. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/3438233779@187.60.60.161 Standard INIT
  42. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3438233779@187.60.60.161) State Change CS_INIT -> CS_ROUTING
  43. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3438233779@187.60.60.161) State INIT going to sleep
  44. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_ROUTING (Cur 1 Tot 48)
  45. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_channel.c:2380 (sofia/default/3438233779@187.60.60.161) Callstate Change DOWN -> RINGING
  46. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3438233779@187.60.60.161) State ROUTING
  47. 2023-02-03 09:31:13.591253 96.43% [DEBUG] mod_sofia.c:158 sofia/default/3438233779@187.60.60.161 SOFIA ROUTING
  48. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_core_state_machine.c:230 sofia/default/3438233779@187.60.60.161 Standard ROUTING
  49. 2023-02-03 09:31:13.591253 96.43% [INFO] mod_dialplan_xml.c:639 Processing 3438233779 <3438233779>->553130584510 in context default
  50. 2023-02-03 09:31:13.591253 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  51. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  52. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  53. 2023-02-03 09:31:13.591253 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  55. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 553130584510
  56. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '553130584510' limit 1
  57. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  58. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '553130584510' and status=0 LIMIT 1
  59. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERnobody
  60. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '553130584510' limit 1
  62. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3438233779 / 3438233779
  63. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 584510
  64. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 553130 AND status=0 limit 1
  65. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  66. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  67. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  68. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  69. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  70. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  72. 2023-02-03 09:31:13.611247 96.43% [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("187.60.60.161") 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 "553130584510"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  73. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2597915644]
  74. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2597915644" AND deleted = 0 limit 1
  75. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =31
  76. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  77. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  78. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  79. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 31
  80. 2023-02-03 09:31:13.611247 96.43% [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 = '^553130584510.*' OR patterns = '^55313058451.*' OR patterns = '^5531305845.*' OR patterns = '^553130584.*' OR patterns = '^55313058.*' OR patterns = '^5531305.*' OR patterns = '^553130.*' OR patterns = '^55313.*' OR patterns = '^5531.*' OR patterns = '^553.*' OR patterns = '^55.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 31 ORDER BY LENGTH(PKGPTR.patterns) DESC
  81. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" AND A.accountid = '5' limit 1
  82. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 553130584510
  83. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  84. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  85. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  86. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  87. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  88. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  89. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  90. 2023-02-03 09:31:13.611247 96.43% [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 = '553130584510' OR number = '55313058451' OR number = '5531305845' OR number = '553130584' OR number = '55313058' OR number = '5531305' OR number = '553130' OR number = '55313' OR number = '5531' OR number = '553' OR number = '55' OR number = '5' OR number ='--') OR (number = '553130584510*' OR number = '55313058451*' OR number = '5531305845*' OR number = '553130584*' OR number = '55313058*' OR number = '5531305*' OR number = '553130*' OR number = '55313*' OR number = '5531*' OR number = '553*' OR number = '55*' OR number = '5*' OR number ='--') OR (number = '3438233779' OR number = '343823377' OR number = '34382337' OR number = '3438233' OR number = '343823' OR number = '34382' OR number = '3438' OR number = '343' OR number = '34' OR number = '3' OR number ='--') OR (number = '3438233779*' OR number = '343823377*' OR number = '34382337*' OR number = '3438233*' OR number = '343823*' OR number = '34382*' OR number = '3438*' OR number = '343*' OR number = '34*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  91. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  92. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '553130584510' OR routing_prefix = '55313058451' OR routing_prefix = '5531305845' OR routing_prefix = '553130584' OR routing_prefix = '55313058' OR routing_prefix = '5531305' OR routing_prefix = '553130' OR routing_prefix = '55313' OR routing_prefix = '5531' OR routing_prefix = '553' OR routing_prefix = '55' OR routing_prefix = '5' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  93. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  94. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  95. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2597915644
  96. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =31
  97. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 199.855
  98. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  99. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  100. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  101. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  102. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  103. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  104. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  105. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  106. 2023-02-03 09:31:13.611247 96.43% [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 ="553130584510" LIMIT 1
  107. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  108. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  109. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  110. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  111. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  112. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  113. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  114. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 553130584510
  115. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 28
  116. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  117. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  118. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =31
  119. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your199.855 balance Accountid 5 !!!
  120. 2023-02-03 09:31:13.611247 96.43% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  121. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  122. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  123. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  124. 2023-02-03 09:31:13.611247 96.43% [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 = 5 AND status=0 LIMIT 1
  125. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
  126. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =31
  127. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:5
  128. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:5
  129. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 5
  130. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 31 limit 1
  131. 2023-02-03 09:31:13.611247 96.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : dbb.voz.brvoz.net
  132. 2023-02-03 09:31:13.611247 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  133. 2023-02-03 09:31:13.611247 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  134. 2023-02-03 09:31:13.631261 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  135. 2023-02-03 09:31:13.631261 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  136. 2023-02-03 09:31:13.631261 96.43% [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 = "7" AND accounts.status = 0
  137. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 31 limit 1
  138. 2023-02-03 09:31:13.631261 96.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : dbb.voz.brvoz.net
  139. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 31  and status = 0 limit 1
  140. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  141. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 31 or id = 31 ) and status = 0 limit 1
  142. 2023-02-03 09:31:13.631261 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  143. 2023-02-03 09:31:13.631261 96.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  144. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 7 and status=0 LIMIT 1
  145. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  146. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  147. <document type="freeswitch/xml">
  148. <section name="dialplan" description="ASTPP Dialplan">
  149. <context name="default">
  150. <extension name="553130584510">
  151. <condition field="destination_number" expression="553130584510">
  152. <action application="set" data="effective_destination_number=553130584510"/>
  153. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  154. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  155. <action application="set" data="notify_flag=0"/>
  156. <action application="set" data="notify_credit_limit=5.00000"/>
  157. <action application="set" data="type=3"/>
  158. <action application="set" data="callstart=2023-02-03 09:31:13"/>
  159. <action application="set" data="hangup_after_bridge=true"/>
  160. <action application="set" data="continue_on_fail=TRUE"/>
  161. <action application="set" data="account_id=5"/>
  162. <action application="set" data="parent_id=0"/>
  163. <action application="set" data="entity_id=3"/>
  164. <action application="set" data="call_processed=internal"/>
  165. <action application="set" data="call_direction=inbound"/>
  166. <action application="set" data="accountname=DID Datora"/>
  167. <action application="set" data="origination_rates_did=ID:1|CODE:^553130584510.*|DESTINATION:553130584510|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:28|ACCID:31"/>
  168. <action application="set" data="origination_rates=0"/>
  169. <action application="set" data="original_caller_id_name=3438233779"/>
  170. <action application="set" data="original_caller_id_number=3438233779"/>
  171. <action application="limit" data="db 553130584510 user_553130584510 5 "/>
  172. <action application="set" data="effective_caller_id_name=3438233779"/>
  173. <action application="set" data="effective_caller_id_number=3438233779"/>
  174. <action application="set" data="receiver_accid=31"/>
  175. <action application="set" data="did_id=1"/>
  176. <action application="set" data="transfer_call_type=4"/>
  177. <action application="set" data="transfer_extensions="/>
  178. <action application="set" data="busy_status=1"/>
  179. <action application="set" data="no_answer_status=1"/>
  180. <action application="set" data="always_status=1"/>
  181. <action application="set" data="transfer_status=0"/>
  182. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  183. <action application="set" data="variable_sip_network_ip=187.60.60.161"/>
  184. <action application="set" data="variable_sip_network_port=5060"/>
  185. <action application="export" data="domain_name=dbb.voz.brvoz.net"/>
  186. <action application="export" data="sip_to_host=dbb.voz.brvoz.net"/>
  187. <action application="limit" data="db 553130584510 did_553130584510 5 "/>
  188. <action application="export" data="presence_data=x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161"/>
  189. <action application="export" data="call_type=10"/>
  190. <action application="set" data="did_calltype=10"/>
  191. <action application="set" data="did_extensions=7"/>
  192. <action application="set" data="daily_call_credit_limit=0.00000"/>
  193. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  194. <action application="set" data="daily_call_used_limit=0.00000"/>
  195. <action application="set" data="monthly_call_used_limit=0.00000"/>
  196. <action application="set" data="ringback=0"/>
  197. <action application="set" data="module_name=pbx"/>
  198. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  199. <action application="set" data="sip_h_P-Accountcode=31"/>
  200. <action application="set" data="variable_sip_to_host=dbb.voz.brvoz.net"/>
  201. <action application="set" data="userinfo_id=5"/>
  202. <action application="set" data="variable_sip_to_host=dbb.voz.brvoz.net"/>
  203. <action application="set" data="original_did_number=553130584510"/>
  204.     <action application="answer"/>
  205. <action application="ivr" data="IVR BRVOZ0"/>
  206. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  207. </condition>
  208. </extension>
  209. </context>
  210. </section>
  211. </document>
  212. Dialplan: sofia/default/3438233779@187.60.60.161 parsing [default->553130584510] continue=false
  213. Dialplan: sofia/default/3438233779@187.60.60.161 Regex (PASS) [553130584510] destination_number(553130584510) =~ /553130584510/ break=on-false
  214. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(effective_destination_number=553130584510)
  215. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  216. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  217. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(notify_flag=0)
  218. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(notify_credit_limit=5.00000)
  219. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(type=3)
  220. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(callstart=2023-02-03 09:31:13)
  221. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(hangup_after_bridge=true)
  222. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(continue_on_fail=TRUE)
  223. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(account_id=5)
  224. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(parent_id=0)
  225. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(entity_id=3)
  226. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(call_processed=internal)
  227. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(call_direction=inbound)
  228. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(accountname=DID Datora)
  229. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(origination_rates_did=ID:1|CODE:^553130584510.*|DESTINATION:553130584510|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:28|ACCID:31)
  230. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(origination_rates=0)
  231. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(original_caller_id_name=3438233779)
  232. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(original_caller_id_number=3438233779)
  233. Dialplan: sofia/default/3438233779@187.60.60.161 Action limit(db 553130584510 user_553130584510 5 )
  234. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(effective_caller_id_name=3438233779)
  235. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(effective_caller_id_number=3438233779)
  236. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(receiver_accid=31)
  237. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(did_id=1)
  238. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(transfer_call_type=4)
  239. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(transfer_extensions=)
  240. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(busy_status=1)
  241. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(no_answer_status=1)
  242. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(always_status=1)
  243. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(transfer_status=0)
  244. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(variable_sip_to_host=${domain_name})
  245. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(variable_sip_network_ip=187.60.60.161)
  246. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(variable_sip_network_port=5060)
  247. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(domain_name=dbb.voz.brvoz.net)
  248. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(sip_to_host=dbb.voz.brvoz.net)
  249. Dialplan: sofia/default/3438233779@187.60.60.161 Action limit(db 553130584510 did_553130584510 5 )
  250. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(presence_data=x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161)
  251. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(call_type=10)
  252. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(did_calltype=10)
  253. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(did_extensions=7)
  254. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(daily_call_credit_limit=0.00000)
  255. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(monthly_call_credit_limit=0.00000)
  256. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(daily_call_used_limit=0.00000)
  257. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(monthly_call_used_limit=0.00000)
  258. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(ringback=0)
  259. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(module_name=pbx)
  260. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(sip_h_P-call_type=custom_forward)
  261. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(sip_h_P-Accountcode=31)
  262. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(variable_sip_to_host=dbb.voz.brvoz.net)
  263. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(userinfo_id=5)
  264. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(variable_sip_to_host=dbb.voz.brvoz.net)
  265. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(original_did_number=553130584510)
  266. Dialplan: sofia/default/3438233779@187.60.60.161 Action answer()
  267. Dialplan: sofia/default/3438233779@187.60.60.161 Action ivr(IVR BRVOZ0)
  268. Dialplan: sofia/default/3438233779@187.60.60.161 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  269. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3438233779@187.60.60.161) State Change CS_ROUTING -> CS_EXECUTE
  270. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3438233779@187.60.60.161) State ROUTING going to sleep
  271. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_EXECUTE (Cur 1 Tot 48)
  272. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3438233779@187.60.60.161) State EXECUTE
  273. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_sofia.c:213 sofia/default/3438233779@187.60.60.161 SOFIA EXECUTE
  274. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_state_machine.c:323 sofia/default/3438233779@187.60.60.161 Standard EXECUTE
  275. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(effective_destination_number=553130584510)
  276. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [effective_destination_number]=[553130584510]
  277. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(bridge_pre_execute_bleg_app=sched_hangup)
  278. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [bridge_pre_execute_bleg_app]=[sched_hangup]
  279. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  280. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  281. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(notify_flag=0)
  282. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [notify_flag]=[0]
  283. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(notify_credit_limit=5.00000)
  284. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [notify_credit_limit]=[5.00000]
  285. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(type=3)
  286. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [type]=[3]
  287. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(callstart=2023-02-03 09:31:13)
  288. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [callstart]=[2023-02-03 09:31:13]
  289. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(hangup_after_bridge=true)
  290. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [hangup_after_bridge]=[true]
  291. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(continue_on_fail=TRUE)
  292. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [continue_on_fail]=[TRUE]
  293. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(account_id=5)
  294. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [account_id]=[5]
  295. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(parent_id=0)
  296. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [parent_id]=[0]
  297. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(entity_id=3)
  298. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [entity_id]=[3]
  299. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(call_processed=internal)
  300. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [call_processed]=[internal]
  301. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(call_direction=inbound)
  302. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [call_direction]=[inbound]
  303. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(accountname=DID Datora)
  304. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [accountname]=[DID Datora]
  305. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(origination_rates_did=ID:1|CODE:^553130584510.*|DESTINATION:553130584510|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:28|ACCID:31)
  306. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [origination_rates_did]=[ID:1|CODE:^553130584510.*|DESTINATION:553130584510|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:28|ACCID:31]
  307. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(origination_rates=0)
  308. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [origination_rates]=[0]
  309. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(original_caller_id_name=3438233779)
  310. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [original_caller_id_name]=[3438233779]
  311. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(original_caller_id_number=3438233779)
  312. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [original_caller_id_number]=[3438233779]
  313. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 limit(db 553130584510 user_553130584510 5 )
  314. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_limit.c:124 incr called: 553130584510_user_553130584510 max:5, interval:0
  315. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_db.c:194 Usage for 553130584510_user_553130584510 is now 1/5
  316. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(effective_caller_id_name=3438233779)
  317. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [effective_caller_id_name]=[3438233779]
  318. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(effective_caller_id_number=3438233779)
  319. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [effective_caller_id_number]=[3438233779]
  320. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(receiver_accid=31)
  321. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [receiver_accid]=[31]
  322. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(did_id=1)
  323. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [did_id]=[1]
  324. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(transfer_call_type=4)
  325. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [transfer_call_type]=[4]
  326. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(transfer_extensions=)
  327. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [transfer_extensions]=[UNDEF]
  328. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(busy_status=1)
  329. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [busy_status]=[1]
  330. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(no_answer_status=1)
  331. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [no_answer_status]=[1]
  332. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(always_status=1)
  333. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [always_status]=[1]
  334. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(transfer_status=0)
  335. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [transfer_status]=[0]
  336. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(variable_sip_to_host=10.0.0.4)
  337. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [variable_sip_to_host]=[10.0.0.4]
  338. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(variable_sip_network_ip=187.60.60.161)
  339. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [variable_sip_network_ip]=[187.60.60.161]
  340. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(variable_sip_network_port=5060)
  341. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [variable_sip_network_port]=[5060]
  342. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(domain_name=dbb.voz.brvoz.net)
  343. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[dbb.voz.brvoz.net]
  344. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(sip_to_host=dbb.voz.brvoz.net)
  345. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[dbb.voz.brvoz.net]
  346. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 limit(db 553130584510 did_553130584510 5 )
  347. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_limit.c:124 incr called: 553130584510_did_553130584510 max:5, interval:0
  348. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_db.c:194 Usage for 553130584510_did_553130584510 is now 1/5
  349. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(presence_data=x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161)
  350. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161]
  351. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(call_type=10)
  352. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
  353. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(did_calltype=10)
  354. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [did_calltype]=[10]
  355. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(did_extensions=7)
  356. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [did_extensions]=[7]
  357. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(daily_call_credit_limit=0.00000)
  358. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [daily_call_credit_limit]=[0.00000]
  359. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(monthly_call_credit_limit=0.00000)
  360. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [monthly_call_credit_limit]=[0.00000]
  361. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(daily_call_used_limit=0.00000)
  362. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [daily_call_used_limit]=[0.00000]
  363. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(monthly_call_used_limit=0.00000)
  364. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [monthly_call_used_limit]=[0.00000]
  365. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(ringback=0)
  366. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [ringback]=[0]
  367. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(module_name=pbx)
  368. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [module_name]=[pbx]
  369. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(sip_h_P-call_type=custom_forward)
  370. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [sip_h_P-call_type]=[custom_forward]
  371. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(sip_h_P-Accountcode=31)
  372. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [sip_h_P-Accountcode]=[31]
  373. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(variable_sip_to_host=dbb.voz.brvoz.net)
  374. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [variable_sip_to_host]=[dbb.voz.brvoz.net]
  375. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(userinfo_id=5)
  376. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [userinfo_id]=[5]
  377. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(variable_sip_to_host=dbb.voz.brvoz.net)
  378. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [variable_sip_to_host]=[dbb.voz.brvoz.net]
  379. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(original_did_number=553130584510)
  380. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [original_did_number]=[553130584510]
  381. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 answer()
  382. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3438233779@187.60.60.161] 10.0.0.4 port 24376 -> 187.60.60.202 port 36750 codec: 8 ms: 20
  383. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  384. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_media.c:9089 sofia/default/3438233779@187.60.60.161 Set 2833 dtmf send payload to 97
  385. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_media.c:9096 sofia/default/3438233779@187.60.60.161 Set 2833 dtmf receive payload to 97
  386. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_core_media.c:9119 sofia/default/3438233779@187.60.60.161 Set rtp dtmf delay to 40
  387. 2023-02-03 09:31:13.631261 96.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3438233779@187.60.60.161:
  388. v=0
  389. o=FreeSWITCH 1675392297 1675392298 IN IP4 144.22.174.75
  390. s=FreeSWITCH
  391. c=IN IP4 144.22.174.75
  392. t=0 0
  393. m=audio 24376 RTP/AVP 8 97
  394. a=rtpmap:8 PCMA/8000
  395. a=rtpmap:97 telephone-event/8000
  396. a=fmtp:97 0-15
  397. a=ptime:20
  398. a=sendrecv
  399.  
  400. 2023-02-03 09:31:13.631261 96.43% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3438233779@187.60.60.161] has been answered
  401. 2023-02-03 09:31:13.631261 96.43% [DEBUG] switch_channel.c:3950 (sofia/default/3438233779@187.60.60.161) Callstate Change RINGING -> ACTIVE
  402. 2023-02-03 09:31:13.631261 96.43% [DEBUG] sofia.c:7499 Channel sofia/default/3438233779@187.60.60.161 entering state [completed][200]
  403. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 ivr(IVR BRVOZ0)
  404. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  405. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  406. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  407. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  408. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  409. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  410. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:883 building menu 'IVR BRVOZ0'
  411. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  412. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  413. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu IVR BRVOZ0
  414. 2023-02-03 09:31:13.651247 96.43% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  415. 2023-02-03 09:31:13.731251 96.43% [DEBUG] sofia.c:7499 Channel sofia/default/3438233779@187.60.60.161 entering state [ready][200]
  416. 2023-02-03 09:31:13.891254 96.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  417. 2023-02-03 09:31:15.211257 96.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:800
  418. 2023-02-03 09:31:15.211257 96.27% [INFO] switch_channel.c:527 RECV DTMF 1:800
  419. 2023-02-03 09:31:15.211257 96.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/pbx/brvoz1_020223012908.wav
  420. 2023-02-03 09:31:15.211257 96.27% [DEBUG] switch_ivr_menu.c:378 waiting for 19/20 digits t/o 2000
  421. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_ivr_menu.c:425 digits '1'
  422. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'IVR BRVOZ0' matched '1' param 'transfer ${original_did_number}#PBX#7#6 XML ${domain_name}'
  423. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
  424. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 transfer(553130584510#PBX#7#6 XML dbb.voz.brvoz.net)
  425. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_ivr.c:2289 (sofia/default/3438233779@187.60.60.161) State Change CS_EXECUTE -> CS_ROUTING
  426. 2023-02-03 09:31:17.231252 96.30% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/3438233779@187.60.60.161 to XML[553130584510#PBX#7#6@dbb.voz.brvoz.net]
  427. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  428. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3438233779@187.60.60.161) State EXECUTE going to sleep
  429. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_ROUTING (Cur 1 Tot 48)
  430. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_channel.c:2380 (sofia/default/3438233779@187.60.60.161) Callstate Change ACTIVE -> RINGING
  431. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3438233779@187.60.60.161) State ROUTING
  432. 2023-02-03 09:31:17.231252 96.30% [DEBUG] mod_sofia.c:158 sofia/default/3438233779@187.60.60.161 SOFIA ROUTING
  433. 2023-02-03 09:31:17.231252 96.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/3438233779@187.60.60.161 Standard ROUTING
  434. 2023-02-03 09:31:17.231252 96.30% [INFO] mod_dialplan_xml.c:639 Processing 3438233779 <3438233779>->553130584510#PBX#7#6 in context dbb.voz.brvoz.net
  435. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  436. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  437. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  438. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  439. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  440. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 553130584510#PBX#7#6
  441. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number1 :
  442. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number2 : 553130584510#PBX#7#6
  443. 2023-02-03 09:31:17.251413 96.30% [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 ="553130584510" LIMIT 1
  444. 2023-02-03 09:31:17.251413 96.30% [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 ="553130584510" LIMIT 1
  445. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  446. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
  447. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :31
  448. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 31 limit 1
  449. 2023-02-03 09:31:17.251413 96.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domaindbb.voz.brvoz.net
  450. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  451. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  452. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '31' LIMIT 1
  453. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option -
  454. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  455. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  456. 2023-02-03 09:31:17.251413 96.30% [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
  457. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  458. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  459. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  460. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 31 limit 1
  461. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  462. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  463. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  464. 2023-02-03 09:31:17.251413 96.30% [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="10100"  AND domains.domain="dbb.voz.brvoz.net" limit 1
  465. 2023-02-03 09:31:17.251413 96.30% [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 = "10100"
  466. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  467. 2023-02-03 09:31:17.251413 96.30% [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="10100"  AND domains.domain="dbb.voz.brvoz.net" limit 1
  468. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  469. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  470. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,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=10100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/10100@dbb.voz.brvoz.net|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=31,call_timeout=60,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=34999423533#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=60,leg_delay_start=35]sofia/${sofia_profile_name}/34999423533@${domain}|
  471. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '15' LIMIT 1
  472. 2023-02-03 09:31:17.251413 96.30% [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
  473. 2023-02-03 09:31:17.251413 96.30% [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
  474. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  475. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  476. <document type="freeswitch/xml">
  477. <section name="dialplan" description="ASTPP Dialplan">
  478. <context name="dbb.voz.brvoz.net">
  479. <extension name="553130584510#PBX#7#6">
  480. <condition field="destination_number" expression="553130584510#PBX#7#6">
  481. <action application="set" data="continue_on_fail=TRUE"/>
  482. <action application="set" data="ignore_early_media=true"/>
  483. <action application="set" data="no_answer_flag=false"/>
  484. <action application="set" data="did_calltype=7"/>
  485. <action application="set" data="did_extensions=6"/>
  486. <action application="set" data="daily_call_credit_limit=0.00000"/>
  487. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  488. <action application="set" data="daily_call_used_limit=0.00000"/>
  489. <action application="set" data="monthly_call_used_limit=0.00000"/>
  490. <action application="set" data="group_confirm_key=exec"/>
  491. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  492. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav"/>
  493. <action application="set" data="module_name=pbx"/>
  494. <action application="db" data="insert/pickup_any_group_${callgroup}/6/${uuid}"/>
  495. <action application="set" data="dialed_extension=transfer_call"/>
  496. <action application="export" data="dialed_extension=transfer_call"/>
  497. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  498. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  499. <action application="export" data="ring_group_transfer=true"/>
  500. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  501. <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=30,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=10100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/10100@dbb.voz.brvoz.net|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=31,call_timeout=60,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=34999423533#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=60,leg_delay_start=35]sofia/${sofia_profile_name}/34999423533@${domain}|"/>
  502. <action application="set" data="original_did_number=553130584510#PBX#7#6"/>
  503. </condition>
  504. </extension>
  505. </context>
  506. </section>
  507. </document>
  508. 2023-02-03 09:31:17.251413 96.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number3 : 553130584510#PBX#7#6
  509. Dialplan: sofia/default/3438233779@187.60.60.161 parsing [dbb.voz.brvoz.net->553130584510#PBX#7#6] continue=false
  510. Dialplan: sofia/default/3438233779@187.60.60.161 Regex (PASS) [553130584510#PBX#7#6] destination_number(553130584510#PBX#7#6) =~ /553130584510#PBX#7#6/ break=on-false
  511. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(continue_on_fail=TRUE)
  512. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(ignore_early_media=true)
  513. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(no_answer_flag=false)
  514. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(did_calltype=7)
  515. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(did_extensions=6)
  516. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(daily_call_credit_limit=0.00000)
  517. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(monthly_call_credit_limit=0.00000)
  518. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(daily_call_used_limit=0.00000)
  519. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(monthly_call_used_limit=0.00000)
  520. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(group_confirm_key=exec)
  521. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  522. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(ringback=/var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav)
  523. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(module_name=pbx)
  524. Dialplan: sofia/default/3438233779@187.60.60.161 Action db(insert/pickup_any_group_${callgroup}/6/${uuid})
  525. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(dialed_extension=transfer_call)
  526. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(dialed_extension=transfer_call)
  527. Dialplan: sofia/default/3438233779@187.60.60.161 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  528. Dialplan: sofia/default/3438233779@187.60.60.161 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  529. Dialplan: sofia/default/3438233779@187.60.60.161 Action export(ring_group_transfer=true)
  530. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(fail_on_single_reject=CALL_REJECTED)
  531. Dialplan: sofia/default/3438233779@187.60.60.161 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,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=10100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/10100@dbb.voz.brvoz.net|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=31,call_timeout=60,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=34999423533#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=60,leg_delay_start=35]sofia/${sofia_profile_name}/34999423533@${domain}|)
  532. Dialplan: sofia/default/3438233779@187.60.60.161 Action set(original_did_number=553130584510#PBX#7#6)
  533. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3438233779@187.60.60.161) State Change CS_ROUTING -> CS_EXECUTE
  534. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3438233779@187.60.60.161) State ROUTING going to sleep
  535. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_EXECUTE (Cur 1 Tot 48)
  536. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_channel.c:2382 (sofia/default/3438233779@187.60.60.161) Callstate Change RINGING -> ACTIVE
  537. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3438233779@187.60.60.161) State EXECUTE
  538. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_sofia.c:213 sofia/default/3438233779@187.60.60.161 SOFIA EXECUTE
  539. 2023-02-03 09:31:17.251413 96.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/3438233779@187.60.60.161 Standard EXECUTE
  540. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(continue_on_fail=TRUE)
  541. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [continue_on_fail]=[TRUE]
  542. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(ignore_early_media=true)
  543. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [ignore_early_media]=[true]
  544. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(no_answer_flag=false)
  545. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [no_answer_flag]=[false]
  546. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(did_calltype=7)
  547. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [did_calltype]=[7]
  548. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(did_extensions=6)
  549. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [did_extensions]=[6]
  550. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(daily_call_credit_limit=0.00000)
  551. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [daily_call_credit_limit]=[0.00000]
  552. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(monthly_call_credit_limit=0.00000)
  553. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [monthly_call_credit_limit]=[0.00000]
  554. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(daily_call_used_limit=0.00000)
  555. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [daily_call_used_limit]=[0.00000]
  556. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(monthly_call_used_limit=0.00000)
  557. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [monthly_call_used_limit]=[0.00000]
  558. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(group_confirm_key=exec)
  559. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [group_confirm_key]=[exec]
  560. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  561. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  562. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(ringback=/var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav)
  563. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [ringback]=[/var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav]
  564. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(module_name=pbx)
  565. 2023-02-03 09:31:17.251413 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [module_name]=[pbx]
  566. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 db(insert/pickup_any_group_/6/51d615e8-d82d-40a7-a813-7ca7a8eadbd4)
  567. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(dialed_extension=transfer_call)
  568. 2023-02-03 09:31:17.271246 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [dialed_extension]=[transfer_call]
  569. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(dialed_extension=transfer_call)
  570. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  571. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  572. 2023-02-03 09:31:17.271246 96.30% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  573. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  574. 2023-02-03 09:31:17.271246 96.30% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  575. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 export(ring_group_transfer=true)
  576. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  577. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 set(fail_on_single_reject=CALL_REJECTED)
  578. 2023-02-03 09:31:17.271246 96.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/3438233779@187.60.60.161 [fail_on_single_reject]=[CALL_REJECTED]
  579. EXECUTE [depth=0] sofia/default/3438233779@187.60.60.161 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,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=10100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/10100@dbb.voz.brvoz.net|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=31,call_timeout=60,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=34999423533#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=60,leg_delay_start=35]sofia/default/34999423533@10.0.0.4|)
  580. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1954 (sofia/default/3438233779@187.60.60.161) Callstate Change ACTIVE -> RING_WAIT
  581. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [domain_name]=[dbb.voz.brvoz.net] to event
  582. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [sip_to_host]=[dbb.voz.brvoz.net] to event
  583. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [presence_data]=[x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161] to event
  584. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [call_type]=[10] to event
  585. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  586. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  587. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  588. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  589. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [domain_name]=[dbb.voz.brvoz.net] to event
  590. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [sip_to_host]=[dbb.voz.brvoz.net] to event
  591. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [presence_data]=[x|||Danilo astpp3(8677076127)|||||||||DID|||187.60.60.161] to event
  592. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [call_type]=[10] to event
  593. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  594. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:1269 sofia/default/3438233779@187.60.60.161 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  595. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  596. 2023-02-03 09:31:17.271246 96.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10100@186.210.146.160:36555 [e1abc9a0-d59d-4544-ba46-e95b89855398]
  597. 2023-02-03 09:31:17.271246 96.30% [DEBUG] mod_sofia.c:5121 (sofia/default/10100@186.210.146.160:36555) State Change CS_NEW -> CS_INIT
  598. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:3151 sofia/default/10100@186.210.146.160:36555 Setting leg timeout to 30
  599. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_channel.c:2178 (sofia/default/3438233779@187.60.60.161) Callstate Change RING_WAIT -> ACTIVE
  600. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:3151 sofia/default/10100@186.210.146.160:36555 Setting leg timeout to 30
  601. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_INIT (Cur 2 Tot 49)
  602. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10100@186.210.146.160:36555) State INIT
  603. 2023-02-03 09:31:17.271246 96.30% [DEBUG] mod_sofia.c:97 sofia/default/10100@186.210.146.160:36555 SOFIA INIT
  604. 2023-02-03 09:31:17.271246 96.30% [DEBUG] sofia_glue.c:1620 sip:10100@186.210.146.160:36555;transport=TCP;rinstance=72c3a52476e183cd Setting proxy route to sofia/default/10100@186.210.146.160:36555
  605. 2023-02-03 09:31:17.271246 96.30% [INFO] sofia_glue.c:1651 sofia/default/10100@186.210.146.160:36555 sending invite call-id: (null)
  606. 2023-02-03 09:31:17.271246 96.30% [DEBUG] sofia_glue.c:1654 sofia/default/10100@186.210.146.160:36555 sending invite version: 1.10.7 -release 64bit
  607. Local SDP:
  608. v=0
  609. o=FreeSWITCH 1675391601 1675391602 IN IP4 144.22.174.75
  610. s=FreeSWITCH
  611. c=IN IP4 144.22.174.75
  612. t=0 0
  613. m=audio 25076 RTP/AVP 8 101
  614. a=rtpmap:8 PCMA/8000
  615. a=rtpmap:101 telephone-event/8000
  616. a=fmtp:101 0-15
  617. a=ptime:20
  618. a=sendrecv
  619.  
  620. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/10100@186.210.146.160:36555 Standard INIT
  621. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10100@186.210.146.160:36555) State Change CS_INIT -> CS_ROUTING
  622. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10100@186.210.146.160:36555) State INIT going to sleep
  623. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_ROUTING (Cur 2 Tot 49)
  624. 2023-02-03 09:31:17.271246 96.30% [DEBUG] sofia.c:7499 Channel sofia/default/10100@186.210.146.160:36555 entering state [calling][0]
  625. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10100@186.210.146.160:36555) State ROUTING
  626. 2023-02-03 09:31:17.271246 96.30% [DEBUG] mod_sofia.c:158 sofia/default/10100@186.210.146.160:36555 SOFIA ROUTING
  627. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10100@186.210.146.160:36555) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  628. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10100@186.210.146.160:36555) State ROUTING going to sleep
  629. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 49)
  630. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10100@186.210.146.160:36555) State CONSUME_MEDIA
  631. 2023-02-03 09:31:17.271246 96.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10100@186.210.146.160:36555) State CONSUME_MEDIA going to sleep
  632. 2023-02-03 09:31:20.871248 96.23% [DEBUG] sofia.c:7499 Channel sofia/default/10100@186.210.146.160:36555 entering state [proceeding][180]
  633. 2023-02-03 09:31:20.871248 96.23% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/10100@186.210.146.160:36555!
  634. 2023-02-03 09:31:20.871248 96.23% [DEBUG] switch_channel.c:3494 (sofia/default/10100@186.210.146.160:36555) Callstate Change DOWN -> RINGING
  635. 2023-02-03 09:31:20.891248 96.23% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  636. 2023-02-03 09:31:20.891248 96.23% [DEBUG] switch_core_codec.c:223 sofia/default/3438233779@187.60.60.161 Push codec L16:100
  637. 2023-02-03 09:31:20.891248 96.23% [DEBUG] switch_ivr_originate.c:1385 Play Ringback File [/var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav]
  638. 2023-02-03 09:31:20.911258 96.23% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/Passion-And-Pain-ivr_020223013013.wav sample rate 32000 doesn't match requested rate 8000
  639. 2023-02-03 09:31:20.911258 96.23% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  640. 2023-02-03 09:31:25.491244 96.50% [DEBUG] sofia.c:7499 Channel sofia/default/10100@186.210.146.160:36555 entering state [completing][200]
  641. 2023-02-03 09:31:25.491244 96.50% [DEBUG] sofia.c:7509 Remote SDP:
  642. v=0
  643. o=Zoiper 0 223240652 IN IP4 186.210.146.160
  644. s=Zoiper
  645. c=IN IP4 186.210.146.160
  646. t=0 0
  647. m=audio 41606 RTP/AVP 8 0 3 101
  648. a=rtpmap:101 telephone-event/8000
  649. a=fmtp:101 0-16
  650.  
  651. 2023-02-03 09:31:25.491244 96.50% [DEBUG] sofia.c:7499 Channel sofia/default/10100@186.210.146.160:36555 entering state [ready][200]
  652. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  653. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  654. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  655. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  656. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  657. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10100@186.210.146.160:36555 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  658. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_codec.c:111 sofia/default/10100@186.210.146.160:36555 Original read codec set to PCMA:8
  659. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  660. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:5973 sofia/default/10100@186.210.146.160:36555 Set 2833 dtmf send payload to 101 recv payload to 101
  661. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/10100@186.210.146.160:36555] 10.0.0.4 port 25076 -> 186.210.146.160 port 41606 codec: 8 ms: 20
  662. 2023-02-03 09:31:25.491244 96.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  663. 2023-02-03 09:31:25.511245 96.50% [DEBUG] switch_core_media.c:9089 sofia/default/10100@186.210.146.160:36555 Set 2833 dtmf send payload to 101
  664. 2023-02-03 09:31:25.511245 96.50% [DEBUG] switch_core_media.c:9096 sofia/default/10100@186.210.146.160:36555 Set 2833 dtmf receive payload to 101
  665. 2023-02-03 09:31:25.511245 96.50% [DEBUG] switch_core_media.c:9119 sofia/default/10100@186.210.146.160:36555 Set rtp dtmf delay to 40
  666. 2023-02-03 09:31:25.511245 96.50% [NOTICE] sofia.c:8683 Channel [sofia/default/10100@186.210.146.160:36555] has been answered
  667. 2023-02-03 09:31:25.511245 96.50% [DEBUG] switch_channel.c:3950 (sofia/default/10100@186.210.146.160:36555) Callstate Change RINGING -> ACTIVE
  668. EXECUTE [depth=0] sofia/default/10100@186.210.146.160:36555 lua(/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  669. 2023-02-03 09:31:25.511245 96.50% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm flag :true
  670. 2023-02-03 09:31:25.511245 96.50% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: true
  671. 2023-02-03 09:31:25.511245 96.50% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group prompt :: astpp-prompt.wav ::
  672. 2023-02-03 09:31:25.511245 96.50% [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
  673. 2023-02-03 09:31:25.511245 96.50% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  674. 2023-02-03 09:31:26.031248 96.47% [INFO] switch_rtp.c:7894 Auto Changing audio port from 186.210.146.160:41606 to 186.210.146.160:41604
  675. 2023-02-03 09:31:31.371246 96.37% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  676. 2023-02-03 09:31:31.971247 96.37% [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
  677. 2023-02-03 09:31:31.971247 96.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  678. 2023-02-03 09:31:33.171247 97.73% [NOTICE] sofia.c:1065 Hangup sofia/default/3438233779@187.60.60.161 [CS_EXECUTE] [NORMAL_CLEARING]
  679. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_codec.c:248 sofia/default/3438233779@187.60.60.161 Restore previous codec PCMA:8.
  680. 2023-02-03 09:31:33.171247 97.73% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/10100@186.210.146.160:36555 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  681. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_ivr_originate.c:4024 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  682. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  683. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_ivr_originate.c:4024 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  684. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_HANGUP (Cur 2 Tot 49)
  685. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10100@186.210.146.160:36555) Callstate Change ACTIVE -> HANGUP
  686. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10100@186.210.146.160:36555) State HANGUP
  687. 2023-02-03 09:31:33.171247 97.73% [DEBUG] mod_sofia.c:462 sofia/default/10100@186.210.146.160:36555 Overriding SIP cause 487 with 200 from the other leg
  688. 2023-02-03 09:31:33.171247 97.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/10100@186.210.146.160:36555 hanging up, cause: ORIGINATOR_CANCEL
  689. 2023-02-03 09:31:33.171247 97.73% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: ORIGINATOR_CANCEL
  690. 2023-02-03 09:31:33.171247 97.73% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/10100@186.210.146.160:36555
  691. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/10100@186.210.146.160:36555 Standard HANGUP, cause: ORIGINATOR_CANCEL
  692. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10100@186.210.146.160:36555) State HANGUP going to sleep
  693. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10100@186.210.146.160:36555) State Change CS_HANGUP -> CS_REPORTING
  694. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_REPORTING (Cur 2 Tot 49)
  695. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10100@186.210.146.160:36555) State REPORTING
  696. 2023-02-03 09:31:33.171247 97.73% [INFO] mod_json_cdr.c:271 Process [e1abc9a0-d59d-4544-ba46-e95b89855398.cdr.json]
  697. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_session.c:2983 sofia/default/3438233779@187.60.60.161 skip receive message [PHONE_EVENT] (channel is hungup already)
  698. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3438233779@187.60.60.161) State EXECUTE going to sleep
  699. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_HANGUP (Cur 2 Tot 49)
  700. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3438233779@187.60.60.161) Callstate Change ACTIVE -> HANGUP
  701. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3438233779@187.60.60.161) State HANGUP
  702. 2023-02-03 09:31:33.171247 97.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/3438233779@187.60.60.161 hanging up, cause: NORMAL_CLEARING
  703. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/3438233779@187.60.60.161 Standard HANGUP, cause: NORMAL_CLEARING
  704. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3438233779@187.60.60.161) State HANGUP going to sleep
  705. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3438233779@187.60.60.161) State Change CS_HANGUP -> CS_REPORTING
  706. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3438233779@187.60.60.161) Running State Change CS_REPORTING (Cur 2 Tot 49)
  707. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3438233779@187.60.60.161) State REPORTING
  708. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  709. 2023-02-03 09:31:33.171247 97.73% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm get digit :
  710. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  711. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_cpp.cpp:1209 sofia/default/10100@186.210.146.160:36555 destroy/unlink session from object
  712. 2023-02-03 09:31:33.171247 97.73% [INFO] mod_json_cdr.c:271 Process [51d615e8-d82d-40a7-a813-7ca7a8eadbd4.cdr.json]
  713. 2023-02-03 09:31:33.171247 97.73% [DEBUG] switch_core_session.c:2983 sofia/default/10100@186.210.146.160:36555 skip receive message [PHONE_EVENT] (channel is hungup already)
  714. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/10100@186.210.146.160:36555 Standard REPORTING, cause: ORIGINATOR_CANCEL
  715. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10100@186.210.146.160:36555) State REPORTING going to sleep
  716. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10100@186.210.146.160:36555) State Change CS_REPORTING -> CS_DESTROY
  717. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_session.c:1753 Session 49 (sofia/default/10100@186.210.146.160:36555) Locked, Waiting on external entities
  718. 2023-02-03 09:31:33.191248 97.73% [NOTICE] switch_core_session.c:1771 Session 49 (sofia/default/10100@186.210.146.160:36555) Ended
  719. 2023-02-03 09:31:33.191248 97.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10100@186.210.146.160:36555 [CS_DESTROY]
  720. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10100@186.210.146.160:36555) Running State Change CS_DESTROY (Cur 1 Tot 49)
  721. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10100@186.210.146.160:36555) State DESTROY
  722. 2023-02-03 09:31:33.191248 97.73% [DEBUG] mod_sofia.c:379 sofia/default/10100@186.210.146.160:36555 SOFIA DESTROY
  723. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/10100@186.210.146.160:36555 Standard DESTROY
  724. 2023-02-03 09:31:33.191248 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10100@186.210.146.160:36555) State DESTROY going to sleep
  725. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/3438233779@187.60.60.161 Standard REPORTING, cause: NORMAL_CLEARING
  726. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3438233779@187.60.60.161) State REPORTING going to sleep
  727. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3438233779@187.60.60.161) State Change CS_REPORTING -> CS_DESTROY
  728. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_session.c:1753 Session 48 (sofia/default/3438233779@187.60.60.161) Locked, Waiting on external entities
  729. 2023-02-03 09:31:33.211251 97.73% [NOTICE] switch_core_session.c:1771 Session 48 (sofia/default/3438233779@187.60.60.161) Ended
  730. 2023-02-03 09:31:33.211251 97.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3438233779@187.60.60.161 [CS_DESTROY]
  731. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3438233779@187.60.60.161) Running State Change CS_DESTROY (Cur 0 Tot 49)
  732. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3438233779@187.60.60.161) State DESTROY
  733. 2023-02-03 09:31:33.211251 97.73% [DEBUG] mod_sofia.c:379 sofia/default/3438233779@187.60.60.161 SOFIA DESTROY
  734. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/3438233779@187.60.60.161 Standard DESTROY
  735. 2023-02-03 09:31:33.211251 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3438233779@187.60.60.161) State DESTROY going to sleep