2024-11-28 11:05:40.305306 22.93% [NOTICE] switch_channel.c:1142 New Channel sofia/default/7298734285@pbx.hostgsm.tel [cc6acb3d-a4af-4e92-bfa3-f31e8b61aeb0] 2024-11-28 11:05:40.305306 22.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_NEW (Cur 1 Tot 1) 2024-11-28 11:05:40.305306 22.93% [INFO] sofia.c:10459 sofia/default/7298734285@pbx.hostgsm.tel receiving invite from 103.240.35.46:37810 version: 1.10.10-release 64bit call-id: NThmMjc0ZmU1YTI3MzJmYzcxMDY3MDI5YWQ3YWMwMTE. 2024-11-28 11:05:40.305306 22.93% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0. 2024-11-28 11:05:40.305306 22.93% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [1667788@pbx.hostgsm.tel] from ip 103.240.35.46 2024-11-28 11:05:40.305306 22.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/7298734285@pbx.hostgsm.tel) State NEW 2024-11-28 11:05:40.305306 22.93% [DEBUG] sofia.c:2419 detaching session cc6acb3d-a4af-4e92-bfa3-f31e8b61aeb0 2024-11-28 11:05:40.865289 22.93% [DEBUG] sofia.c:2532 Re-attaching to session cc6acb3d-a4af-4e92-bfa3-f31e8b61aeb0 2024-11-28 11:05:40.865289 22.93% [INFO] sofia.c:10459 sofia/default/7298734285@pbx.hostgsm.tel receiving invite from 103.240.35.46:37810 version: 1.10.10-release 64bit call-id: NThmMjc0ZmU1YTI3MzJmYzcxMDY3MDI5YWQ3YWMwMTE. 2024-11-28 11:05:40.865289 22.93% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0. 2024-11-28 11:05:40.925297 22.93% [DEBUG] sofia.c:11674 Setting NAT mode based on via received 2024-11-28 11:05:40.925297 22.93% [DEBUG] sofia.c:7493 Channel sofia/default/7298734285@pbx.hostgsm.tel entering state [received][100] 2024-11-28 11:05:40.925297 22.93% [DEBUG] sofia.c:7503 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 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/7298734285@pbx.hostgsm.tel PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_codec.c:111 sofia/default/7298734285@pbx.hostgsm.tel Original read codec set to PCMA:8 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_media.c:5856 sofia/default/7298734285@pbx.hostgsm.tel Set 2833 dtmf send payload to 101 recv payload to 101 2024-11-28 11:05:40.925297 22.93% [DEBUG] sofia.c:7927 (sofia/default/7298734285@pbx.hostgsm.tel) State Change CS_NEW -> CS_INIT 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_INIT (Cur 1 Tot 1) 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7298734285@pbx.hostgsm.tel) State INIT 2024-11-28 11:05:40.925297 22.93% [DEBUG] mod_sofia.c:97 sofia/default/7298734285@pbx.hostgsm.tel SOFIA INIT 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/7298734285@pbx.hostgsm.tel Standard INIT 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7298734285@pbx.hostgsm.tel) State Change CS_INIT -> CS_ROUTING 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7298734285@pbx.hostgsm.tel) State INIT going to sleep 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_ROUTING (Cur 1 Tot 1) 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_channel.c:2399 (sofia/default/7298734285@pbx.hostgsm.tel) Callstate Change DOWN -> RINGING 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7298734285@pbx.hostgsm.tel) State ROUTING 2024-11-28 11:05:40.925297 22.93% [DEBUG] mod_sofia.c:158 sofia/default/7298734285@pbx.hostgsm.tel SOFIA ROUTING 2024-11-28 11:05:40.925297 22.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/7298734285@pbx.hostgsm.tel Standard ROUTING 2024-11-28 11:05:40.925297 22.93% [INFO] mod_dialplan_xml.c:639 Processing 7298734285 <7298734285>->1667788 in context default 2024-11-28 11:05:40.925297 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code','stir_shaken') 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1667788 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1667788' limit 1 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1667788' AND status=0 limit 1 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1667788' and status=0 LIMIT 1 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7298734285 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pbx.hostgsm.tel' limit 1 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1667788' limit 1 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 1223344 / 1223344 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 8 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 166778 AND status=0 limit 1 2024-11-28 11:05:40.945296 22.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 ="1667788" LIMIT 1 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-11-28 11:05:40.945296 22.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1667788" AND (accountid = 0 OR status = 1) LIMIT 1 2024-11-28 11:05:40.945296 22.93% [ERR] mod_lua.cpp:202 ./astpp/scripts/astpp.dialplan.lua:361: attempt to call global 'split_string' (a nil value) stack traceback: ./astpp/scripts/astpp.dialplan.lua:361: in main chunk [C]: in function 'dofile' ./astpp/astpp_deb9.lua:138: in main chunk 2024-11-28 11:05:40.945296 22.93% [ERR] mod_lua.cpp:269 LUA script parse/execute error! 2024-11-28 11:05:40.945296 22.93% [WARNING] mod_dialplan_xml.c:669 Context default not found 2024-11-28 11:05:40.945296 22.93% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2024-11-28 11:05:40.945296 22.93% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/7298734285@pbx.hostgsm.tel [CS_ROUTING] [NO_ROUTE_DESTINATION] 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7298734285@pbx.hostgsm.tel) State ROUTING going to sleep 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_HANGUP (Cur 1 Tot 1) 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7298734285@pbx.hostgsm.tel) Callstate Change RINGING -> HANGUP 2024-11-28 11:05:40.945296 22.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7298734285@pbx.hostgsm.tel) State HANGUP 2024-11-28 11:05:40.945296 22.93% [DEBUG] mod_sofia.c:469 Channel sofia/default/7298734285@pbx.hostgsm.tel hanging up, cause: NO_ROUTE_DESTINATION 2024-11-28 11:05:40.965482 22.93% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404 2024-11-28 11:05:40.965482 22.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/7298734285@pbx.hostgsm.tel Standard HANGUP, cause: NO_ROUTE_DESTINATION 2024-11-28 11:05:40.965482 22.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7298734285@pbx.hostgsm.tel) State HANGUP going to sleep 2024-11-28 11:05:40.965482 22.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7298734285@pbx.hostgsm.tel) State Change CS_HANGUP -> CS_REPORTING 2024-11-28 11:05:40.965482 22.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_REPORTING (Cur 1 Tot 1) 2024-11-28 11:05:40.965482 22.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7298734285@pbx.hostgsm.tel) State REPORTING 2024-11-28 11:05:40.965482 22.93% [INFO] mod_json_cdr.c:272 Process [cc6acb3d-a4af-4e92-bfa3-f31e8b61aeb0.cdr.json] 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/7298734285@pbx.hostgsm.tel Standard REPORTING, cause: NO_ROUTE_DESTINATION 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7298734285@pbx.hostgsm.tel) State REPORTING going to sleep 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7298734285@pbx.hostgsm.tel) State Change CS_REPORTING -> CS_DESTROY 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_session.c:1744 Session 1 (sofia/default/7298734285@pbx.hostgsm.tel) Locked, Waiting on external entities 2024-11-28 11:05:40.986195 22.93% [NOTICE] switch_core_session.c:1762 Session 1 (sofia/default/7298734285@pbx.hostgsm.tel) Ended 2024-11-28 11:05:40.986195 22.93% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/7298734285@pbx.hostgsm.tel [CS_DESTROY] 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7298734285@pbx.hostgsm.tel) Running State Change CS_DESTROY (Cur 0 Tot 1) 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7298734285@pbx.hostgsm.tel) State DESTROY 2024-11-28 11:05:40.986195 22.93% [DEBUG] mod_sofia.c:380 sofia/default/7298734285@pbx.hostgsm.tel SOFIA DESTROY 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/7298734285@pbx.hostgsm.tel Standard DESTROY 2024-11-28 11:05:40.986195 22.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7298734285@pbx.hostgsm.tel) State DESTROY going to sleep 2024-11-28 11:05:58.345294 20.83% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [1009@52.54.207.228] from ip 87.98.236.240 2024-11-28 11:07:12.965295 16.23% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [7035@52.54.207.228] from ip 87.98.236.240 2024-11-28 11:07:13.125303 16.23% [WARNING] sofia_reg.c:3210 Can't find user [7035@52.54.207.228] from 87.98.236.240 You must define a domain called '52.54.207.228' in your directory and add a user with the id="7035" attribute and you must configure your device to use the proper domain in its authentication credentials. 2024-11-28 11:07:13.125303 16.23% [WARNING] sofia_reg.c:1787 SIP auth failure (REGISTER) on sofia profile 'default' for [7035@52.54.207.228] from ip 87.98.236.240