753586397-414391595-581038321 2023-07-05 11:23:28.001385 0.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 64.20.208.112:0. 2023-07-05 11:23:28.001385 0.30% [DEBUG] sofia.c:10585 IP 64.20.208.112 Approved by acl "default[]". Access Granted. 2023-07-05 11:23:28.001385 0.30% [DEBUG] sofia.c:7499 Channel sofia/default/10001@137.184.136.244 entering state [received][100] 2023-07-05 11:23:28.001385 0.30% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=10001 16264 18299 IN IP4 192.168.1.83 s=call c=IN IP4 192.168.1.83 t=0 0 m=audio 25282 RTP/AVP 0 101 a=rtpmap:0 pcmu/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-11 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10001@137.184.136.244 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_codec.c:111 sofia/default/10001@137.184.136.244 Original read codec set to PCMU:0 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_media.c:5973 sofia/default/10001@137.184.136.244 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-05 11:23:28.001385 0.30% [DEBUG] sofia.c:7933 (sofia/default/10001@137.184.136.244) State Change CS_NEW -> CS_INIT 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/10001@137.184.136.244) State NEW 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_INIT (Cur 1 Tot 403456) 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10001@137.184.136.244) State INIT 2023-07-05 11:23:28.001385 0.30% [DEBUG] mod_sofia.c:97 sofia/default/10001@137.184.136.244 SOFIA INIT 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/10001@137.184.136.244 Standard INIT 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10001@137.184.136.244) State Change CS_INIT -> CS_ROUTING 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10001@137.184.136.244) State INIT going to sleep 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_ROUTING (Cur 1 Tot 403456) 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_channel.c:2380 (sofia/default/10001@137.184.136.244) Callstate Change DOWN -> RINGING 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10001@137.184.136.244) State ROUTING 2023-07-05 11:23:28.001385 0.30% [DEBUG] mod_sofia.c:158 sofia/default/10001@137.184.136.244 SOFIA ROUTING 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/10001@137.184.136.244 Standard ROUTING 2023-07-05 11:23:28.001385 0.30% [INFO] mod_dialplan_xml.c:639 Processing 10001 <10001>->024400442086385601 in context default 2023-07-05 11:23:28.001385 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-05 11:23:28.001385 0.30% [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') 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:28.001385 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-05 11:23:28.001385 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 024400442086385601 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '024400442086385601' limit 1 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '024400442086385601' AND status=0 limit 1 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '024400442086385601' and status=0 LIMIT 1 2023-07-05 11:23:28.001385 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER10001 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '024400442086385601' limit 1 2023-07-05 11:23:28.001385 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 10001 / 10001 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00442086385601 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 0244 AND status=0 limit 1 2023-07-05 11:23:28.001385 0.30% [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 ="024400442086385601" LIMIT 1 2023-07-05 11:23:28.001385 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_cpp.cpp:1465 [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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="024400442086385601" AND domains.domain="137.184.136.244" limit 1 2023-07-05 11:23:28.021359 0.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-07-05 11:23:28.021359 0.30% [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("64.20.208.112") 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 "024400442086385601" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2023-07-05 11:23:28.021359 0.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call authentication fail..!!1 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 0 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/10001@137.184.136.244 parsing [default->024400442086385601] continue=false Dialplan: sofia/default/10001@137.184.136.244 Regex (PASS) [024400442086385601] destination_number(024400442086385601) =~ /024400442086385601/ break=on-false Dialplan: sofia/default/10001@137.184.136.244 Action log(WARNING Accountcode is not authenticated!!) Dialplan: sofia/default/10001@137.184.136.244 Action set(original_caller_id_name=10001) Dialplan: sofia/default/10001@137.184.136.244 Action set(original_caller_id_number=10001) Dialplan: sofia/default/10001@137.184.136.244 Action set(error_cdr=1) Dialplan: sofia/default/10001@137.184.136.244 Action set(callstart=2023-07-05 05:53:28) Dialplan: sofia/default/10001@137.184.136.244 Action set(account_id=0) Dialplan: sofia/default/10001@137.184.136.244 Action set(parent_id=0) Dialplan: sofia/default/10001@137.184.136.244 Action set(call_direction=outbound) Dialplan: sofia/default/10001@137.184.136.244 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/10001@137.184.136.244 Action set(call_processed=internal) Dialplan: sofia/default/10001@137.184.136.244 Action set(effective_destination_number=024400442086385601) Dialplan: sofia/default/10001@137.184.136.244 Action set(last_bridge_hangup_cause=AUTHENTICATION_FAIL) Dialplan: sofia/default/10001@137.184.136.244 Action hangup(AUTHENTICATION_FAIL) 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/10001@137.184.136.244) State Change CS_ROUTING -> CS_EXECUTE 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10001@137.184.136.244) State ROUTING going to sleep 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_EXECUTE (Cur 1 Tot 403456) 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/10001@137.184.136.244) State EXECUTE 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_sofia.c:213 sofia/default/10001@137.184.136.244 SOFIA EXECUTE 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/10001@137.184.136.244 Standard EXECUTE EXECUTE [depth=0] sofia/default/10001@137.184.136.244 log(WARNING Accountcode is not authenticated!!) 2023-07-05 11:23:28.021359 0.30% [WARNING] mod_dptools.c:1879 Accountcode is not authenticated!! EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(original_caller_id_name=10001) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [original_caller_id_name]=[10001] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(original_caller_id_number=10001) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [original_caller_id_number]=[10001] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(error_cdr=1) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(callstart=2023-07-05 05:53:28) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [callstart]=[2023-07-05 05:53:28] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(account_id=0) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [account_id]=[0] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(parent_id=0) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [parent_id]=[0] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(call_direction=outbound) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(sip_ignore_remote_cause=true) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(call_processed=internal) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(effective_destination_number=024400442086385601) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [effective_destination_number]=[024400442086385601] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 set(last_bridge_hangup_cause=AUTHENTICATION_FAIL) 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/10001@137.184.136.244 [last_bridge_hangup_cause]=[AUTHENTICATION_FAIL] EXECUTE [depth=0] sofia/default/10001@137.184.136.244 hangup(AUTHENTICATION_FAIL) 2023-07-05 11:23:28.021359 0.30% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/10001@137.184.136.244 [CS_EXECUTE] [NORMAL_CLEARING] 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_session.c:2983 sofia/default/10001@137.184.136.244 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/10001@137.184.136.244) State EXECUTE going to sleep 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_HANGUP (Cur 1 Tot 403456) 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10001@137.184.136.244) Callstate Change RINGING -> HANGUP 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10001@137.184.136.244) State HANGUP 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/10001@137.184.136.244 hanging up, cause: NORMAL_CLEARING 2023-07-05 11:23:28.021359 0.30% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/10001@137.184.136.244 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10001@137.184.136.244) State HANGUP going to sleep 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10001@137.184.136.244) State Change CS_HANGUP -> CS_REPORTING 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_REPORTING (Cur 1 Tot 403456) 2023-07-05 11:23:28.021359 0.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10001@137.184.136.244) State REPORTING 2023-07-05 11:23:28.021359 0.30% [INFO] mod_json_cdr.c:271 Process [0da277b6-2f49-4f66-9526-6656b9d11f9d.cdr.json] 2023-07-05 11:23:28.041358 0.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/10001@137.184.136.244 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-05 11:23:28.041358 0.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10001@137.184.136.244) State REPORTING going to sleep 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10001@137.184.136.244) State Change CS_REPORTING -> CS_DESTROY 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_session.c:1753 Session 403456 (sofia/default/10001@137.184.136.244) Locked, Waiting on external entities 2023-07-05 11:23:28.062262 0.30% [NOTICE] switch_core_session.c:1771 Session 403456 (sofia/default/10001@137.184.136.244) Ended 2023-07-05 11:23:28.062262 0.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10001@137.184.136.244 [CS_DESTROY] 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10001@137.184.136.244) Running State Change CS_DESTROY (Cur 0 Tot 403456) 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10001@137.184.136.244) State DESTROY 2023-07-05 11:23:28.062262 0.30% [DEBUG] mod_sofia.c:379 sofia/default/10001@137.184.136.244 SOFIA DESTROY 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/10001@137.184.136.244 Standard DESTROY 2023-07-05 11:23:28.062262 0.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10001@137.184.136.244) State DESTROY going to sleep 2023-07-05 11:23:36.461373 0.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10001@137.184.136.244 [1129ee12-5548-43c8-8faf-986578f0881e] 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_NEW (Cur 1 Tot 403457) 2023-07-05 11:23:36.461373 0.17% [INFO] sofia.c:10462 sofia/default/10001@137.184.136.244 receiving invite from 64.20.208.112:49697 version: 1.10.7 -release 64bit call-id: 710196744-350105274-978360850 2023-07-05 11:23:36.461373 0.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 64.20.208.112:0. 2023-07-05 11:23:36.461373 0.17% [DEBUG] sofia.c:10585 IP 64.20.208.112 Approved by acl "default[]". Access Granted. 2023-07-05 11:23:36.461373 0.17% [DEBUG] sofia.c:7499 Channel sofia/default/10001@137.184.136.244 entering state [received][100] 2023-07-05 11:23:36.461373 0.17% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=10001 16264 18299 IN IP4 192.168.1.83 s=call c=IN IP4 192.168.1.83 t=0 0 m=audio 25282 RTP/AVP 0 101 a=rtpmap:0 pcmu/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-11 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10001@137.184.136.244 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_codec.c:111 sofia/default/10001@137.184.136.244 Original read codec set to PCMU:0 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_media.c:5973 sofia/default/10001@137.184.136.244 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-05 11:23:36.461373 0.17% [DEBUG] sofia.c:7933 (sofia/default/10001@137.184.136.244) State Change CS_NEW -> CS_INIT 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/10001@137.184.136.244) State NEW 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_INIT (Cur 1 Tot 403457) 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10001@137.184.136.244) State INIT 2023-07-05 11:23:36.461373 0.17% [DEBUG] mod_sofia.c:97 sofia/default/10001@137.184.136.244 SOFIA INIT 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/10001@137.184.136.244 Standard INIT 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10001@137.184.136.244) State Change CS_INIT -> CS_ROUTING 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10001@137.184.136.244) State INIT going to sleep 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_ROUTING (Cur 1 Tot 403457) 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_channel.c:2380 (sofia/default/10001@137.184.136.244) Callstate Change DOWN -> RINGING 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10001@137.184.136.244) State ROUTING 2023-07-05 11:23:36.461373 0.17% [DEBUG] mod_sofia.c:158 sofia/default/10001@137.184.136.244 SOFIA ROUTING 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/10001@137.184.136.244 Standard ROUTING 2023-07-05 11:23:36.461373 0.17% [INFO] mod_dialplan_xml.c:639 Processing 10001 <10001>->*243011442086385601 in context default 2023-07-05 11:23:36.461373 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-05 11:23:36.461373 0.17% [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') 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:36.461373 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-05 11:23:36.461373 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: *243011442086385601 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2023-07-05 11:23:36.461373 0.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2023-07-05 11:23:36.481369 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2 2023-07-05 11:23:36.481369 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination Number43011442086385601 2023-07-05 11:23:36.481369 0.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Action 3: call Transfer Blind 2023-07-05 11:23:36.481369 0.17% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1369: attempt to concatenate global 'user_domain' (a nil value) stack traceback: ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1369: in function 'get_sip_accountcode' ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1402: in function 'set_feature_code_action' ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:2247: in function 'feature_code_call_transfer' ./astpp/scripts/astpp.dialplan.lua:42: in main chunk [C]: in function 'dofile' ./astpp/astpp_deb9.lua:138: in main chunk 2023-07-05 11:23:36.481369 0.17% [ERR] mod_lua.cpp:270 LUA script parse/execute error! 2023-07-05 11:23:36.481369 0.17% [WARNING] mod_dialplan_xml.c:669 Context default not found 2023-07-05 11:23:36.481369 0.17% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2023-07-05 11:23:36.481369 0.17% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/10001@137.184.136.244 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10001@137.184.136.244) State ROUTING going to sleep 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_HANGUP (Cur 1 Tot 403457) 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10001@137.184.136.244) Callstate Change RINGING -> HANGUP 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10001@137.184.136.244) State HANGUP 2023-07-05 11:23:36.481369 0.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/10001@137.184.136.244 hanging up, cause: NO_ROUTE_DESTINATION 2023-07-05 11:23:36.481369 0.17% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/10001@137.184.136.244 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10001@137.184.136.244) State HANGUP going to sleep 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10001@137.184.136.244) State Change CS_HANGUP -> CS_REPORTING 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10001@137.184.136.244) Running State Change CS_REPORTING (Cur 1 Tot 403457) 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10001@137.184.136.244) State REPORTING 2023-07-05 11:23:36.481369 0.17% [INFO] mod_json_cdr.c:271 Process [1129ee12-5548-43c8-8faf-986578f0881e.cdr.json] 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/10001@137.184.136.244 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10001@137.184.136.244) State REPORTING going to sleep 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10001@137.184.136.244) State Change CS_REPORTING -> CS_DESTROY 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_session.c:1753 Session 403457 (sofia/default/10001@137.184.136.244) Locked, Waiting on external entities 2023-07-05 11:23:36.481369 0.17% [NOTICE] switch_core_session.c:1771 Session 403457 (sofia/default/10001@137.184.136.244) Ended 2023-07-05 11:23:36.481369 0.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10001@137.184.136.244 [CS_DESTROY] 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10001@137.184.136.244) Running State Change CS_DESTROY (Cur 0 Tot 403457) 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10001@137.184.136.244) State DESTROY 2023-07-05 11:23:36.481369 0.17% [DEBUG] mod_sofia.c:379 sofia/default/10001@137.184.136.244 SOFIA DESTROY 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/10001@137.184.136.244 Standard DESTROY 2023-07-05 11:23:36.481369 0.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10001@137.184.136.244) State DESTROY going to sleep 2023-07-05 11:23:44.862398 0.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1001@137.184.136.244 [dfa81bd5-d7d0-4052-90ee-f84804c91572] 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@137.184.136.244) Running State Change CS_NEW (Cur 1 Tot 403458) 2023-07-05 11:23:44.862398 0.10% [INFO] sofia.c:10462 sofia/default/1001@137.184.136.244 receiving invite from 64.20.208.186:63989 version: 1.10.7 -release 64bit call-id: 1844404547-846903676-1098641597 2023-07-05 11:23:44.862398 0.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 64.20.208.186:0. 2023-07-05 11:23:44.862398 0.10% [DEBUG] sofia.c:10585 IP 64.20.208.186 Approved by acl "default[]". Access Granted. 2023-07-05 11:23:44.862398 0.10% [DEBUG] sofia.c:7499 Channel sofia/default/1001@137.184.136.244 entering state [received][100] 2023-07-05 11:23:44.862398 0.10% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=1001 16264 18299 IN IP4 192.168.1.83 s=call c=IN IP4 192.168.1.83 t=0 0 m=audio 25282 RTP/AVP 0 101 a=rtpmap:0 pcmu/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-11 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [pcmu:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1001@137.184.136.244 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_codec.c:111 sofia/default/1001@137.184.136.244 Original read codec set to PCMU:0 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_media.c:5973 sofia/default/1001@137.184.136.244 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-05 11:23:44.862398 0.10% [DEBUG] sofia.c:7933 (sofia/default/1001@137.184.136.244) State Change CS_NEW -> CS_INIT 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1001@137.184.136.244) State NEW 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@137.184.136.244) Running State Change CS_INIT (Cur 1 Tot 403458) 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1001@137.184.136.244) State INIT 2023-07-05 11:23:44.862398 0.10% [DEBUG] mod_sofia.c:97 sofia/default/1001@137.184.136.244 SOFIA INIT 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/1001@137.184.136.244 Standard INIT 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1001@137.184.136.244) State Change CS_INIT -> CS_ROUTING 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1001@137.184.136.244) State INIT going to sleep 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@137.184.136.244) Running State Change CS_ROUTING (Cur 1 Tot 403458) 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_channel.c:2380 (sofia/default/1001@137.184.136.244) Callstate Change DOWN -> RINGING 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1001@137.184.136.244) State ROUTING 2023-07-05 11:23:44.862398 0.10% [DEBUG] mod_sofia.c:158 sofia/default/1001@137.184.136.244 SOFIA ROUTING 2023-07-05 11:23:44.862398 0.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/1001@137.184.136.244 Standard ROUTING 2023-07-05 11:23:44.862398 0.10% [INFO] mod_dialplan_xml.c:639 Processing 1001 <1001>->7643442086385601 in context default 2023-07-05 11:23:44.881364 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-05 11:23:44.881364 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-05 11:23:44.881364 0.10% [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') 2023-07-05 11:23:44.881364 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:44.901368 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-05 11:23:44.901368 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7643442086385601 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7643442086385601' limit 1 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7643442086385601' AND status=0 limit 1 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7643442086385601' and status=0 LIMIT 1 2023-07-05 11:23:44.901368 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1001 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '7643442086385601' limit 1 2023-07-05 11:23:44.901368 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 1001 / 1001 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 442086385601 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 7643 AND status=0 limit 1 2023-07-05 11:23:44.901368 0.10% [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 ="7643442086385601" LIMIT 1 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-05 11:23:44.901368 0.10% [DEBUG] switch_cpp.cpp:1465 [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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7643442086385601" AND domains.domain="137.184.136.244" limit 1 2023-07-05 11:23:44.901368 0.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-07-05 11:23:44.901368 0.10% [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("64.20.208.186") 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 "7643442086385601" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1