From Prashant Kumar, 3 Weeks ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and SUPPORT_8028 issue for DID enable
  1. freeswitch@GuiOsip1ClusterQa-Alpesh>
  2. 2025-01-09 03:56:48.918503 93.97% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9508997349@95.216.147.158 [f160c42d-7c82-46b2-9447-ed781a7b9130]
  3. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9508997349@95.216.147.158) Running State Change CS_NEW (Cur 1 Tot 7596)
  4. 2025-01-09 03:56:48.918503 93.97% [INFO] sofia.c:10459 sofia/default/9508997349@95.216.147.158 receiving invite from 95.216.147.158:5060 version: 1.10.10-release  64bit call-id: 97d6e6be-48e0-123e-e58a-960002fd5b47
  5. 2025-01-09 03:56:48.918503 93.97% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.216.147.158:0.
  6. 2025-01-09 03:56:48.918503 93.97% [DEBUG] sofia.c:10582 IP 95.216.147.158 Approved by acl "default[]". Access Granted.
  7. 2025-01-09 03:56:48.918503 93.97% [DEBUG] sofia.c:7493 Channel sofia/default/9508997349@95.216.147.158 entering state [received][100]
  8. 2025-01-09 03:56:48.918503 93.97% [DEBUG] sofia.c:7503 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1736374642 1736374643 IN IP4 95.216.147.158
  11. s=FreeSWITCH
  12. c=IN IP4 95.216.147.158
  13. t=0 0
  14. m=audio 20366 RTP/AVP 8 18 101
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=ptime:20
  20.  
  21. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  25. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  26. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  27. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9508997349@95.216.147.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2025-01-09 03:56:48.918503 93.97% [DEBUG] switch_core_codec.c:111 sofia/default/9508997349@95.216.147.158 Original read codec set to PCMA:8
  29. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  30. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_media.c:5856 sofia/default/9508997349@95.216.147.158 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2025-01-09 03:56:48.938493 93.97% [DEBUG] sofia.c:7927 (sofia/default/9508997349@95.216.147.158) State Change CS_NEW -> CS_INIT
  32. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9508997349@95.216.147.158) State NEW
  33. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9508997349@95.216.147.158) Running State Change CS_INIT (Cur 1 Tot 7596)
  34. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9508997349@95.216.147.158) State INIT
  35. 2025-01-09 03:56:48.938493 93.97% [DEBUG] mod_sofia.c:97 sofia/default/9508997349@95.216.147.158 SOFIA INIT
  36. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/9508997349@95.216.147.158 Standard INIT
  37. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9508997349@95.216.147.158) State Change CS_INIT -> CS_ROUTING
  38. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9508997349@95.216.147.158) State INIT going to sleep
  39. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9508997349@95.216.147.158) Running State Change CS_ROUTING (Cur 1 Tot 7596)
  40. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_channel.c:2399 (sofia/default/9508997349@95.216.147.158) Callstate Change DOWN -> RINGING
  41. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9508997349@95.216.147.158) State ROUTING
  42. 2025-01-09 03:56:48.938493 93.97% [DEBUG] mod_sofia.c:158 sofia/default/9508997349@95.216.147.158 SOFIA ROUTING
  43. 2025-01-09 03:56:48.938493 93.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/9508997349@95.216.147.158 Standard ROUTING
  44. 2025-01-09 03:56:48.938493 93.97% [INFO] mod_dialplan_xml.c:639 Processing Mobile Phone <9508997349>->100555 in context default
  45. 2025-01-09 03:56:48.938493 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2025-01-09 03:56:48.958506 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2025-01-09 03:56:48.958506 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2025-01-09 03:56:48.958506 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2025-01-09 03:56:48.978505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  50. 2025-01-09 03:56:48.978505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100555
  51. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100555' limit 1
  52. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  53. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100555' and status=0 LIMIT 1
  54. 2025-01-09 03:56:48.978505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERFreeSWITCH
  55. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  57. 2025-01-09 03:56:48.978505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Mobile Phone / 9508997349
  58. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  59. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  60. 2025-01-09 03:56:48.978505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  61. 2025-01-09 03:56:48.978505 93.97% [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,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid,A.call_forward_to_pstn as call_forward_to_pstn FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 100555 ORDER BY LENGTH(A.number) DESC LIMIT 1
  62. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2025-01-09 03:56:48.998510 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  64. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("95.216.147.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "100555"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  65. 2025-01-09 03:56:48.998510 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9008796415]
  66. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9008796415" OR id = "9008796415") AND deleted = 0 limit 1
  67. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  68. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  69. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  70. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  71. 2025-01-09 03:56:48.998510 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 6
  72. 2025-01-09 03:56:48.998510 93.97% [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 = '^100555.*' OR patterns = '^10055.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  73. 2025-01-09 03:56:49.018519 93.97% [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 ="100555" AND A.accountid = '6' limit 1
  74. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100555
  75. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  76. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  77. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  78. 2025-01-09 03:56:49.018519 93.97% [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,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid,A.call_forward_to_pstn as call_forward_to_pstn FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 100555 ORDER BY LENGTH(A.number) DESC LIMIT 1
  79. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  81. 2025-01-09 03:56:49.018519 93.97% [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 = '100555' OR number = '10055' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100555*' OR number = '10055*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9508997349' OR number = '950899734' OR number = '95089973' OR number = '9508997' OR number = '950899' OR number = '95089' OR number = '9508' OR number = '950' OR number = '95' OR number = '9' OR number ='--') OR (number = '9508997349*' OR number = '950899734*' OR number = '95089973*' OR number = '9508997*' OR number = '950899*' OR number = '95089*' OR number = '9508*' OR number = '950*' OR number = '95*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100555' OR routing_prefix = '10055' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  84. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  86. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9008796415
  87. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  88. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49994.68
  89. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  90. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  91. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_privacy_call] Query :SELECT dir_vars,username FROM sip_devices WHERE username = 'FreeSWITCH' and status = 0 limit 1
  94. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  95. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  96. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  97. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....100555
  98. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,A.always as always,A.always_destination as always_destination,D.id as product_id, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="100555" LIMIT 1
  99. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  100. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  101. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  102. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  103. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  104. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.40000
  105. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100555
  106. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  107. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  108. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  109. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  110. 2025-01-09 03:56:49.018519 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49994.68 balance Accountid 6 !!!
  111. 2025-01-09 03:56:49.018519 93.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  112. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 6  and status = 0 limit 1
  113. 2025-01-09 03:56:49.018519 93.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  114. 2025-01-09 03:56:49.018519 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1
  115. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  116. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  117. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  118. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9812148329
  119. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  120. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49994.68
  121. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  122. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  123. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  124. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  125. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  126. 2025-01-09 03:56:49.038505 93.97% [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,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid,A.call_forward_to_pstn as call_forward_to_pstn FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 100555 ORDER BY LENGTH(A.number) DESC LIMIT 1
  127. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  128. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  129. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  130. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  131. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  132. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  133. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.40000
  134. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100555
  135. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  136. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  137. 2025-01-09 03:56:49.038505 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  138. 2025-01-09 03:56:49.038505 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  139. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49994.68 balance Accountid 5 !!!
  140. 2025-01-09 03:56:49.058517 93.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  141. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  142. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:1|CODE:^100555.*|DESTINATION:100555|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.40000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:6||ID:1|CODE:^100555.*|DESTINATION:100555|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.40000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5
  143. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  144. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  145. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  146. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  147. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  148. 2025-01-09 03:56:49.058517 93.97% [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 = 6 AND status=0 LIMIT 1
  149. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1
  150. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  151. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:6
  152. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:6
  153. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 6
  154. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  155. 2025-01-09 03:56:49.058517 93.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppdemo.astppbilling.org
  156. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  157. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'FreeSWITCH' and status = 0 limit 1
  158. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  159. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  160. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  161. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "9008796415" AND accounts.status = 0
  162. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  163. 2025-01-09 03:56:49.058517 93.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppdemo.astppbilling.org
  164. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  165. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9008796415' and accountid = '6'LIMIT 1
  166. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9008796415
  167. 2025-01-09 03:56:49.058517 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  168. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9008796415' and accountid = '6'LIMIT 1
  169. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  170. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  171. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  172. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9008796415"  AND domains.domain="astppdemo.astppbilling.org" limit 1
  173. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
  174. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  175. 2025-01-09 03:56:49.058517 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  176. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  177. 2025-01-09 03:56:49.078494 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  178. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9008796415"  AND domains.domain="astppdemo.astppbilling.org" limit 1
  179. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9008796415"  AND domains.domain="astppdemo.astppbilling.org" limit 1
  180. 2025-01-09 03:56:49.078494 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 3
  181. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
  182. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  183. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  184. 2025-01-09 03:56:49.078494 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Do Not Disturb MOD Enable
  185. 2025-01-09 03:56:49.078494 93.97% [ERR] mod_lua.cpp:202 .../local/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1371: attempt to concatenate global 'sound_path' (a nil value)
  186. stack traceback:
  187.         .../local/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1371: in function 'sip_device_routing'
  188.         .../local/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:2321: in function '?'
  189.         /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:664: in function 'freeswitch_xml_inbound'
  190.         ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:1054: in main chunk
  191.         [C]: in function 'dofile'
  192.         /usr/local/freeswitch/scripts/astpp/astpp.lua:140: in main chunk
  193. 2025-01-09 03:56:49.078494 93.97% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  194. 2025-01-09 03:56:49.078494 93.97% [WARNING] mod_dialplan_xml.c:669 Context default not found
  195. 2025-01-09 03:56:49.078494 93.97% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  196. 2025-01-09 03:56:49.078494 93.97% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9508997349@95.216.147.158 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  197. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9508997349@95.216.147.158) State ROUTING going to sleep
  198. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9508997349@95.216.147.158) Running State Change CS_HANGUP (Cur 1 Tot 7596)
  199. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9508997349@95.216.147.158) Callstate Change RINGING -> HANGUP
  200. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9508997349@95.216.147.158) State HANGUP
  201. 2025-01-09 03:56:49.078494 93.97% [DEBUG] mod_sofia.c:469 Channel sofia/default/9508997349@95.216.147.158 hanging up, cause: NO_ROUTE_DESTINATION
  202. 2025-01-09 03:56:49.078494 93.97% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404
  203. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/9508997349@95.216.147.158 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  204. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9508997349@95.216.147.158) State HANGUP going to sleep
  205. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9508997349@95.216.147.158) State Change CS_HANGUP -> CS_REPORTING
  206. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9508997349@95.216.147.158) Running State Change CS_REPORTING (Cur 1 Tot 7596)
  207. 2025-01-09 03:56:49.078494 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9508997349@95.216.147.158) State REPORTING
  208. 2025-01-09 03:56:49.078494 93.97% [INFO] mod_json_cdr.c:272 Process [f160c42d-7c82-46b2-9447-ed781a7b9130.cdr.json]
  209. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/9508997349@95.216.147.158 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  210. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9508997349@95.216.147.158) State REPORTING going to sleep
  211. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9508997349@95.216.147.158) State Change CS_REPORTING -> CS_DESTROY
  212. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_session.c:1744 Session 7596 (sofia/default/9508997349@95.216.147.158) Locked, Waiting on external entities
  213. 2025-01-09 03:56:49.098497 93.97% [NOTICE] switch_core_session.c:1762 Session 7596 (sofia/default/9508997349@95.216.147.158) Ended
  214. 2025-01-09 03:56:49.098497 93.97% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9508997349@95.216.147.158 [CS_DESTROY]
  215. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9508997349@95.216.147.158) Running State Change CS_DESTROY (Cur 0 Tot 7596)
  216. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9508997349@95.216.147.158) State DESTROY
  217. 2025-01-09 03:56:49.098497 93.97% [DEBUG] mod_sofia.c:380 sofia/default/9508997349@95.216.147.158 SOFIA DESTROY
  218. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/9508997349@95.216.147.158 Standard DESTROY
  219. 2025-01-09 03:56:49.098497 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9508997349@95.216.147.158) State DESTROY going to sleep
  220. 2025-01-09 03:59:41.418503 94.03% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [375@78.47.101.152] from ip 212.83.135.92
  221. 2025-01-09 03:59:41.478530 94.03% [WARNING] sofia_reg.c:3210 Can't find user [375@78.47.101.152] from 212.83.135.92
  222. You must define a domain called '78.47.101.152' in your directory and add a user with the id="375" attribute
  223. and you must configure your device to use the proper domain in its authentication credentials.
  224. 2025-01-09 03:59:41.478530 94.03% [WARNING] sofia_reg.c:1787 SIP auth failure (REGISTER) on sofia profile 'default' for [375@78.47.101.152] from ip 212.83.135.92
  225. 2025-01-09 04:03:53.378522 94.27% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [2727@78.47.101.152] from ip 212.83.135.92
  226. 2025-01-09 04:03:53.478512 94.27% [WARNING] sofia_reg.c:3210 Can't find user [2727@78.47.101.152] from 212.83.135.92
  227. You must define a domain called '78.47.101.152' in your directory and add a user with the id="2727" attribute
  228. and you must configure your device to use the proper domain in its authentication credentials.
  229. 2025-01-09 04:03:53.478512 94.27% [WARNING] sofia_reg.c:1787 SIP auth failure (REGISTER) on sofia profile 'default' for [2727@78.47.101.152] from ip 212.83.135.92
  230. 2025-01-09 04:05:30.598566 91.63% [NOTICE] switch_channel.c:1142 New Channel sofia/default/+07847101152@78.47.101.152 [61182135-d130-4541-a397-2919113a7ac0]
  231. 2025-01-09 04:05:30.598566 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+07847101152@78.47.101.152) Running State Change CS_NEW (Cur 1 Tot 7597)
  232. 2025-01-09 04:05:30.598566 91.63% [INFO] sofia.c:10459 sofia/default/+07847101152@78.47.101.152 receiving invite from 87.98.241.4:64654 version: 1.10.10-release  64bit call-id: 1431989053-260573518-1078254772
  233. 2025-01-09 04:05:30.598566 91.63% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 87.98.241.4:0.
  234. 2025-01-09 04:05:30.598566 91.63% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [+0201095755963@78.47.101.152] from ip 87.98.241.4
  235. 2025-01-09 04:05:30.598566 91.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+07847101152@78.47.101.152) State NEW
  236. 2025-01-09 04:05:30.598566 91.63% [DEBUG] sofia.c:2419 detaching session 61182135-d130-4541-a397-2919113a7ac0
  237. 2025-01-09 04:05:40.658538 95.13% [WARNING] switch_core_state_machine.c:684 61182135-d130-4541-a397-2919113a7ac0 sofia/default/+07847101152@78.47.101.152 Abandoned
  238. 2025-01-09 04:05:40.658538 95.13% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/+07847101152@78.47.101.152 [CS_NEW] [WRONG_CALL_STATE]
  239. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+07847101152@78.47.101.152) Running State Change CS_HANGUP (Cur 1 Tot 7597)
  240. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+07847101152@78.47.101.152) Callstate Change DOWN -> HANGUP
  241. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+07847101152@78.47.101.152) State HANGUP
  242. 2025-01-09 04:05:40.658538 95.13% [DEBUG] mod_sofia.c:469 Channel sofia/default/+07847101152@78.47.101.152 hanging up, cause: WRONG_CALL_STATE
  243. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:59 sofia/default/+07847101152@78.47.101.152 Standard HANGUP, cause: WRONG_CALL_STATE
  244. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+07847101152@78.47.101.152) State HANGUP going to sleep
  245. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+07847101152@78.47.101.152) State Change CS_HANGUP -> CS_REPORTING
  246. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+07847101152@78.47.101.152) Running State Change CS_REPORTING (Cur 1 Tot 7597)
  247. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+07847101152@78.47.101.152) State REPORTING
  248. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:168 sofia/default/+07847101152@78.47.101.152 Standard REPORTING, cause: WRONG_CALL_STATE
  249. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+07847101152@78.47.101.152) State REPORTING going to sleep
  250. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+07847101152@78.47.101.152) State Change CS_REPORTING -> CS_DESTROY
  251. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_session.c:1744 Session 7597 (sofia/default/+07847101152@78.47.101.152) Locked, Waiting on external entities
  252. 2025-01-09 04:05:40.658538 95.13% [NOTICE] switch_core_session.c:1762 Session 7597 (sofia/default/+07847101152@78.47.101.152) Ended
  253. 2025-01-09 04:05:40.658538 95.13% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+07847101152@78.47.101.152 [CS_DESTROY]
  254. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+07847101152@78.47.101.152) Running State Change CS_DESTROY (Cur 0 Tot 7597)
  255. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+07847101152@78.47.101.152) State DESTROY
  256. 2025-01-09 04:05:40.658538 95.13% [DEBUG] mod_sofia.c:380 sofia/default/+07847101152@78.47.101.152 SOFIA DESTROY
  257. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:175 sofia/default/+07847101152@78.47.101.152 Standard DESTROY
  258. 2025-01-09 04:05:40.658538 95.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+07847101152@78.47.101.152) State DESTROY going to sleep
  259. freeswitch@GuiOsip1ClusterQa-Alpesh>