2022-12-19 06:49:14.333722 [NOTICE] switch_channel.c:1118 New Channel sofia/default/141826@141826.yoursipcloud.com [aebda945-ac1f-4bec-872e-ce42738d0cc7] 2022-12-19 06:49:14.333722 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_NEW (Cur 1 Tot 3491) 2022-12-19 06:49:14.333722 [DEBUG] sofia.c:10280 sofia/default/141826@141826.yoursipcloud.com receiving invite from 103.240.35.46:57660 version: 1.10.5 -release-17-25569c1631 64bit 2022-12-19 06:49:14.333722 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-19 06:49:14.333722 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [319000980@141826.yoursipcloud.com] from ip 103.240.35.46 2022-12-19 06:49:14.333722 [DEBUG] switch_core_state_machine.c:604 (sofia/default/141826@141826.yoursipcloud.com) State NEW 2022-12-19 06:49:14.333722 [DEBUG] sofia.c:2434 detaching session aebda945-ac1f-4bec-872e-ce42738d0cc7 2022-12-19 06:49:14.753720 [DEBUG] sofia.c:2544 Re-attaching to session aebda945-ac1f-4bec-872e-ce42738d0cc7 2022-12-19 06:49:14.753720 [DEBUG] sofia.c:10280 sofia/default/141826@141826.yoursipcloud.com receiving invite from 103.240.35.46:57660 version: 1.10.5 -release-17-25569c1631 64bit 2022-12-19 06:49:14.753720 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-19 06:49:14.773725 [DEBUG] sofia.c:11477 Setting NAT mode based on via received 2022-12-19 06:49:14.773725 [DEBUG] sofia.c:7326 Channel sofia/default/141826@141826.yoursipcloud.com entering state [received][100] 2022-12-19 06:49:14.773725 [DEBUG] sofia.c:7336 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 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/141826@141826.yoursipcloud.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-12-19 06:49:14.773725 [DEBUG] switch_core_codec.c:111 sofia/default/141826@141826.yoursipcloud.com Original read codec set to PCMA:8 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-12-19 06:49:14.773725 [DEBUG] switch_core_media.c:5911 sofia/default/141826@141826.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101 2022-12-19 06:49:14.773725 [DEBUG] sofia.c:7760 (sofia/default/141826@141826.yoursipcloud.com) State Change CS_NEW -> CS_INIT 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_INIT (Cur 1 Tot 3491) 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:628 (sofia/default/141826@141826.yoursipcloud.com) State INIT 2022-12-19 06:49:14.773725 [DEBUG] mod_sofia.c:93 sofia/default/141826@141826.yoursipcloud.com SOFIA INIT 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:40 sofia/default/141826@141826.yoursipcloud.com Standard INIT 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:48 (sofia/default/141826@141826.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:628 (sofia/default/141826@141826.yoursipcloud.com) State INIT going to sleep 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_ROUTING (Cur 1 Tot 3491) 2022-12-19 06:49:14.773725 [DEBUG] switch_channel.c:2332 (sofia/default/141826@141826.yoursipcloud.com) Callstate Change DOWN -> RINGING 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:644 (sofia/default/141826@141826.yoursipcloud.com) State ROUTING 2022-12-19 06:49:14.773725 [DEBUG] mod_sofia.c:154 sofia/default/141826@141826.yoursipcloud.com SOFIA ROUTING 2022-12-19 06:49:14.773725 [DEBUG] switch_core_state_machine.c:236 sofia/default/141826@141826.yoursipcloud.com Standard ROUTING 2022-12-19 06:49:14.773725 [INFO] mod_dialplan_xml.c:637 Processing 141826 <141826>->319000980 in context default 2022-12-19 06:49:14.773725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-12-19 06:49:14.773725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-19 06:49:14.793738 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 525e76f7-49c3-4402-840d-9ff8cc6fe347 FreeSWITCH-Hostname: multitenant-1 FreeSWITCH-Switchname: multitenant-1 FreeSWITCH-IPv4: 185.249.40.236 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-12-19%2006%3A49%3A14 Event-Date-GMT: Mon,%2019%20Dec%202022%2005%3A49%3A14%20GMT Event-Date-Timestamp: 1671428954773725 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 738909 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/141826%40141826.yoursipcloud.com Unique-ID: aebda945-ac1f-4bec-872e-ce42738d0cc7 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 141826%40141826.yoursipcloud.com Channel-Call-UUID: aebda945-ac1f-4bec-872e-ce42738d0cc7 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 141826 Caller-Dialplan: XML Caller-Caller-ID-Name: 141826 Caller-Caller-ID-Number: 141826 Caller-Orig-Caller-ID-Name: 141826 Caller-Orig-Caller-ID-Number: 141826 Caller-Network-Addr: 103.240.35.46 Caller-ANI: 141826 Caller-Destination-Number: 319000980 Caller-Unique-ID: aebda945-ac1f-4bec-872e-ce42738d0cc7 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/141826%40141826.yoursipcloud.com Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1671428954773725 Caller-Channel-Created-Time: 1671428954773725 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: aebda945-ac1f-4bec-872e-ce42738d0cc7 variable_session_id: 3491 variable_sip_from_params: transport%3DTCP variable_sip_from_user: 141826 variable_sip_from_uri: 141826%40141826.yoursipcloud.com variable_sip_from_host: 141826.yoursipcloud.com variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/141826%40141826.yoursipcloud.com variable_sip_call_id: OTdiMzg0YzliYTFjNGU4YzdmYTQxZTk4ZTViMmMzOWI. variable_sip_local_network_addr: 185.249.40.236 variable_sip_network_ip: 103.240.35.46 variable_sip_network_port: 57660 variable_sip_invite_stamp: 1671428954753720 variable_sip_received_ip: 103.240.35.46 variable_sip_received_port: 57660 variable_sip_via_protocol: tcp variable_sip_authorized: true variable_Event-Name: REQUEST_PARAMS variable_Core-UUID: 525e76f7-49c3-4402-840d-9ff8cc6fe347 variable_FreeSWITCH-Hostname: multitenant-1 variable_FreeSWITCH-Switchname: multitenant-1 variable_FreeSWITCH-IPv4: 185.249.40.236 variable_FreeSWITCH-IPv6: %3A%3A1 variable_Event-Date-Local: 2022-12-19%2006%3A49%3A14 variable_Event-Date-GMT: Mon,%2019%20Dec%202022%2005%3A49%3A14%20GMT variable_Event-Date-Timestamp: 1671428954753720 variable_Event-Calling-File: sofia.c variable_Event-Calling-Function: sofia_handle_sip_i_invite variable_Event-Calling-Line-Number: 10542 variable_Event-Sequence: 738900 variable_sip_number_alias: 141826 variable_sip_auth_username: 141826 variable_sip_auth_realm: 141826.yoursipcloud.com variable_number_alias: 141826 variable_requested_user_name: 141826 variable_requested_domain_name: 141826.yoursipcloud.com variable_sipcall: true variable_sip_user: 141826 variable_accountcode: 141826 variable_user_name: 141826 variable_domain_name: 141826.yoursipcloud.com variable_sip_from_user_stripped: 141826 variable_sip_from_tag: 0bb8912e variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060 variable_recovery_profile_name: default variable_sip_full_via: SIP/2.0/TCP%20192.168.1.43%3A60170%3Bbranch%3Dz9hG4bK-d8754z-a189dd261c5940dc-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D57660 variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.43%3A60170%3Bbranch%3Dz9hG4bK-d8754z-a189dd261c5940dc-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D57660 variable_sip_full_from: %3Csip%3A141826%40141826.yoursipcloud.com%3Btransport%3DTCP%3E%3Btag%3D0bb8912e variable_sip_full_to: %3Csip%3A319000980%40141826.yoursipcloud.com%3Btransport%3DTCP%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE variable_sip_req_params: transport%3DTCP variable_sip_req_user: 319000980 variable_sip_req_uri: 319000980%40141826.yoursipcloud.com variable_sip_req_host: 141826.yoursipcloud.com variable_sip_to_params: transport%3DTCP variable_sip_to_user: 319000980 variable_sip_to_uri: 319000980%40141826.yoursipcloud.com variable_sip_to_host: 141826.yoursipcloud.com variable_sip_contact_params: transport%3DTCP variable_sip_contact_user: 141826 variable_sip_contact_port: 60170 variable_sip_contact_uri: 141826%40103.240.35.46%3A60170 variable_sip_contact_host: 103.240.35.46 variable_sip_user_agent: Z%203.3.25608%20r25552 variable_sip_via_host: 192.168.1.43 variable_sip_via_port: 60170 variable_sip_via_rport: 57660 variable_max_forwards: 70 variable_presence_id: 141826%40141826.yoursipcloud.com variable_sip_nat_detected: true variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.35.46%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.35.46%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 103.240.35.46 variable_remote_media_port: 8000 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: aebda945-ac1f-4bec-872e-ce42738d0cc7 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 141826 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 141826 Hunt-Caller-ID-Number: 141826 Hunt-Orig-Caller-ID-Name: 141826 Hunt-Orig-Caller-ID-Number: 141826 Hunt-Network-Addr: 103.240.35.46 Hunt-ANI: 141826 Hunt-Destination-Number: 319000980 Hunt-Unique-ID: aebda945-ac1f-4bec-872e-ce42738d0cc7 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/141826%40141826.yoursipcloud.com Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1671428954773725 Hunt-Channel-Created-Time: 1671428954773725 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value: 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name: 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name: 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 319000980 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '319000980' limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '319000980' AND status=0 limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '319000980' and status=0 LIMIT 1 2022-12-19 06:49:14.793738 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 141826 / 141826 2022-12-19 06:49:14.793738 [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 ="319000980" LIMIT 1 2022-12-19 06:49:14.793738 [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="319000980" AND domains.domain="141826.yoursipcloud.com" limit 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 141826] 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "141826" AND deleted = 0 limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^319000980.*' OR blocked_patterns = '^31900098.*' OR blocked_patterns = '^3190009.*' OR blocked_patterns = '^319000.*' OR blocked_patterns = '^31900.*' OR blocked_patterns = '^3190.*' OR blocked_patterns = '^319.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 1178 limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="319000980" AND (accountid = 0 OR status = 1) LIMIT 1 2022-12-19 06:49:14.793738 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....319000980 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....319000980 2022-12-19 06:49:14.793738 [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 P.is_terminated = 0 AND (patterns = '^319000980.*' OR patterns = '^31900098.*' OR patterns = '^3190009.*' OR patterns = '^319000.*' OR patterns = '^31900.*' OR patterns = '^3190.*' OR patterns = '^319.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1178 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-12-19 06:49:14.793738 [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 ="319000980" AND A.accountid = '1178' limit 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 319000980 2022-12-19 06:49:14.793738 [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 ="319000980" LIMIT 1 2022-12-19 06:49:14.793738 [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="319000980" AND domains.domain="141826.yoursipcloud.com" limit 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound 2022-12-19 06:49:14.793738 [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 = '319000980' OR number = '31900098' OR number = '3190009' OR number = '319000' OR number = '31900' OR number = '3190' OR number = '319' OR number = '31' OR number = '3' OR number ='--') OR (number = '319000980*' OR number = '31900098*' OR number = '3190009*' OR number = '319000*' OR number = '31900*' OR number = '3190*' OR number = '319*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '141826' OR number = '14182' OR number = '1418' OR number = '141' OR number = '14' OR number = '1' OR number ='--') OR (number = '141826*' OR number = '14182*' OR number = '1418*' OR number = '141*' OR number = '14*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '319000980' OR routing_prefix = '31900098' OR routing_prefix = '3190009' OR routing_prefix = '319000' OR routing_prefix = '31900' OR routing_prefix = '3190' OR routing_prefix = '319' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 1178 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 141826 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 100 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^319000980.*' OR pattern = '^31900098.*' OR pattern = '^3190009.*' OR pattern = '^319000.*' OR pattern = '^31900.*' OR pattern = '^3190.*' OR pattern = '^319.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=1178) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3742429 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherland Special 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 1178 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 1178 !!! 2022-12-19 06:49:14.793738 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-12-19 06:49:14.793738 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^319000980.*' OR blocked_patterns = '^31900098.*' OR blocked_patterns = '^3190009.*' OR blocked_patterns = '^319000.*' OR blocked_patterns = '^31900.*' OR blocked_patterns = '^3190.*' OR blocked_patterns = '^319.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information =================== 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 98922.86232 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^319000980.*' OR pattern = '^31900098.*' OR pattern = '^3190009.*' OR pattern = '^319000.*' OR pattern = '^31900.*' OR pattern = '^3190.*' OR pattern = '^319.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-12-19 06:49:14.793738 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-12-19 06:49:14.793738 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates Not Found : 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 1178 2022-12-19 06:49:14.793738 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
Dialplan: sofia/default/141826@141826.yoursipcloud.com parsing [default->319000980] continue=false Dialplan: sofia/default/141826@141826.yoursipcloud.com Regex (PASS) [319000980] destination_number(319000980) =~ /319000980/ break=on-false Dialplan: sofia/default/141826@141826.yoursipcloud.com Action log(WARNING Accountcode 141826. Dialed number (319000980) origination rates not found!!) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(original_caller_id_name=141826) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(original_caller_id_number=141826) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(error_cdr=1) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(callstart=2022-12-19 05:49:14) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(account_id=1178) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(parent_id=12) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(call_direction=outbound) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(call_processed=internal) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(effective_destination_number=319000980) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND) Dialplan: sofia/default/141826@141826.yoursipcloud.com Action hangup(ORIGINATION_RATE_NOT_FOUND) 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:287 (sofia/default/141826@141826.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:644 (sofia/default/141826@141826.yoursipcloud.com) State ROUTING going to sleep 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 1 Tot 3491) 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:651 (sofia/default/141826@141826.yoursipcloud.com) State EXECUTE 2022-12-19 06:49:14.793738 [DEBUG] mod_sofia.c:209 sofia/default/141826@141826.yoursipcloud.com SOFIA EXECUTE 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:329 sofia/default/141826@141826.yoursipcloud.com Standard EXECUTE EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com log(WARNING Accountcode 141826. Dialed number (319000980) origination rates not found!!) 2022-12-19 06:49:14.793738 [WARNING] mod_dptools.c:1866 Accountcode 141826. Dialed number (319000980) origination rates not found!! EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(original_caller_id_name=141826) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [original_caller_id_name]=[141826] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(original_caller_id_number=141826) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [original_caller_id_number]=[141826] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(error_cdr=1) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [error_cdr]=[1] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(callstart=2022-12-19 05:49:14) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [callstart]=[2022-12-19 05:49:14] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(account_id=1178) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [account_id]=[1178] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(parent_id=12) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [parent_id]=[12] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(call_direction=outbound) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(sip_ignore_remote_cause=true) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(call_processed=internal) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [call_processed]=[internal] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(effective_destination_number=319000980) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [effective_destination_number]=[319000980] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND) 2022-12-19 06:49:14.793738 [DEBUG] mod_dptools.c:1672 SET sofia/default/141826@141826.yoursipcloud.com [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND] EXECUTE [depth=0] sofia/default/141826@141826.yoursipcloud.com hangup(ORIGINATION_RATE_NOT_FOUND) 2022-12-19 06:49:14.793738 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/141826@141826.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING] 2022-12-19 06:49:14.793738 [DEBUG] switch_core_session.c:2905 sofia/default/141826@141826.yoursipcloud.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:651 (sofia/default/141826@141826.yoursipcloud.com) State EXECUTE going to sleep 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_HANGUP (Cur 1 Tot 3491) 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:848 (sofia/default/141826@141826.yoursipcloud.com) Callstate Change RINGING -> HANGUP 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:850 (sofia/default/141826@141826.yoursipcloud.com) State HANGUP 2022-12-19 06:49:14.793738 [DEBUG] mod_sofia.c:453 Channel sofia/default/141826@141826.yoursipcloud.com hanging up, cause: NORMAL_CLEARING 2022-12-19 06:49:14.793738 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:60 sofia/default/141826@141826.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:850 (sofia/default/141826@141826.yoursipcloud.com) State HANGUP going to sleep 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:620 (sofia/default/141826@141826.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:585 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_REPORTING (Cur 1 Tot 3491) 2022-12-19 06:49:14.793738 [DEBUG] switch_core_state_machine.c:936 (sofia/default/141826@141826.yoursipcloud.com) State REPORTING 2022-12-19 06:49:14.793738 [INFO] mod_json_cdr.c:271 Process [aebda945-ac1f-4bec-872e-ce42738d0cc7.cdr.json] 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:174 sofia/default/141826@141826.yoursipcloud.com Standard REPORTING, cause: NORMAL_CLEARING 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:936 (sofia/default/141826@141826.yoursipcloud.com) State REPORTING going to sleep 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:611 (sofia/default/141826@141826.yoursipcloud.com) State Change CS_REPORTING -> CS_DESTROY 2022-12-19 06:49:14.833727 [DEBUG] switch_core_session.c:1726 Session 3491 (sofia/default/141826@141826.yoursipcloud.com) Locked, Waiting on external entities 2022-12-19 06:49:14.833727 [NOTICE] switch_core_session.c:1744 Session 3491 (sofia/default/141826@141826.yoursipcloud.com) Ended 2022-12-19 06:49:14.833727 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/141826@141826.yoursipcloud.com [CS_DESTROY] 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:739 (sofia/default/141826@141826.yoursipcloud.com) Running State Change CS_DESTROY (Cur 0 Tot 3491) 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:749 (sofia/default/141826@141826.yoursipcloud.com) State DESTROY 2022-12-19 06:49:14.833727 [DEBUG] mod_sofia.c:364 sofia/default/141826@141826.yoursipcloud.com SOFIA DESTROY 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:181 sofia/default/141826@141826.yoursipcloud.com Standard DESTROY 2022-12-19 06:49:14.833727 [DEBUG] switch_core_state_machine.c:749 (sofia/default/141826@141826.yoursipcloud.com) State DESTROY going to sleep