2024-02-09 06:52:13.953700 90.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/71683757@10.0.10.250 [8ea98469-5408-41f0-906c-896ed4bc218c] 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_NEW (Cur 9 Tot 1020) 2024-02-09 06:52:13.953700 90.00% [INFO] sofia.c:10462 sofia/default/71683757@10.0.10.250 receiving invite from 102.222.8.132:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 5e1e7e23470687f50b1cf6587340f5d5@10.0.10.250 2024-02-09 06:52:13.953700 90.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.222.8.132:0. 2024-02-09 06:52:13.953700 90.00% [DEBUG] sofia.c:10585 IP 102.222.8.132 Approved by acl "default[]". Access Granted. 2024-02-09 06:52:13.953700 90.00% [DEBUG] sofia.c:7499 Channel sofia/default/71683757@10.0.10.250 entering state [received][100] 2024-02-09 06:52:13.953700 90.00% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 2019574702 2019574702 IN IP4 102.222.8.10 s=Asterisk PBX 1.6.2.6 c=IN IP4 102.222.8.10 t=0 0 m=audio 10564 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=oldoip:10.0.10.250 a=oldcip:10.0.10.250 2024-02-09 06:52:13.953700 90.00% [DEBUG] sofia.c:7912 (sofia/default/71683757@10.0.10.250) State Change CS_NEW -> CS_INIT 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/71683757@10.0.10.250) State NEW 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_INIT (Cur 9 Tot 1020) 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/71683757@10.0.10.250) State INIT 2024-02-09 06:52:13.953700 90.00% [DEBUG] mod_sofia.c:97 sofia/default/71683757@10.0.10.250 SOFIA INIT 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/71683757@10.0.10.250 Standard INIT 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/71683757@10.0.10.250) State Change CS_INIT -> CS_ROUTING 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/71683757@10.0.10.250) State INIT going to sleep 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_ROUTING (Cur 9 Tot 1020) 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_channel.c:2380 (sofia/default/71683757@10.0.10.250) Callstate Change DOWN -> RINGING 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/71683757@10.0.10.250) State ROUTING 2024-02-09 06:52:13.953700 90.00% [DEBUG] mod_sofia.c:158 sofia/default/71683757@10.0.10.250 SOFIA ROUTING 2024-02-09 06:52:13.953700 90.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/71683757@10.0.10.250 Standard ROUTING 2024-02-09 06:52:13.953700 90.00% [INFO] mod_dialplan_xml.c:639 Processing 71683757 <71683757>->2671000300 in context default 2024-02-09 06:52:13.973780 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-02-09 06:52:13.973780 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-09 06:52:13.973780 90.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 2439ccb8-a3e6-4bf4-a3ed-f4bd21a538b7 FreeSWITCH-Hostname: fswitch2 FreeSWITCH-Switchname: fswitch2 FreeSWITCH-IPv4: 102.222.8.134 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2024-02-09%2006%3A52%3A13 Event-Date-GMT: Fri,%2009%20Feb%202024%2006%3A52%3A13%20GMT Event-Date-Timestamp: 1707461533953700 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 87375 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/71683757%4010.0.10.250 Unique-ID: 8ea98469-5408-41f0-906c-896ed4bc218c Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 71683757%4010.0.10.250 Channel-Call-UUID: 8ea98469-5408-41f0-906c-896ed4bc218c Answer-State: ringing Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 71683757 Caller-Dialplan: XML Caller-Caller-ID-Name: 71683757 Caller-Caller-ID-Number: 71683757 Caller-Orig-Caller-ID-Name: 71683757 Caller-Orig-Caller-ID-Number: 71683757 Caller-Network-Addr: 102.222.8.132 Caller-ANI: 71683757 Caller-Destination-Number: 2671000300 Caller-Unique-ID: 8ea98469-5408-41f0-906c-896ed4bc218c Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/71683757%4010.0.10.250 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1707461533953700 Caller-Channel-Created-Time: 1707461533953700 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: 8ea98469-5408-41f0-906c-896ed4bc218c variable_session_id: 1020 variable_sip_from_user: 71683757 variable_sip_from_uri: 71683757%4010.0.10.250 variable_sip_from_host: 10.0.10.250 variable_video_media_flow: disabled variable_audio_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/71683757%4010.0.10.250 variable_sip_call_id: 5e1e7e23470687f50b1cf6587340f5d5%4010.0.10.250 variable_sip_local_network_addr: 102.222.8.134 variable_sip_network_ip: 102.222.8.132 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1707461533953700 variable_sip_received_ip: 102.222.8.132 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 71683757 variable_sip_from_tag: as01573bf7 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40102.222.8.134%3A5060 variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A102.222.8.132%3Blr%3Bdid%3D41a.fd8c5d23%3E variable_sip_invite_record_route: %3Csip%3A102.222.8.132%3Blr%3Bdid%3D41a.fd8c5d23%3E variable_sip_full_via: SIP/2.0/UDP%20102.222.8.132%3A5060%3Bbranch%3Dz9hG4bK4e8a.c254fab2.0,SIP/2.0/UDP%2010.0.10.250%3A5060%3Breceived%3D102.222.8.10%3Bbranch%3Dz9hG4bK0f32a9bf%3Brport%3D5066 variable_sip_from_display: 71683757 variable_sip_full_from: %2271683757%22%20%3Csip%3A71683757%4010.0.10.250%3E%3Btag%3Das01573bf7 variable_sip_full_to: %3Csip%3A2671000300%40102.222.8.132%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO variable_sip_req_user: 2671000300 variable_sip_req_port: 5060 variable_sip_req_uri: 2671000300%40102.222.8.132%3A5060 variable_sip_req_host: 102.222.8.132 variable_sip_to_user: 2671000300 variable_sip_to_port: 5060 variable_sip_to_uri: 2671000300%40102.222.8.132%3A5060 variable_sip_to_host: 102.222.8.132 variable_sip_contact_user: 71683757 variable_sip_contact_port: 5066 variable_sip_contact_uri: 71683757%40102.222.8.10%3A5066 variable_sip_contact_host: 102.222.8.10 variable_rtp_use_codec_string: G729,PCMA,PCMU variable_sip_user_agent: TA410 variable_sip_via_host: 102.222.8.132 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 71683757%4010.0.10.250 variable_sip_date_epoch_time: 1707461532 variable_sip_h_X-AUTH-IP: 102.222.8.10 variable_sip_h_P-Accountcode: 4861816099 variable_sip_h_P-effective_caller_id_name: 71683757 variable_sip_h_P-effective_caller_id_number: %3Cnull%3E variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202019574702%202019574702%20IN%20IP4%20102.222.8.10%0D%0As%3DAsterisk%20PBX%201.6.2.6%0D%0Ac%3DIN%20IP4%20102.222.8.10%0D%0At%3D0%200%0D%0Am%3Daudio%2010564%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dyes%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Doldoip%3A10.0.10.250%0D%0Aa%3Doldcip%3A10.0.10.250%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_bcg729.G729%408000h%4020i%408000b variable_endpoint_disposition: DELAYED%20NEGOTIATION variable_call_uuid: 8ea98469-5408-41f0-906c-896ed4bc218c Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 71683757 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 71683757 Hunt-Caller-ID-Number: 71683757 Hunt-Orig-Caller-ID-Name: 71683757 Hunt-Orig-Caller-ID-Number: 71683757 Hunt-Network-Addr: 102.222.8.132 Hunt-ANI: 71683757 Hunt-Destination-Number: 2671000300 Hunt-Unique-ID: 8ea98469-5408-41f0-906c-896ed4bc218c Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/71683757%4010.0.10.250 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1707461533953700 Hunt-Channel-Created-Time: 1707461533953700 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 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2671000300 2024-02-09 06:52:13.973780 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2671000300' AND status=0 limit 1 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 71683757 / 2024-02-09 06:52:13.973780 90.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2024-02-09 06:52:13.973780 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:13.973780 90.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2671000300" LIMIT 1 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-02-09 06:52:13.973780 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4861816099] 2024-02-09 06:52:13.973780 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4861816099" AND deleted = 0 limit 1 2024-02-09 06:52:13.993708 90.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2671000300" AND (accountid = 0 OR status = 1) LIMIT 1 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 38 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [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 = '^2671000300.*' OR patterns = '^267100030.*' OR patterns = '^26710003.*' OR patterns = '^2671000.*' OR patterns = '^267100.*' OR patterns = '^26710.*' OR patterns = '^2671.*' OR patterns = '^267.*' OR patterns = '^26.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 38 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [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 ="2671000300" AND A.accountid = '38' limit 1 2024-02-09 06:52:13.993708 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2671000300 2024-02-09 06:52:13.993708 90.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:13.993708 90.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2671000300" LIMIT 1 2024-02-09 06:52:13.993708 90.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-02-09 06:52:13.993708 90.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2671000300' OR number = '267100030' OR number = '26710003' OR number = '2671000' OR number = '267100' OR number = '26710' OR number = '2671' OR number = '267' OR number = '26' OR number = '2' OR number ='--') OR (number = '2671000300*' OR number = '267100030*' OR number = '26710003*' OR number = '2671000*' OR number = '267100*' OR number = '26710*' OR number = '2671*' OR number = '267*' OR number = '26*' OR number = '2*' OR number ='--') OR (number = '' OR number = '
Dialplan: sofia/default/71683757@10.0.10.250 parsing [default->2671000300] continue=false Dialplan: sofia/default/71683757@10.0.10.250 Regex (PASS) [2671000300] destination_number(2671000300) =~ /2671000300/ break=on-false Dialplan: sofia/default/71683757@10.0.10.250 Action set(effective_destination_number=2671000300) Dialplan: sofia/default/71683757@10.0.10.250 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/71683757@10.0.10.250 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/71683757@10.0.10.250 Action set(callstart=2024-02-09 06:52:12) Dialplan: sofia/default/71683757@10.0.10.250 Action set(hangup_after_bridge=true) Dialplan: sofia/default/71683757@10.0.10.250 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/71683757@10.0.10.250 Action set(account_id=38) Dialplan: sofia/default/71683757@10.0.10.250 Action set(parent_id=15) Dialplan: sofia/default/71683757@10.0.10.250 Action set(entity_id=0) Dialplan: sofia/default/71683757@10.0.10.250 Action set(call_processed=internal) Dialplan: sofia/default/71683757@10.0.10.250 Action set(call_direction=inbound) Dialplan: sofia/default/71683757@10.0.10.250 Action set(accountname=default) Dialplan: sofia/default/71683757@10.0.10.250 Action set(origination_rates_did=ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38||ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38) Dialplan: sofia/default/71683757@10.0.10.250 Action set(origination_rates=0) Dialplan: sofia/default/71683757@10.0.10.250 Action set(original_caller_id_name=71683757) Dialplan: sofia/default/71683757@10.0.10.250 Action limit(db 4861816099 user_4861816099 2 ) Dialplan: sofia/default/71683757@10.0.10.250 Action limit(hash CPS_4861816099 CPS_user_4861816099 2/1 ) Dialplan: sofia/default/71683757@10.0.10.250 Action export(is_recording=1) Dialplan: sofia/default/71683757@10.0.10.250 Action export(media_bug_answer_req=true) Dialplan: sofia/default/71683757@10.0.10.250 Action export(record_sample_rate=8000) Dialplan: sofia/default/71683757@10.0.10.250 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_38.wav) Dialplan: sofia/default/71683757@10.0.10.250 Action set(effective_caller_id_name=71683757) Dialplan: sofia/default/71683757@10.0.10.250 Action set(receiver_accid=38) Dialplan: sofia/default/71683757@10.0.10.250 Action export(domain_name=) Dialplan: sofia/default/71683757@10.0.10.250 Action export(sip_to_host=) Dialplan: sofia/default/71683757@10.0.10.250 Action export(presence_data=x|||Supplementary Health Services Botswana(4861816099)|||||||||DID|||102.222.8.10) Dialplan: sofia/default/71683757@10.0.10.250 Action export(call_type=0) Dialplan: sofia/default/71683757@10.0.10.250 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/71683757@10.0.10.250 Action ring_ready() Dialplan: sofia/default/71683757@10.0.10.250 Action sleep(5000) Dialplan: sofia/default/71683757@10.0.10.250 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=299@${domain_name}}[leg_timeout=0]sofia/${sofia_profile_name}/299@10.100.4.132;fs_path=sip:102.222.8.132:5060) Dialplan: sofia/default/71683757@10.0.10.250 Action set(did_id=4104) Dialplan: sofia/default/71683757@10.0.10.250 Action set(destination_number=2671000300) Dialplan: sofia/default/71683757@10.0.10.250 Action set(leg_timeout=0) Dialplan: sofia/default/71683757@10.0.10.250 Action set(call_type_vm_flag=1) Dialplan: sofia/default/71683757@10.0.10.250 Action set(is_local_extension=1) Dialplan: sofia/default/71683757@10.0.10.250 Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [2671000300_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/71683757@10.0.10.250 Regex (FAIL) [2671000300_recur_1] ${cond(${user_data 299@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/71683757@10.0.10.250 ANTI-Action hangup(${originate_disposition}) 2024-02-09 06:52:14.053684 90.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/71683757@10.0.10.250) State Change CS_ROUTING -> CS_EXECUTE 2024-02-09 06:52:14.053684 90.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/71683757@10.0.10.250) State ROUTING going to sleep 2024-02-09 06:52:14.053684 90.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_EXECUTE (Cur 9 Tot 1020) 2024-02-09 06:52:14.053684 90.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/71683757@10.0.10.250) State EXECUTE 2024-02-09 06:52:14.053684 90.00% [DEBUG] mod_sofia.c:213 sofia/default/71683757@10.0.10.250 SOFIA EXECUTE 2024-02-09 06:52:14.053684 90.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/71683757@10.0.10.250 Standard EXECUTE EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(effective_destination_number=2671000300) 2024-02-09 06:52:14.053684 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [effective_destination_number]=[2671000300] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-02-09 06:52:14.053684 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-02-09 06:52:14.053684 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(callstart=2024-02-09 06:52:12) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [callstart]=[2024-02-09 06:52:12] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(hangup_after_bridge=true) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(continue_on_fail=TRUE) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(account_id=38) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [account_id]=[38] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(parent_id=15) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [parent_id]=[15] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(entity_id=0) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [entity_id]=[0] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(call_processed=internal) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(call_direction=inbound) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(accountname=default) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [accountname]=[default] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(origination_rates_did=ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38||ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [origination_rates_did]=[ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38||ID:4104|CODE:^2671000300.*|DESTINATION:2671000300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:27|ACCID:38] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(origination_rates=0) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(original_caller_id_name=71683757) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [original_caller_id_name]=[71683757] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 limit(db 4861816099 user_4861816099 2 ) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_limit.c:124 incr called: 4861816099_user_4861816099 max:2, interval:0 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_db.c:194 Usage for 4861816099_user_4861816099 is now 1/2 EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 limit(hash CPS_4861816099 CPS_user_4861816099 2/1 ) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_limit.c:124 incr called: CPS_4861816099_CPS_user_4861816099 max:2, interval:1 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_hash.c:195 Usage for CPS_4861816099_CPS_user_4861816099 is now 1/2 for the last 1 seconds EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(is_recording=1) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(media_bug_answer_req=true) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(record_sample_rate=8000) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/8ea98469-5408-41f0-906c-896ed4bc218cDID-LOCAL_38.wav) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/8ea98469-5408-41f0-906c-896ed4bc218cDID-LOCAL_38.wav] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(effective_caller_id_name=71683757) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [effective_caller_id_name]=[71683757] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(receiver_accid=38) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [receiver_accid]=[38] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(domain_name=) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(sip_to_host=) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(presence_data=x|||Supplementary Health Services Botswana(4861816099)|||||||||DID|||102.222.8.10) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Supplementary Health Services Botswana(4861816099)|||||||||DID|||102.222.8.10] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 export(call_type=0) 2024-02-09 06:52:14.073665 90.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(calltype=DID-LOCAL) 2024-02-09 06:52:14.073665 90.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 ring_ready() 2024-02-09 06:52:14.073665 90.00% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/71683757@10.0.10.250! 2024-02-09 06:52:14.073665 90.00% [DEBUG] sofia.c:7499 Channel sofia/default/71683757@10.0.10.250 entering state [early][180] 2024-02-09 06:52:14.073665 90.00% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/71683757@10.0.10.250! EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 sleep(5000) EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 bridge({sip_invite_params=user=LOCAL,sip_from_uri=299@102.222.8.134}[leg_timeout=0]sofia/default/299@10.100.4.132;fs_path=sip:102.222.8.132:5060) 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [is_recording]=[1] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/8ea98469-5408-41f0-906c-896ed4bc218cDID-LOCAL_38.wav] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [presence_data]=[x|||Supplementary Health Services Botswana(4861816099)|||||||||DID|||102.222.8.10] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_channel.c:1269 sofia/default/71683757@10.0.10.250 EXPORTING[export_vars] [call_type]=[0] to event 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2024-02-09 06:52:19.093697 90.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2024-02-09 06:52:19.093697 90.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/299@10.100.4.132 [ea556c01-f6ef-4bab-ab37-08dc96184c08] 2024-02-09 06:52:19.093697 90.53% [DEBUG] mod_sofia.c:5121 (sofia/default/299@10.100.4.132) State Change CS_NEW -> CS_INIT 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/299@10.100.4.132) Running State Change CS_INIT (Cur 10 Tot 1021) 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/299@10.100.4.132) State INIT 2024-02-09 06:52:19.113691 90.53% [DEBUG] mod_sofia.c:97 sofia/default/299@10.100.4.132 SOFIA INIT 2024-02-09 06:52:19.113691 90.53% [DEBUG] sofia_glue.c:1620 sip:102.222.8.132:5060 Setting proxy route to sofia/default/299@10.100.4.132 2024-02-09 06:52:19.113691 90.53% [INFO] sofia_glue.c:1651 sofia/default/299@10.100.4.132 sending invite call-id: (null) 2024-02-09 06:52:19.113691 90.53% [DEBUG] sofia_glue.c:1654 sofia/default/299@10.100.4.132 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1707429205 1707429206 IN IP4 102.222.8.134 s=FreeSWITCH c=IN IP4 102.222.8.134 t=0 0 m=audio 32334 RTP/AVP 8 18 101 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-15 a=ptime:20 a=sendrecv 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/299@10.100.4.132 Standard INIT 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/299@10.100.4.132) State Change CS_INIT -> CS_ROUTING 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/299@10.100.4.132) State INIT going to sleep 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/299@10.100.4.132) Running State Change CS_ROUTING (Cur 10 Tot 1021) 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/299@10.100.4.132) State ROUTING 2024-02-09 06:52:19.113691 90.53% [DEBUG] mod_sofia.c:158 sofia/default/299@10.100.4.132 SOFIA ROUTING 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/299@10.100.4.132) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/299@10.100.4.132) State ROUTING going to sleep 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/299@10.100.4.132) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 1021) 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/299@10.100.4.132) State CONSUME_MEDIA 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/299@10.100.4.132) State CONSUME_MEDIA going to sleep 2024-02-09 06:52:19.113691 90.53% [DEBUG] sofia.c:7499 Channel sofia/default/299@10.100.4.132 entering state [calling][0] 2024-02-09 06:52:19.113691 90.53% [DEBUG] sofia.c:7499 Channel sofia/default/299@10.100.4.132 entering state [terminated][404] 2024-02-09 06:52:19.113691 90.53% [NOTICE] sofia.c:8738 Hangup sofia/default/299@10.100.4.132 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/299@10.100.4.132) Running State Change CS_HANGUP (Cur 10 Tot 1021) 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/299@10.100.4.132) Callstate Change DOWN -> HANGUP 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/299@10.100.4.132) State HANGUP 2024-02-09 06:52:19.113691 90.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/299@10.100.4.132 hanging up, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/299@10.100.4.132 Standard HANGUP, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/299@10.100.4.132) State HANGUP going to sleep 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/299@10.100.4.132) State Change CS_HANGUP -> CS_REPORTING 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/299@10.100.4.132) Running State Change CS_REPORTING (Cur 10 Tot 1021) 2024-02-09 06:52:19.113691 90.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/299@10.100.4.132) State REPORTING 2024-02-09 06:52:19.113691 90.53% [INFO] mod_json_cdr.c:271 Process [ea556c01-f6ef-4bab-ab37-08dc96184c08.cdr.json] 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER] 2024-02-09 06:52:19.133686 90.53% [INFO] mod_dptools.c:3653 Originate Failed. Cause: UNALLOCATED_NUMBER EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(did_id=4104) 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [did_id]=[4104] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(destination_number=2671000300) 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [destination_number]=[2671000300] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(leg_timeout=0) 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [leg_timeout]=[0] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(call_type_vm_flag=1) 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [call_type_vm_flag]=[1] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 set(is_local_extension=1) 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/71683757@10.0.10.250 [is_local_extension]=[1] EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 lua(did_call_forwarding.lua) 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-02-09 06:52:19.133686 90.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id : 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_cpp.cpp:1209 sofia/default/71683757@10.0.10.250 destroy/unlink session from object EXECUTE [depth=0] sofia/default/71683757@10.0.10.250 hangup(UNALLOCATED_NUMBER) 2024-02-09 06:52:19.133686 90.53% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/71683757@10.0.10.250 [CS_EXECUTE] [UNALLOCATED_NUMBER] 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_hash.c:293 Usage for CPS_4861816099_CPS_user_4861816099 is now 0 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_session.c:2983 sofia/default/71683757@10.0.10.250 skip receive message [PHONE_EVENT] (channel is hungup already) 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/71683757@10.0.10.250) State EXECUTE going to sleep 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_HANGUP (Cur 10 Tot 1021) 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/71683757@10.0.10.250) Callstate Change RINGING -> HANGUP 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/71683757@10.0.10.250) State HANGUP 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_sofia.c:462 sofia/default/71683757@10.0.10.250 Overriding SIP cause 404 with 404 from the other leg 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/71683757@10.0.10.250 hanging up, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.133686 90.53% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/71683757@10.0.10.250 Standard HANGUP, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/71683757@10.0.10.250) State HANGUP going to sleep 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/71683757@10.0.10.250) State Change CS_HANGUP -> CS_REPORTING 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71683757@10.0.10.250) Running State Change CS_REPORTING (Cur 10 Tot 1021) 2024-02-09 06:52:19.133686 90.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/71683757@10.0.10.250) State REPORTING 2024-02-09 06:52:19.133686 90.53% [INFO] mod_json_cdr.c:271 Process [8ea98469-5408-41f0-906c-896ed4bc218c.cdr.json] 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/71683757@10.0.10.250 Standard REPORTING, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/71683757@10.0.10.250) State REPORTING going to sleep 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/71683757@10.0.10.250) State Change CS_REPORTING -> CS_DESTROY 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_session.c:1753 Session 1020 (sofia/default/71683757@10.0.10.250) Locked, Waiting on external entities 2024-02-09 06:52:19.173697 90.53% [NOTICE] switch_core_session.c:1771 Session 1020 (sofia/default/71683757@10.0.10.250) Ended 2024-02-09 06:52:19.173697 90.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/71683757@10.0.10.250 [CS_DESTROY] 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/71683757@10.0.10.250) Running State Change CS_DESTROY (Cur 9 Tot 1021) 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/71683757@10.0.10.250) State DESTROY 2024-02-09 06:52:19.173697 90.53% [DEBUG] mod_sofia.c:379 sofia/default/71683757@10.0.10.250 SOFIA DESTROY 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/71683757@10.0.10.250 Standard DESTROY 2024-02-09 06:52:19.173697 90.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/71683757@10.0.10.250) State DESTROY going to sleep 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/299@10.100.4.132 Standard REPORTING, cause: UNALLOCATED_NUMBER 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/299@10.100.4.132) State REPORTING going to sleep 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/299@10.100.4.132) State Change CS_REPORTING -> CS_DESTROY 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_session.c:1753 Session 1021 (sofia/default/299@10.100.4.132) Locked, Waiting on external entities 2024-02-09 06:52:19.993673 90.53% [NOTICE] switch_core_session.c:1771 Session 1021 (sofia/default/299@10.100.4.132) Ended 2024-02-09 06:52:19.993673 90.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/299@10.100.4.132 [CS_DESTROY] 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/299@10.100.4.132) Running State Change CS_DESTROY (Cur 8 Tot 1021) 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/299@10.100.4.132) State DESTROY 2024-02-09 06:52:19.993673 90.53% [DEBUG] mod_sofia.c:379 sofia/default/299@10.100.4.132 SOFIA DESTROY 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/299@10.100.4.132 Standard DESTROY 2024-02-09 06:52:19.993673 90.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/299@10.100.4.132) State DESTROY going to sleep 2024-02-09 06:52:38.473664 90.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27121110000@169.239.8.50 [5484aac7-b7f4-43de-9e20-139d9bd7c380] 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_NEW (Cur 9 Tot 1022) 2024-02-09 06:52:38.473664 90.30% [INFO] sofia.c:10462 sofia/default/27121110000@169.239.8.50 receiving invite from 102.222.8.132:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: cdLUtrg0nlHBmqvKUOggmQ..~2o 2024-02-09 06:52:38.473664 90.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.222.8.132:0. 2024-02-09 06:52:38.473664 90.30% [DEBUG] sofia.c:10585 IP 102.222.8.132 Approved by acl "default[]". Access Granted. 2024-02-09 06:52:38.473664 90.30% [DEBUG] sofia.c:7499 Channel sofia/default/27121110000@169.239.8.50 entering state [received][100] 2024-02-09 06:52:38.473664 90.30% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=PortaSIP 3199767563824412152 1 IN IP4 169.239.8.180 s=3cxPS Audio call t=0 0 m=audio 40386 RTP/AVP 18 0 8 9 101 c=IN IP4 169.239.8.180 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 2024-02-09 06:52:38.473664 90.30% [DEBUG] sofia.c:7912 (sofia/default/27121110000@169.239.8.50) State Change CS_NEW -> CS_INIT 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27121110000@169.239.8.50) State NEW 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_INIT (Cur 9 Tot 1022) 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27121110000@169.239.8.50) State INIT 2024-02-09 06:52:38.473664 90.30% [DEBUG] mod_sofia.c:97 sofia/default/27121110000@169.239.8.50 SOFIA INIT 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/27121110000@169.239.8.50 Standard INIT 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27121110000@169.239.8.50) State Change CS_INIT -> CS_ROUTING 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27121110000@169.239.8.50) State INIT going to sleep 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_ROUTING (Cur 9 Tot 1022) 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_channel.c:2380 (sofia/default/27121110000@169.239.8.50) Callstate Change DOWN -> RINGING 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27121110000@169.239.8.50) State ROUTING 2024-02-09 06:52:38.473664 90.30% [DEBUG] mod_sofia.c:158 sofia/default/27121110000@169.239.8.50 SOFIA ROUTING 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/27121110000@169.239.8.50 Standard ROUTING 2024-02-09 06:52:38.473664 90.30% [INFO] mod_dialplan_xml.c:639 Processing 27121110000 <27121110000>->27874744110 in context default 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-02-09 06:52:38.473664 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-09 06:52:38.493682 90.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 2439ccb8-a3e6-4bf4-a3ed-f4bd21a538b7 FreeSWITCH-Hostname: fswitch2 FreeSWITCH-Switchname: fswitch2 FreeSWITCH-IPv4: 102.222.8.134 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2024-02-09%2006%3A52%3A38 Event-Date-GMT: Fri,%2009%20Feb%202024%2006%3A52%3A38%20GMT Event-Date-Timestamp: 1707461558473664 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 87491 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/27121110000%40169.239.8.50 Unique-ID: 5484aac7-b7f4-43de-9e20-139d9bd7c380 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 27121110000%40169.239.8.50 Channel-Call-UUID: 5484aac7-b7f4-43de-9e20-139d9bd7c380 Answer-State: ringing Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 27121110000 Caller-Dialplan: XML Caller-Caller-ID-Name: 27121110000 Caller-Caller-ID-Number: 27121110000 Caller-Orig-Caller-ID-Name: 27121110000 Caller-Orig-Caller-ID-Number: 27121110000 Caller-Network-Addr: 102.222.8.132 Caller-ANI: 27121110000 Caller-Destination-Number: 27874744110 Caller-Unique-ID: 5484aac7-b7f4-43de-9e20-139d9bd7c380 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/27121110000%40169.239.8.50 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1707461558473664 Caller-Channel-Created-Time: 1707461558473664 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: 5484aac7-b7f4-43de-9e20-139d9bd7c380 variable_session_id: 1022 variable_sip_from_user: 27121110000 variable_sip_from_uri: 27121110000%40169.239.8.50 variable_sip_from_host: 169.239.8.50 variable_video_media_flow: disabled variable_audio_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/27121110000%40169.239.8.50 variable_sip_call_id: cdLUtrg0nlHBmqvKUOggmQ..~2o variable_sip_local_network_addr: 102.222.8.134 variable_sip_network_ip: 102.222.8.132 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1707461558473664 variable_sip_received_ip: 102.222.8.132 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 27121110000 variable_sip_from_tag: 2chdqjLtqbgLD2mD.o variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40102.222.8.134%3A5060 variable_recovery_profile_name: default variable_sip_Remote-Party-ID: 27121110000%20%3Csip%3A27121110000%40169.239.8.50%3E%3Bparty%3Dcalling variable_sip_P-Asserted-Identity: 27121110000 variable_sip_cid_type: pid variable_sip_invite_route_uri: %3Csip%3A102.222.8.132%3Blr%3Bdid%3D6f1.3e798402%3E,%3Csip%3A169.239.8.50%3Blr%3Bep%3E variable_sip_invite_record_route: %3Csip%3A169.239.8.50%3Blr%3Bep%3E,%3Csip%3A102.222.8.132%3Blr%3Bdid%3D6f1.3e798402%3E variable_sip_full_via: SIP/2.0/UDP%20102.222.8.132%3A5060%3Bbranch%3Dz9hG4bK6bbc.9e176c94.0,SIP/2.0/UDP%20169.239.8.50%3A5060%3Breceived%3D169.239.8.50%3Bbranch%3Dz9hG4bK-524287-1---ac6b75da5041551a36c8cf21396bb765%3Brport%3D5060,SIP/2.0/UDP%20169.239.8.180%3A5072%3Bbranch%3Dz9hG4bK-yearoobppqdoy3gi%3Brport%3D5072 variable_sip_from_display: 27121110000 variable_sip_full_from: 27121110000%20%3Csip%3A27121110000%40169.239.8.50%3E%3Btag%3D2chdqjLtqbgLD2mD.o variable_sip_full_to: %3Csip%3A27874744110%40102.222.8.132%3E variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE variable_sip_req_user: 27874744110 variable_sip_req_port: 5060 variable_sip_req_uri: 27874744110%40102.222.8.132%3A5060 variable_sip_req_host: 102.222.8.132 variable_sip_to_user: 27874744110 variable_sip_to_uri: 27874744110%40102.222.8.132 variable_sip_to_host: 102.222.8.132 variable_sip_contact_user: nobody variable_sip_contact_port: 5072 variable_sip_contact_uri: nobody%40169.239.8.180%3A5072 variable_sip_contact_host: 169.239.8.180 variable_rtp_use_codec_string: G729,PCMA,PCMU variable_sip_user_agent: PortaSIP variable_sip_via_host: 102.222.8.132 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 27121110000%40169.239.8.50 variable_sip_h_X-AUTH-IP: 169.239.8.50 variable_sip_h_P-Accountcode: 7735209202 variable_sip_h_P-effective_caller_id_name: 27121110000 variable_sip_h_P-effective_caller_id_number: %3Cnull%3E variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%203199767563824412152%201%20IN%20IP4%20169.239.8.180%0D%0As%3D3cxPS%20Audio%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2040386%20RTP/AVP%2018%200%208%209%20101%0D%0Ac%3DIN%20IP4%20169.239.8.180%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0A variable_ep_codec_string: mod_bcg729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_endpoint_disposition: DELAYED%20NEGOTIATION variable_call_uuid: 5484aac7-b7f4-43de-9e20-139d9bd7c380 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 27121110000 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 27121110000 Hunt-Caller-ID-Number: 27121110000 Hunt-Orig-Caller-ID-Name: 27121110000 Hunt-Orig-Caller-ID-Number: 27121110000 Hunt-Network-Addr: 102.222.8.132 Hunt-ANI: 27121110000 Hunt-Destination-Number: 27874744110 Hunt-Unique-ID: 5484aac7-b7f4-43de-9e20-139d9bd7c380 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/27121110000%40169.239.8.50 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1707461558473664 Hunt-Channel-Created-Time: 1707461558473664 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 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27874744110 2024-02-09 06:52:38.493682 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27874744110' AND status=0 limit 1 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27121110000 / 2024-02-09 06:52:38.493682 90.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2024-02-09 06:52:38.493682 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:38.493682 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27874744110" LIMIT 1 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-02-09 06:52:38.493682 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7735209202] 2024-02-09 06:52:38.493682 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7735209202" AND deleted = 0 limit 1 2024-02-09 06:52:38.513660 90.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27874744110" AND (accountid = 0 OR status = 1) LIMIT 1 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 54 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [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 = '^27874744110.*' OR patterns = '^2787474411.*' OR patterns = '^278747441.*' OR patterns = '^27874744.*' OR patterns = '^2787474.*' OR patterns = '^278747.*' OR patterns = '^27874.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 54 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [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 ="27874744110" AND A.accountid = '36' limit 1 2024-02-09 06:52:38.513660 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27874744110 2024-02-09 06:52:38.513660 90.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1 2024-02-09 06:52:38.513660 90.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27874744110" LIMIT 1 2024-02-09 06:52:38.513660 90.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-02-09 06:52:38.513660 90.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '27874744110' OR number = '2787474411' OR number = '278747441' OR number = '27874744' OR number = '2787474' OR number = '278747' OR number = '27874' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27874744110*' OR number = '2787474411*' OR number = '278747441*' OR number = '27874744*' OR number = '2787474*' OR number = '278747*' OR number = '27874*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '' OR number = '
Dialplan: sofia/default/27121110000@169.239.8.50 parsing [default->27874744110] continue=false Dialplan: sofia/default/27121110000@169.239.8.50 Regex (PASS) [27874744110] destination_number(27874744110) =~ /27874744110/ break=on-false Dialplan: sofia/default/27121110000@169.239.8.50 Action set(effective_destination_number=27874744110) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(callstart=2024-02-09 06:52:37) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(account_id=36) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(parent_id=0) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(entity_id=3) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(call_processed=internal) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(call_direction=inbound) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(accountname=default) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(origination_rates_did=ID:4330|CODE:^27874744110.*|DESTINATION:27874744110|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:54) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(origination_rates=0) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(original_caller_id_name=27121110000) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(is_recording=1) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(media_bug_answer_req=true) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(record_sample_rate=8000) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_54.wav) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(effective_caller_id_name=27121110000) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(receiver_accid=54) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(domain_name=) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(sip_to_host=) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(presence_data=x|||Turner and Townsend(5427)|||||||||DID|||169.239.8.50) Dialplan: sofia/default/27121110000@169.239.8.50 Action export(call_type=0) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/27121110000@169.239.8.50 Action ring_ready() Dialplan: sofia/default/27121110000@169.239.8.50 Action sleep(5000) Dialplan: sofia/default/27121110000@169.239.8.50 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=101@${domain_name}}[leg_timeout=30]sofia/${sofia_profile_name}/101@10.100.4.132;fs_path=sip:102.222.8.132:5060) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(did_id=4330) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(destination_number=27874744110) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(leg_timeout=30) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(call_type_vm_flag=1) Dialplan: sofia/default/27121110000@169.239.8.50 Action set(is_local_extension=1) Dialplan: sofia/default/27121110000@169.239.8.50 Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [27874744110_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/27121110000@169.239.8.50 Regex (FAIL) [27874744110_recur_1] ${cond(${user_data 101@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/27121110000@169.239.8.50 ANTI-Action hangup(${originate_disposition}) 2024-02-09 06:52:38.553677 90.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27121110000@169.239.8.50) State Change CS_ROUTING -> CS_EXECUTE 2024-02-09 06:52:38.553677 90.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27121110000@169.239.8.50) State ROUTING going to sleep 2024-02-09 06:52:38.553677 90.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_EXECUTE (Cur 9 Tot 1022) 2024-02-09 06:52:38.553677 90.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27121110000@169.239.8.50) State EXECUTE 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_sofia.c:213 sofia/default/27121110000@169.239.8.50 SOFIA EXECUTE 2024-02-09 06:52:38.553677 90.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/27121110000@169.239.8.50 Standard EXECUTE EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(effective_destination_number=27874744110) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [effective_destination_number]=[27874744110] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(callstart=2024-02-09 06:52:37) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [callstart]=[2024-02-09 06:52:37] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(hangup_after_bridge=true) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(continue_on_fail=TRUE) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(account_id=36) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [account_id]=[36] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(parent_id=0) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [parent_id]=[0] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(entity_id=3) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [entity_id]=[3] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(call_processed=internal) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(call_direction=inbound) 2024-02-09 06:52:38.553677 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(accountname=default) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [accountname]=[default] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(origination_rates_did=ID:4330|CODE:^27874744110.*|DESTINATION:27874744110|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:54) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [origination_rates_did]=[ID:4330|CODE:^27874744110.*|DESTINATION:27874744110|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:54] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(origination_rates=0) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(original_caller_id_name=27121110000) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [original_caller_id_name]=[27121110000] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(is_recording=1) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(media_bug_answer_req=true) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(record_sample_rate=8000) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/5484aac7-b7f4-43de-9e20-139d9bd7c380DID-LOCAL_54.wav) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/5484aac7-b7f4-43de-9e20-139d9bd7c380DID-LOCAL_54.wav] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(effective_caller_id_name=27121110000) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [effective_caller_id_name]=[27121110000] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(receiver_accid=54) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [receiver_accid]=[54] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(domain_name=) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(sip_to_host=) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(presence_data=x|||Turner and Townsend(5427)|||||||||DID|||169.239.8.50) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Turner and Townsend(5427)|||||||||DID|||169.239.8.50] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 export(call_type=0) 2024-02-09 06:52:38.573676 90.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(calltype=DID-LOCAL) 2024-02-09 06:52:38.573676 90.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 ring_ready() 2024-02-09 06:52:38.573676 90.30% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27121110000@169.239.8.50! 2024-02-09 06:52:38.573676 90.30% [DEBUG] sofia.c:7499 Channel sofia/default/27121110000@169.239.8.50 entering state [early][180] 2024-02-09 06:52:38.573676 90.30% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/27121110000@169.239.8.50! EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 sleep(5000)