+OK log level [7]
2024-02-08 14:00:20.295429 94.97% [DEBUG] mod_hash.c:231 Freeing limit item: CPS_5427_CPS_user_5427
2024-02-08 14:00:22.195426 95.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27121110000@169.239.8.50 [448e4778-d3bd-4197-9e8b-3dfacf8cfb34]
2024-02-08 14:00:22.195426 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_NEW (Cur 7 Tot 939)
2024-02-08 14:00:22.195426 95.00% [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: nUG217XgQsVytNG0LboHkg..~2o
2024-02-08 14:00:22.195426 95.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.222.8.132:0.
2024-02-08 14:00:22.195426 95.00% [DEBUG] sofia.c:10585 IP 102.222.8.132 Approved by acl "default[]". Access Granted.
2024-02-08 14:00:22.215424 95.00% [DEBUG] sofia.c:7499 Channel sofia/default/27121110000@169.239.8.50 entering state [received][100]
2024-02-08 14:00:22.215424 95.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=PortaSIP 2300096830271251661 1 IN IP4 169.239.8.180
s=3cxPS Audio call
t=0 0
m=audio 40742 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-08 14:00:22.215424 95.00% [DEBUG] sofia.c:7912 (sofia/default/27121110000@169.239.8.50) State Change CS_NEW -> CS_INIT
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27121110000@169.239.8.50) State NEW
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_INIT (Cur 7 Tot 939)
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27121110000@169.239.8.50) State INIT
2024-02-08 14:00:22.215424 95.00% [DEBUG] mod_sofia.c:97 sofia/default/27121110000@169.239.8.50 SOFIA INIT
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27121110000@169.239.8.50 Standard INIT
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27121110000@169.239.8.50) State Change CS_INIT -> CS_ROUTING
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27121110000@169.239.8.50) State INIT going to sleep
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_ROUTING (Cur 7 Tot 939)
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_channel.c:2380 (sofia/default/27121110000@169.239.8.50) Callstate Change DOWN -> RINGING
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27121110000@169.239.8.50) State ROUTING
2024-02-08 14:00:22.215424 95.00% [DEBUG] mod_sofia.c:158 sofia/default/27121110000@169.239.8.50 SOFIA ROUTING
2024-02-08 14:00:22.215424 95.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27121110000@169.239.8.50 Standard ROUTING
2024-02-08 14:00:22.215424 95.00% [INFO] mod_dialplan_xml.c:639 Processing 27121110000 <27121110000>->27874744110 in context default
2024-02-08 14:00:22.235428 95.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-08 14:00:22.235428 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-08 14:00:22.235428 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 1917667a-4f02-4545-886f-bbee36fff931
FreeSWITCH-Hostname: fswitch1
FreeSWITCH-Switchname: fswitch1
FreeSWITCH-IPv4: 102.222.8.133
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2024-02-08%2014%3A00%3A22
Event-Date-GMT: Thu,%2008%20Feb%202024%2014%3A00%3A22%20GMT
Event-Date-Timestamp: 1707400822215424
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 51396
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/27121110000%40169.239.8.50
Unique-ID: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 27121110000%40169.239.8.50
Channel-Call-UUID: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
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: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
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: 1707400822195426
Caller-Channel-Created-Time: 1707400822195426
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: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
variable_session_id: 939
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: nUG217XgQsVytNG0LboHkg..~2o
variable_sip_local_network_addr: 102.222.8.133
variable_sip_network_ip: 102.222.8.132
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1707400822195426
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: zcZntm63nsAyJvoR.o
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40102.222.8.133%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%3Df05.6f60cf11%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%3Df05.6f60cf11%3E
variable_sip_full_via: SIP/2.0/UDP%20102.222.8.132%3A5060%3Bbranch%3Dz9hG4bK1822.90144e52.0,SIP/2.0/UDP%20169.239.8.50%3A5060%3Breceived%3D169.239.8.50%3Bbranch%3Dz9hG4bK-524287-1---8e38d37a235836a3dfa29c40973a0a4c%3Brport%3D5060,SIP/2.0/UDP%20169.239.8.180%3A5090%3Bbranch%3Dz9hG4bK-tfs2qnv3klwt56kk%3Brport%3D5090
variable_sip_from_display: 27121110000
variable_sip_full_from: 27121110000%20%3Csip%3A27121110000%40169.239.8.50%3E%3Btag%3DzcZntm63nsAyJvoR.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: 5090
variable_sip_contact_uri: nobody%40169.239.8.180%3A5090
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%202300096830271251661%201%20IN%20IP4%20169.239.8.180%0D%0As%3D3cxPS%20Audio%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2040742%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: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
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: 448e4778-d3bd-4197-9e8b-3dfacf8cfb34
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: 1707400822195426
Hunt-Channel-Created-Time: 1707400822195426
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-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27874744110
2024-02-08 14:00:22.235428 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27874744110' AND status=0 limit 1
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27121110000 / <null>
2024-02-08 14:00:22.235428 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-02-08 14:00:22.235428 95.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-08 14:00:22.235428 95.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 ="27874744110" LIMIT 1
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2024-02-08 14:00:22.235428 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7735209202]
2024-02-08 14:00:22.235428 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7735209202" AND deleted = 0 limit 1
2024-02-08 14:00:22.235428 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
2024-02-08 14:00:22.235428 95.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-08 14:00:22.235428 95.00% [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-08 14:00:22.235428 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2024-02-08 14:00:22.235428 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 54
2024-02-08 14:00:22.235428 95.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 = '^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-08 14:00:22.235428 95.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 ="27874744110" AND A.accountid = '36' limit 1
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27874744110
2024-02-08 14:00:22.275328 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-02-08 14:00:22.275328 95.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-08 14:00:22.275328 95.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 ="27874744110" LIMIT 1
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2024-02-08 14:00:22.275328 95.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 = '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 = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-02-08 14:00:22.275328 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-02-08 14:00:22.275328 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27874744110' OR routing_prefix = '2787474411' OR routing_prefix = '278747441' OR routing_prefix = '27874744' OR routing_prefix = '2787474' OR routing_prefix = '278747' OR routing_prefix = '27874' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 36
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7735209202
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-02-08 14:00:22.275328 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-02-08 14:00:22.275328 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2024-02-08 14:00:22.295356 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-02-08 14:00:22.295356 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-02-08 14:00:22.295356 95.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-08 14:00:22.295356 95.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 ="27874744110" LIMIT 1
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4330
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 27874744110
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 36
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 36 !!!
2024-02-08 14:00:22.295356 95.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2024-02-08 14:00:22.295356 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 36 AND status=0 LIMIT 1
2024-02-08 14:00:22.295356 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "54" AND deleted = 0 limit 1
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:36
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:36
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 36
2024-02-08 14:00:22.295356 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-02-08 14:00:22.295356 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-08 14:00:22.315427 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-02-08 14:00:22.315427 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 54 and status = 0 limit 1
2024-02-08 14:00:22.315427 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
2024-02-08 14:00:22.315427 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2024-02-08 14:00:22.315427 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='101'
2024-02-08 14:00:22.315427 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="27874744110">
<condition field="destination_number" expression="27874744110">
<action application="set" data="effective_destination_number=27874744110"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2024-02-08 14:00:22"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=36"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="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"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=27121110000"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_54.wav"/>
<action application="set" data="effective_caller_id_name=27121110000"/>
<action application="set" data="receiver_accid=54"/>
<action application="export" data="domain_name="/>
<action application="export" data="sip_to_host="/>
<action application="export" data="presence_data=x|||Turner and Townsend(5427)|||||||||DID|||169.239.8.50"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="ring_ready"/>
<action application="sleep" data="5000"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=101@${domain_name}}[leg_timeout=30]sofia/${sofia_profile_name}/101@102.222.8.132;fs_path=sip:102.222.8.132:5060"/>
<condition field="${cond(${user_data 101@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=27874744110"/>
<action application="voicemail" data="default $${domain_name} 101"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
<action application="set" data="did_id=4330"/>
<action application="set" data="destination_number=27874744110"/>
<action application="set" data="leg_timeout=30"/>
<action application="set" data="call_type_vm_flag=1"/>
<action application="set" data="is_local_extension=1"/>
<action application="lua" data="did_call_forwarding.lua"/>
</condition>
</extension>
</context>
</section>
</document>
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-08 14:00:22)
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@102.222.8.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-08 14:00:22.355429 95.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27121110000@169.239.8.50) State Change CS_ROUTING -> CS_EXECUTE
2024-02-08 14:00:22.355429 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27121110000@169.239.8.50) State ROUTING going to sleep
2024-02-08 14:00:22.355429 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_EXECUTE (Cur 7 Tot 939)
2024-02-08 14:00:22.355429 95.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27121110000@169.239.8.50) State EXECUTE
2024-02-08 14:00:22.355429 95.00% [DEBUG] mod_sofia.c:213 sofia/default/27121110000@169.239.8.50 SOFIA EXECUTE
2024-02-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22)
2024-02-08 14:00:22.355429 95.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [callstart]=[2024-02-08 14:00:22]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(hangup_after_bridge=true)
2024-02-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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/448e4778-d3bd-4197-9e8b-3dfacf8cfb34DID-LOCAL_54.wav)
2024-02-08 14:00:22.355429 95.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/448e4778-d3bd-4197-9e8b-3dfacf8cfb34DID-LOCAL_54.wav]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(effective_caller_id_name=27121110000)
2024-02-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [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-08 14:00:22.355429 95.00% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27121110000@169.239.8.50!
2024-02-08 14:00:22.355429 95.00% [DEBUG] sofia.c:7499 Channel sofia/default/27121110000@169.239.8.50 entering state [early][180]
2024-02-08 14:00:22.355429 95.00% [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)
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 bridge({sip_invite_params=user=LOCAL,sip_from_uri=101@102.222.8.133}[leg_timeout=30]sofia/default/101@102.222.8.132;fs_path=sip:102.222.8.132:5060)
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [is_recording]=[1] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/448e4778-d3bd-4197-9e8b-3dfacf8cfb34DID-LOCAL_54.wav] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [presence_data]=[x|||Turner and Townsend(5427)|||||||||DID|||169.239.8.50] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_channel.c:1269 sofia/default/27121110000@169.239.8.50 EXPORTING[export_vars] [call_type]=[0] to event
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2024-02-08 14:00:27.415432 94.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/101@102.222.8.132 [a2305bda-0b67-461f-85d8-f4f915d88950]
2024-02-08 14:00:27.415432 94.93% [DEBUG] mod_sofia.c:5121 (sofia/default/101@102.222.8.132) State Change CS_NEW -> CS_INIT
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_ivr_originate.c:3151 sofia/default/101@102.222.8.132 Setting leg timeout to 30
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@102.222.8.132) Running State Change CS_INIT (Cur 8 Tot 940)
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@102.222.8.132) State INIT
2024-02-08 14:00:27.415432 94.93% [DEBUG] mod_sofia.c:97 sofia/default/101@102.222.8.132 SOFIA INIT
2024-02-08 14:00:27.415432 94.93% [DEBUG] sofia_glue.c:1620 sip:102.222.8.132:5060 Setting proxy route to sofia/default/101@102.222.8.132
2024-02-08 14:00:27.415432 94.93% [INFO] sofia_glue.c:1651 sofia/default/101@102.222.8.132 sending invite call-id: (null)
2024-02-08 14:00:27.415432 94.93% [DEBUG] sofia_glue.c:1654 sofia/default/101@102.222.8.132 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1707371657 1707371658 IN IP4 102.222.8.133
s=FreeSWITCH
c=IN IP4 102.222.8.133
t=0 0
m=audio 29170 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/101@102.222.8.132 Standard INIT
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@102.222.8.132) State Change CS_INIT -> CS_ROUTING
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@102.222.8.132) State INIT going to sleep
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@102.222.8.132) Running State Change CS_ROUTING (Cur 8 Tot 940)
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@102.222.8.132) State ROUTING
2024-02-08 14:00:27.415432 94.93% [DEBUG] mod_sofia.c:158 sofia/default/101@102.222.8.132 SOFIA ROUTING
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_ivr_originate.c:67 (sofia/default/101@102.222.8.132) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@102.222.8.132) State ROUTING going to sleep
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@102.222.8.132) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 940)
2024-02-08 14:00:27.415432 94.93% [DEBUG] sofia.c:7499 Channel sofia/default/101@102.222.8.132 entering state [calling][0]
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/101@102.222.8.132) State CONSUME_MEDIA
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/101@102.222.8.132) State CONSUME_MEDIA going to sleep
2024-02-08 14:00:27.415432 94.93% [DEBUG] sofia.c:7499 Channel sofia/default/101@102.222.8.132 entering state [terminated][404]
2024-02-08 14:00:27.415432 94.93% [NOTICE] sofia.c:8738 Hangup sofia/default/101@102.222.8.132 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@102.222.8.132) Running State Change CS_HANGUP (Cur 8 Tot 940)
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/101@102.222.8.132) Callstate Change DOWN -> HANGUP
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@102.222.8.132) State HANGUP
2024-02-08 14:00:27.415432 94.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/101@102.222.8.132 hanging up, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/101@102.222.8.132 Standard HANGUP, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@102.222.8.132) State HANGUP going to sleep
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/101@102.222.8.132) State Change CS_HANGUP -> CS_REPORTING
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@102.222.8.132) Running State Change CS_REPORTING (Cur 8 Tot 940)
2024-02-08 14:00:27.415432 94.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@102.222.8.132) State REPORTING
2024-02-08 14:00:27.415432 94.93% [INFO] mod_json_cdr.c:271 Process [a2305bda-0b67-461f-85d8-f4f915d88950.cdr.json]
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
2024-02-08 14:00:27.435431 94.93% [INFO] mod_dptools.c:3653 Originate Failed. Cause: UNALLOCATED_NUMBER
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(did_id=4330)
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [did_id]=[4330]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(destination_number=27874744110)
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [destination_number]=[27874744110]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(leg_timeout=30)
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [leg_timeout]=[30]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(call_type_vm_flag=1)
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [call_type_vm_flag]=[1]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 set(is_local_extension=1)
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27121110000@169.239.8.50 [is_local_extension]=[1]
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 lua(did_call_forwarding.lua)
2024-02-08 14:00:27.435431 94.93% [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-08 14:00:27.435431 94.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id :
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_cpp.cpp:1209 sofia/default/27121110000@169.239.8.50 destroy/unlink session from object
EXECUTE [depth=0] sofia/default/27121110000@169.239.8.50 hangup(UNALLOCATED_NUMBER)
2024-02-08 14:00:27.435431 94.93% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27121110000@169.239.8.50 [CS_EXECUTE] [UNALLOCATED_NUMBER]
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_session.c:2983 sofia/default/27121110000@169.239.8.50 skip receive message [PHONE_EVENT] (channel is hungup already)
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27121110000@169.239.8.50) State EXECUTE going to sleep
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_HANGUP (Cur 8 Tot 940)
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27121110000@169.239.8.50) Callstate Change RINGING -> HANGUP
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27121110000@169.239.8.50) State HANGUP
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_sofia.c:462 sofia/default/27121110000@169.239.8.50 Overriding SIP cause 404 with 404 from the other leg
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/27121110000@169.239.8.50 hanging up, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:27.435431 94.93% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/27121110000@169.239.8.50 Standard HANGUP, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27121110000@169.239.8.50) State HANGUP going to sleep
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27121110000@169.239.8.50) State Change CS_HANGUP -> CS_REPORTING
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27121110000@169.239.8.50) Running State Change CS_REPORTING (Cur 8 Tot 940)
2024-02-08 14:00:27.435431 94.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27121110000@169.239.8.50) State REPORTING
2024-02-08 14:00:27.435431 94.93% [INFO] mod_json_cdr.c:271 Process [448e4778-d3bd-4197-9e8b-3dfacf8cfb34.cdr.json]
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/27121110000@169.239.8.50 Standard REPORTING, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27121110000@169.239.8.50) State REPORTING going to sleep
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27121110000@169.239.8.50) State Change CS_REPORTING -> CS_DESTROY
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_session.c:1753 Session 939 (sofia/default/27121110000@169.239.8.50) Locked, Waiting on external entities
2024-02-08 14:00:27.495436 94.93% [NOTICE] switch_core_session.c:1771 Session 939 (sofia/default/27121110000@169.239.8.50) Ended
2024-02-08 14:00:27.495436 94.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27121110000@169.239.8.50 [CS_DESTROY]
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27121110000@169.239.8.50) Running State Change CS_DESTROY (Cur 7 Tot 940)
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27121110000@169.239.8.50) State DESTROY
2024-02-08 14:00:27.495436 94.93% [DEBUG] mod_sofia.c:379 sofia/default/27121110000@169.239.8.50 SOFIA DESTROY
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/27121110000@169.239.8.50 Standard DESTROY
2024-02-08 14:00:27.495436 94.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27121110000@169.239.8.50) State DESTROY going to sleep
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/101@102.222.8.132 Standard REPORTING, cause: UNALLOCATED_NUMBER
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@102.222.8.132) State REPORTING going to sleep
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/101@102.222.8.132) State Change CS_REPORTING -> CS_DESTROY
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_session.c:1753 Session 940 (sofia/default/101@102.222.8.132) Locked, Waiting on external entities
2024-02-08 14:00:28.155439 94.87% [NOTICE] switch_core_session.c:1771 Session 940 (sofia/default/101@102.222.8.132) Ended
2024-02-08 14:00:28.155439 94.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/101@102.222.8.132 [CS_DESTROY]
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/101@102.222.8.132) Running State Change CS_DESTROY (Cur 6 Tot 940)
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@102.222.8.132) State DESTROY
2024-02-08 14:00:28.155439 94.87% [DEBUG] mod_sofia.c:379 sofia/default/101@102.222.8.132 SOFIA DESTROY
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/101@102.222.8.132 Standard DESTROY
2024-02-08 14:00:28.155439 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@102.222.8.132) State DESTROY going to sleep