From Prashant kumar, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Outbound-CallerId localization sequence in All.
  1. freeswitch@gibfibre>
  2. 2021-07-30 06:41:02.370050 [NOTICE] switch_channel.c:1118 New Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 [b25cc9a7-7033-4cd8-a559-4c4843232fc6]
  3. 2021-07-30 06:41:02.370050 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 11)
  4. 2021-07-30 06:41:02.370050 [DEBUG] sofia.c:10280 sofia/default/9106862796@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:64189 version: 1.10.5 -release-17-25569c1631 64bit
  5. 2021-07-30 06:41:02.370050 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  6. 2021-07-30 06:41:02.370050 [DEBUG] sofia.c:2434 detaching session b25cc9a7-7033-4cd8-a559-4c4843232fc6
  7. 2021-07-30 06:41:02.370050 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [3109998777@entdemo.astppbilling.org] from ip 117.247.91.162
  8. 2021-07-30 06:41:02.370050 [DEBUG] switch_core_state_machine.c:604 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State NEW
  9. 2021-07-30 06:41:02.670084 [DEBUG] sofia.c:2544 Re-attaching to session b25cc9a7-7033-4cd8-a559-4c4843232fc6
  10. 2021-07-30 06:41:02.690076 [DEBUG] sofia.c:10280 sofia/default/9106862796@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:64189 version: 1.10.5 -release-17-25569c1631 64bit
  11. 2021-07-30 06:41:02.690076 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  12. 2021-07-30 06:41:02.710050 [DEBUG] sofia.c:11477 Setting NAT mode based on via port
  13. 2021-07-30 06:41:02.710050 [DEBUG] sofia.c:7326 Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 entering state [received][100]
  14. 2021-07-30 06:41:02.710050 [DEBUG] sofia.c:7336 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 117.247.91.162
  17. s=Z
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 5334 RTP/AVP 3 110 8 0 97 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:97 iLBC/8000
  23. a=fmtp:97 mode=30
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-16
  26.  
  27. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  40. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/9106862796@entdemo.astppbilling.org:5077 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_codec.c:111 sofia/default/9106862796@entdemo.astppbilling.org:5077 Original read codec set to PCMA:8
  42. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  43. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_media.c:5911 sofia/default/9106862796@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2021-07-30 06:41:02.710050 [DEBUG] sofia.c:7760 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT
  45. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 11)
  46. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State INIT
  47. 2021-07-30 06:41:02.710050 [DEBUG] mod_sofia.c:93 sofia/default/9106862796@entdemo.astppbilling.org:5077 SOFIA INIT
  48. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:40 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard INIT
  49. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:48 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING
  50. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State INIT going to sleep
  51. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 11)
  52. 2021-07-30 06:41:02.710050 [DEBUG] switch_channel.c:2332 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING
  53. 2021-07-30 06:41:02.710050 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State ROUTING
  54. 2021-07-30 06:41:02.730135 [DEBUG] mod_sofia.c:154 sofia/default/9106862796@entdemo.astppbilling.org:5077 SOFIA ROUTING
  55. 2021-07-30 06:41:02.730135 [DEBUG] switch_core_state_machine.c:236 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard ROUTING
  56. 2021-07-30 06:41:02.730135 [INFO] mod_dialplan_xml.c:637 Processing 9106862796 <9106862796>->3109998777 in context default
  57. 2021-07-30 06:41:02.730135 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2021-07-30 06:41:02.730135 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2021-07-30 06:41:02.730135 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  60. 2021-07-30 06:41:02.730135 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 3109998777
  61. 2021-07-30 06:41:02.730135 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3109998777' limit 1
  62. 2021-07-30 06:41:02.750046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3109998777' AND status=0 limit 1
  63. 2021-07-30 06:41:02.750046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3109998777' and status=0 LIMIT 1
  64. 2021-07-30 06:41:02.750046 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  65. 2021-07-30 06:41:02.750046 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : Prashant / 8320999999
  66. 2021-07-30 06:41:02.750046 [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 ="3109998777" LIMIT 1
  67. 2021-07-30 06:41:02.750046 [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="3109998777"  AND domains.domain="entdemo.astppbilling.org" limit 1
  68. 2021-07-30 06:41:02.750046 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  69. 2021-07-30 06:41:02.750046 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3348757062]
  70. 2021-07-30 06:41:02.750046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3348757062" AND deleted = 0 limit 1
  71. 2021-07-30 06:41:02.750046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3109998777.*' OR blocked_patterns = '^310999877.*' OR blocked_patterns = '^31099987.*' OR blocked_patterns = '^3109998.*' OR blocked_patterns = '^310999.*' OR blocked_patterns = '^31099.*' OR blocked_patterns = '^3109.*' OR blocked_patterns = '^310.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 11 limit 1
  72. 2021-07-30 06:41:02.750046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3109998777" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2021-07-30 06:41:02.770050 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  74. 2021-07-30 06:41:02.770050 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  75. 2021-07-30 06:41:02.770050 [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 = '^3109998777.*' OR patterns = '^310999877.*' OR patterns = '^31099987.*' OR patterns = '^3109998.*' OR patterns = '^310999.*' OR patterns = '^31099.*' OR patterns = '^3109.*' OR patterns = '^310.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  76. 2021-07-30 06:41:02.790046 [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 ="3109998777" AND A.accountid = '11' limit 1
  77. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3109998777
  78. 2021-07-30 06:41:02.790046 [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 ="3109998777" LIMIT 1
  79. 2021-07-30 06:41:02.790046 [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="3109998777"  AND domains.domain="entdemo.astppbilling.org" limit 1
  80. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  81. 2021-07-30 06:41:02.790046 [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 = '3109998777' OR number = '310999877' OR number = '31099987' OR number = '3109998' OR number = '310999' OR number = '31099' OR number = '3109' OR number = '310' OR number = '31' OR number = '3' OR number ='--') OR (number = '3109998777*' OR number = '310999877*' OR number = '31099987*' OR number = '3109998*' OR number = '310999*' OR number = '31099*' OR number = '3109*' OR number = '310*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '8320999999' OR number = '832099999' OR number = '83209999' OR number = '8320999' OR number = '832099' OR number = '83209' OR number = '8320' OR number = '832' OR number = '83' OR number = '8' OR number ='--') OR (number = '8320999999*' OR number = '832099999*' OR number = '83209999*' OR number = '8320999*' OR number = '832099*' OR number = '83209*' OR number = '8320*' OR number = '832*' OR number = '83*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  83. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3109998777' OR routing_prefix = '310999877' OR routing_prefix = '31099987' OR routing_prefix = '3109998' OR routing_prefix = '310999' OR routing_prefix = '31099' OR routing_prefix = '3109' OR routing_prefix = '310' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  84. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (3109998777)!!!!
  85. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (3109998777)!!!!
  86. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  87. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
  88. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3348757062
  89. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9997.95
  90. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  91. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
  92. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  93. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  94. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....Prashant
  95. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320999999
  96. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320999999
  97. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977999999
  98. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....Prashant
  99. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320999999
  100. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320999999
  101. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977999999
  102. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  103. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  104. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  105. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3109998777.*' OR pattern = '^310999877.*' OR pattern = '^31099987.*' OR pattern = '^3109998.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=11)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  106. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  107. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  108. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 27
  109. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  110. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  111. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 3.00000
  112. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  113. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  114. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
  115. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  116. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  117. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  118. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9997.95 balance Accountid 11 !!!
  119. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  120. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  121. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  122. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  123. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^3109998777.*' OR pattern = '^310999877.*' OR pattern = '^31099987.*' OR pattern = '^3109998.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1,4,5,6,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  124. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  125. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 12
  126. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^31.*
  127. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination :
  128. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  129. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  130. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^31.*
  131. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  132. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  133. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 5
  134. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : PkGateway
  135. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  136. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  137. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  138. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  139. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : TrunkPK
  140. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  141. 2021-07-30 06:41:02.790046 [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 = 11 AND status=0 LIMIT 1
  142. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  143. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  145. 2021-07-30 06:41:02.790046 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  146. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  147. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  148. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"9977/8866".....Prashant
  149. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"9977/8866".....9977999999
  150. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9977999999
  151. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 8866999999
  152. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  153. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....Prashant
  154. 2021-07-30 06:41:02.790046 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....8866999999
  155. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8866999999
  156. 2021-07-30 06:41:02.790046 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 5533999999
  157. 2021-07-30 06:41:02.790046 [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 ="3109998777" LIMIT 1
  158. 2021-07-30 06:41:02.810044 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  159. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  160. <document type="freeswitch/xml">
  161. <section name="dialplan" description="ASTPP Dialplan">
  162. <context name="default">
  163. <extension name="3109998777">
  164. <condition field="destination_number" expression="3109998777">
  165. <action application="set" data="effective_destination_number=3109998777"/>
  166. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  167. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  168. <action application="set" data="callstart=2021-07-30 06:41:02"/>
  169. <action application="set" data="hangup_after_bridge=true"/>
  170. <action application="set" data="continue_on_fail=TRUE"/>
  171. <action application="set" data="account_id=11"/>
  172. <action application="set" data="parent_id=0"/>
  173. <action application="set" data="entity_id=0"/>
  174. <action application="set" data="call_processed=internal"/>
  175. <action application="set" data="call_direction=outbound"/>
  176. <action application="set" data="accountname=default"/>
  177. <action application="set" data="filename1=astpp.pbx.lua"/>
  178. <action application="set" data="origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:11"/>
  179. <action application="set" data="original_caller_id_name=Prashant"/>
  180. <action application="set" data="original_caller_id_number=9977999999"/>
  181.  
  182. <action application="set" data="effective_caller_id_name=Prashant"/>
  183. <action application="set" data="effective_caller_id_number=5533999999"/>
  184. <action application="set" data="calltype=STANDARD"/>
  185. <action application="set" data="termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3"/>
  186. <action application="set" data="trunk_id=5"/>
  187. <action application="set" data="provider_id=3"/>
  188. <action application="set" data="rate_flag=0"/>
  189. <action application="set" data="force_trunk_flag=0"/>
  190. <action application="export" data="presence_data=trunk_id=5"/>
  191. <action application="set" data="intcall=0"/>
  192. <action application="export" data="presence_id=3109998777"/>
  193. <action application="export" data="presence_data=x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162"/>
  194. <action application="bridge" data="[leg_timeout=0]sofia/gateway/PkGateway/3109998777"/>
  195. </condition>
  196. </extension>
  197. </context>
  198. </section>
  199. </document>
  200. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 parsing [default->3109998777] continue=false
  201. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Regex (PASS) [3109998777] destination_number(3109998777) =~ /3109998777/ break=on-false
  202. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(effective_destination_number=3109998777)
  203. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  204. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  205. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(callstart=2021-07-30 06:41:02)
  206. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(hangup_after_bridge=true)
  207. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(continue_on_fail=TRUE)
  208. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(account_id=11)
  209. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(parent_id=0)
  210. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(entity_id=0)
  211. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(call_processed=internal)
  212. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(call_direction=outbound)
  213. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(accountname=default)
  214. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(filename1=astpp.pbx.lua)
  215. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:11)
  216. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(original_caller_id_name=Prashant)
  217. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(original_caller_id_number=9977999999)
  218. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(effective_caller_id_name=Prashant)
  219. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(effective_caller_id_number=5533999999)
  220. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(calltype=STANDARD)
  221. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3)
  222. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(trunk_id=5)
  223. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(provider_id=3)
  224. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(rate_flag=0)
  225. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(force_trunk_flag=0)
  226. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action export(presence_data=trunk_id=5)
  227. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action set(intcall=0)
  228. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action export(presence_id=3109998777)
  229. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action export(presence_data=x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162)
  230. Dialplan: sofia/default/9106862796@entdemo.astppbilling.org:5077 Action bridge([leg_timeout=0]sofia/gateway/PkGateway/3109998777)
  231. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:287 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE
  232. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State ROUTING going to sleep
  233. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 11)
  234. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State EXECUTE
  235. 2021-07-30 06:41:02.810044 [DEBUG] mod_sofia.c:209 sofia/default/9106862796@entdemo.astppbilling.org:5077 SOFIA EXECUTE
  236. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:329 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard EXECUTE
  237. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(effective_destination_number=3109998777)
  238. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [effective_destination_number]=[3109998777]
  239. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_app=sched_hangup)
  240. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_app]=[sched_hangup]
  241. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  242. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  243. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(callstart=2021-07-30 06:41:02)
  244. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [callstart]=[2021-07-30 06:41:02]
  245. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(hangup_after_bridge=true)
  246. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [hangup_after_bridge]=[true]
  247. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(continue_on_fail=TRUE)
  248. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [continue_on_fail]=[TRUE]
  249. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(account_id=11)
  250. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [account_id]=[11]
  251. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(parent_id=0)
  252. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [parent_id]=[0]
  253. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(entity_id=0)
  254. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [entity_id]=[0]
  255. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(call_processed=internal)
  256. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [call_processed]=[internal]
  257. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(call_direction=outbound)
  258. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [call_direction]=[outbound]
  259. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(accountname=default)
  260. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [accountname]=[default]
  261. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(filename1=astpp.pbx.lua)
  262. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [filename1]=[astpp.pbx.lua]
  263. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:11)
  264. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:11]
  265. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(original_caller_id_name=Prashant)
  266. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [original_caller_id_name]=[Prashant]
  267. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(original_caller_id_number=9977999999)
  268. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [original_caller_id_number]=[9977999999]
  269. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(effective_caller_id_name=Prashant)
  270. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [effective_caller_id_name]=[Prashant]
  271. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(effective_caller_id_number=5533999999)
  272. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [effective_caller_id_number]=[5533999999]
  273. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(calltype=STANDARD)
  274. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [calltype]=[STANDARD]
  275. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3)
  276. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3]
  277. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(trunk_id=5)
  278. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [trunk_id]=[5]
  279. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(provider_id=3)
  280. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [provider_id]=[3]
  281. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(rate_flag=0)
  282. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [rate_flag]=[0]
  283. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(force_trunk_flag=0)
  284. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [force_trunk_flag]=[0]
  285. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 export(presence_data=trunk_id=5)
  286. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  287. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 set(intcall=0)
  288. 2021-07-30 06:41:02.810044 [DEBUG] mod_dptools.c:1672 SET sofia/default/9106862796@entdemo.astppbilling.org:5077 [intcall]=[0]
  289. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 export(presence_id=3109998777)
  290. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[3109998777]
  291. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 export(presence_data=x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162)
  292. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162]
  293. EXECUTE [depth=0] sofia/default/9106862796@entdemo.astppbilling.org:5077 bridge([leg_timeout=0]sofia/gateway/PkGateway/3109998777)
  294. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1264 sofia/default/9106862796@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162] to event
  295. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1264 sofia/default/9106862796@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_id]=[3109998777] to event
  296. 2021-07-30 06:41:02.810044 [DEBUG] switch_channel.c:1264 sofia/default/9106862796@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||^31.* //  // 3.00000 |||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162] to event
  297. 2021-07-30 06:41:02.810044 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  298. 2021-07-30 06:41:02.810044 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  299. 2021-07-30 06:41:02.810044 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3109998777 [5ab79ef7-e606-42db-bdbb-96cb9d81eb61]
  300. 2021-07-30 06:41:02.810044 [DEBUG] mod_sofia.c:5089 (sofia/default/3109998777) State Change CS_NEW -> CS_INIT
  301. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_INIT (Cur 2 Tot 12)
  302. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3109998777) State INIT
  303. 2021-07-30 06:41:02.810044 [DEBUG] mod_sofia.c:93 sofia/default/3109998777 SOFIA INIT
  304. 2021-07-30 06:41:02.810044 [DEBUG] sofia_glue.c:1618 sofia/default/3109998777 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  305. Local SDP:
  306. v=0
  307. o=FreeSWITCH 1627605206 1627605207 IN IP4 46.101.114.158
  308. s=FreeSWITCH
  309. c=IN IP4 46.101.114.158
  310. t=0 0
  311. m=audio 22056 RTP/AVP 8 101
  312. a=rtpmap:8 PCMA/8000
  313. a=rtpmap:101 telephone-event/8000
  314. a=fmtp:101 0-16
  315. a=ptime:20
  316. a=sendrecv
  317.  
  318. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:40 sofia/default/3109998777 Standard INIT
  319. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3109998777) State Change CS_INIT -> CS_ROUTING
  320. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3109998777) State INIT going to sleep
  321. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_ROUTING (Cur 2 Tot 12)
  322. 2021-07-30 06:41:02.810044 [DEBUG] sofia.c:7326 Channel sofia/default/3109998777 entering state [calling][0]
  323. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3109998777) State ROUTING
  324. 2021-07-30 06:41:02.810044 [DEBUG] mod_sofia.c:154 sofia/default/3109998777 SOFIA ROUTING
  325. 2021-07-30 06:41:02.810044 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3109998777) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  326. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3109998777) State ROUTING going to sleep
  327. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12)
  328. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:663 (sofia/default/3109998777) State CONSUME_MEDIA
  329. 2021-07-30 06:41:02.810044 [DEBUG] switch_core_state_machine.c:663 (sofia/default/3109998777) State CONSUME_MEDIA going to sleep
  330. 2021-07-30 06:41:02.890053 [DEBUG] sofia.c:7326 Channel sofia/default/3109998777 entering state [completing][200]
  331. 2021-07-30 06:41:02.890053 [DEBUG] sofia.c:7336 Remote SDP:
  332. v=0
  333. o=root 1879753771 1879753771 IN IP4 159.203.131.36
  334. s=Asterisk PBX 16.4.0
  335. c=IN IP4 159.203.131.36
  336. t=0 0
  337. m=audio 11784 RTP/AVP 8 101
  338. a=rtpmap:8 PCMA/8000
  339. a=rtpmap:101 telephone-event/8000
  340. a=fmtp:101 0-16
  341. a=maxptime:150
  342.  
  343. 2021-07-30 06:41:02.890053 [DEBUG] sofia.c:7326 Channel sofia/default/3109998777 entering state [ready][200]
  344. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  345. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  346. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  347. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/3109998777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  348. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_codec.c:111 sofia/default/3109998777 Original read codec set to PCMA:8
  349. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  350. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:5911 sofia/default/3109998777 Set 2833 dtmf send payload to 101 recv payload to 101
  351. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/3109998777] 46.101.114.158 port 22056 -> 159.203.131.36 port 11784 codec: 8 ms: 20
  352. 2021-07-30 06:41:02.890053 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  353. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:8977 sofia/default/3109998777 Set 2833 dtmf send payload to 101
  354. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:8984 sofia/default/3109998777 Set 2833 dtmf receive payload to 101
  355. 2021-07-30 06:41:02.890053 [DEBUG] switch_core_media.c:9007 sofia/default/3109998777 Set rtp dtmf delay to 40
  356. 2021-07-30 06:41:02.890053 [NOTICE] sofia.c:8504 Channel [sofia/default/3109998777] has been answered
  357. 2021-07-30 06:41:02.890053 [DEBUG] switch_channel.c:3865 (sofia/default/3109998777) Callstate Change DOWN -> ACTIVE
  358. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/9106862796@entdemo.astppbilling.org:5077] 46.101.114.158 port 13076 -> 117.247.91.162 port 5334 codec: 8 ms: 20
  359. 2021-07-30 06:41:02.910043 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  360. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_media.c:8977 sofia/default/9106862796@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101
  361. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_media.c:8984 sofia/default/9106862796@entdemo.astppbilling.org:5077 Set 2833 dtmf receive payload to 101
  362. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_media.c:9007 sofia/default/9106862796@entdemo.astppbilling.org:5077 Set rtp dtmf delay to 40
  363. 2021-07-30 06:41:02.910043 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/9106862796@entdemo.astppbilling.org:5077:
  364. v=0
  365. o=FreeSWITCH 1627614186 1627614187 IN IP4 46.101.114.158
  366. s=FreeSWITCH
  367. c=IN IP4 46.101.114.158
  368. t=0 0
  369. m=audio 13076 RTP/AVP 8 101
  370. a=rtpmap:8 PCMA/8000
  371. a=rtpmap:101 telephone-event/8000
  372. a=fmtp:101 0-16
  373. a=ptime:20
  374. a=sendrecv
  375.  
  376. 2021-07-30 06:41:02.910043 [DEBUG] sofia.c:7326 Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 entering state [completed][200]
  377. 2021-07-30 06:41:02.910043 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/9106862796@entdemo.astppbilling.org:5077] has been answered
  378. 2021-07-30 06:41:02.910043 [DEBUG] switch_channel.c:3865 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Callstate Change RINGING -> ACTIVE
  379. 2021-07-30 06:41:02.910043 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/3109998777]
  380. 2021-07-30 06:41:02.910043 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/3109998777) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  381. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 12)
  382. 2021-07-30 06:41:02.910043 [DEBUG] switch_core_state_machine.c:654 (sofia/default/3109998777) State EXCHANGE_MEDIA
  383. 2021-07-30 06:41:02.910043 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  384. 2021-07-30 06:41:03.070055 [DEBUG] sofia.c:7326 Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 entering state [ready][200]
  385. 2021-07-30 06:41:03.090046 [DEBUG] switch_ivr_bridge.c:655 sofia/default/3109998777 Bridge execute app sched_hangup(+6000 normal_clearing)
  386. 2021-07-30 06:41:03.110060 [DEBUG] switch_ivr.c:632 sofia/default/3109998777 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  387. EXECUTE [depth=0] sofia/default/3109998777 sched_hangup(+6000 normal_clearing)
  388. 2021-07-30 06:41:03.110060 [DEBUG] switch_scheduler.c:252 Added task 6 switch_ivr_schedule_hangup (5ab79ef7-e606-42db-bdbb-96cb9d81eb61) to run at 1627633263
  389. 2021-07-30 06:41:03.649950 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  390. 2021-07-30 06:41:03.649950 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  391. 2021-07-30 06:42:20.490064 [NOTICE] sofia.c:1089 Hangup sofia/default/9106862796@entdemo.astppbilling.org:5077 [CS_EXECUTE] [NORMAL_CLEARING]
  392. 2021-07-30 06:42:20.490064 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9106862796@entdemo.astppbilling.org:5077]
  393. 2021-07-30 06:42:20.490064 [DEBUG] switch_ivr_bridge.c:820 sofia/default/9106862796@entdemo.astppbilling.org:5077 ending bridge by request from write function
  394. 2021-07-30 06:42:20.490064 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3109998777]
  395. 2021-07-30 06:42:20.490064 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/3109998777 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  396. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:654 (sofia/default/3109998777) State EXCHANGE_MEDIA going to sleep
  397. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_HANGUP (Cur 2 Tot 12)
  398. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3109998777) Callstate Change ACTIVE -> HANGUP
  399. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3109998777) State HANGUP
  400. 2021-07-30 06:42:20.490064 [DEBUG] mod_sofia.c:447 sofia/default/3109998777 Overriding SIP cause 480 with 200 from the other leg
  401. 2021-07-30 06:42:20.490064 [DEBUG] mod_sofia.c:453 Channel sofia/default/3109998777 hanging up, cause: NORMAL_CLEARING
  402. 2021-07-30 06:42:20.490064 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/3109998777
  403. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:60 sofia/default/3109998777 Standard HANGUP, cause: NORMAL_CLEARING
  404. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3109998777) State HANGUP going to sleep
  405. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3109998777) State Change CS_HANGUP -> CS_REPORTING
  406. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3109998777) Running State Change CS_REPORTING (Cur 2 Tot 12)
  407. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3109998777) State REPORTING
  408. 2021-07-30 06:42:20.490064 [INFO] mod_json_cdr.c:271 Process [5ab79ef7-e606-42db-bdbb-96cb9d81eb61.cdr.json]
  409. 2021-07-30 06:42:20.490064 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/3109998777 skip receive message [UNBRIDGE] (channel is hungup already)
  410. 2021-07-30 06:42:20.490064 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9106862796@entdemo.astppbilling.org:5077 skip receive message [UNBRIDGE] (channel is hungup already)
  411. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_session.c:2905 sofia/default/9106862796@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  412. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State EXECUTE going to sleep
  413. 2021-07-30 06:42:20.490064 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 2 Tot 12)
  414. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:848 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> HANGUP
  415. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State HANGUP
  416. 2021-07-30 06:42:20.510043 [DEBUG] mod_sofia.c:453 Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 hanging up, cause: NORMAL_CLEARING
  417. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:60 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard HANGUP, cause: NORMAL_CLEARING
  418. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State HANGUP going to sleep
  419. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:620 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING
  420. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 2 Tot 12)
  421. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State REPORTING
  422. 2021-07-30 06:42:20.510043 [INFO] mod_json_cdr.c:271 Process [b25cc9a7-7033-4cd8-a559-4c4843232fc6.cdr.json]
  423. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:174 sofia/default/3109998777 Standard REPORTING, cause: NORMAL_CLEARING
  424. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3109998777) State REPORTING going to sleep
  425. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3109998777) State Change CS_REPORTING -> CS_DESTROY
  426. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_session.c:1726 Session 12 (sofia/default/3109998777) Locked, Waiting on external entities
  427. 2021-07-30 06:42:20.510043 [NOTICE] switch_core_session.c:1744 Session 12 (sofia/default/3109998777) Ended
  428. 2021-07-30 06:42:20.510043 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/3109998777 [CS_DESTROY]
  429. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3109998777) Running State Change CS_DESTROY (Cur 1 Tot 12)
  430. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3109998777) State DESTROY
  431. 2021-07-30 06:42:20.510043 [DEBUG] mod_sofia.c:364 sofia/default/3109998777 SOFIA DESTROY
  432. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:181 sofia/default/3109998777 Standard DESTROY
  433. 2021-07-30 06:42:20.510043 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3109998777) State DESTROY going to sleep
  434. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:174 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard REPORTING, cause: NORMAL_CLEARING
  435. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State REPORTING going to sleep
  436. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:611 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY
  437. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_session.c:1726 Session 11 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Locked, Waiting on external entities
  438. 2021-07-30 06:42:20.570051 [NOTICE] switch_core_session.c:1744 Session 11 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Ended
  439. 2021-07-30 06:42:20.570051 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/9106862796@entdemo.astppbilling.org:5077 [CS_DESTROY]
  440. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:739 (sofia/default/9106862796@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 0 Tot 12)
  441. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State DESTROY
  442. 2021-07-30 06:42:20.570051 [DEBUG] mod_sofia.c:364 sofia/default/9106862796@entdemo.astppbilling.org:5077 SOFIA DESTROY
  443. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:181 sofia/default/9106862796@entdemo.astppbilling.org:5077 Standard DESTROY
  444. 2021-07-30 06:42:20.570051 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9106862796@entdemo.astppbilling.org:5077) State DESTROY going to sleep
  445. 2021-07-30 06:42:20.950054 [DEBUG] switch_scheduler.c:147 Deleting task 6 switch_ivr_schedule_hangup (5ab79ef7-e606-42db-bdbb-96cb9d81eb61)
  446. freeswitch@gibfibre>
  447.