From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. 2022-12-09 09:48:33.137257 91.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100200@168.119.48.166 [6e5eaaf7-a3a2-496c-8581-54b2300ea4d3]
  7. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100200@168.119.48.166) Running State Change CS_NEW (Cur 3 Tot 70)
  8. 2022-12-09 09:48:33.137257 91.50% [INFO] sofia.c:10462 sofia/default/100200@168.119.48.166 receiving invite from 168.119.48.166:5078 version: 1.10.7 -release 64bit call-id: 7c297e1e-f249-123b-41a9-960001673637
  9. 2022-12-09 09:48:33.137257 91.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 168.119.48.166:0.
  10. 2022-12-09 09:48:33.137257 91.50% [DEBUG] sofia.c:10585 IP 168.119.48.166 Approved by acl "default[]". Access Granted.
  11. 2022-12-09 09:48:33.137257 91.50% [DEBUG] sofia.c:7499 Channel sofia/default/100200@168.119.48.166 entering state [received][100]
  12. 2022-12-09 09:48:33.137257 91.50% [DEBUG] sofia.c:7509 Remote SDP:
  13. v=0
  14. o=FreeSWITCH 1670558679 1670558680 IN IP4 168.119.48.166
  15. s=FreeSWITCH
  16. c=IN IP4 168.119.48.166
  17. t=0 0
  18. m=audio 20634 RTP/AVP 8 101
  19. a=rtpmap:8 PCMA/8000
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-15
  22. a=ptime:20
  23.  
  24. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  28. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100200@168.119.48.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  29. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_codec.c:111 sofia/default/100200@168.119.48.166 Original read codec set to PCMA:8
  30. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  31. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_media.c:5973 sofia/default/100200@168.119.48.166 Set 2833 dtmf send payload to 101 recv payload to 101
  32. 2022-12-09 09:48:33.137257 91.50% [DEBUG] sofia.c:7933 (sofia/default/100200@168.119.48.166) State Change CS_NEW -> CS_INIT
  33. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100200@168.119.48.166) State NEW
  34. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100200@168.119.48.166) Running State Change CS_INIT (Cur 3 Tot 70)
  35. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100200@168.119.48.166) State INIT
  36. 2022-12-09 09:48:33.137257 91.50% [DEBUG] mod_sofia.c:97 sofia/default/100200@168.119.48.166 SOFIA INIT
  37. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/100200@168.119.48.166 Standard INIT
  38. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100200@168.119.48.166) State Change CS_INIT -> CS_ROUTING
  39. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100200@168.119.48.166) State INIT going to sleep
  40. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100200@168.119.48.166) Running State Change CS_ROUTING (Cur 3 Tot 70)
  41. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_channel.c:2380 (sofia/default/100200@168.119.48.166) Callstate Change DOWN -> RINGING
  42. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100200@168.119.48.166) State ROUTING
  43. 2022-12-09 09:48:33.137257 91.50% [DEBUG] mod_sofia.c:158 sofia/default/100200@168.119.48.166 SOFIA ROUTING
  44. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/100200@168.119.48.166 Standard ROUTING
  45. 2022-12-09 09:48:33.137257 91.50% [INFO] mod_dialplan_xml.c:639 Processing 100200 <100200>->9100010 in context default
  46. 2022-12-09 09:48:33.137257 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  47. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  49. 2022-12-09 09:48:33.137257 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  50. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  51. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100010
  52. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100010' limit 1
  53. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  54. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100010' and status=0 LIMIT 1
  55. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  56. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100010' limit 1
  58. 2022-12-09 09:48:33.157224 91.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  59. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 100200 / 100200
  60. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  61. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910001 AND status=0 limit 1
  62. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  63. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  64. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  65. 2022-12-09 09:48:33.157224 91.50% [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 ="9100010" LIMIT 1
  66. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9100010" LIMIT 1
  67. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="100200" and status = '0' LIMIT 1
  69. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  70. 2022-12-09 09:48:33.157224 91.50% [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("168.119.48.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 "9100010"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  71. 2022-12-09 09:48:33.157224 91.50% [ERR] switch_core_sqldb.c:1310 ERR: [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("168.119.48.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 "9100010"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1]
  72. [STATE: HY000 CODE 1690 ERROR: [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.31]BIGINT UNSIGNED value is out of range in '((0x01 << (32 - substring_index(`astpp`.`ip_map`.`ip`,'/',<cache>(-(1))))) - 1)'
  73. ]
  74. 2022-12-09 09:48:33.157224 91.50% [ERR] mod_lua.cpp:202 ./astpp/lib/astpp.functions.lua:307: assertion failed!
  75. stack traceback:
  76.         [C]: in function 'assert'
  77.         ./astpp/lib/astpp.functions.lua:307: in function <./astpp/lib/astpp.functions.lua:300>
  78.         (...tail calls...)
  79.         ./astpp/scripts/astpp.dialplan.lua:266: in main chunk
  80.         [C]: in function 'dofile'
  81.         ./astpp/astpp_deb9.lua:138: in main chunk
  82. 2022-12-09 09:48:33.157224 91.50% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  83. 2022-12-09 09:48:33.157224 91.50% [WARNING] mod_dialplan_xml.c:669 Context default not found
  84. 2022-12-09 09:48:33.157224 91.50% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  85. 2022-12-09 09:48:33.157224 91.50% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/100200@168.119.48.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  86. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100200@168.119.48.166) State ROUTING going to sleep
  87. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100200@168.119.48.166) Running State Change CS_HANGUP (Cur 3 Tot 70)
  88. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100200@168.119.48.166) Callstate Change RINGING -> HANGUP
  89. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100200@168.119.48.166) State HANGUP
  90. 2022-12-09 09:48:33.157224 91.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/100200@168.119.48.166 hanging up, cause: NO_ROUTE_DESTINATION
  91. 2022-12-09 09:48:33.157224 91.50% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  92. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/100200@168.119.48.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  93. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100200@168.119.48.166) State HANGUP going to sleep
  94. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100200@168.119.48.166) State Change CS_HANGUP -> CS_REPORTING
  95. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100200@168.119.48.166) Running State Change CS_REPORTING (Cur 3 Tot 70)
  96. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100200@168.119.48.166) State REPORTING
  97. 2022-12-09 09:48:33.157224 91.50% [INFO] mod_json_cdr.c:271 Process [6e5eaaf7-a3a2-496c-8581-54b2300ea4d3.cdr.json]
  98. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/100200@168.119.48.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  99. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100200@168.119.48.166) State REPORTING going to sleep
  100. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100200@168.119.48.166) State Change CS_REPORTING -> CS_DESTROY
  101. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_session.c:1753 Session 70 (sofia/default/100200@168.119.48.166) Locked, Waiting on external entities
  102. 2022-12-09 09:48:33.157224 91.50% [NOTICE] switch_core_session.c:1771 Session 70 (sofia/default/100200@168.119.48.166) Ended
  103. 2022-12-09 09:48:33.157224 91.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100200@168.119.48.166 [CS_DESTROY]
  104. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100200@168.119.48.166) Running State Change CS_DESTROY (Cur 2 Tot 70)
  105. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100200@168.119.48.166) State DESTROY
  106. 2022-12-09 09:48:33.157224 91.50% [DEBUG] mod_sofia.c:379 sofia/default/100200@168.119.48.166 SOFIA DESTROY
  107. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/100200@168.119.48.166 Standard DESTROY
  108. 2022-12-09 09:48:33.157224 91.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100200@168.119.48.166) State DESTROY going to sleep
  109. freeswitch@BetaQA> /exit