2019-12-18 16:28:52.976738 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07792773646@93.95.124.157 [11889b8b-76cf-4e7d-9016-0b664d65612d] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_NEW (Cur 1 Tot 3) 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:10243 sofia/default/07792773646@93.95.124.157 receiving invite from 93.95.124.157:5060 version: 1.10.1 -release-12-f9990221e6 64bit 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 93.95.124.157:0. 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:10366 IP 93.95.124.157 Approved by acl "default[]". Access Granted. 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:7290 Channel sofia/default/07792773646@93.95.124.157 entering state [received][100] 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:7300 Remote SDP: v=0 o=Voiceflex 1329600547 1329600547 IN IP4 93.95.124.157 s=Voiceflex c=IN IP4 93.95.124.157 t=0 0 m=audio 32770 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/07792773646@93.95.124.157 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2019-12-18 16:28:52.976738 [DEBUG] switch_core_codec.c:111 sofia/default/07792773646@93.95.124.157 Original read codec set to PCMU:0 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000 2019-12-18 16:28:52.976738 [DEBUG] switch_core_media.c:5907 sofia/default/07792773646@93.95.124.157 Set 2833 dtmf send payload to 101 recv payload to 101 2019-12-18 16:28:52.976738 [DEBUG] sofia.c:7724 (sofia/default/07792773646@93.95.124.157) State Change CS_NEW -> CS_INIT 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:604 (sofia/default/07792773646@93.95.124.157) State NEW 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_INIT (Cur 1 Tot 3) 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07792773646@93.95.124.157) State INIT 2019-12-18 16:28:52.976738 [DEBUG] mod_sofia.c:93 sofia/default/07792773646@93.95.124.157 SOFIA INIT 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:40 sofia/default/07792773646@93.95.124.157 Standard INIT 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:48 (sofia/default/07792773646@93.95.124.157) State Change CS_INIT -> CS_ROUTING 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07792773646@93.95.124.157) State INIT going to sleep 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_ROUTING (Cur 1 Tot 3) 2019-12-18 16:28:52.976738 [DEBUG] switch_channel.c:2332 (sofia/default/07792773646@93.95.124.157) Callstate Change DOWN -> RINGING 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07792773646@93.95.124.157) State ROUTING 2019-12-18 16:28:52.976738 [DEBUG] mod_sofia.c:154 sofia/default/07792773646@93.95.124.157 SOFIA ROUTING 2019-12-18 16:28:52.976738 [DEBUG] switch_core_state_machine.c:236 sofia/default/07792773646@93.95.124.157 Standard ROUTING 2019-12-18 16:28:52.976738 [INFO] mod_dialplan_xml.c:637 Processing 07792773646 <07792773646>->03300552838 in context default 2019-12-18 16:28:52.976738 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','I nternationalPrefixes') 2019-12-18 16:28:52.976738 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2019-12-18 16:28:52.976738 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 03300552838 2019-12-18 16:28:52.976738 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03300552838' AND status=0 limi t 1 2019-12-18 16:28:52.976738 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : 07792773646 / 07792773646 2019-12-18 16:28:52.976738 [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 di d_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 FR OM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03300552838" LIMIT 1 2019-12-18 16:28:52.976738 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound 2019-12-18 16:28:52.976738 [DEBUG] switch_cpp.cpp:1443 [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("93.95.124.157") 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 "03300552838" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2019-12-18 16:28:53.016643 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call authentication fail..!!1 2019-12-18 16:28:53.016643 [DEBUG] switch_cpp.cpp:1443 [ASTPP] post_cdrs:::0 2019-12-18 16:28:53.016643 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 0 2019-12-18 16:28:53.016643 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Generated XML:
Dialplan: sofia/default/07792773646@93.95.124.157 parsing [default->03300552838] continue=false Dialplan: sofia/default/07792773646@93.95.124.157 Regex (PASS) [03300552838] destination_number(03300552838) =~ /03300552838/ break=on-false Dialplan: sofia/default/07792773646@93.95.124.157 Action log(WARNING Accountcode is not authenticated!!) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(original_caller_id_name=07792773646) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(original_caller_id_number=07792773646) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(error_cdr=1) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(callstart=2019-12-18 16:28:53) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(account_id=0) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(parent_id=0) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(call_direction=inbound) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(calltype=DID) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(call_processed=internal) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(effective_destination_number=03300552838) Dialplan: sofia/default/07792773646@93.95.124.157 Action set(last_bridge_hangup_cause=AUTHENTICATION_FAIL) Dialplan: sofia/default/07792773646@93.95.124.157 Action hangup(AUTHENTICATION_FAIL) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:287 (sofia/default/07792773646@93.95.124.157) State Change CS_ROUTING -> CS_EXECUTE 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07792773646@93.95.124.157) State ROUTING going to sleep 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_EXECUTE (Cur 1 Tot 3) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07792773646@93.95.124.157) State EXECUTE 2019-12-18 16:28:53.016643 [DEBUG] mod_sofia.c:209 sofia/default/07792773646@93.95.124.157 SOFIA EXECUTE 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:329 sofia/default/07792773646@93.95.124.157 Standard EXECUTE EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 log(WARNING Accountcode is not authenticated!!) 2019-12-18 16:28:53.016643 [WARNING] mod_dptools.c:1866 Accountcode is not authenticated!! EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(original_caller_id_name=07792773646) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [original_caller_id_name]=[07792773646] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(original_caller_id_number=07792773646) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [original_caller_id_number]=[07792773646] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(error_cdr=1) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(callstart=2019-12-18 16:28:53) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [callstart]=[2019-12-18 16:28:53] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(account_id=0) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [account_id]=[0] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(parent_id=0) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [parent_id]=[0] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(call_direction=inbound) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(calltype=DID) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [calltype]=[DID] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(sip_ignore_remote_cause=true) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(call_processed=internal) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(effective_destination_number=03300552838) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [effective_destination_number]=[03300552838] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 set(last_bridge_hangup_cause=AUTHENTICATION_FAIL) 2019-12-18 16:28:53.016643 [DEBUG] mod_dptools.c:1672 SET sofia/default/07792773646@93.95.124.157 [last_bridge_hangup_cause]=[AUTHENTICATION_FAIL] EXECUTE [depth=0] sofia/default/07792773646@93.95.124.157 hangup(AUTHENTICATION_FAIL) 2019-12-18 16:28:53.016643 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/07792773646@93.95.124.157 [CS_EXECUTE] [NORMAL_CLEARING] 2019-12-18 16:28:53.016643 [DEBUG] switch_core_session.c:2905 sofia/default/07792773646@93.95.124.157 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07792773646@93.95.124.157) State EXECUTE going to sleep 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_HANGUP (Cur 1 Tot 3) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07792773646@93.95.124.157) Callstate Change RINGING -> HANGUP 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07792773646@93.95.124.157) State HANGUP 2019-12-18 16:28:53.016643 [DEBUG] mod_sofia.c:460 Channel sofia/default/07792773646@93.95.124.157 hanging up, cause: NORMAL_CLEARING 2019-12-18 16:28:53.016643 [DEBUG] mod_sofia.c:605 Responding to INVITE with: 480 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:60 sofia/default/07792773646@93.95.124.157 Standard HANGUP, cause: NORMAL_CLEARING 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07792773646@93.95.124.157) State HANGUP going to sleep 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07792773646@93.95.124.157) State Change CS_HANGUP -> CS_REPORTING 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07792773646@93.95.124.157) Running State Change CS_REPORTING (Cur 1 Tot 3) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07792773646@93.95.124.157) State REPORTING 2019-12-18 16:28:53.016643 [INFO] mod_json_cdr.c:271 Process [11889b8b-76cf-4e7d-9016-0b664d65612d.cdr.json] 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:174 sofia/default/07792773646@93.95.124.157 Standard REPORTING, cause: NORMAL_CLEARING 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07792773646@93.95.124.157) State REPORTING going to sleep 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07792773646@93.95.124.157) State Change CS_REPORTING -> CS_DESTROY 2019-12-18 16:28:53.016643 [DEBUG] switch_core_session.c:1726 Session 3 (sofia/default/07792773646@93.95.124.157) Locked, Waiting on external entities 2019-12-18 16:28:53.016643 [NOTICE] switch_core_session.c:1744 Session 3 (sofia/default/07792773646@93.95.124.157) Ended 2019-12-18 16:28:53.016643 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07792773646@93.95.124.157 [CS_DESTROY] 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07792773646@93.95.124.157) Running State Change CS_DESTROY (Cur 0 Tot 3) 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07792773646@93.95.124.157) State DESTROY 2019-12-18 16:28:53.016643 [DEBUG] mod_sofia.c:365 sofia/default/07792773646@93.95.124.157 SOFIA DESTROY 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:181 sofia/default/07792773646@93.95.124.157 Standard DESTROY 2019-12-18 16:28:53.016643 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07792773646@93.95.124.157) State DESTROY going to sleep