2021-04-19 13:24:54.734792 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0823416005@154.118.252.41 [10d777fe-0d96-4622-9692-d10788d88c91] 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_NEW (Cur 1 Tot 20342) 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:10280 sofia/default/0823416005@154.118.252.41 receiving invite from 169.255.3.45:5060 version: 1.10.5 -release.8 64bit 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 169.255.3.45:0. 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:10403 IP 169.255.3.45 Approved by acl "default[]". Access Granted. 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:7326 Channel sofia/default/0823416005@154.118.252.41 entering state [received][100] 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 1387919868743017493 969790124140944341 IN IP4 41.1.49.194 s=- c=IN IP4 154.118.252.40 t=0 0 m=audio 32334 RTP/AVP 18 8 96 b=AS:80 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:96 telephone-event/8000 a=rtcp:32335 a=ptime:20 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 96@8000 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0823416005@154.118.252.41 G729/8000 20 ms 160 samples 8000 bits 1 channels 2021-04-19 13:24:54.734792 [DEBUG] switch_core_codec.c:111 sofia/default/0823416005@154.118.252.41 Original read codec set to G729:18 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 96@8000 2021-04-19 13:24:54.734792 [DEBUG] switch_core_media.c:5911 sofia/default/0823416005@154.118.252.41 Set 2833 dtmf send payload to 96 recv payload to 96 2021-04-19 13:24:54.734792 [DEBUG] sofia.c:7760 (sofia/default/0823416005@154.118.252.41) State Change CS_NEW -> CS_INIT 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:604 (sofia/default/0823416005@154.118.252.41) State NEW 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_INIT (Cur 1 Tot 20342) 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0823416005@154.118.252.41) State INIT 2021-04-19 13:24:54.734792 [DEBUG] mod_sofia.c:93 sofia/default/0823416005@154.118.252.41 SOFIA INIT 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:40 sofia/default/0823416005@154.118.252.41 Standard INIT 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0823416005@154.118.252.41) State Change CS_INIT -> CS_ROUTING 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0823416005@154.118.252.41) State INIT going to sleep 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_ROUTING (Cur 1 Tot 20342) 2021-04-19 13:24:54.734792 [DEBUG] switch_channel.c:2332 (sofia/default/0823416005@154.118.252.41) Callstate Change DOWN -> RINGING 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0823416005@154.118.252.41) State ROUTING 2021-04-19 13:24:54.734792 [DEBUG] mod_sofia.c:154 sofia/default/0823416005@154.118.252.41 SOFIA ROUTING 2021-04-19 13:24:54.734792 [DEBUG] switch_core_state_machine.c:236 sofia/default/0823416005@154.118.252.41 Standard ROUTING 2021-04-19 13:24:54.734792 [INFO] mod_dialplan_xml.c:637 Processing +27823416005 <0823416005>->104763000 in context default 2021-04-19 13:24:54.774758 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-04-19 13:24:54.774758 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-04-19 13:24:54.794739 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0 2021-04-19 13:24:54.794739 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 104763000 2021-04-19 13:24:54.794739 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '104763000' limit 1 2021-04-19 13:24:54.794739 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '104763000' AND status=0 limit 1 2021-04-19 13:24:54.794739 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '104763000' and status=0 LIMIT 1 2021-04-19 13:24:54.814739 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID 2021-04-19 13:24:54.814739 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 0823416005 / 2021-04-19 13:24:54.814739 [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 ="104763000" LIMIT 1 2021-04-19 13:24:54.814739 [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 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="104763000" AND domains.domain="169.255.3.45" limit 1 2021-04-19 13:24:54.814739 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2021-04-19 13:24:54.814739 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9446295420] 2021-04-19 13:24:54.814739 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =104763000 2021-04-19 13:24:54.814739 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9446295420" AND deleted = 0 limit 1 2021-04-19 13:24:54.834784 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^104763000.*' OR blocked_patterns = '^10476300.*' OR blocked_patterns = '^1047630.*' OR blocked_patterns = '^104763.*' OR blocked_patterns = '^10476.*' OR blocked_patterns = '^1047.*' OR blocked_patterns = '^104.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 11 limit 1 2021-04-19 13:24:54.834784 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="104763000" AND A.accountid = '11' limit 1 2021-04-19 13:24:54.834784 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 104763000 2021-04-19 13:24:54.834784 [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 ="104763000" LIMIT 1 2021-04-19 13:24:54.834784 [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 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="104763000" AND domains.domain="169.255.3.45" limit 1 2021-04-19 13:24:54.834784 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound 2021-04-19 13:24:54.834784 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="104763000" AND (accountid = 0 OR status = 1) LIMIT 1 2021-04-19 13:24:54.834784 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^104763000.*' OR patterns = '^10476300.*' OR patterns = '^1047630.*' OR patterns = '^104763.*' OR patterns = '^10476.*' OR patterns = '^1047.*' OR patterns = '^104.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-04-19 13:24:54.854745 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '104763000' OR number = '10476300' OR number = '1047630' OR number = '104763' OR number = '10476' OR number = '1047' OR number = '104' OR number = '10' OR number = '1' OR number ='--') OR (number = '104763000*' OR number = '10476300*' OR number = '1047630*' OR number = '104763*' OR number = '10476*' OR number = '1047*' OR number = '104*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '' OR number = '
Dialplan: sofia/default/0823416005@154.118.252.41 parsing [default->104763000] continue=false Dialplan: sofia/default/0823416005@154.118.252.41 Regex (PASS) [104763000] destination_number(104763000) =~ /104763000/ break=on-false Dialplan: sofia/default/0823416005@154.118.252.41 Action log(WARNING Accountcode . Dialed number (104763000) origination rates not found!!) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(original_caller_id_name=0823416005) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(error_cdr=1) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(callstart=2021-04-19 11:24:54) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(account_id=11) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(parent_id=0) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(call_direction=outbound) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(call_processed=internal) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(effective_destination_number=104763000) Dialplan: sofia/default/0823416005@154.118.252.41 Action set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND) Dialplan: sofia/default/0823416005@154.118.252.41 Action hangup(ORIGNATION_RATE_NOT_FOUND) 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0823416005@154.118.252.41) State Change CS_ROUTING -> CS_EXECUTE 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0823416005@154.118.252.41) State ROUTING going to sleep 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_EXECUTE (Cur 1 Tot 20342) 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0823416005@154.118.252.41) State EXECUTE 2021-04-19 13:24:54.874743 [DEBUG] mod_sofia.c:209 sofia/default/0823416005@154.118.252.41 SOFIA EXECUTE 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:329 sofia/default/0823416005@154.118.252.41 Standard EXECUTE EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 log(WARNING Accountcode . Dialed number (104763000) origination rates not found!!) 2021-04-19 13:24:54.874743 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (104763000) origination rates not found!! EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(original_caller_id_name=0823416005) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [original_caller_id_name]=[0823416005] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(error_cdr=1) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(callstart=2021-04-19 11:24:54) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [callstart]=[2021-04-19 11:24:54] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(account_id=11) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [account_id]=[11] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(parent_id=0) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [parent_id]=[0] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(call_direction=outbound) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(sip_ignore_remote_cause=true) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(call_processed=internal) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(effective_destination_number=104763000) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [effective_destination_number]=[104763000] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND) 2021-04-19 13:24:54.874743 [DEBUG] mod_dptools.c:1672 SET sofia/default/0823416005@154.118.252.41 [last_bridge_hangup_cause]=[ORIGNATION_RATE_NOT_FOUND] EXECUTE [depth=0] sofia/default/0823416005@154.118.252.41 hangup(ORIGNATION_RATE_NOT_FOUND) 2021-04-19 13:24:54.874743 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/0823416005@154.118.252.41 [CS_EXECUTE] [NORMAL_CLEARING] 2021-04-19 13:24:54.874743 [DEBUG] switch_core_session.c:2905 sofia/default/0823416005@154.118.252.41 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0823416005@154.118.252.41) State EXECUTE going to sleep 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_HANGUP (Cur 1 Tot 20342) 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0823416005@154.118.252.41) Callstate Change RINGING -> HANGUP 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0823416005@154.118.252.41) State HANGUP 2021-04-19 13:24:54.874743 [DEBUG] mod_sofia.c:453 Channel sofia/default/0823416005@154.118.252.41 hanging up, cause: NORMAL_CLEARING 2021-04-19 13:24:54.874743 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:60 sofia/default/0823416005@154.118.252.41 Standard HANGUP, cause: NORMAL_CLEARING 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0823416005@154.118.252.41) State HANGUP going to sleep 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0823416005@154.118.252.41) State Change CS_HANGUP -> CS_REPORTING 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0823416005@154.118.252.41) Running State Change CS_REPORTING (Cur 1 Tot 20342) 2021-04-19 13:24:54.874743 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0823416005@154.118.252.41) State REPORTING 2021-04-19 13:24:54.874743 [INFO] mod_json_cdr.c:271 Process [10d777fe-0d96-4622-9692-d10788d88c91.cdr.json] 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:174 sofia/default/0823416005@154.118.252.41 Standard REPORTING, cause: NORMAL_CLEARING 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0823416005@154.118.252.41) State REPORTING going to sleep 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0823416005@154.118.252.41) State Change CS_REPORTING -> CS_DESTROY 2021-04-19 13:24:54.894735 [DEBUG] switch_core_session.c:1726 Session 20342 (sofia/default/0823416005@154.118.252.41) Locked, Waiting on external entities 2021-04-19 13:24:54.894735 [NOTICE] switch_core_session.c:1744 Session 20342 (sofia/default/0823416005@154.118.252.41) Ended 2021-04-19 13:24:54.894735 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0823416005@154.118.252.41 [CS_DESTROY] 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0823416005@154.118.252.41) Running State Change CS_DESTROY (Cur 0 Tot 20342) 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0823416005@154.118.252.41) State DESTROY 2021-04-19 13:24:54.894735 [DEBUG] mod_sofia.c:364 sofia/default/0823416005@154.118.252.41 SOFIA DESTROY 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:181 sofia/default/0823416005@154.118.252.41 Standard DESTROY 2021-04-19 13:24:54.894735 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0823416005@154.118.252.41) State DESTROY going to sleep freeswitch@freesw-5>