From Aqua Dove, 6 Months ago, written in HTML5.
- view diff
Embed
  1. 2024-05-06 09:45:39.989513 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/+6785555051 [0a411b58-0121-4145-b06b-d2a31e3548fe]
  2. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+6785555051) Running State Change CS_NEW (Cur 1 Tot 1479)
  3. 2024-05-06 09:45:39.989513 99.93% [INFO] sofia.c:10453 sofia/default/+6785555051 receiving invite from 103.36.145.12:5060 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 20c16699553a7b6b3aaf51121a59c36c@103.36.145.12:5060                                                                                                                                                                                
  4. 2024-05-06 09:45:39.989513 99.93% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.36.145.12:0.
  5. 2024-05-06 09:45:39.989513 99.93% [DEBUG] sofia.c:10576 IP 103.36.145.12 Approved by acl "default[]". Access Granted.
  6. 2024-05-06 09:45:39.989513 99.93% [DEBUG] sofia.c:7487 Channel sofia/default/+6785555051 entering state [received][100]
  7. 2024-05-06 09:45:39.989513 99.93% [DEBUG] sofia.c:7497 Remote SDP:
  8. v=0                                                                                                                                                                                                                
  9. o=root 1928006734 1928006734 IN IP4 103.36.145.12                                                                                                                                                                  
  10. s=Asterisk PBX 16.7.0                                                                                                                                                                                              
  11. c=IN IP4 103.36.145.12                                                                                                                                                                                            
  12. t=0 0                                                                                                                                                                                                              
  13. m=audio 19280 RTP/AVP 8 0 18 3 101                                                                                                                                                                                
  14. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  15. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  16. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  17. a=fmtp:18 annexb=no                                                                                                                                                                                                
  18. a=rtpmap:3 GSM/8000                                                                                                                                                                                                
  19. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  20. a=fmtp:101 0-16                                                                                                                                                                                                    
  21. a=ptime:20                                                                                                                                                                                                        
  22. a=maxptime:150                                                                                                                                                                                                    
  23.  
  24. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  30. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  31. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  32. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  33. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  34. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  35. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/+6785555051 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  36. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/+6785555051 Original read codec set to PCMA:8
  37. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  38. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_media.c:5850 sofia/default/+6785555051 Set 2833 dtmf send payload to 101 recv payload to 101
  39. 2024-05-06 09:45:39.989513 99.93% [DEBUG] sofia.c:7921 (sofia/default/+6785555051) State Change CS_NEW -> CS_INIT
  40. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+6785555051) State NEW
  41. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+6785555051) Running State Change CS_INIT (Cur 1 Tot 1479)
  42. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+6785555051) State INIT
  43. 2024-05-06 09:45:39.989513 99.93% [DEBUG] mod_sofia.c:97 sofia/default/+6785555051 SOFIA INIT
  44. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/+6785555051 Standard INIT
  45. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+6785555051) State Change CS_INIT -> CS_ROUTING
  46. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+6785555051) State INIT going to sleep
  47. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+6785555051) Running State Change CS_ROUTING (Cur 1 Tot 1479)
  48. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_channel.c:2380 (sofia/default/+6785555051) Callstate Change DOWN -> RINGING
  49. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+6785555051) State ROUTING
  50. 2024-05-06 09:45:39.989513 99.93% [DEBUG] mod_sofia.c:158 sofia/default/+6785555051 SOFIA ROUTING
  51. 2024-05-06 09:45:39.989513 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/+6785555051 Standard ROUTING
  52. 2024-05-06 09:45:39.989513 99.93% [INFO] mod_dialplan_xml.c:639 Processing +6785555051;cpc=ordinary <+6785555051>->8700004 in context default
  53. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  54. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  55. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  56. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 8700004
  58. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  59. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER+6785555051;cpc=ordinary
  60. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '8700004' limit 1
  62. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : +6785555051;cpc=ordinary / +6785555051
  63. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  64. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  65. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  66. 2024-05-06 09:45:40.009423 99.93% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="8700004" LIMIT 1
  67. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  69. 2024-05-06 09:45:40.009423 99.93% [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("103.36.145.12") 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 "8700004"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  70. 2024-05-06 09:45:40.009423 99.93% [ERR] switch_core_sqldb.c:1308 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("103.36.145.12") 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 "8700004"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1]
  71. [STATE: HY000 CODE 1690 ERROR: [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.34]BIGINT UNSIGNED value is out of range in '((0x01 << (32 - substring_index(`astpp`.`ip_map`.`ip`,'/',<cache>(-(1))))) - 1)'
  72. ]
  73. 2024-05-06 09:45:40.009423 99.93% [ERR] mod_lua.cpp:202 /usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:339: assertion failed!
  74. stack traceback:
  75.        [C]: in function 'assert'
  76.        /usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:339: in function </usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:332>
  77.        (...tail calls...)
  78.        ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:291: in main chunk
  79.        [C]: in function 'dofile'
  80.        ./astpp/astpp_deb9.lua:138: in main chunk
  81. 2024-05-06 09:45:40.009423 99.93% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  82. 2024-05-06 09:45:40.009423 99.93% [WARNING] mod_dialplan_xml.c:669 Context default not found
  83. 2024-05-06 09:45:40.009423 99.93% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  84. 2024-05-06 09:45:40.009423 99.93% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/+6785555051 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  85. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+6785555051) State ROUTING going to sleep
  86. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+6785555051) Running State Change CS_HANGUP (Cur 1 Tot 1479)
  87. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+6785555051) Callstate Change RINGING -> HANGUP
  88. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+6785555051) State HANGUP
  89. 2024-05-06 09:45:40.009423 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/+6785555051 hanging up, cause: NO_ROUTE_DESTINATION
  90. 2024-05-06 09:45:40.009423 99.93% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  91. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/+6785555051 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  92. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+6785555051) State HANGUP going to sleep
  93. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+6785555051) State Change CS_HANGUP -> CS_REPORTING
  94. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+6785555051) Running State Change CS_REPORTING (Cur 1 Tot 1479)
  95. 2024-05-06 09:45:40.009423 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+6785555051) State REPORTING
  96. 2024-05-06 09:45:40.009423 99.93% [INFO] mod_json_cdr.c:272 Process [0a411b58-0121-4145-b06b-d2a31e3548fe.cdr.json]
  97. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/+6785555051 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  98. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+6785555051) State REPORTING going to sleep
  99. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+6785555051) State Change CS_REPORTING -> CS_DESTROY
  100. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_session.c:1743 Session 1479 (sofia/default/+6785555051) Locked, Waiting on external entities
  101. 2024-05-06 09:45:45.329467 99.93% [NOTICE] switch_core_session.c:1761 Session 1479 (sofia/default/+6785555051) Ended
  102. 2024-05-06 09:45:45.329467 99.93% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/+6785555051 [CS_DESTROY]
  103. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+6785555051) Running State Change CS_DESTROY (Cur 0 Tot 1479)
  104. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+6785555051) State DESTROY
  105. 2024-05-06 09:45:45.329467 99.93% [DEBUG] mod_sofia.c:379 sofia/default/+6785555051 SOFIA DESTROY
  106. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/+6785555051 Standard DESTROY
  107. 2024-05-06 09:45:45.329467 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+6785555051) State DESTROY going to sleep