From Prashant kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@devangASTPP>
  2. freeswitch@devangASTPP>
  3. freeswitch@devangASTPP>
  4. 2022-06-07 13:08:21.195817 92.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 [b5a40249-748e-418d-ac34-8cd93954a742]
  5. 2022-06-07 13:08:21.195817 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 6780)
  6. 2022-06-07 13:08:21.195817 92.07% [INFO] sofia.c:10462 sofia/default/9996662228@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:56070 version: 1.10.7 -release 64bit call-id: zIJnfvSpbyWNlS8wR2ih8A..
  7. 2022-06-07 13:08:21.195817 92.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  8. 2022-06-07 13:08:21.195817 92.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9302020@astppqa601.astppbilling.org] from ip 103.240.35.46
  9. 2022-06-07 13:08:21.195817 92.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State NEW
  10. 2022-06-07 13:08:21.195817 92.07% [DEBUG] sofia.c:2419 detaching session b5a40249-748e-418d-ac34-8cd93954a742
  11. 2022-06-07 13:08:21.535770 92.07% [DEBUG] sofia.c:2532 Re-attaching to session b5a40249-748e-418d-ac34-8cd93954a742
  12. 2022-06-07 13:08:21.555777 92.07% [INFO] sofia.c:10462 sofia/default/9996662228@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:56070 version: 1.10.7 -release 64bit call-id: zIJnfvSpbyWNlS8wR2ih8A..
  13. 2022-06-07 13:08:21.555777 92.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  14. 2022-06-07 13:08:21.555777 92.07% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  15. 2022-06-07 13:08:21.555777 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 entering state [received][100]
  16. 2022-06-07 13:08:21.555777 92.07% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=Z 0 0 IN IP4 103.240.35.46
  19. s=Z
  20. c=IN IP4 103.240.35.46
  21. t=0 0
  22. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  23. a=rtpmap:110 speex/8000
  24. a=rtpmap:97 iLBC/8000
  25. a=fmtp:97 mode=30
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-16
  28.  
  29. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9996662228@astppqa601.astppbilling.org:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_codec.c:111 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Original read codec set to PCMA:8
  44. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_media.c:5973 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-06-07 13:08:21.555777 92.07% [DEBUG] sofia.c:7933 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  47. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 6780)
  48. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State INIT
  49. 2022-06-07 13:08:21.555777 92.07% [DEBUG] mod_sofia.c:97 sofia/default/9996662228@astppqa601.astppbilling.org:5072 SOFIA INIT
  50. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard INIT
  51. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  52. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State INIT going to sleep
  53. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 6780)
  54. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_channel.c:2380 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  55. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State ROUTING
  56. 2022-06-07 13:08:21.555777 92.07% [DEBUG] mod_sofia.c:158 sofia/default/9996662228@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  57. 2022-06-07 13:08:21.555777 92.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard ROUTING
  58. 2022-06-07 13:08:21.555777 92.07% [INFO] mod_dialplan_xml.c:639 Processing 9996662228 <9996662228>->9302020 in context default
  59. 2022-06-07 13:08:21.555777 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  60. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  61. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  62. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9302020
  64. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  65. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9996662228
  66. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9302020' limit 1
  68. 2022-06-07 13:08:21.575766 92.07% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  69. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9996662228 / 9996662228
  70. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  71. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9302020" limit 1
  72. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  73. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  74. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9302020
  75. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  76. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9302020.*' OR blocked_patterns = '^930202.*' OR blocked_patterns = '^93020.*' OR blocked_patterns = '^9302.*' OR blocked_patterns = '^930.*' OR blocked_patterns = '^93.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  77. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  78. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^9302020.*' OR patterns = '^930202.*' OR patterns = '^93020.*' OR patterns = '^9302.*' OR patterns = '^930.*' OR patterns = '^93.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  79. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="9302020" AND A.accountid = '8' limit 1
  80. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9302020
  81. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  82. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9302020" limit 1
  83. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  84. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '9302020' OR number = '930202' OR number = '93020' OR number = '9302' OR number = '930' OR number = '93' OR number = '9' OR number ='--') OR (number = '9302020*' OR number = '930202*' OR number = '93020*' OR number = '9302*' OR number = '930*' OR number = '93*' OR number = '9*' OR number ='--') OR (number = '9996662228' OR number = '999666222' OR number = '99966622' OR number = '9996662' OR number = '999666' OR number = '99966' OR number = '9996' OR number = '999' OR number = '99' OR number = '9' OR number ='--') OR (number = '9996662228*' OR number = '999666222*' OR number = '99966622*' OR number = '9996662*' OR number = '999666*' OR number = '99966*' OR number = '9996*' OR number = '999*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  85. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  86. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9302020' OR routing_prefix = '930202' OR routing_prefix = '93020' OR routing_prefix = '9302' OR routing_prefix = '930' OR routing_prefix = '93' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  87. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  88. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  89. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  90. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 18717.27506
  91. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  92. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 12
  93. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  96. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::12
  97. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  98. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  99. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::12
  100. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-12
  101. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-12
  102. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-12
  103. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-07 13:08:21
  104. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^93.*
  105. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  106. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-07 13:08:21
  107. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^93.*
  108. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  109. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  110. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 26
  112. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  115. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Quality
  116. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 156
  117. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  118. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  119. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  120. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  121. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your18717.27506 balance Accountid 8 !!!
  122. 2022-06-07 13:08:21.575766 92.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 4 mins!
  123. 2022-06-07 13:08:21.575766 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 4 minutes
  124. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  125. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=12 ORDER by id asc
  126. 2022-06-07 13:08:21.575766 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT Q.id as quality_id, Q.quality_base_routing_id as quality_base,TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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, quality_based_routing_information as Q WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^9302020.*' OR pattern = '^930202.*' OR pattern = '^93020.*' OR pattern = '^9302.*' OR pattern = '^930.*' OR pattern = '^93.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND Q.trunk_id=TK.id AND Q.quality_base_routing_id = 1 AND TR.trunk_id IN (12,13,14) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by Q.index_count DESC,TR.effective_date DESC
  127. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  128. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 15
  129. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^93.*
  130. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  131. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  132. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  133. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^93.*
  134. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  135. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  136. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 13
  137. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  138. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  139. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  140. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  141. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  142. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  143. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  144. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
  145. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^93.*
  146. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  147. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  148. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  149. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^93.*
  150. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  151. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  152. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 14
  153. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  154. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  155. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  156. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  157. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  158. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  159. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  160. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 14
  161. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^93.*
  162. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  163. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  164. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  165. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^93.*
  166. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  167. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  168. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 12
  169. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  170. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  171. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  172. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  173. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  174. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  175. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 8 AND status=0 LIMIT 1
  176. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 4
  177. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  178. 2022-06-07 13:08:21.595756 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  179. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  180. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::12
  181. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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
  182. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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 = 13) AND status=0 limit 1
  183. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9996662228" limit 1
  184. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  185. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  186. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  187. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  188. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::12
  189. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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
  190. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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 = 14) AND status=0 limit 1
  191. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9996662228" limit 1
  192. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  193. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  194. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  195. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  196. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::12
  197. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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
  198. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [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 = 12) AND status=0 limit 1
  199. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9996662228" limit 1
  200. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  201. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9302020" LIMIT 1
  202. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  203. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  204. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  205. <document type="freeswitch/xml">
  206. <section name="dialplan" description="ASTPP Dialplan">
  207. <context name="default">
  208. <extension name="9302020">
  209. <condition field="destination_number" expression="9302020">
  210. <action application="set" data="effective_destination_number=9302020"/>
  211. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  212. <action application="set" data="bridge_pre_execute_bleg_data=+240 normal_clearing"/>
  213. <action application="set" data="notify_flag=0"/>
  214. <action application="set" data="notify_credit_limit=5.00000"/>
  215. <action application="set" data="type=0"/>
  216. <action application="set" data="callstart=2022-06-07 13:08:21"/>
  217. <action application="set" data="hangup_after_bridge=true"/>
  218. <action application="set" data="continue_on_fail=TRUE"/>
  219. <action application="set" data="account_id=8"/>
  220. <action application="set" data="parent_id=0"/>
  221. <action application="set" data="entity_id=0"/>
  222. <action application="set" data="call_processed=internal"/>
  223. <action application="set" data="call_direction=outbound"/>
  224. <action application="set" data="accountname=default"/>
  225. <action application="export" data="t38_passthru=true"/>
  226. <action application="set" data="fax_enable_t38=true"/>
  227. <action application="set" data="fax_enable_t38_request=true"/>
  228. <action application="set" data="filename1=astpp.pbx.lua"/>
  229. <action application="set" data="origination_rates=ID:26|CODE:^93.*|DESTINATION:Quality|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:12|MARKUP:0|CI:156|ACCID:8"/>
  230. <action application="set" data="original_caller_id_name=9996662228"/>
  231. <action application="set" data="original_caller_id_number=9996662228"/>
  232.  
  233. <action application="set" data="effective_caller_id_name=9996662228"/>
  234. <action application="set" data="effective_caller_id_number=9996662228"/>
  235. <action application="set" data="calltype=STANDARD"/>
  236. <action application="set" data="termination_rates=ID:15|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:13|PROVIDER:3"/>
  237. <action application="set" data="trunk_id=13"/>
  238. <action application="set" data="provider_id=3"/>
  239. <action application="set" data="rate_flag=4"/>
  240. <action application="set" data="quality_trunk_seq=13,14,12"/>
  241. <action application="set" data="quality_id=17"/>
  242. <action application="set" data="quality_base=1"/>
  243. <action application="set" data="force_trunk_flag=0"/>
  244. <action application="export" data="presence_data=trunk_id=13"/>
  245. <action application="set" data="intcall=0"/>
  246. <action application="export" data="presence_id=9302020"/>
  247. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46"/>
  248. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/9302020"/>
  249. <action application="set" data="effective_caller_id_name=9996662228"/>
  250. <action application="set" data="effective_caller_id_number=9996662228"/>
  251. <action application="set" data="calltype=STANDARD"/>
  252. <action application="set" data="termination_rates=ID:16|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:14|PROVIDER:3"/>
  253. <action application="set" data="trunk_id=14"/>
  254. <action application="set" data="provider_id=3"/>
  255. <action application="set" data="rate_flag=4"/>
  256. <action application="set" data="quality_trunk_seq=13,14,12"/>
  257. <action application="set" data="quality_id=18"/>
  258. <action application="set" data="quality_base=1"/>
  259. <action application="set" data="force_trunk_flag=0"/>
  260. <action application="export" data="presence_data=trunk_id=14"/>
  261. <action application="set" data="intcall=0"/>
  262. <action application="export" data="presence_id=9302020"/>
  263. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-33 // ^93.* //  // 0.10000 // trunk_id=14|||STD|||103.240.35.46"/>
  264. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/9302020"/>
  265. <action application="set" data="effective_caller_id_name=9996662228"/>
  266. <action application="set" data="effective_caller_id_number=9996662228"/>
  267. <action application="set" data="calltype=STANDARD"/>
  268. <action application="set" data="termination_rates=ID:14|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:12|PROVIDER:3"/>
  269. <action application="set" data="trunk_id=12"/>
  270. <action application="set" data="provider_id=3"/>
  271. <action application="set" data="rate_flag=4"/>
  272. <action application="set" data="quality_trunk_seq=13,14,12"/>
  273. <action application="set" data="quality_id=16"/>
  274. <action application="set" data="quality_base=1"/>
  275. <action application="set" data="force_trunk_flag=0"/>
  276. <action application="export" data="presence_data=trunk_id=12"/>
  277. <action application="set" data="intcall=0"/>
  278. <action application="export" data="presence_id=9302020"/>
  279. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-11 // ^93.* //  // 0.30000 // trunk_id=12|||STD|||103.240.35.46"/>
  280. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/9302020"/>
  281. </condition>
  282. </extension>
  283. </context>
  284. </section>
  285. </document>
  286. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 parsing [default->9302020] continue=false
  287. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Regex (PASS) [9302020] destination_number(9302020) =~ /9302020/ break=on-false
  288. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_destination_number=9302020)
  289. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  290. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_data=+240 normal_clearing)
  291. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(notify_flag=0)
  292. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(notify_credit_limit=5.00000)
  293. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(type=0)
  294. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(callstart=2022-06-07 13:08:21)
  295. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  296. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(continue_on_fail=TRUE)
  297. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(account_id=8)
  298. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(parent_id=0)
  299. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(entity_id=0)
  300. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(call_processed=internal)
  301. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(call_direction=outbound)
  302. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(accountname=default)
  303. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(t38_passthru=true)
  304. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(fax_enable_t38=true)
  305. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(fax_enable_t38_request=true)
  306. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(filename1=astpp.pbx.lua)
  307. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(origination_rates=ID:26|CODE:^93.*|DESTINATION:Quality|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:12|MARKUP:0|CI:156|ACCID:8)
  308. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(original_caller_id_name=9996662228)
  309. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(original_caller_id_number=9996662228)
  310. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_name=9996662228)
  311. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_number=9996662228)
  312. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(calltype=STANDARD)
  313. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(termination_rates=ID:15|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:13|PROVIDER:3)
  314. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(trunk_id=13)
  315. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(provider_id=3)
  316. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(rate_flag=4)
  317. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_trunk_seq=13,14,12)
  318. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_id=17)
  319. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_base=1)
  320. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(force_trunk_flag=0)
  321. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=trunk_id=13)
  322. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(intcall=0)
  323. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_id=9302020)
  324. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46)
  325. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/9302020)
  326. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_name=9996662228)
  327. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_number=9996662228)
  328. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(calltype=STANDARD)
  329. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(termination_rates=ID:16|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:14|PROVIDER:3)
  330. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(trunk_id=14)
  331. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(provider_id=3)
  332. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(rate_flag=4)
  333. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_trunk_seq=13,14,12)
  334. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_id=18)
  335. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_base=1)
  336. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(force_trunk_flag=0)
  337. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=trunk_id=14)
  338. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(intcall=0)
  339. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_id=9302020)
  340. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-33 // ^93.* //  // 0.10000 // trunk_id=14|||STD|||103.240.35.46)
  341. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/9302020)
  342. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_name=9996662228)
  343. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_number=9996662228)
  344. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(calltype=STANDARD)
  345. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(termination_rates=ID:14|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:12|PROVIDER:3)
  346. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(trunk_id=12)
  347. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(provider_id=3)
  348. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(rate_flag=4)
  349. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_trunk_seq=13,14,12)
  350. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_id=16)
  351. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(quality_base=1)
  352. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(force_trunk_flag=0)
  353. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=trunk_id=12)
  354. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action set(intcall=0)
  355. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_id=9302020)
  356. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-11 // ^93.* //  // 0.30000 // trunk_id=12|||STD|||103.240.35.46)
  357. Dialplan: sofia/default/9996662228@astppqa601.astppbilling.org:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/9302020)
  358. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  359. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  360. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 6780)
  361. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State EXECUTE
  362. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_sofia.c:213 sofia/default/9996662228@astppqa601.astppbilling.org:5072 SOFIA EXECUTE
  363. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard EXECUTE
  364. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(effective_destination_number=9302020)
  365. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [effective_destination_number]=[9302020]
  366. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
  367. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
  368. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_data=+240 normal_clearing)
  369. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_data]=[+240 normal_clearing]
  370. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(notify_flag=0)
  371. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [notify_flag]=[0]
  372. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(notify_credit_limit=5.00000)
  373. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [notify_credit_limit]=[5.00000]
  374. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(type=0)
  375. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [type]=[0]
  376. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(callstart=2022-06-07 13:08:21)
  377. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [callstart]=[2022-06-07 13:08:21]
  378. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(hangup_after_bridge=true)
  379. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [hangup_after_bridge]=[true]
  380. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(continue_on_fail=TRUE)
  381. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [continue_on_fail]=[TRUE]
  382. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(account_id=8)
  383. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [account_id]=[8]
  384. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(parent_id=0)
  385. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [parent_id]=[0]
  386. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(entity_id=0)
  387. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [entity_id]=[0]
  388. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(call_processed=internal)
  389. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [call_processed]=[internal]
  390. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(call_direction=outbound)
  391. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [call_direction]=[outbound]
  392. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(accountname=default)
  393. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [accountname]=[default]
  394. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 export(t38_passthru=true)
  395. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  396. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(fax_enable_t38=true)
  397. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [fax_enable_t38]=[true]
  398. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(fax_enable_t38_request=true)
  399. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [fax_enable_t38_request]=[true]
  400. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(filename1=astpp.pbx.lua)
  401. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [filename1]=[astpp.pbx.lua]
  402. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(origination_rates=ID:26|CODE:^93.*|DESTINATION:Quality|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:12|MARKUP:0|CI:156|ACCID:8)
  403. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [origination_rates]=[ID:26|CODE:^93.*|DESTINATION:Quality|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:12|MARKUP:0|CI:156|ACCID:8]
  404. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(original_caller_id_name=9996662228)
  405. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [original_caller_id_name]=[9996662228]
  406. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(original_caller_id_number=9996662228)
  407. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [original_caller_id_number]=[9996662228]
  408. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(effective_caller_id_name=9996662228)
  409. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [effective_caller_id_name]=[9996662228]
  410. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(effective_caller_id_number=9996662228)
  411. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [effective_caller_id_number]=[9996662228]
  412. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(calltype=STANDARD)
  413. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [calltype]=[STANDARD]
  414. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(termination_rates=ID:15|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:13|PROVIDER:3)
  415. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [termination_rates]=[ID:15|CODE:^93.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:13|PROVIDER:3]
  416. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(trunk_id=13)
  417. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [trunk_id]=[13]
  418. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(provider_id=3)
  419. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [provider_id]=[3]
  420. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(rate_flag=4)
  421. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [rate_flag]=[4]
  422. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(quality_trunk_seq=13,14,12)
  423. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [quality_trunk_seq]=[13,14,12]
  424. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(quality_id=17)
  425. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [quality_id]=[17]
  426. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(quality_base=1)
  427. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [quality_base]=[1]
  428. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(force_trunk_flag=0)
  429. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [force_trunk_flag]=[0]
  430. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 export(presence_data=trunk_id=13)
  431. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=13]
  432. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 set(intcall=0)
  433. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/9996662228@astppqa601.astppbilling.org:5072 [intcall]=[0]
  434. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 export(presence_id=9302020)
  435. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[9302020]
  436. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46)
  437. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46]
  438. EXECUTE [depth=0] sofia/default/9996662228@astppqa601.astppbilling.org:5072 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/9302020)
  439. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1269 sofia/default/9996662228@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [t38_passthru]=[true] to event
  440. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1269 sofia/default/9996662228@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46] to event
  441. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1269 sofia/default/9996662228@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [presence_id]=[9302020] to event
  442. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_channel.c:1269 sofia/default/9996662228@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^93.* // Quality // 0.60000 |||Quality Trunk-22 // ^93.* //  // 0.20000 // trunk_id=13|||STD|||103.240.35.46] to event
  443. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  444. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  445. 2022-06-07 13:08:21.595756 92.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9302020 [40ed4da4-7ce9-40f5-ae1a-0016844779b4]
  446. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_sofia.c:5121 (sofia/default/9302020) State Change CS_NEW -> CS_INIT
  447. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_INIT (Cur 2 Tot 6781)
  448. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9302020) State INIT
  449. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_sofia.c:97 sofia/default/9302020 SOFIA INIT
  450. 2022-06-07 13:08:21.595756 92.07% [INFO] sofia_glue.c:1651 sofia/default/9302020 sending invite call-id: (null)
  451. 2022-06-07 13:08:21.595756 92.07% [DEBUG] sofia_glue.c:1654 sofia/default/9302020 sending invite version: 1.10.7 -release 64bit
  452. Local SDP:
  453. v=0
  454. o=FreeSWITCH 1654586243 1654586244 IN IP4 142.132.184.134
  455. s=FreeSWITCH
  456. c=IN IP4 142.132.184.134
  457. t=0 0
  458. m=audio 21058 RTP/AVP 8 101
  459. a=rtpmap:8 PCMA/8000
  460. a=rtpmap:101 telephone-event/8000
  461. a=fmtp:101 0-15
  462. a=ptime:20
  463. a=sendrecv
  464.  
  465. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/9302020 Standard INIT
  466. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9302020) State Change CS_INIT -> CS_ROUTING
  467. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9302020) State INIT going to sleep
  468. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_ROUTING (Cur 2 Tot 6781)
  469. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9302020) State ROUTING
  470. 2022-06-07 13:08:21.595756 92.07% [DEBUG] mod_sofia.c:158 sofia/default/9302020 SOFIA ROUTING
  471. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9302020) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  472. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9302020) State ROUTING going to sleep
  473. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 6781)
  474. 2022-06-07 13:08:21.595756 92.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9302020) State CONSUME_MEDIA
  475. 2022-06-07 13:08:21.615760 92.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9302020) State CONSUME_MEDIA going to sleep
  476. 2022-06-07 13:08:21.615760 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9302020 entering state [calling][0]
  477. 2022-06-07 13:08:21.695763 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9302020 entering state [completing][200]
  478. 2022-06-07 13:08:21.695763 92.07% [DEBUG] sofia.c:7509 Remote SDP:
  479. v=0
  480. o=root 1257079539 1257079539 IN IP4 159.203.131.36
  481. s=Asterisk PBX 16.4.0
  482. c=IN IP4 159.203.131.36
  483. t=0 0
  484. m=audio 18986 RTP/AVP 8 101
  485. a=rtpmap:8 PCMA/8000
  486. a=rtpmap:101 telephone-event/8000
  487. a=fmtp:101 0-16
  488. a=maxptime:150
  489.  
  490. 2022-06-07 13:08:21.695763 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9302020 entering state [ready][200]
  491. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  492. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  493. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  494. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9302020 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  495. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_codec.c:111 sofia/default/9302020 Original read codec set to PCMA:8
  496. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  497. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:5973 sofia/default/9302020 Set 2833 dtmf send payload to 101 recv payload to 101
  498. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9302020] 142.132.184.134 port 21058 -> 159.203.131.36 port 18986 codec: 8 ms: 20
  499. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  500. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:9089 sofia/default/9302020 Set 2833 dtmf send payload to 101
  501. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:9096 sofia/default/9302020 Set 2833 dtmf receive payload to 101
  502. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_core_media.c:9119 sofia/default/9302020 Set rtp dtmf delay to 40
  503. 2022-06-07 13:08:21.695763 92.07% [NOTICE] sofia.c:8683 Channel [sofia/default/9302020] has been answered
  504. 2022-06-07 13:08:21.695763 92.07% [DEBUG] switch_channel.c:3950 (sofia/default/9302020) Callstate Change DOWN -> ACTIVE
  505. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9996662228@astppqa601.astppbilling.org:5072] 142.132.184.134 port 17566 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  506. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  507. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_media.c:9089 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101
  508. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_media.c:9096 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Set 2833 dtmf receive payload to 101
  509. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_media.c:9119 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Set rtp dtmf delay to 40
  510. 2022-06-07 13:08:21.715782 92.07% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9996662228@astppqa601.astppbilling.org:5072:
  511. v=0
  512. o=FreeSWITCH 1654589735 1654589736 IN IP4 142.132.184.134
  513. s=FreeSWITCH
  514. c=IN IP4 142.132.184.134
  515. t=0 0
  516. m=audio 17566 RTP/AVP 8 101
  517. a=rtpmap:8 PCMA/8000
  518. a=rtpmap:101 telephone-event/8000
  519. a=fmtp:101 0-15
  520. a=ptime:20
  521. a=sendrecv
  522.  
  523. 2022-06-07 13:08:21.715782 92.07% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9996662228@astppqa601.astppbilling.org:5072] has been answered
  524. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_channel.c:3950 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Callstate Change RINGING -> ACTIVE
  525. 2022-06-07 13:08:21.715782 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 entering state [completed][200]
  526. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9302020] Peer UUID: 40ed4da4-7ce9-40f5-ae1a-0016844779b4
  527. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/9302020) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  528. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 6781)
  529. 2022-06-07 13:08:21.715782 92.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9302020) State EXCHANGE_MEDIA
  530. 2022-06-07 13:08:21.715782 92.07% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  531. 2022-06-07 13:08:21.875761 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 entering state [ready][200]
  532. 2022-06-07 13:08:21.895779 92.07% [DEBUG] switch_ivr_bridge.c:655 sofia/default/9302020 Bridge execute app sched_hangup(+240 normal_clearing)
  533. 2022-06-07 13:08:21.915766 91.90% [DEBUG] switch_ivr.c:632 sofia/default/9302020 Command Execute [depth=0] sched_hangup(+240 normal_clearing)
  534. EXECUTE [depth=0] sofia/default/9302020 sched_hangup(+240 normal_clearing)
  535. 2022-06-07 13:08:21.915766 91.90% [DEBUG] switch_scheduler.c:263 Added task 2820 switch_ivr_schedule_hangup (40ed4da4-7ce9-40f5-ae1a-0016844779b4) to run at 1654607541
  536. 2022-06-07 13:08:22.015768 91.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  537. 2022-06-07 13:08:22.115777 91.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  538. 2022-06-07 13:08:24.296310 92.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3639332745@astppqa601.astppbilling.org] from ip 103.240.35.46
  539. 2022-06-07 13:08:24.455799 92.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1523395821@astppqa601.astppbilling.org] from ip 103.240.35.46
  540. 2022-06-07 13:08:24.915788 91.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3639332745@astppqa601.astppbilling.org] from ip 103.240.35.46
  541. 2022-06-07 13:08:25.095770 91.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1523395821@astppqa601.astppbilling.org] from ip 103.240.35.46
  542. 2022-06-07 13:08:56.555787 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3639332745@astppqa601.astppbilling.org] from ip 103.240.35.46
  543. 2022-06-07 13:08:56.715799 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1523395821@astppqa601.astppbilling.org] from ip 103.240.35.46
  544. 2022-06-07 13:08:57.175779 93.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3639332745@astppqa601.astppbilling.org] from ip 103.240.35.46
  545. 2022-06-07 13:08:57.355784 93.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1523395821@astppqa601.astppbilling.org] from ip 103.240.35.46
  546. 2022-06-07 13:09:00.295785 93.60% [NOTICE] sofia.c:1065 Hangup sofia/default/9996662228@astppqa601.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  547. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9996662228@astppqa601.astppbilling.org:5072]
  548. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9996662228@astppqa601.astppbilling.org:5072 ending bridge by request from write function
  549. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9302020]
  550. 2022-06-07 13:09:00.295785 93.60% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/9302020 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  551. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9302020) State EXCHANGE_MEDIA going to sleep
  552. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_HANGUP (Cur 2 Tot 6781)
  553. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9302020) Callstate Change ACTIVE -> HANGUP
  554. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9302020) State HANGUP
  555. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:462 sofia/default/9302020 Overriding SIP cause 480 with 200 from the other leg
  556. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/9302020 hanging up, cause: NORMAL_CLEARING
  557. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/9302020 skip receive message [UNBRIDGE] (channel is hungup already)
  558. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9996662228@astppqa601.astppbilling.org:5072 skip receive message [UNBRIDGE] (channel is hungup already)
  559. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_session.c:2983 sofia/default/9996662228@astppqa601.astppbilling.org:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
  560. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State EXECUTE going to sleep
  561. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 2 Tot 6781)
  562. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9302020
  563. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Callstate Change ACTIVE -> HANGUP
  564. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State HANGUP
  565. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING
  566. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/9302020 Standard HANGUP, cause: NORMAL_CLEARING
  567. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9302020) State HANGUP going to sleep
  568. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9302020) State Change CS_HANGUP -> CS_REPORTING
  569. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9302020) Running State Change CS_REPORTING (Cur 2 Tot 6781)
  570. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING
  571. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State HANGUP going to sleep
  572. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  573. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9302020) State REPORTING
  574. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 2 Tot 6781)
  575. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State REPORTING
  576. 2022-06-07 13:09:00.295785 93.60% [INFO] mod_json_cdr.c:271 Process [40ed4da4-7ce9-40f5-ae1a-0016844779b4.cdr.json]
  577. 2022-06-07 13:09:00.295785 93.60% [INFO] mod_json_cdr.c:271 Process [b5a40249-748e-418d-ac34-8cd93954a742.cdr.json]
  578. 2022-06-07 13:09:00.295785 93.60% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  579. 2022-06-07 13:09:00.295785 93.60% [ERR] mod_json_cdr.c:415 Unable to post to web server
  580. 2022-06-07 13:09:00.295785 93.60% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/40ed4da4-7ce9-40f5-ae1a-0016844779b4.cdr.json
  581. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/9302020 Standard REPORTING, cause: NORMAL_CLEARING
  582. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9302020) State REPORTING going to sleep
  583. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9302020) State Change CS_REPORTING -> CS_DESTROY
  584. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_session.c:1753 Session 6781 (sofia/default/9302020) Locked, Waiting on external entities
  585. 2022-06-07 13:09:00.295785 93.60% [NOTICE] switch_core_session.c:1771 Session 6781 (sofia/default/9302020) Ended
  586. 2022-06-07 13:09:00.295785 93.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9302020 [CS_DESTROY]
  587. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9302020) Running State Change CS_DESTROY (Cur 1 Tot 6781)
  588. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9302020) State DESTROY
  589. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:379 sofia/default/9302020 SOFIA DESTROY
  590. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/9302020 Standard DESTROY
  591. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9302020) State DESTROY going to sleep
  592. 2022-06-07 13:09:00.295785 93.60% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  593. 2022-06-07 13:09:00.295785 93.60% [ERR] mod_json_cdr.c:415 Unable to post to web server
  594. 2022-06-07 13:09:00.295785 93.60% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/b5a40249-748e-418d-ac34-8cd93954a742.cdr.json
  595. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING
  596. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State REPORTING going to sleep
  597. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  598. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_session.c:1753 Session 6780 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Locked, Waiting on external entities
  599. 2022-06-07 13:09:00.295785 93.60% [NOTICE] switch_core_session.c:1771 Session 6780 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Ended
  600. 2022-06-07 13:09:00.295785 93.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9996662228@astppqa601.astppbilling.org:5072 [CS_DESTROY]
  601. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 6781)
  602. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State DESTROY
  603. 2022-06-07 13:09:00.295785 93.60% [DEBUG] mod_sofia.c:379 sofia/default/9996662228@astppqa601.astppbilling.org:5072 SOFIA DESTROY
  604. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/9996662228@astppqa601.astppbilling.org:5072 Standard DESTROY
  605. 2022-06-07 13:09:00.295785 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9996662228@astppqa601.astppbilling.org:5072) State DESTROY going to sleep
  606. 2022-06-07 13:09:00.415765 93.60% [DEBUG] switch_scheduler.c:147 Deleting task 2820 switch_ivr_schedule_hangup (40ed4da4-7ce9-40f5-ae1a-0016844779b4)
  607. 2022-06-07 13:09:10.575787 92.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3639332745@astppqa601.astppbilling.org] from ip 103.240.35.46