freeswitch@gibfibre>
2022-09-28 03:53:54.435541 [NOTICE] switch_channel.c:1118 New Channel sofia/default/9656140894@46.101.114.158:5068 [2b6a1f55-2de1-4d45-a4ec-d2c847e7da01]
2022-09-28 03:53:54.435541 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_NEW (Cur 1 Tot 2)
2022-09-28 03:53:54.435541 [DEBUG] sofia.c:10280 sofia/default/9656140894@46.101.114.158:5068 receiving invite from 103.240.35.46:36082 version: 1.10.5 -release-17-25569c1631 64bit
2022-09-28 03:53:54.435541 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-28 03:53:54.435541 [DEBUG] sofia.c:2434 detaching session 2b6a1f55-2de1-4d45-a4ec-d2c847e7da01
2022-09-28 03:53:54.435541 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [10303030@46.101.114.158] from ip 103.240.35.46
2022-09-28 03:53:54.435541 [DEBUG] switch_core_state_machine.c:604 (sofia/default/9656140894@46.101.114.158:5068) State NEW
2022-09-28 03:53:54.775540 [DEBUG] sofia.c:2544 Re-attaching to session 2b6a1f55-2de1-4d45-a4ec-d2c847e7da01
2022-09-28 03:53:54.775540 [DEBUG] sofia.c:10280 sofia/default/9656140894@46.101.114.158:5068 receiving invite from 103.240.35.46:36082 version: 1.10.5 -release-17-25569c1631 64bit
2022-09-28 03:53:54.775540 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-28 03:53:54.795539 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
2022-09-28 03:53:54.795539 [DEBUG] sofia.c:7326 Channel sofia/default/9656140894@46.101.114.158:5068 entering state [received][100]
2022-09-28 03:53:54.795539 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.240.35.46
s=Z
c=IN IP4 103.240.35.46
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/9656140894@46.101.114.158:5068 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-28 03:53:54.795539 [DEBUG] switch_core_codec.c:111 sofia/default/9656140894@46.101.114.158:5068 Original read codec set to PCMA:8
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-09-28 03:53:54.795539 [DEBUG] switch_core_media.c:5911 sofia/default/9656140894@46.101.114.158:5068 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-28 03:53:54.795539 [DEBUG] sofia.c:7760 (sofia/default/9656140894@46.101.114.158:5068) State Change CS_NEW -> CS_INIT
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_INIT (Cur 1 Tot 2)
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9656140894@46.101.114.158:5068) State INIT
2022-09-28 03:53:54.795539 [DEBUG] mod_sofia.c:93 sofia/default/9656140894@46.101.114.158:5068 SOFIA INIT
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:40 sofia/default/9656140894@46.101.114.158:5068 Standard INIT
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:48 (sofia/default/9656140894@46.101.114.158:5068) State Change CS_INIT -> CS_ROUTING
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9656140894@46.101.114.158:5068) State INIT going to sleep
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_ROUTING (Cur 1 Tot 2)
2022-09-28 03:53:54.795539 [DEBUG] switch_channel.c:2332 (sofia/default/9656140894@46.101.114.158:5068) Callstate Change DOWN -> RINGING
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9656140894@46.101.114.158:5068) State ROUTING
2022-09-28 03:53:54.795539 [DEBUG] mod_sofia.c:154 sofia/default/9656140894@46.101.114.158:5068 SOFIA ROUTING
2022-09-28 03:53:54.795539 [DEBUG] switch_core_state_machine.c:236 sofia/default/9656140894@46.101.114.158:5068 Standard ROUTING
2022-09-28 03:53:54.795539 [INFO] mod_dialplan_xml.c:637 Processing 9656140894 <9656140894>->10303030 in context default
2022-09-28 03:53:54.815533 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-28 03:53:54.815533 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-28 03:53:54.835540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 10303030
2022-09-28 03:53:54.835540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10303030' AND status=0 limit 1
2022-09-28 03:53:54.835540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 9656140894 / 9656140894
2022-09-28 03:53:54.835540 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10303030" LIMIT 1
2022-09-28 03:53:54.835540 [DEBUG] switch_cpp.cpp:1447 [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10303030" limit 1
2022-09-28 03:53:54.835540 [ERR] switch_core_sqldb.c:1355 ERR: [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10303030" limit 1]
[STATE: 42S22 CODE 1054 ERROR: [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.23]Unknown column 'sip_devices.codec' in 'field list'
]
2022-09-28 03:53:54.835540 [ERR] mod_lua.cpp:202 ...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:29: assertion failed!
stack traceback:
[C]: in function 'assert'
...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:29: in function 'check_local_call'
/usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:63: in function 'define_call_direction'
...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:108: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/astpp/astpp.lua:85: in main chunk
2022-09-28 03:53:54.835540 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2022-09-28 03:53:54.835540 [WARNING] mod_dialplan_xml.c:667 Context default not found
2022-09-28 03:53:54.835540 [INFO] switch_core_state_machine.c:312 No Route, Aborting
2022-09-28 03:53:54.835540 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/default/9656140894@46.101.114.158:5068 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9656140894@46.101.114.158:5068) State ROUTING going to sleep
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_HANGUP (Cur 1 Tot 2)
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:848 (sofia/default/9656140894@46.101.114.158:5068) Callstate Change RINGING -> HANGUP
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9656140894@46.101.114.158:5068) State HANGUP
2022-09-28 03:53:54.835540 [DEBUG] mod_sofia.c:453 Channel sofia/default/9656140894@46.101.114.158:5068 hanging up, cause: NO_ROUTE_DESTINATION
2022-09-28 03:53:54.835540 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:60 sofia/default/9656140894@46.101.114.158:5068 Standard HANGUP, cause: NO_ROUTE_DESTINATION
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9656140894@46.101.114.158:5068) State HANGUP going to sleep
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:620 (sofia/default/9656140894@46.101.114.158:5068) State Change CS_HANGUP -> CS_REPORTING
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_REPORTING (Cur 1 Tot 2)
2022-09-28 03:53:54.835540 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9656140894@46.101.114.158:5068) State REPORTING
2022-09-28 03:53:54.835540 [INFO] mod_json_cdr.c:271 Process [2b6a1f55-2de1-4d45-a4ec-d2c847e7da01.cdr.json]
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:174 sofia/default/9656140894@46.101.114.158:5068 Standard REPORTING, cause: NO_ROUTE_DESTINATION
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9656140894@46.101.114.158:5068) State REPORTING going to sleep
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:611 (sofia/default/9656140894@46.101.114.158:5068) State Change CS_REPORTING -> CS_DESTROY
2022-09-28 03:53:54.855552 [DEBUG] switch_core_session.c:1726 Session 2 (sofia/default/9656140894@46.101.114.158:5068) Locked, Waiting on external entities
2022-09-28 03:53:54.855552 [NOTICE] switch_core_session.c:1744 Session 2 (sofia/default/9656140894@46.101.114.158:5068) Ended
2022-09-28 03:53:54.855552 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/9656140894@46.101.114.158:5068 [CS_DESTROY]
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:739 (sofia/default/9656140894@46.101.114.158:5068) Running State Change CS_DESTROY (Cur 0 Tot 2)
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9656140894@46.101.114.158:5068) State DESTROY
2022-09-28 03:53:54.855552 [DEBUG] mod_sofia.c:364 sofia/default/9656140894@46.101.114.158:5068 SOFIA DESTROY
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:181 sofia/default/9656140894@46.101.114.158:5068 Standard DESTROY
2022-09-28 03:53:54.855552 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9656140894@46.101.114.158:5068) State DESTROY going to sleep
freeswitch@gibfibre>