From Prashant kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@devangASTPP>
  2. freeswitch@devangASTPP>
  3. freeswitch@devangASTPP>
  4. 2022-05-30 07:56:23.517528 95.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9148867777@astppqa606.astppbilling.org:5064 [05718ab7-a651-4b00-98c8-37dfaa181d99]
  5. 2022-05-30 07:56:23.517528 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 39)
  6. 2022-05-30 07:56:23.517528 95.20% [INFO] sofia.c:10462 sofia/default/9148867777@astppqa606.astppbilling.org:5064 receiving invite from 103.240.35.46:56488 version: 1.10.7 -release 64bit call-id: pF79MMxMbL1Y-pNFANperg..
  7. 2022-05-30 07:56:23.517528 95.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  8. 2022-05-30 07:56:23.517528 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [110054054@astppqa606.astppbilling.org] from ip 103.240.35.46
  9. 2022-05-30 07:56:23.517528 95.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State NEW
  10. 2022-05-30 07:56:23.517528 95.20% [DEBUG] sofia.c:2419 detaching session 05718ab7-a651-4b00-98c8-37dfaa181d99
  11. 2022-05-30 07:56:23.897519 95.20% [DEBUG] sofia.c:2532 Re-attaching to session 05718ab7-a651-4b00-98c8-37dfaa181d99
  12. 2022-05-30 07:56:23.897519 95.20% [INFO] sofia.c:10462 sofia/default/9148867777@astppqa606.astppbilling.org:5064 receiving invite from 103.240.35.46:56488 version: 1.10.7 -release 64bit call-id: pF79MMxMbL1Y-pNFANperg..
  13. 2022-05-30 07:56:23.897519 95.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  14. 2022-05-30 07:56:23.917515 95.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  15. 2022-05-30 07:56:23.917515 95.20% [DEBUG] sofia.c:7499 Channel sofia/default/9148867777@astppqa606.astppbilling.org:5064 entering state [received][100]
  16. 2022-05-30 07:56:23.917515 95.20% [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-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9148867777@astppqa606.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_codec.c:111 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Original read codec set to PCMA:8
  44. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_media.c:5973 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-05-30 07:56:23.917515 95.20% [DEBUG] sofia.c:7933 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
  47. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 39)
  48. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State INIT
  49. 2022-05-30 07:56:23.917515 95.20% [DEBUG] mod_sofia.c:97 sofia/default/9148867777@astppqa606.astppbilling.org:5064 SOFIA INIT
  50. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Standard INIT
  51. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
  52. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State INIT going to sleep
  53. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 39)
  54. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_channel.c:2380 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Callstate Change DOWN -> RINGING
  55. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State ROUTING
  56. 2022-05-30 07:56:23.917515 95.20% [DEBUG] mod_sofia.c:158 sofia/default/9148867777@astppqa606.astppbilling.org:5064 SOFIA ROUTING
  57. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Standard ROUTING
  58. 2022-05-30 07:56:23.917515 95.20% [INFO] mod_dialplan_xml.c:639 Processing 9148867777 <9148867777>->110054054 in context default
  59. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  60. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  61. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  62. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 110054054
  64. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  65. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9148867777
  66. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '110054054' limit 1
  68. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9148867777 / 9148867777
  69. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  70. 2022-05-30 07:56:23.917515 95.20% [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="110054054" limit 1
  71. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  72. 2022-05-30 07:56:23.917515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9148867339]
  73. 2022-05-30 07:56:23.917515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9148867339" AND deleted = 0 limit 1
  74. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^110054054.*' OR blocked_patterns = '^11005405.*' OR blocked_patterns = '^1100540.*' OR blocked_patterns = '^110054.*' OR blocked_patterns = '^11005.*' OR blocked_patterns = '^1100.*' OR blocked_patterns = '^110.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  75. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  76. 2022-05-30 07:56:23.937515 95.20% [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 = '^110054054.*' OR patterns = '^11005405.*' OR patterns = '^1100540.*' OR patterns = '^110054.*' OR patterns = '^11005.*' OR patterns = '^1100.*' OR patterns = '^110.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2022-05-30 07:56:23.937515 95.20% [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 ="110054054" AND A.accountid = '8' limit 1
  78. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 110054054
  79. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2022-05-30 07:56:23.937515 95.20% [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="110054054" limit 1
  81. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  82. 2022-05-30 07:56:23.937515 95.20% [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 = '110054054' OR number = '11005405' OR number = '1100540' OR number = '110054' OR number = '11005' OR number = '1100' OR number = '110' OR number = '11' OR number = '1' OR number ='--') OR (number = '110054054*' OR number = '11005405*' OR number = '1100540*' OR number = '110054*' OR number = '11005*' OR number = '1100*' OR number = '110*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '9148867777' OR number = '914886777' OR number = '91488677' OR number = '9148867' OR number = '914886' OR number = '91488' OR number = '9148' OR number = '914' OR number = '91' OR number = '9' OR number ='--') OR (number = '9148867777*' OR number = '914886777*' OR number = '91488677*' OR number = '9148867*' OR number = '914886*' OR number = '91488*' OR number = '9148*' OR number = '914*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '110054054' OR routing_prefix = '11005405' OR routing_prefix = '1100540' OR routing_prefix = '110054' OR routing_prefix = '11005' OR routing_prefix = '1100' OR routing_prefix = '110' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  87. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9148867339
  88. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 171
  89. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
  91. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  94. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
  95. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  96. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  97. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
  98. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  99. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  100. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  101. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 07:56:23
  102. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^667.*
  103. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  104. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 07:56:23
  105. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^333.*
  106. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  107. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 07:56:23
  108. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^44.*
  109. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  110. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 07:56:23
  111. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  112. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  113. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 07:56:23
  114. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  115. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  116. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  117. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  118. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:2.00000
  119. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:7
  120. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '7' and status=0
  121. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  122. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '309'
  123. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+12:00
  124. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  125. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  126. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:30
  127. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:May
  128. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :30-5
  129. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :3
  130. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  131. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '309'
  132. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+12:00
  133. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  134. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  135. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 19.56
  136. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Mon
  137. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  138. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Mon
  139. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Mon
  140. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number2
  141. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :5-5
  142. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :4-4
  143. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :5-5
  144. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :6-6
  145. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:2.00000
  146. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  147. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
  148. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  149. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  150. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.00000
  151. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Admin-India
  152. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 98
  153. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  154. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  155. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  156. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  157. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8!!!
  158. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your171 balance Accountid 8 !!!
  159. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 85.5 minutes
  160. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  161. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=7 ORDER by id asc
  162. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT 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 WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^110054054.*' OR pattern = '^11005405.*' OR pattern = '^1100540.*' OR pattern = '^110054.*' OR pattern = '^11005.*' OR pattern = '^1100.*' OR pattern = '^110.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  163. 2022-05-30 07:56:23.937515 95.20% [ERR] mod_lua.cpp:202 ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:854: attempt to concatenate global 'quality_trunk_seq' (a nil value)
  164. stack traceback:
  165.         ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:854: in main chunk
  166.         [C]: in function 'dofile'
  167.         /usr/local/freeswitch/scripts/astpp/astpp.lua:138: in main chunk
  168. 2022-05-30 07:56:23.937515 95.20% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  169. 2022-05-30 07:56:23.937515 95.20% [WARNING] mod_dialplan_xml.c:669 Context default not found
  170. 2022-05-30 07:56:23.937515 95.20% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  171. 2022-05-30 07:56:23.937515 95.20% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9148867777@astppqa606.astppbilling.org:5064 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  172. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State ROUTING going to sleep
  173. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 1 Tot 39)
  174. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Callstate Change RINGING -> HANGUP
  175. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State HANGUP
  176. 2022-05-30 07:56:23.937515 95.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/9148867777@astppqa606.astppbilling.org:5064 hanging up, cause: NO_ROUTE_DESTINATION
  177. 2022-05-30 07:56:23.937515 95.20% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  178. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  179. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State HANGUP going to sleep
  180. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
  181. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 1 Tot 39)
  182. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State REPORTING
  183. 2022-05-30 07:56:23.937515 95.20% [INFO] mod_json_cdr.c:271 Process [05718ab7-a651-4b00-98c8-37dfaa181d99.cdr.json]
  184. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  185. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State REPORTING going to sleep
  186. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
  187. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_session.c:1753 Session 39 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Locked, Waiting on external entities
  188. 2022-05-30 07:56:23.937515 95.20% [NOTICE] switch_core_session.c:1771 Session 39 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Ended
  189. 2022-05-30 07:56:23.937515 95.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9148867777@astppqa606.astppbilling.org:5064 [CS_DESTROY]
  190. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 39)
  191. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State DESTROY
  192. 2022-05-30 07:56:23.937515 95.20% [DEBUG] mod_sofia.c:379 sofia/default/9148867777@astppqa606.astppbilling.org:5064 SOFIA DESTROY
  193. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/9148867777@astppqa606.astppbilling.org:5064 Standard DESTROY
  194. 2022-05-30 07:56:23.937515 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867777@astppqa606.astppbilling.org:5064) State DESTROY going to sleep
  195. 2022-05-30 07:56:39.437520 98.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  196. 2022-05-30 07:56:39.657531 98.87% [WARNING] sofia_reg.c:3223 Can't find user [9140336004@astppqa606.astppbilling.org] from 117.247.91.162
  197. You must define a domain called 'astppqa606.astppbilling.org' in your directory and add a user with the id="9140336004" attribute
  198. and you must configure your device to use the proper domain in its authentication credentials.
  199. 2022-05-30 07:56:39.657531 98.87% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  200. 2022-05-30 07:58:47.437529 99.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  201. 2022-05-30 07:58:48.697524 99.27% [WARNING] sofia_reg.c:3223 Can't find user [9140336004@astppqa606.astppbilling.org] from 117.247.91.162
  202. You must define a domain called 'astppqa606.astppbilling.org' in your directory and add a user with the id="9140336004" attribute
  203. and you must configure your device to use the proper domain in its authentication credentials.
  204. 2022-05-30 07:58:48.697524 99.27% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  205. 2022-05-30 08:00:55.537514 99.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  206. 2022-05-30 08:00:55.757520 99.50% [WARNING] sofia_reg.c:3223 Can't find user [9140336004@astppqa606.astppbilling.org] from 117.247.91.162
  207. You must define a domain called 'astppqa606.astppbilling.org' in your directory and add a user with the id="9140336004" attribute
  208. and you must configure your device to use the proper domain in its authentication credentials.
  209. 2022-05-30 08:00:55.757520 99.50% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9140336004@astppqa606.astppbilling.org] from ip 117.247.91.162
  210. 2022-05-30 08:02:03.557514 99.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/714933@astppqa601.astppbilling.org:5064 [03abdc53-9bd3-4bde-8395-88e9fe9af4e9]
  211. 2022-05-30 08:02:03.557514 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 40)
  212. 2022-05-30 08:02:03.557514 99.53% [INFO] sofia.c:10462 sofia/default/714933@astppqa601.astppbilling.org:5064 receiving invite from 103.240.35.46:40184 version: 1.10.7 -release 64bit call-id: ZTViZWZmYmRkZThkNTY1OWI1NGU5ZTdmZmVlZTU5NDg.
  213. 2022-05-30 08:02:03.557514 99.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  214. 2022-05-30 08:02:03.557514 99.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1009724940629@astppqa601.astppbilling.org] from ip 103.240.35.46
  215. 2022-05-30 08:02:03.557514 99.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/714933@astppqa601.astppbilling.org:5064) State NEW
  216. 2022-05-30 08:02:03.557514 99.53% [DEBUG] sofia.c:2419 detaching session 03abdc53-9bd3-4bde-8395-88e9fe9af4e9
  217. 2022-05-30 08:02:03.897528 99.50% [DEBUG] sofia.c:2532 Re-attaching to session 03abdc53-9bd3-4bde-8395-88e9fe9af4e9
  218. 2022-05-30 08:02:03.917552 99.50% [INFO] sofia.c:10462 sofia/default/714933@astppqa601.astppbilling.org:5064 receiving invite from 103.240.35.46:40184 version: 1.10.7 -release 64bit call-id: ZTViZWZmYmRkZThkNTY1OWI1NGU5ZTdmZmVlZTU5NDg.
  219. 2022-05-30 08:02:03.917552 99.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  220. 2022-05-30 08:02:03.917552 99.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  221. 2022-05-30 08:02:03.917552 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/714933@astppqa601.astppbilling.org:5064 entering state [received][100]
  222. 2022-05-30 08:02:03.917552 99.50% [DEBUG] sofia.c:7509 Remote SDP:
  223. v=0
  224. o=Z 0 0 IN IP4 103.240.35.46
  225. s=Z
  226. c=IN IP4 103.240.35.46
  227. t=0 0
  228. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  229. a=rtpmap:110 speex/8000
  230. a=rtpmap:98 iLBC/8000
  231. a=fmtp:98 mode=20
  232. a=rtpmap:101 telephone-event/8000
  233. a=fmtp:101 0-15
  234.  
  235. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  236. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  237. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  238. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  239. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  240. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  241. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  242. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  243. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  244. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  245. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  246. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  247. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  248. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/714933@astppqa601.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  249. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_codec.c:111 sofia/default/714933@astppqa601.astppbilling.org:5064 Original read codec set to PCMA:8
  250. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  251. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_media.c:5973 sofia/default/714933@astppqa601.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  252. 2022-05-30 08:02:03.917552 99.50% [DEBUG] sofia.c:7933 (sofia/default/714933@astppqa601.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
  253. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 40)
  254. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/714933@astppqa601.astppbilling.org:5064) State INIT
  255. 2022-05-30 08:02:03.917552 99.50% [DEBUG] mod_sofia.c:97 sofia/default/714933@astppqa601.astppbilling.org:5064 SOFIA INIT
  256. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/714933@astppqa601.astppbilling.org:5064 Standard INIT
  257. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/714933@astppqa601.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
  258. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/714933@astppqa601.astppbilling.org:5064) State INIT going to sleep
  259. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 40)
  260. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_channel.c:2380 (sofia/default/714933@astppqa601.astppbilling.org:5064) Callstate Change DOWN -> RINGING
  261. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/714933@astppqa601.astppbilling.org:5064) State ROUTING
  262. 2022-05-30 08:02:03.917552 99.50% [DEBUG] mod_sofia.c:158 sofia/default/714933@astppqa601.astppbilling.org:5064 SOFIA ROUTING
  263. 2022-05-30 08:02:03.917552 99.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/714933@astppqa601.astppbilling.org:5064 Standard ROUTING
  264. 2022-05-30 08:02:03.917552 99.50% [INFO] mod_dialplan_xml.c:639 Processing 714933 <714933>->1009724940629 in context default
  265. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  266. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  267. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  268. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  269. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1009724940629
  270. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  271. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER714933
  272. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  273. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1009724940629' limit 1
  274. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 714933 / 714933
  275. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  276. 2022-05-30 08:02:03.937523 99.50% [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="1009724940629" limit 1
  277. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  278. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 714933]
  279. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714933" AND deleted = 0 limit 1
  280. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1009724940629.*' OR blocked_patterns = '^100972494062.*' OR blocked_patterns = '^10097249406.*' OR blocked_patterns = '^1009724940.*' OR blocked_patterns = '^100972494.*' OR blocked_patterns = '^10097249.*' OR blocked_patterns = '^1009724.*' OR blocked_patterns = '^100972.*' OR blocked_patterns = '^10097.*' OR blocked_patterns = '^1009.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 27 limit 1
  281. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  282. 2022-05-30 08:02:03.937523 99.50% [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 = '^1009724940629.*' OR patterns = '^100972494062.*' OR patterns = '^10097249406.*' OR patterns = '^1009724940.*' OR patterns = '^100972494.*' OR patterns = '^10097249.*' OR patterns = '^1009724.*' OR patterns = '^100972.*' OR patterns = '^10097.*' OR patterns = '^1009.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 27 ORDER BY LENGTH(PKGPTR.patterns) DESC
  283. 2022-05-30 08:02:03.937523 99.50% [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 ="1009724940629" AND A.accountid = '27' limit 1
  284. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1009724940629
  285. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  286. 2022-05-30 08:02:03.937523 99.50% [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="1009724940629" limit 1
  287. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  288. 2022-05-30 08:02:03.937523 99.50% [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 = '1009724940629' OR number = '100972494062' OR number = '10097249406' OR number = '1009724940' OR number = '100972494' OR number = '10097249' OR number = '1009724' OR number = '100972' OR number = '10097' OR number = '1009' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1009724940629*' OR number = '100972494062*' OR number = '10097249406*' OR number = '1009724940*' OR number = '100972494*' OR number = '10097249*' OR number = '1009724*' OR number = '100972*' OR number = '10097*' OR number = '1009*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '714933' OR number = '71493' OR number = '7149' OR number = '714' OR number = '71' OR number = '7' OR number ='--') OR (number = '714933*' OR number = '71493*' OR number = '7149*' OR number = '714*' OR number = '71*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  289. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  290. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1009724940629' OR routing_prefix = '100972494062' OR routing_prefix = '10097249406' OR routing_prefix = '1009724940' OR routing_prefix = '100972494' OR routing_prefix = '10097249' OR routing_prefix = '1009724' OR routing_prefix = '100972' OR routing_prefix = '10097' OR routing_prefix = '1009' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  291. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  292. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 27
  293. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 714933
  294. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 89.6401
  295. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  296. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 13
  297. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  298. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  299. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  300. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::13
  301. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  302. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  303. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::13
  304. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-13
  305. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-13
  306. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-13
  307. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 08:02:03
  308. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^100.*
  309. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  310. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-30 08:02:03
  311. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^100.*
  312. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  313. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  314. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  315. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:5.00000
  316. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:13
  317. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '13' and status=0
  318. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:5.00000
  319. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  320. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 24
  321. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  322. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  323. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 5.00000
  324. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA airtel
  325. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  326. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 27
  327. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  328. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  329. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  330. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:24|CODE:^100.*|DESTINATION:USA airtel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:1|INITIALBLOCK:1|RATEGROUP:13|MARKUP:0|CI:0|ACCID:27!!!
  331. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your89.6401 balance Accountid 27 !!!
  332. 2022-05-30 08:02:03.937523 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 17.92802 minutes
  333. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  334. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=13 ORDER by id asc
  335. 2022-05-30 08:02:03.937523 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT 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 WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1009724940629.*' OR pattern = '^100972494062.*' OR pattern = '^10097249406.*' OR pattern = '^1009724940.*' OR pattern = '^100972494.*' OR pattern = '^10097249.*' OR pattern = '^1009724.*' OR pattern = '^100972.*' OR pattern = '^10097.*' OR pattern = '^1009.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (8) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  336. 2022-05-30 08:02:03.957521 99.50% [ERR] mod_lua.cpp:202 ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:854: attempt to concatenate global 'quality_trunk_seq' (a nil value)
  337. stack traceback:
  338.         ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:854: in main chunk
  339.         [C]: in function 'dofile'
  340.         /usr/local/freeswitch/scripts/astpp/astpp.lua:138: in main chunk
  341. 2022-05-30 08:02:03.957521 99.50% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  342. 2022-05-30 08:02:03.957521 99.50% [WARNING] mod_dialplan_xml.c:669 Context default not found
  343. 2022-05-30 08:02:03.957521 99.50% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  344. 2022-05-30 08:02:03.957521 99.50% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/714933@astppqa601.astppbilling.org:5064 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  345. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/714933@astppqa601.astppbilling.org:5064) State ROUTING going to sleep
  346. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 1 Tot 40)
  347. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/714933@astppqa601.astppbilling.org:5064) Callstate Change RINGING -> HANGUP
  348. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/714933@astppqa601.astppbilling.org:5064) State HANGUP
  349. 2022-05-30 08:02:03.957521 99.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/714933@astppqa601.astppbilling.org:5064 hanging up, cause: NO_ROUTE_DESTINATION
  350. 2022-05-30 08:02:03.957521 99.50% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  351. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/714933@astppqa601.astppbilling.org:5064 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  352. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/714933@astppqa601.astppbilling.org:5064) State HANGUP going to sleep
  353. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/714933@astppqa601.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
  354. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 1 Tot 40)
  355. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/714933@astppqa601.astppbilling.org:5064) State REPORTING
  356. 2022-05-30 08:02:03.957521 99.50% [INFO] mod_json_cdr.c:271 Process [03abdc53-9bd3-4bde-8395-88e9fe9af4e9.cdr.json]
  357. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/714933@astppqa601.astppbilling.org:5064 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  358. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/714933@astppqa601.astppbilling.org:5064) State REPORTING going to sleep
  359. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/714933@astppqa601.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
  360. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_session.c:1753 Session 40 (sofia/default/714933@astppqa601.astppbilling.org:5064) Locked, Waiting on external entities
  361. 2022-05-30 08:02:03.957521 99.50% [NOTICE] switch_core_session.c:1771 Session 40 (sofia/default/714933@astppqa601.astppbilling.org:5064) Ended
  362. 2022-05-30 08:02:03.957521 99.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/714933@astppqa601.astppbilling.org:5064 [CS_DESTROY]
  363. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/714933@astppqa601.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 40)
  364. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/714933@astppqa601.astppbilling.org:5064) State DESTROY
  365. 2022-05-30 08:02:03.957521 99.50% [DEBUG] mod_sofia.c:379 sofia/default/714933@astppqa601.astppbilling.org:5064 SOFIA DESTROY
  366. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/714933@astppqa601.astppbilling.org:5064 Standard DESTROY
  367. 2022-05-30 08:02:03.957521 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/714933@astppqa601.astppbilling.org:5064) State DESTROY going to sleep
  368.