2020-07-24 12:03:27.197030 [NOTICE] switch_channel.c:1118 New Channel sofia/default/1212121212@3.7.65.219 [2da41d77-da94-48b5-add6-eb7ad8eacad1] 2020-07-24 12:03:27.197030 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1212121212@3.7.65.219) Running State Change CS_NEW (Cur 1 Tot 3) 2020-07-24 12:03:27.197030 [DEBUG] sofia.c:10255 sofia/default/1212121212@3.7.65.219 receiving invite from 49.34.119.104:54384 version: 1.10.2 -release-14-f7bdd3845a 64bit 2020-07-24 12:03:27.197030 [DEBUG] sofia.c:10349 verifying acl "default" for ip/port 49.34.119.104:0. 2020-07-24 12:03:27.197030 [DEBUG] sofia.c:2434 detaching session 2da41d77-da94-48b5-add6-eb7ad8eacad1 2020-07-24 12:03:27.197030 [WARNING] sofia_reg.c:1793 SIP auth challenge (INVITE) on sofia profile 'default' for [91919494@3.7.65.219] from ip 49.34.119.104 2020-07-24 12:03:27.197030 [DEBUG] switch_core_state_machine.c:604 (sofia/default/1212121212@3.7.65.219) State NEW 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:2544 Re-attaching to session 2da41d77-da94-48b5-add6-eb7ad8eacad1 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:10255 sofia/default/1212121212@3.7.65.219 receiving invite from 49.34.119.104:54384 version: 1.10.2 -release-14-f7bdd3845a 64bit 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:10349 verifying acl "default" for ip/port 49.34.119.104:0. 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:11452 Setting NAT mode based on via received 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:7301 Channel sofia/default/1212121212@3.7.65.219 entering state [received][100] 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:7311 Remote SDP: v=0 o=Z 0 0 IN IP4 192.168.43.40 s=Z c=IN IP4 192.168.43.40 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 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5508 Set telephone-event payload to 101@8000 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:3837 Set Codec sofia/default/1212121212@3.7.65.219 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2020-07-24 12:03:27.777031 [DEBUG] switch_core_codec.c:111 sofia/default/1212121212@3.7.65.219 Original read codec set to PCMA:8 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5851 Set telephone-event payload to 101@8000 2020-07-24 12:03:27.777031 [DEBUG] switch_core_media.c:5909 sofia/default/1212121212@3.7.65.219 Set 2833 dtmf send payload to 101 recv payload to 101 2020-07-24 12:03:27.777031 [DEBUG] sofia.c:7735 (sofia/default/1212121212@3.7.65.219) State Change CS_NEW -> CS_INIT 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1212121212@3.7.65.219) Running State Change CS_INIT (Cur 1 Tot 3) 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1212121212@3.7.65.219) State INIT 2020-07-24 12:03:27.777031 [DEBUG] mod_sofia.c:93 sofia/default/1212121212@3.7.65.219 SOFIA INIT 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:40 sofia/default/1212121212@3.7.65.219 Standard INIT 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1212121212@3.7.65.219) State Change CS_INIT -> CS_ROUTING 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1212121212@3.7.65.219) State INIT going to sleep 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1212121212@3.7.65.219) Running State Change CS_ROUTING (Cur 1 Tot 3) 2020-07-24 12:03:27.777031 [DEBUG] switch_channel.c:2332 (sofia/default/1212121212@3.7.65.219) Callstate Change DOWN -> RINGING 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1212121212@3.7.65.219) State ROUTING 2020-07-24 12:03:27.777031 [DEBUG] mod_sofia.c:154 sofia/default/1212121212@3.7.65.219 SOFIA ROUTING 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:236 sofia/default/1212121212@3.7.65.219 Standard ROUTING 2020-07-24 12:03:27.777031 [INFO] mod_dialplan_xml.c:637 Processing 1212121212 <1212121212>->91919494 in context default 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2020-07-24 12:03:27.777031 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 91919494 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91919494' AND status=0 limit 1 2020-07-24 12:03:27.777031 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : 1212121212 / 1212121212 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [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 ="91919494" LIMIT 1 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="91919494" limit 1 2020-07-24 12:03:27.777031 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound 2020-07-24 12:03:27.777031 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 9096470280] 2020-07-24 12:03:27.777031 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9096470280" AND deleted = 0 limit 1 2020-07-24 12:03:27.777031 [WARNING] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] [9096470280] Account is either Deactive/Expire or deleted..!! 2020-07-24 12:03:27.777031 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:50: attempt to concatenate local 'accountid' (a nil value) stack traceback: /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:50: in function 'get_speeddial_number' ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:213: in main chunk [C]: in function 'dofile' /usr/share/freeswitch/scripts/astpp/astpp.lua:86: in main chunk 2020-07-24 12:03:27.777031 [ERR] mod_lua.cpp:270 LUA script parse/execute error! 2020-07-24 12:03:27.777031 [WARNING] mod_dialplan_xml.c:667 Context default not found 2020-07-24 12:03:27.777031 [INFO] switch_core_state_machine.c:312 No Route, Aborting 2020-07-24 12:03:27.777031 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/default/1212121212@3.7.65.219 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2020-07-24 12:03:27.777031 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1212121212@3.7.65.219) State ROUTING going to sleep 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1212121212@3.7.65.219) Running State Change CS_HANGUP (Cur 1 Tot 3) 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:848 (sofia/default/1212121212@3.7.65.219) Callstate Change RINGING -> HANGUP 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1212121212@3.7.65.219) State HANGUP 2020-07-24 12:03:27.817004 [DEBUG] mod_sofia.c:453 Channel sofia/default/1212121212@3.7.65.219 hanging up, cause: NO_ROUTE_DESTINATION 2020-07-24 12:03:27.817004 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:60 sofia/default/1212121212@3.7.65.219 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1212121212@3.7.65.219) State HANGUP going to sleep 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:620 (sofia/default/1212121212@3.7.65.219) State Change CS_HANGUP -> CS_REPORTING 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1212121212@3.7.65.219) Running State Change CS_REPORTING (Cur 1 Tot 3) 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1212121212@3.7.65.219) State REPORTING 2020-07-24 12:03:27.817004 [INFO] mod_json_cdr.c:271 Process [2da41d77-da94-48b5-add6-eb7ad8eacad1.cdr.json] 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:174 sofia/default/1212121212@3.7.65.219 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1212121212@3.7.65.219) State REPORTING going to sleep 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:611 (sofia/default/1212121212@3.7.65.219) State Change CS_REPORTING -> CS_DESTROY 2020-07-24 12:03:27.817004 [DEBUG] switch_core_session.c:1726 Session 3 (sofia/default/1212121212@3.7.65.219) Locked, Waiting on external entities 2020-07-24 12:03:27.817004 [NOTICE] switch_core_session.c:1744 Session 3 (sofia/default/1212121212@3.7.65.219) Ended 2020-07-24 12:03:27.817004 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/1212121212@3.7.65.219 [CS_DESTROY] 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1212121212@3.7.65.219) Running State Change CS_DESTROY (Cur 0 Tot 3) 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1212121212@3.7.65.219) State DESTROY 2020-07-24 12:03:27.817004 [DEBUG] mod_sofia.c:364 sofia/default/1212121212@3.7.65.219 SOFIA DESTROY 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:181 sofia/default/1212121212@3.7.65.219 Standard DESTROY 2020-07-24 12:03:27.817004 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1212121212@3.7.65.219) State DESTROY going to sleep