From new, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-02-25 09:42:43.995891 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4810338297@192.168.1.114 [59bd9545-5e24-4cd0-9758-4238eaa875f5]
  2. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_NEW (Cur 1 Tot 19)
  3. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:10280 sofia/default/4810338297@192.168.1.114 receiving invite from 192.168.1.114:5352 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 192.168.1.114:0.
  5. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:10403 IP 192.168.1.114 Approved by acl "default[]". Access Granted.
  6. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:7326 Channel sofia/default/4810338297@192.168.1.114 entering state [received][100]
  7. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1614218519 1614218520 IN IP4 192.168.1.114
  10. s=FreeSWITCH
  11. c=IN IP4 192.168.1.114
  12. t=0 0
  13. m=audio 27644 RTP/AVP 8 18 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:18 G729/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-16
  18. a=ptime:20
  19.  
  20. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  22. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  24. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  26. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/4810338297@192.168.1.114 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  27. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_codec.c:111 sofia/default/4810338297@192.168.1.114 Original read codec set to PCMA:8
  28. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  29. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_media.c:5911 sofia/default/4810338297@192.168.1.114 Set 2833 dtmf send payload to 101 recv payload to 101
  30. 2021-02-25 09:42:43.995891 [DEBUG] sofia.c:7760 (sofia/default/4810338297@192.168.1.114) State Change CS_NEW -> CS_INIT
  31. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:604 (sofia/default/4810338297@192.168.1.114) State NEW
  32. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_INIT (Cur 1 Tot 19)
  33. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4810338297@192.168.1.114) State INIT
  34. 2021-02-25 09:42:43.995891 [DEBUG] mod_sofia.c:93 sofia/default/4810338297@192.168.1.114 SOFIA INIT
  35. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:40 sofia/default/4810338297@192.168.1.114 Standard INIT
  36. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4810338297@192.168.1.114) State Change CS_INIT -> CS_ROUTING
  37. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4810338297@192.168.1.114) State INIT going to sleep
  38. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_ROUTING (Cur 1 Tot 19)
  39. 2021-02-25 09:42:43.995891 [DEBUG] switch_channel.c:2332 (sofia/default/4810338297@192.168.1.114) Callstate Change DOWN -> RINGING
  40. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4810338297@192.168.1.114) State ROUTING
  41. 2021-02-25 09:42:43.995891 [DEBUG] mod_sofia.c:154 sofia/default/4810338297@192.168.1.114 SOFIA ROUTING
  42. 2021-02-25 09:42:43.995891 [DEBUG] switch_core_state_machine.c:236 sofia/default/4810338297@192.168.1.114 Standard ROUTING
  43. 2021-02-25 09:42:43.995891 [INFO] mod_dialplan_xml.c:637 Processing ASTPP <4810338297>->1234569156565656 in context default
  44. 2021-02-25 09:42:44.015875 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  45. 2021-02-25 09:42:44.015875 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  46. 2021-02-25 09:42:44.035912 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  47. 2021-02-25 09:42:44.035912 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 1234569156565656
  48. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1234569156565656' limit 1
  49. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1234569156565656' AND status=0 limit 1
  50. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1234569156565656' and status=0 LIMIT 1
  51. 2021-02-25 09:42:44.035912 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : ASTPP / 4810338297
  52. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1234569156565656" LIMIT 1
  53. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1234569156565656"  AND domains.domain="192.168.1.114" limit 1
  54. 2021-02-25 09:42:44.035912 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  55. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [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("192.168.1.114") 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 "1234569156565656"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  56. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :123456/*.....1234569156565656
  57. 2021-02-25 09:42:44.035912 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 1234569156565656
  58. 2021-02-25 09:42:44.035912 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9156565656
  59. 2021-02-25 09:42:44.035912 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 5966448661]
  60. 2021-02-25 09:42:44.035912 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9156565656
  61. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5966448661" AND deleted = 0 limit 1
  62. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9156565656.*' OR blocked_patterns = '^915656565.*' OR blocked_patterns = '^91565656.*' OR blocked_patterns = '^9156565.*' OR blocked_patterns = '^915656.*' OR blocked_patterns = '^91565.*' OR blocked_patterns = '^9156.*' OR blocked_patterns = '^915.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 60 limit 1
  63. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [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 ="9156565656" AND A.accountid = '60' limit 1
  64. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9156565656
  65. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9156565656" LIMIT 1
  66. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
  67. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="9156565656" AND (accountid = 0 OR status = 1) LIMIT 1
  68. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  69. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :60
  70. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [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 (patterns = '^9156565656.*' OR patterns = '^915656565.*' OR patterns = '^91565656.*' OR patterns = '^9156565.*' OR patterns = '^915656.*' OR patterns = '^91565.*' OR patterns = '^9156.*' OR patterns = '^915.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 60 ORDER BY LENGTH(PKGPTR.patterns) DESC
  71. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '9156565656' OR number = '915656565' OR number = '91565656' OR number = '9156565' OR number = '915656' OR number = '91565' OR number = '9156' OR number = '915' OR number = '91' OR number = '9' OR number ='--') OR (number = '9156565656*' OR number = '915656565*' OR number = '91565656*' OR number = '9156565*' OR number = '915656*' OR number = '91565*' OR number = '9156*' OR number = '915*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '4810338297' OR number = '481033829' OR number = '48103382' OR number = '4810338' OR number = '481033' OR number = '48103' OR number = '4810' OR number = '481' OR number = '48' OR number = '4' OR number ='--') OR (number = '4810338297*' OR number = '481033829*' OR number = '48103382*' OR number = '4810338*' OR number = '481033*' OR number = '48103*' OR number = '4810*' OR number = '481*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  72. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  73. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9156565656' OR routing_prefix = '915656565' OR routing_prefix = '91565656' OR routing_prefix = '9156565' OR routing_prefix = '915656' OR routing_prefix = '91565' OR routing_prefix = '9156' OR routing_prefix = '915' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  74. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  75. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 60
  76. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 5966448661
  77. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 495.255
  78. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  79. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  80. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  81. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  82. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  83. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  84. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9156565656" LIMIT 1
  85. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
  86. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  87. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 14
  88. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  89. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  90. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  91. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 9156565656
  92. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 88
  93. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 60
  94. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  95. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your495.255 balance Accountid 60 !!!
  96. 2021-02-25 09:42:44.055860 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  97. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  98. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  99. 2021-02-25 09:42:44.055860 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  100. 2021-02-25 09:42:44.055860 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 60 AND status=0 LIMIT 1
  101. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "60" AND deleted = 0 limit 1
  102. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:60
  103. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:60
  104. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 60
  105. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 60 limit 1
  106. 2021-02-25 09:42:44.075862 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain192.168.1.114
  107. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] timecondition_id : 2
  108. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  109. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] failover_timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  110. span style="color: green; font-weight: bold;"> 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-2","year":"2021-2021","extensions":"63","no_answer_call_type":"11","priority":"1"}]
  111. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] failover_timecondition_str : #
  112. span style="color: green; font-weight: bold;"> 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] priority : 1
  113. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [sipdevice_form_id] Query :SELECT username from sip_devices where id = "63" limit 1
  114. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '92' LIMIT 1
  115. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] condition_str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-2"  year= "2021-2021"
  116. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  117. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  118. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] customer_userinfo['is_recording'] : 1
  119. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
  120. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "2" AND accounts.status = 0
  121. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 60 limit 1
  122. 2021-02-25 09:42:44.075862 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain192.168.1.114
  123. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_11
  124. 2021-02-25 09:42:44.075862 [INFO] switch_cpp.cpp:1447 [ASTPP] [TIME_COND] timecondition_id : 2
  125. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '2' and status =0 LIMIT 1
  126. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] time_condition::::::::::::::::::::::::14
  127. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name::::::::::::::::::::::::14
  128. 2021-02-25 09:42:44.075862 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  129. <document type="freeswitch/xml">
  130. <section name="dialplan" description="ASTPP Dialplan">
  131. <context name="default">
  132. <extension name="WWW" continue="true">
  133. <condition break="never">
  134. <action application="set" data="timezone=America/Glace_Bay" inline="true"/>
  135. </condition>
  136. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-2"  year= "2021-2021"  break="never">
  137. <action application="set" data="office_status=open" inline="true"/>
  138. <action application="set" data="extensions=5966448661" inline="true"/>
  139. <action application="set" data="no_answer_call_type=11" inline="true"/>
  140. </condition>
  141. </extension>
  142. <extension name="tod route, x9156565656">
  143. <condition field="destination_number" expression="^(\+?)?(9156565656)$">
  144. <action application="execute_extension" data="9156565656_${office_status}"/>
  145. </condition>
  146. </extension>
  147. <extension name="office is open">
  148. <condition field="destination_number" expression="^(\+?)?(9156565656_open)$">
  149. <action application="set" data="domain_name=192.168.1.114"/>
  150. <action application="set" data="set_extensions=${extensions}"/>
  151. <action application="set" data="no_answer_flag=true"/>
  152. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  153. <action application="set" data="no_answer_number=${extensions}" />
  154. <action application="transfer" data="60 XML default"/>
  155. </condition>
  156. </extension>
  157. <extension name="9156565656">
  158. <condition field="destination_number" expression="1234569156565656">
  159. <action application="set" data="effective_destination_number=9156565656"/>
  160. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  161. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  162. <action application="set" data="callstart=2021-02-25 09:42:44"/>
  163. <action application="set" data="hangup_after_bridge=true"/>
  164. <action application="set" data="continue_on_fail=TRUE"/>
  165. <action application="set" data="account_id=60"/>
  166. <action application="set" data="parent_id=0"/>
  167. <action application="set" data="entity_id=0"/>
  168. <action application="set" data="call_processed=internal"/>
  169. <action application="set" data="call_direction=inbound"/>
  170. <action application="set" data="accountname=SameerIP"/>
  171. <action application="set" data="origination_rates_did=ID:14|CODE:^9156565656.*|DESTINATION:9156565656|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:60"/>
  172. <action application="set" data="origination_rates=0"/>
  173. <action application="set" data="original_caller_id_name=ASTPP"/>
  174. <action application="set" data="original_caller_id_number=4810338297"/>
  175. <action application="limit" data="db 60 user_60 60 "/>
  176. <action application="set" data="effective_caller_id_name=ASTPP"/>
  177. <action application="set" data="effective_caller_id_number=4810338297"/>
  178. <action application="set" data="receiver_accid=60"/>
  179. <action application="export" data="domain_name=192.168.1.114"/>
  180. <action application="export" data="sip_to_host=192.168.1.114"/>
  181. <action application="limit" data="db 9156565656 did_9156565656 60 "/>
  182. <action application="export" data="presence_data=x|||Call(5966448661)|||^9156565656.* // 9156565656 // 0.00000||||||DID|||192.168.1.114"/>
  183. <action application="export" data="call_type=11"/>
  184. </condition>
  185. </extension>
  186. </context>
  187. </section>
  188. </document>
  189. Dialplan: sofia/default/4810338297@192.168.1.114 parsing [default->WWW] continue=true
  190. Dialplan: sofia/default/4810338297@192.168.1.114 Absolute Condition [WWW]
  191. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(timezone=America/Glace_Bay) INLINE
  192. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(timezone=America/Glace_Bay)
  193. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [timezone]=[America/Glace_Bay]
  194. Dialplan: sofia/default/4810338297@192.168.1.114 Date/Time Match (PASS) [WWW] break=never
  195. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(office_status=open) INLINE
  196. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(office_status=open)
  197. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [office_status]=[open]
  198. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(extensions=5966448661) INLINE
  199. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(extensions=5966448661)
  200. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [extensions]=[5966448661]
  201. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(no_answer_call_type=11) INLINE
  202. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(no_answer_call_type=11)
  203. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [no_answer_call_type]=[11]
  204. Dialplan: sofia/default/4810338297@192.168.1.114 parsing [default->tod route, x9156565656] continue=false
  205. Dialplan: sofia/default/4810338297@192.168.1.114 Regex (FAIL) [tod route, x9156565656] destination_number(1234569156565656) =~ /^(\+?)?(9156565656)$/ break=on-false
  206. Dialplan: sofia/default/4810338297@192.168.1.114 parsing [default->office is open] continue=false
  207. Dialplan: sofia/default/4810338297@192.168.1.114 Regex (FAIL) [office is open] destination_number(1234569156565656) =~ /^(\+?)?(9156565656_open)$/ break=on-false
  208. Dialplan: sofia/default/4810338297@192.168.1.114 parsing [default->9156565656] continue=false
  209. Dialplan: sofia/default/4810338297@192.168.1.114 Regex (PASS) [9156565656] destination_number(1234569156565656) =~ /1234569156565656/ break=on-false
  210. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(effective_destination_number=9156565656)
  211. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  212. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  213. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(callstart=2021-02-25 09:42:44)
  214. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(hangup_after_bridge=true)
  215. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(continue_on_fail=TRUE)
  216. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(account_id=60)
  217. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(parent_id=0)
  218. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(entity_id=0)
  219. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(call_processed=internal)
  220. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(call_direction=inbound)
  221. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(accountname=SameerIP)
  222. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(origination_rates_did=ID:14|CODE:^9156565656.*|DESTINATION:9156565656|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:60)
  223. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(origination_rates=0)
  224. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(original_caller_id_name=ASTPP)
  225. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(original_caller_id_number=4810338297)
  226. Dialplan: sofia/default/4810338297@192.168.1.114 Action limit(db 60 user_60 60 )
  227. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(effective_caller_id_name=ASTPP)
  228. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(effective_caller_id_number=4810338297)
  229. Dialplan: sofia/default/4810338297@192.168.1.114 Action set(receiver_accid=60)
  230. Dialplan: sofia/default/4810338297@192.168.1.114 Action export(domain_name=192.168.1.114)
  231. Dialplan: sofia/default/4810338297@192.168.1.114 Action export(sip_to_host=192.168.1.114)
  232. Dialplan: sofia/default/4810338297@192.168.1.114 Action limit(db 9156565656 did_9156565656 60 )
  233. Dialplan: sofia/default/4810338297@192.168.1.114 Action export(presence_data=x|||Call(5966448661)|||^9156565656.* // 9156565656 // 0.00000||||||DID|||192.168.1.114)
  234. Dialplan: sofia/default/4810338297@192.168.1.114 Action export(call_type=11)
  235. 2021-02-25 09:42:44.075862 [DEBUG] switch_core_state_machine.c:287 (sofia/default/4810338297@192.168.1.114) State Change CS_ROUTING -> CS_EXECUTE
  236. 2021-02-25 09:42:44.075862 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4810338297@192.168.1.114) State ROUTING going to sleep
  237. 2021-02-25 09:42:44.075862 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_EXECUTE (Cur 1 Tot 19)
  238. 2021-02-25 09:42:44.075862 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4810338297@192.168.1.114) State EXECUTE
  239. 2021-02-25 09:42:44.075862 [DEBUG] mod_sofia.c:209 sofia/default/4810338297@192.168.1.114 SOFIA EXECUTE
  240. 2021-02-25 09:42:44.075862 [DEBUG] switch_core_state_machine.c:329 sofia/default/4810338297@192.168.1.114 Standard EXECUTE
  241. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(effective_destination_number=9156565656)
  242. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [effective_destination_number]=[9156565656]
  243. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(bridge_pre_execute_bleg_app=sched_hangup)
  244. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [bridge_pre_execute_bleg_app]=[sched_hangup]
  245. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  246. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  247. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(callstart=2021-02-25 09:42:44)
  248. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [callstart]=[2021-02-25 09:42:44]
  249. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(hangup_after_bridge=true)
  250. 2021-02-25 09:42:44.075862 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [hangup_after_bridge]=[true]
  251. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(continue_on_fail=TRUE)
  252. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [continue_on_fail]=[TRUE]
  253. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(account_id=60)
  254. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [account_id]=[60]
  255. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(parent_id=0)
  256. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [parent_id]=[0]
  257. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(entity_id=0)
  258. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [entity_id]=[0]
  259. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(call_processed=internal)
  260. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [call_processed]=[internal]
  261. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(call_direction=inbound)
  262. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [call_direction]=[inbound]
  263. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(accountname=SameerIP)
  264. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [accountname]=[SameerIP]
  265. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(origination_rates_did=ID:14|CODE:^9156565656.*|DESTINATION:9156565656|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:60)
  266. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [origination_rates_did]=[ID:14|CODE:^9156565656.*|DESTINATION:9156565656|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:60]
  267. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(origination_rates=0)
  268. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [origination_rates]=[0]
  269. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(original_caller_id_name=ASTPP)
  270. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [original_caller_id_name]=[ASTPP]
  271. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(original_caller_id_number=4810338297)
  272. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [original_caller_id_number]=[4810338297]
  273. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 limit(db 60 user_60 60 )
  274. 2021-02-25 09:42:44.095861 [DEBUG] switch_limit.c:124 incr called: 60_user_60 max:60, interval:0
  275. 2021-02-25 09:42:44.095861 [DEBUG] mod_db.c:194 Usage for 60_user_60 is now 1/60
  276. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(effective_caller_id_name=ASTPP)
  277. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [effective_caller_id_name]=[ASTPP]
  278. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(effective_caller_id_number=4810338297)
  279. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [effective_caller_id_number]=[4810338297]
  280. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 set(receiver_accid=60)
  281. 2021-02-25 09:42:44.095861 [DEBUG] mod_dptools.c:1672 SET sofia/default/4810338297@192.168.1.114 [receiver_accid]=[60]
  282. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 export(domain_name=192.168.1.114)
  283. 2021-02-25 09:42:44.095861 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[192.168.1.114]
  284. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 export(sip_to_host=192.168.1.114)
  285. 2021-02-25 09:42:44.095861 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[192.168.1.114]
  286. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 limit(db 9156565656 did_9156565656 60 )
  287. 2021-02-25 09:42:44.095861 [DEBUG] switch_limit.c:124 incr called: 9156565656_did_9156565656 max:60, interval:0
  288. 2021-02-25 09:42:44.095861 [DEBUG] mod_db.c:194 Usage for 9156565656_did_9156565656 is now 1/60
  289. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 export(presence_data=x|||Call(5966448661)|||^9156565656.* // 9156565656 // 0.00000||||||DID|||192.168.1.114)
  290. 2021-02-25 09:42:44.095861 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Call(5966448661)|||^9156565656.* // 9156565656 // 0.00000||||||DID|||192.168.1.114]
  291. EXECUTE [depth=0] sofia/default/4810338297@192.168.1.114 export(call_type=11)
  292. 2021-02-25 09:42:44.095861 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[11]
  293. 2021-02-25 09:42:44.095861 [NOTICE] switch_core_state_machine.c:386 sofia/default/4810338297@192.168.1.114 has executed the last dialplan instruction, hanging up.
  294. 2021-02-25 09:42:44.095861 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/4810338297@192.168.1.114 [CS_EXECUTE] [NORMAL_CLEARING]
  295. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4810338297@192.168.1.114) State EXECUTE going to sleep
  296. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_HANGUP (Cur 1 Tot 19)
  297. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4810338297@192.168.1.114) Callstate Change RINGING -> HANGUP
  298. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4810338297@192.168.1.114) State HANGUP
  299. 2021-02-25 09:42:44.095861 [DEBUG] mod_sofia.c:453 Channel sofia/default/4810338297@192.168.1.114 hanging up, cause: NORMAL_CLEARING
  300. 2021-02-25 09:42:44.095861 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
  301. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:60 sofia/default/4810338297@192.168.1.114 Standard HANGUP, cause: NORMAL_CLEARING
  302. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4810338297@192.168.1.114) State HANGUP going to sleep
  303. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4810338297@192.168.1.114) State Change CS_HANGUP -> CS_REPORTING
  304. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4810338297@192.168.1.114) Running State Change CS_REPORTING (Cur 1 Tot 19)
  305. 2021-02-25 09:42:44.095861 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4810338297@192.168.1.114) State REPORTING
  306. 2021-02-25 09:42:44.095861 [INFO] mod_json_cdr.c:271 Process [59bd9545-5e24-4cd0-9758-4238eaa875f5.cdr.json]
  307. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:174 sofia/default/4810338297@192.168.1.114 Standard REPORTING, cause: NORMAL_CLEARING
  308. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4810338297@192.168.1.114) State REPORTING going to sleep
  309. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4810338297@192.168.1.114) State Change CS_REPORTING -> CS_DESTROY
  310. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_session.c:1726 Session 19 (sofia/default/4810338297@192.168.1.114) Locked, Waiting on external entities
  311. 2021-02-25 09:42:44.395912 [NOTICE] switch_core_session.c:1744 Session 19 (sofia/default/4810338297@192.168.1.114) Ended
  312. 2021-02-25 09:42:44.395912 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4810338297@192.168.1.114 [CS_DESTROY]
  313. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4810338297@192.168.1.114) Running State Change CS_DESTROY (Cur 0 Tot 19)
  314. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4810338297@192.168.1.114) State DESTROY
  315. 2021-02-25 09:42:44.395912 [DEBUG] mod_sofia.c:364 sofia/default/4810338297@192.168.1.114 SOFIA DESTROY
  316. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:181 sofia/default/4810338297@192.168.1.114 Standard DESTROY
  317. 2021-02-25 09:42:44.395912 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4810338297@192.168.1.114) State DESTROY going to sleep
  318.