From PKK, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5.  
  6. [This app Best viewed at 160x60 or more..]
  7. +OK log level  [7]
  8. 2023-05-26 08:23:31.526605 82.57% [WARNING] switch_core_state_machine.c:684 b3ca989c-e2fd-4f86-afa3-914b06ed8a7d sofia/default/570@13.126.85.161 Abandoned
  9. 2023-05-26 08:23:31.526605 82.57% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/570@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  10. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/570@13.126.85.161) Running State Change CS_HANGUP (Cur 5 Tot 23763)
  11. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/570@13.126.85.161) Callstate Change DOWN -> HANGUP
  12. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/570@13.126.85.161) State HANGUP
  13. 2023-05-26 08:23:31.526605 82.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/570@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  14. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/570@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  15. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/570@13.126.85.161) State HANGUP going to sleep
  16. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/570@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  17. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/570@13.126.85.161) Running State Change CS_REPORTING (Cur 5 Tot 23763)
  18. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/570@13.126.85.161) State REPORTING
  19. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/570@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  20. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/570@13.126.85.161) State REPORTING going to sleep
  21. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/570@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  22. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_session.c:1753 Session 23759 (sofia/default/570@13.126.85.161) Locked, Waiting on external entities
  23. 2023-05-26 08:23:31.526605 82.57% [NOTICE] switch_core_session.c:1771 Session 23759 (sofia/default/570@13.126.85.161) Ended
  24. 2023-05-26 08:23:31.526605 82.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/570@13.126.85.161 [CS_DESTROY]
  25. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/570@13.126.85.161) Running State Change CS_DESTROY (Cur 4 Tot 23763)
  26. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/570@13.126.85.161) State DESTROY
  27. 2023-05-26 08:23:31.526605 82.57% [DEBUG] mod_sofia.c:379 sofia/default/570@13.126.85.161 SOFIA DESTROY
  28. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/570@13.126.85.161 Standard DESTROY
  29. 2023-05-26 08:23:31.526605 82.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/570@13.126.85.161) State DESTROY going to sleep
  30. freeswitch@ip-172-31-47-235>
  31. freeswitch@ip-172-31-47-235>
  32. freeswitch@ip-172-31-47-235>
  33. 2023-05-26 08:23:32.906597 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580@13.126.85.161 [bd34732d-beb3-408b-b850-822d82cd5ece]
  34. 2023-05-26 08:23:32.906597 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_NEW (Cur 5 Tot 23764)
  35. 2023-05-26 08:23:32.906597 84.00% [INFO] sofia.c:10462 sofia/default/580@13.126.85.161 receiving invite from 57.128.33.103:52459 version: 1.10.7 -release 64bit call-id: 113806129-726097792-73539377
  36. 2023-05-26 08:23:32.906597 84.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 57.128.33.103:0.
  37. 2023-05-26 08:23:32.906597 84.00% [DEBUG] sofia.c:2419 detaching session bd34732d-beb3-408b-b850-822d82cd5ece
  38. 2023-05-26 08:23:32.906597 84.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [+12244326877@13.126.85.161] from ip 57.128.33.103
  39. 2023-05-26 08:23:32.906597 84.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580@13.126.85.161) State NEW
  40. 2023-05-26 08:23:33.686614 85.57% [WARNING] switch_core_state_machine.c:684 3d805602-11bb-4de1-8051-7174814b1ce1 sofia/default/570@13.126.85.161 Abandoned
  41. 2023-05-26 08:23:33.686614 85.57% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/570@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  42. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/570@13.126.85.161) Running State Change CS_HANGUP (Cur 5 Tot 23764)
  43. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/570@13.126.85.161) Callstate Change DOWN -> HANGUP
  44. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/570@13.126.85.161) State HANGUP
  45. 2023-05-26 08:23:33.686614 85.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/570@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  46. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/570@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  47. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/570@13.126.85.161) State HANGUP going to sleep
  48. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/570@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  49. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/570@13.126.85.161) Running State Change CS_REPORTING (Cur 5 Tot 23764)
  50. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/570@13.126.85.161) State REPORTING
  51. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/570@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  52. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/570@13.126.85.161) State REPORTING going to sleep
  53. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/570@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  54. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_session.c:1753 Session 23760 (sofia/default/570@13.126.85.161) Locked, Waiting on external entities
  55. 2023-05-26 08:23:33.686614 85.57% [NOTICE] switch_core_session.c:1771 Session 23760 (sofia/default/570@13.126.85.161) Ended
  56. 2023-05-26 08:23:33.686614 85.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/570@13.126.85.161 [CS_DESTROY]
  57. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/570@13.126.85.161) Running State Change CS_DESTROY (Cur 4 Tot 23764)
  58. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/570@13.126.85.161) State DESTROY
  59. 2023-05-26 08:23:33.686614 85.57% [DEBUG] mod_sofia.c:379 sofia/default/570@13.126.85.161 SOFIA DESTROY
  60. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/570@13.126.85.161 Standard DESTROY
  61. 2023-05-26 08:23:33.686614 85.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/570@13.126.85.161) State DESTROY going to sleep
  62. 2023-05-26 08:23:35.066571 86.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580@13.126.85.161 [ddbea1f9-3288-47ec-a51f-fd8e3b496c9b]
  63. 2023-05-26 08:23:35.066571 86.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_NEW (Cur 5 Tot 23765)
  64. 2023-05-26 08:23:35.066571 86.90% [INFO] sofia.c:10462 sofia/default/580@13.126.85.161 receiving invite from 57.128.33.103:63273 version: 1.10.7 -release 64bit call-id: 77659357-245047216-1359682084
  65. 2023-05-26 08:23:35.066571 86.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 57.128.33.103:0.
  66. 2023-05-26 08:23:35.066571 86.90% [DEBUG] sofia.c:2419 detaching session ddbea1f9-3288-47ec-a51f-fd8e3b496c9b
  67. 2023-05-26 08:23:35.066571 86.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [01112244326877@13.126.85.161] from ip 57.128.33.103
  68. 2023-05-26 08:23:35.066571 86.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580@13.126.85.161) State NEW
  69. 2023-05-26 08:23:36.206602 89.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8000500020@13.232.246.166 [e32086b9-94e3-48fa-ae7a-2151795749d4]
  70. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000500020@13.232.246.166) Running State Change CS_NEW (Cur 6 Tot 23766)
  71. 2023-05-26 08:23:36.206602 89.57% [INFO] sofia.c:10462 sofia/default/8000500020@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.7 -release 64bit call-id: 738eaaba-7641-123c-65b2-02c9c4cfda14
  72. 2023-05-26 08:23:36.206602 89.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 13.232.246.166:0.
  73. 2023-05-26 08:23:36.206602 89.57% [DEBUG] sofia.c:10585 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  74. 2023-05-26 08:23:36.206602 89.57% [DEBUG] sofia.c:7499 Channel sofia/default/8000500020@13.232.246.166 entering state [received][100]
  75. 2023-05-26 08:23:36.206602 89.57% [DEBUG] sofia.c:7509 Remote SDP:
  76. v=0
  77. o=FreeSWITCH 1685059234 1685059235 IN IP4 13.232.246.166
  78. s=FreeSWITCH
  79. c=IN IP4 13.232.246.166
  80. t=0 0
  81. m=audio 30182 RTP/AVP 0 101
  82. a=rtpmap:0 PCMU/8000
  83. a=rtpmap:101 telephone-event/8000
  84. a=fmtp:101 0-15
  85. a=ptime:20
  86.  
  87. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  88. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  89. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  90. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  91. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8000500020@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  92. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_codec.c:111 sofia/default/8000500020@13.232.246.166 Original read codec set to PCMU:0
  93. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  94. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_media.c:5973 sofia/default/8000500020@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  95. 2023-05-26 08:23:36.206602 89.57% [DEBUG] sofia.c:7933 (sofia/default/8000500020@13.232.246.166) State Change CS_NEW -> CS_INIT
  96. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8000500020@13.232.246.166) State NEW
  97. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000500020@13.232.246.166) Running State Change CS_INIT (Cur 6 Tot 23766)
  98. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8000500020@13.232.246.166) State INIT
  99. 2023-05-26 08:23:36.206602 89.57% [DEBUG] mod_sofia.c:97 sofia/default/8000500020@13.232.246.166 SOFIA INIT
  100. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/8000500020@13.232.246.166 Standard INIT
  101. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8000500020@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  102. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8000500020@13.232.246.166) State INIT going to sleep
  103. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000500020@13.232.246.166) Running State Change CS_ROUTING (Cur 6 Tot 23766)
  104. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_channel.c:2380 (sofia/default/8000500020@13.232.246.166) Callstate Change DOWN -> RINGING
  105. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8000500020@13.232.246.166) State ROUTING
  106. 2023-05-26 08:23:36.206602 89.57% [DEBUG] mod_sofia.c:158 sofia/default/8000500020@13.232.246.166 SOFIA ROUTING
  107. 2023-05-26 08:23:36.206602 89.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/8000500020@13.232.246.166 Standard ROUTING
  108. 2023-05-26 08:23:36.206602 89.57% [INFO] mod_dialplan_xml.c:639 Processing 8000500020 <8000500020>->8800044 in context default
  109. 2023-05-26 08:23:36.226570 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  110. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  111. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  112. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  113. 2023-05-26 08:23:36.246614 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  114. 2023-05-26 08:23:36.246614 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 8800044
  115. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '8800044' limit 1
  116. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  117. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '8800044' and status=0 LIMIT 1
  118. 2023-05-26 08:23:36.246614 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta
  119. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  120. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '13.126.85.161' limit 1
  121. 2023-05-26 08:23:36.246614 89.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  122. 2023-05-26 08:23:36.246614 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8000500020 / 8000500020
  123. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  124. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  125. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  126. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="8800044" LIMIT 1
  127. 2023-05-26 08:23:36.246614 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  128. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1941" and did_id ="253" and number ="8000500020" and status = '0' LIMIT 1
  129. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  130. 2023-05-26 08:23:36.266571 89.57% [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("13.232.246.166") 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 "8800044"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  131. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 99295]
  132. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "99295" AND deleted = 0 limit 1
  133. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =1941
  134. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  135. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  136. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  137. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1941
  138. 2023-05-26 08:23:36.266571 89.57% [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 = '^8800044.*' OR patterns = '^880004.*' OR patterns = '^88000.*' OR patterns = '^8800.*' OR patterns = '^880.*' OR patterns = '^88.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 1941 ORDER BY LENGTH(PKGPTR.patterns) DESC
  139. 2023-05-26 08:23:36.266571 89.57% [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 ="8800044" AND A.accountid = '1940' limit 1
  140. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 8800044
  141. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  142. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  143. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  144. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="8800044" LIMIT 1
  145. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  146. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1941" and did_id ="253" and number ="8000500020" and status = '0' LIMIT 1
  147. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  148. 2023-05-26 08:23:36.266571 89.57% [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 = '8800044' OR number = '880004' OR number = '88000' OR number = '8800' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '8800044*' OR number = '880004*' OR number = '88000*' OR number = '8800*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--') OR (number = '8000500020' OR number = '800050002' OR number = '80005000' OR number = '8000500' OR number = '800050' OR number = '80005' OR number = '8000' OR number = '800' OR number = '80' OR number = '8' OR number ='--') OR (number = '8000500020*' OR number = '800050002*' OR number = '80005000*' OR number = '8000500*' OR number = '800050*' OR number = '80005*' OR number = '8000*' OR number = '800*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  149. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  150. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '8800044' OR routing_prefix = '880004' OR routing_prefix = '88000' OR routing_prefix = '8800' OR routing_prefix = '880' OR routing_prefix = '88' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  151. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  152. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1940
  153. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 99295
  154. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =1941
  155. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4994.6
  156. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  157. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 568
  158. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  159. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  160. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  161. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::568
  162. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  163. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="8800044" LIMIT 1
  164. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  165. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="1941" and did_id ="253" and number ="8000500020" and status = '0' LIMIT 1
  166. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  167. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  168. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 253
  169. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  170. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  171. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  172. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : AMD GUJ
  173. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 110
  174. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1940
  175. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  176. 2023-05-26 08:23:36.266571 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =1941
  177. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4994.6 balance Accountid 1940 !!!
  178. 2023-05-26 08:23:36.266571 89.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  179. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  180. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  181. 2023-05-26 08:23:36.266571 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  182. 2023-05-26 08:23:36.266571 89.57% [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 = 1940 AND status=0 LIMIT 1
  183. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1941" AND deleted = 0 limit 1
  184. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =1941
  185. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:1940
  186. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:1940
  187. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 1940
  188. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1941 limit 1
  189. 2023-05-26 08:23:36.286636 89.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation1betav601.astppbilling.org
  190. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  191. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  192. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  193. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  194. 2023-05-26 08:23:36.286636 89.57% [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 = "3" AND accounts.status = 0
  195. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :8800044
  196. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :8800044
  197. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1941 limit 1
  198. 2023-05-26 08:23:36.286636 89.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation1betav601.astppbilling.org
  199. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  200. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 1941 or id = 1941 ) and status = 0 limit 1
  201. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  202. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  203. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '1941' LIMIT 1
  204. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  205. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  206. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  207. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 3 and status = 0 LIMIT 1
  208. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::2
  209. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '2' LIMIT 1
  210. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================Fanfare60_260523081336.wav
  211. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '4' LIMIT 1
  212. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold recording name :- /var/www/html/astpp//upload/pbx/file_example_WAV_1MG_260523081434.wav
  213. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1941 limit 1
  214. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  215. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  216. 2023-05-26 08:23:36.286636 89.57% [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="99383"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  217. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2285 limit 1
  218. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  219. 2023-05-26 08:23:36.286636 89.57% [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="99383"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  220. 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "99383"
  221. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  222. 2023-05-26 08:23:36.286636 89.57% [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="99383"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  223. 2023-05-26 08:23:36.286636 89.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  224. 2023-05-26 08:23:36.286636 89.57% [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="91030303030303#"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  225. span style="color: green; font-weight: bold;"> 2023-05-26 08:23:36.286636 89.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2285 limit 1
  226. 2023-05-26 08:23:36.306568 89.57% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:289: attempt to concatenate a nil value
  227. stack traceback:
  228.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:289: in function 'did_pbx_info'
  229.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:2471: in function '?'
  230.         ./astpp/scripts/astpp.xml.lua:518: in function 'freeswitch_xml_inbound'
  231.         ./astpp/scripts/astpp.dialplan.lua:843: in main chunk
  232.         [C]: in function 'dofile'
  233.         ./astpp/astpp_deb9.lua:138: in main chunk
  234. 2023-05-26 08:23:36.306568 89.57% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  235. 2023-05-26 08:23:36.306568 89.57% [WARNING] mod_dialplan_xml.c:669 Context default not found
  236. 2023-05-26 08:23:36.306568 89.57% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  237. 2023-05-26 08:23:36.306568 89.57% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/8000500020@13.232.246.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  238. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8000500020@13.232.246.166) State ROUTING going to sleep
  239. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000500020@13.232.246.166) Running State Change CS_HANGUP (Cur 6 Tot 23766)
  240. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8000500020@13.232.246.166) Callstate Change RINGING -> HANGUP
  241. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8000500020@13.232.246.166) State HANGUP
  242. 2023-05-26 08:23:36.306568 89.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/8000500020@13.232.246.166 hanging up, cause: NO_ROUTE_DESTINATION
  243. 2023-05-26 08:23:36.306568 89.57% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  244. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/8000500020@13.232.246.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  245. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8000500020@13.232.246.166) State HANGUP going to sleep
  246. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8000500020@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  247. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000500020@13.232.246.166) Running State Change CS_REPORTING (Cur 6 Tot 23766)
  248. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8000500020@13.232.246.166) State REPORTING
  249. 2023-05-26 08:23:36.306568 89.57% [INFO] mod_json_cdr.c:271 Process [e32086b9-94e3-48fa-ae7a-2151795749d4.cdr.json]
  250. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/8000500020@13.232.246.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  251. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8000500020@13.232.246.166) State REPORTING going to sleep
  252. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8000500020@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  253. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_session.c:1753 Session 23766 (sofia/default/8000500020@13.232.246.166) Locked, Waiting on external entities
  254. 2023-05-26 08:23:36.306568 89.57% [NOTICE] switch_core_session.c:1771 Session 23766 (sofia/default/8000500020@13.232.246.166) Ended
  255. 2023-05-26 08:23:36.306568 89.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8000500020@13.232.246.166 [CS_DESTROY]
  256. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8000500020@13.232.246.166) Running State Change CS_DESTROY (Cur 5 Tot 23766)
  257. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8000500020@13.232.246.166) State DESTROY
  258. 2023-05-26 08:23:36.306568 89.57% [DEBUG] mod_sofia.c:379 sofia/default/8000500020@13.232.246.166 SOFIA DESTROY
  259. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/8000500020@13.232.246.166 Standard DESTROY
  260. 2023-05-26 08:23:36.306568 89.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8000500020@13.232.246.166) State DESTROY going to sleep
  261. 2023-05-26 08:23:36.806565 89.57% [WARNING] switch_core_state_machine.c:684 775a9ca1-6e66-47bd-a16e-f076ffa53663 sofia/default/580@13.126.85.161 Abandoned
  262. 2023-05-26 08:23:36.806565 89.57% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/580@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  263. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_HANGUP (Cur 5 Tot 23766)
  264. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580@13.126.85.161) Callstate Change DOWN -> HANGUP
  265. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP
  266. 2023-05-26 08:23:36.806565 89.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/580@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  267. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/580@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  268. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP going to sleep
  269. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  270. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_REPORTING (Cur 5 Tot 23766)
  271. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING
  272. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/580@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  273. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING going to sleep
  274. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  275. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_session.c:1753 Session 23761 (sofia/default/580@13.126.85.161) Locked, Waiting on external entities
  276. 2023-05-26 08:23:36.806565 89.57% [NOTICE] switch_core_session.c:1771 Session 23761 (sofia/default/580@13.126.85.161) Ended
  277. 2023-05-26 08:23:36.806565 89.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580@13.126.85.161 [CS_DESTROY]
  278. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580@13.126.85.161) Running State Change CS_DESTROY (Cur 4 Tot 23766)
  279. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY
  280. 2023-05-26 08:23:36.806565 89.57% [DEBUG] mod_sofia.c:379 sofia/default/580@13.126.85.161 SOFIA DESTROY
  281. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/580@13.126.85.161 Standard DESTROY
  282. 2023-05-26 08:23:36.806565 89.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY going to sleep
  283. 2023-05-26 08:23:38.886611 88.90% [WARNING] switch_core_state_machine.c:684 231bafc3-b604-4d0f-b14f-7c06c71af0ab sofia/default/580@13.126.85.161 Abandoned
  284. 2023-05-26 08:23:38.886611 88.90% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/580@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  285. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_HANGUP (Cur 4 Tot 23766)
  286. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580@13.126.85.161) Callstate Change DOWN -> HANGUP
  287. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP
  288. 2023-05-26 08:23:38.886611 88.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/580@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  289. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/580@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  290. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP going to sleep
  291. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  292. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_REPORTING (Cur 4 Tot 23766)
  293. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING
  294. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/580@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  295. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING going to sleep
  296. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  297. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_session.c:1753 Session 23762 (sofia/default/580@13.126.85.161) Locked, Waiting on external entities
  298. 2023-05-26 08:23:38.886611 88.90% [NOTICE] switch_core_session.c:1771 Session 23762 (sofia/default/580@13.126.85.161) Ended
  299. 2023-05-26 08:23:38.886611 88.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580@13.126.85.161 [CS_DESTROY]
  300. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580@13.126.85.161) Running State Change CS_DESTROY (Cur 3 Tot 23766)
  301. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY
  302. 2023-05-26 08:23:38.886611 88.90% [DEBUG] mod_sofia.c:379 sofia/default/580@13.126.85.161 SOFIA DESTROY
  303. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/580@13.126.85.161 Standard DESTROY
  304. 2023-05-26 08:23:38.886611 88.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY going to sleep
  305. 2023-05-26 08:23:39.006602 88.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580@13.126.85.161 [fd30a21d-6def-48b6-84fe-fdef66b9807a]
  306. 2023-05-26 08:23:39.006602 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_NEW (Cur 4 Tot 23767)
  307. 2023-05-26 08:23:39.006602 88.90% [INFO] sofia.c:10462 sofia/default/580@13.126.85.161 receiving invite from 57.128.33.103:51191 version: 1.10.7 -release 64bit call-id: 1725553828-1865177358-1922473785
  308. 2023-05-26 08:23:39.006602 88.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 57.128.33.103:0.
  309. 2023-05-26 08:23:39.006602 88.90% [DEBUG] sofia.c:2419 detaching session fd30a21d-6def-48b6-84fe-fdef66b9807a
  310. 2023-05-26 08:23:39.006602 88.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [000012244326877@13.126.85.161] from ip 57.128.33.103
  311. 2023-05-26 08:23:39.006602 88.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580@13.126.85.161) State NEW
  312. 2023-05-26 08:23:40.766598 91.50% [WARNING] switch_core_state_machine.c:684 95d9948a-c8b0-4590-ab7d-74c42ad0b3b6 sofia/default/580@13.126.85.161 Abandoned
  313. 2023-05-26 08:23:40.766598 91.50% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/580@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  314. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_HANGUP (Cur 4 Tot 23767)
  315. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580@13.126.85.161) Callstate Change DOWN -> HANGUP
  316. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP
  317. 2023-05-26 08:23:40.766598 91.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/580@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  318. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/580@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  319. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP going to sleep
  320. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  321. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_REPORTING (Cur 4 Tot 23767)
  322. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING
  323. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/580@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  324. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING going to sleep
  325. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  326. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_session.c:1753 Session 23763 (sofia/default/580@13.126.85.161) Locked, Waiting on external entities
  327. 2023-05-26 08:23:40.766598 91.50% [NOTICE] switch_core_session.c:1771 Session 23763 (sofia/default/580@13.126.85.161) Ended
  328. 2023-05-26 08:23:40.766598 91.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580@13.126.85.161 [CS_DESTROY]
  329. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580@13.126.85.161) Running State Change CS_DESTROY (Cur 3 Tot 23767)
  330. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY
  331. 2023-05-26 08:23:40.766598 91.50% [DEBUG] mod_sofia.c:379 sofia/default/580@13.126.85.161 SOFIA DESTROY
  332. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/580@13.126.85.161 Standard DESTROY
  333. 2023-05-26 08:23:40.766598 91.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY going to sleep
  334. 2023-05-26 08:23:40.946601 91.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580@13.126.85.161 [43cfb784-d8bd-488e-9f03-b8a42b6b1c3d]
  335. 2023-05-26 08:23:40.946601 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_NEW (Cur 4 Tot 23768)
  336. 2023-05-26 08:23:40.946601 91.50% [INFO] sofia.c:10462 sofia/default/580@13.126.85.161 receiving invite from 57.128.33.103:61646 version: 1.10.7 -release 64bit call-id: 118240347-632631212-1684034711
  337. 2023-05-26 08:23:40.946601 91.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 57.128.33.103:0.
  338. 2023-05-26 08:23:40.946601 91.50% [DEBUG] sofia.c:2419 detaching session 43cfb784-d8bd-488e-9f03-b8a42b6b1c3d
  339. 2023-05-26 08:23:40.946601 91.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [801112244326877@13.126.85.161] from ip 57.128.33.103
  340. 2023-05-26 08:23:40.946601 91.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580@13.126.85.161) State NEW
  341. freeswitch@ip-172-31-47-235>
  342. freeswitch@ip-172-31-47-235>
  343. freeswitch@ip-172-31-47-235>
  344. 2023-05-26 08:23:42.926598 92.37% [WARNING] switch_core_state_machine.c:684 bd34732d-beb3-408b-b850-822d82cd5ece sofia/default/580@13.126.85.161 Abandoned
  345. 2023-05-26 08:23:42.926598 92.37% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/580@13.126.85.161 [CS_NEW] [WRONG_CALL_STATE]
  346. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_HANGUP (Cur 4 Tot 23768)
  347. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580@13.126.85.161) Callstate Change DOWN -> HANGUP
  348. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP
  349. 2023-05-26 08:23:42.926598 92.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/580@13.126.85.161 hanging up, cause: WRONG_CALL_STATE
  350. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/580@13.126.85.161 Standard HANGUP, cause: WRONG_CALL_STATE
  351. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580@13.126.85.161) State HANGUP going to sleep
  352. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580@13.126.85.161) State Change CS_HANGUP -> CS_REPORTING
  353. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_REPORTING (Cur 4 Tot 23768)
  354. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING
  355. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/580@13.126.85.161 Standard REPORTING, cause: WRONG_CALL_STATE
  356. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580@13.126.85.161) State REPORTING going to sleep
  357. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580@13.126.85.161) State Change CS_REPORTING -> CS_DESTROY
  358. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_session.c:1753 Session 23764 (sofia/default/580@13.126.85.161) Locked, Waiting on external entities
  359. 2023-05-26 08:23:42.926598 92.37% [NOTICE] switch_core_session.c:1771 Session 23764 (sofia/default/580@13.126.85.161) Ended
  360. 2023-05-26 08:23:42.926598 92.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580@13.126.85.161 [CS_DESTROY]
  361. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580@13.126.85.161) Running State Change CS_DESTROY (Cur 3 Tot 23768)
  362. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY
  363. 2023-05-26 08:23:42.926598 92.37% [DEBUG] mod_sofia.c:379 sofia/default/580@13.126.85.161 SOFIA DESTROY
  364. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/580@13.126.85.161 Standard DESTROY
  365. 2023-05-26 08:23:42.926598 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580@13.126.85.161) State DESTROY going to sleep
  366. 2023-05-26 08:23:43.066583 92.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580@13.126.85.161 [be00ff64-5deb-4b01-a028-f3f3e7f04493]
  367. 2023-05-26 08:23:43.066583 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580@13.126.85.161) Running State Change CS_NEW (Cur 4 Tot 23769)
  368. 2023-05-26 08:23:43.066583 92.37% [INFO] sofia.c:10462 sofia/default/580@13.126.85.161 receiving invite from 57.128.33.103:55570 version: 1.10.7 -release 64bit call-id: 191574884-486953915-1001389746
  369. 2023-05-26 08:23:43.066583 92.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 57.128.33.103:0.
  370. 2023-05-26 08:23:43.066583 92.37% [DEBUG] sofia.c:2419 detaching session be00ff64-5deb-4b01-a028-f3f3e7f04493
  371. 2023-05-26 08:23:43.066583 92.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [701112244326877@13.126.85.161] from ip 57.128.33.103
  372. 2023-05-26 08:23:43.066583 92.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580@13.126.85.161) State NEW
  373. freeswitch@ip-172-31-47-235> /exit
  374.  
  375. root@ip-172-31-47-235:/home/admin#