span style="color: cornflowerblue; font-weight: bold;"> 2022-10-04 07:57:21.939952 [NOTICE] switch_channel.c:1118 New Channel sofia/default/101@262941.yoursipcloud.com [c0252e5a-12ca-4181-ad2a-11cde0cf9cac]
2022-10-04 07:57:21.939952 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_NEW (Cur 1 Tot 73602)
2022-10-04 07:57:21.939952 [DEBUG] sofia.c:10280 sofia/default/101@262941.yoursipcloud.com receiving invite from 103.240.35.46:39146 version: 1.10.5 -release-17-25569c1631 64bit
2022-10-04 07:57:21.939952 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0.
2022-10-04 07:57:21.939952 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [31403001000@262941.yoursipcloud.com] from ip 103.240.35.46
2022-10-04 07:57:21.939952 [DEBUG] switch_core_state_machine.c:604 (sofia/default/101@262941.yoursipcloud.com) State NEW
2022-10-04 07:57:21.939952 [DEBUG] sofia.c:2434 detaching session c0252e5a-12ca-4181-ad2a-11cde0cf9cac
2022-10-04 07:57:22.319956 [DEBUG] sofia.c:2544 Re-attaching to session c0252e5a-12ca-4181-ad2a-11cde0cf9cac
2022-10-04 07:57:22.319956 [DEBUG] sofia.c:10280 sofia/default/101@262941.yoursipcloud.com receiving invite from 103.240.35.46:39146 version: 1.10.5 -release-17-25569c1631 64bit
2022-10-04 07:57:22.319956 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 103.240.35.46:0.
2022-10-04 07:57:22.339952 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
2022-10-04 07:57:22.339952 [DEBUG] sofia.c:7326 Channel sofia/default/101@262941.yoursipcloud.com entering state [received][100]
2022-10-04 07:57:22.339952 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.240.35.46
s=Z
c=IN IP4 103.240.35.46
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/101@262941.yoursipcloud.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-10-04 07:57:22.339952 [DEBUG] switch_core_codec.c:111 sofia/default/101@262941.yoursipcloud.com Original read codec set to PCMA:8
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-10-04 07:57:22.339952 [DEBUG] switch_core_media.c:5911 sofia/default/101@262941.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-10-04 07:57:22.339952 [DEBUG] sofia.c:7760 (sofia/default/101@262941.yoursipcloud.com) State Change CS_NEW -> CS_INIT
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_INIT (Cur 1 Tot 73602)
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@262941.yoursipcloud.com) State INIT
2022-10-04 07:57:22.339952 [DEBUG] mod_sofia.c:93 sofia/default/101@262941.yoursipcloud.com SOFIA INIT
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:40 sofia/default/101@262941.yoursipcloud.com Standard INIT
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@262941.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@262941.yoursipcloud.com) State INIT going to sleep
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_ROUTING (Cur 1 Tot 73602)
2022-10-04 07:57:22.339952 [DEBUG] switch_channel.c:2332 (sofia/default/101@262941.yoursipcloud.com) Callstate Change DOWN -> RINGING
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@262941.yoursipcloud.com) State ROUTING
2022-10-04 07:57:22.339952 [DEBUG] mod_sofia.c:154 sofia/default/101@262941.yoursipcloud.com SOFIA ROUTING
2022-10-04 07:57:22.339952 [DEBUG] switch_core_state_machine.c:236 sofia/default/101@262941.yoursipcloud.com Standard ROUTING
2022-10-04 07:57:22.339952 [INFO] mod_dialplan_xml.c:637 Processing 101 <101>->31403001000 in context default
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-10-04 07:57:22.359951 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 1ac89bd8-e2b4-4fc5-8c35-d377aa4e146c
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-10-04%2007%3A57%3A22
Event-Date-GMT: Tue,%2004%20Oct%202022%2005%3A57%3A22%20GMT
Event-Date-Timestamp: 1664863042339952
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 6549828
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/101%40262941.yoursipcloud.com
Unique-ID: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 101%40262941.yoursipcloud.com
Channel-Call-UUID: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 101
Caller-Dialplan: XML
Caller-Caller-ID-Name: 101
Caller-Caller-ID-Number: 101
Caller-Orig-Caller-ID-Name: 101
Caller-Orig-Caller-ID-Number: 101
Caller-Network-Addr: 103.240.35.46
Caller-ANI: 101
Caller-Destination-Number: 31403001000
Caller-Unique-ID: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/101%40262941.yoursipcloud.com
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1664863042339952
Caller-Channel-Created-Time: 1664863042339952
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: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
variable_session_id: 73602
variable_sip_from_params: transport%3DTCP
variable_sip_from_user: 101
variable_sip_from_uri: 101%40262941.yoursipcloud.com
variable_sip_from_host: 262941.yoursipcloud.com
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/101%40262941.yoursipcloud.com
variable_sip_call_id: Y2IwOTk0MzY5NTYxODkzNTZjMWNhNDg1OWQ4MDRkYmI.
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 103.240.35.46
variable_sip_network_port: 39146
variable_sip_invite_stamp: 1664863042319956
variable_sip_received_ip: 103.240.35.46
variable_sip_received_port: 39146
variable_sip_via_protocol: tcp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: 1ac89bd8-e2b4-4fc5-8c35-d377aa4e146c
variable_FreeSWITCH-Hostname: multitenant-1
variable_FreeSWITCH-Switchname: multitenant-1
variable_FreeSWITCH-IPv4: 185.249.40.236
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2022-10-04%2007%3A57%3A22
variable_Event-Date-GMT: Tue,%2004%20Oct%202022%2005%3A57%3A22%20GMT
variable_Event-Date-Timestamp: 1664863042319956
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10542
variable_Event-Sequence: 6549819
variable_sip_number_alias: 101
variable_sip_auth_username: 101
variable_sip_auth_realm: 262941.yoursipcloud.com
variable_number_alias: 101
variable_requested_user_name: 101
variable_requested_domain_name: 262941.yoursipcloud.com
variable_effective_caller_id_number: 31237910150
variable_sipcall: true
variable_sip_user: 101
variable_accountcode: 262941
variable_user_name: 101
variable_domain_name: 262941.yoursipcloud.com
variable_sip_from_user_stripped: 101
variable_sip_from_tag: 21fc2914
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/TCP%20192.168.1.62%3A40154%3Bbranch%3Dz9hG4bK-d8754z-f3fe6dff3a4c52e7-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D39146
variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.62%3A40154%3Bbranch%3Dz9hG4bK-d8754z-f3fe6dff3a4c52e7-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D39146
variable_sip_full_from: %3Csip%3A101%40262941.yoursipcloud.com%3Btransport%3DTCP%3E%3Btag%3D21fc2914
variable_sip_full_to: %3Csip%3A31403001000%40262941.yoursipcloud.com%3Btransport%3DTCP%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
variable_sip_req_params: transport%3DTCP
variable_sip_req_user: 31403001000
variable_sip_req_uri: 31403001000%40262941.yoursipcloud.com
variable_sip_req_host: 262941.yoursipcloud.com
variable_sip_to_params: transport%3DTCP
variable_sip_to_user: 31403001000
variable_sip_to_uri: 31403001000%40262941.yoursipcloud.com
variable_sip_to_host: 262941.yoursipcloud.com
variable_sip_contact_params: transport%3DTCP
variable_sip_contact_user: 101
variable_sip_contact_port: 40154
variable_sip_contact_uri: 101%40103.240.35.46%3A40154
variable_sip_contact_host: 103.240.35.46
variable_sip_user_agent: Z%203.3.25608%20r25552
variable_sip_via_host: 192.168.1.62
variable_sip_via_port: 40154
variable_sip_via_rport: 39146
variable_max_forwards: 70
variable_presence_id: 101%40262941.yoursipcloud.com
variable_sip_nat_detected: true
variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.35.46%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.35.46%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 103.240.35.46
variable_remote_media_port: 8000
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 101
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 101
Hunt-Caller-ID-Number: 101
Hunt-Orig-Caller-ID-Name: 101
Hunt-Orig-Caller-ID-Number: 101
Hunt-Network-Addr: 103.240.35.46
Hunt-ANI: 101
Hunt-Destination-Number: 31403001000
Hunt-Unique-ID: c0252e5a-12ca-4181-ad2a-11cde0cf9cac
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/101%40262941.yoursipcloud.com
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1664863042339952
Hunt-Channel-Created-Time: 1664863042339952
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31403001000
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31403001000' limit 1
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31403001000' AND status=0 limit 1
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31403001000' and status=0 LIMIT 1
2022-10-04 07:57:22.359951 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : / 31237910150
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31403001000" LIMIT 1
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2022-10-04 07:57:22.359951 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 262941]
2022-10-04 07:57:22.359951 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "262941" AND deleted = 0 limit 1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31403001000" AND (accountid = 0 OR status = 1) LIMIT 1
2022-10-04 07:57:22.379954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1061
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^31403001000.*' OR patterns = '^3140300100.*' OR patterns = '^314030010.*' OR patterns = '^31403001.*' OR patterns = '^3140300.*' OR patterns = '^314030.*' OR patterns = '^31403.*' OR patterns = '^3140.*' OR patterns = '^314.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1061 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31403001000" AND A.accountid = '897' limit 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31403001000
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31403001000" LIMIT 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31403001000' OR number = '3140300100' OR number = '314030010' OR number = '31403001' OR number = '3140300' OR number = '314030' OR number = '31403' OR number = '3140' OR number = '314' OR number = '31' OR number = '3' OR number ='--') OR (number = '31403001000*' OR number = '3140300100*' OR number = '314030010*' OR number = '31403001*' OR number = '3140300*' OR number = '314030*' OR number = '31403*' OR number = '3140*' OR number = '314*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31237910150' OR number = '3123791015' OR number = '312379101' OR number = '31237910' OR number = '3123791' OR number = '312379' OR number = '31237' OR number = '3123' OR number = '312' OR number = '31' OR number = '3' OR number ='--') OR (number = '31237910150*' OR number = '3123791015*' OR number = '312379101*' OR number = '31237910*' OR number = '3123791*' OR number = '312379*' OR number = '31237*' OR number = '3123*' OR number = '312*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31403001000' OR routing_prefix = '3140300100' OR routing_prefix = '314030010' OR routing_prefix = '31403001' OR routing_prefix = '3140300' OR routing_prefix = '314030' OR routing_prefix = '31403' OR routing_prefix = '3140' OR routing_prefix = '314' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 897
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 262941
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31403001000" LIMIT 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 984
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31403001000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 897
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 897 !!!
2022-10-04 07:57:22.379954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2022-10-04 07:57:22.379954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99471.60463
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31403001000" LIMIT 1
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 984
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31403001000
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99471.60463 balance Accountid 12 !!!
2022-10-04 07:57:22.379954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061||ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 0
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2022-10-04 07:57:22.379954 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 897 AND status=0 LIMIT 1
2022-10-04 07:57:22.379954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1061" AND deleted = 0 limit 1
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:897
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:897
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 897
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1061 limit 1
2022-10-04 07:57:22.399944 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 263083.yoursipcloud.com
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "133" AND accounts.status = 0
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1061 limit 1
2022-10-04 07:57:22.399944 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 263083.yoursipcloud.com
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1061 and status = 0 limit 1
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 133 and status = 0 LIMIT 1
2022-10-04 07:57:22.399944 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
2022-10-04 07:57:22.399944 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "200"
2022-10-04 07:57:22.419954 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
2022-10-04 07:57:22.419954 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=5,confirm=false,announcement=no_file,dialed_user=200,leg_timeout=5,leg_delay_start=0]user/200@263083.yoursipcloud.com|
2022-10-04 07:57:22.419954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '28' LIMIT 1
2022-10-04 07:57:22.419954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2022-10-04 07:57:22.419954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2022-10-04 07:57:22.419954 [DEBUG] switch_cpp.cpp:1447 [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="31403001000">
<condition field="destination_number" expression="31403001000">
<action application="set" data="effective_destination_number=31403001000"/>
<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=2022-10-04 05:57:22"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=897"/>
<action application="set" data="parent_id=12"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061||ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_number=31237910150"/>
<action application="limit" data="db 262941 user_262941 10 "/>
<action application="limit" data="hash CPS_262941 CPS_user_262941 1/1 "/>
<action application="set" data="effective_caller_id_number=31237910150"/>
<action application="set" data="receiver_accid=1061"/>
<action application="export" data="domain_name=263083.yoursipcloud.com"/>
<action application="export" data="sip_to_host=263083.yoursipcloud.com"/>
<action application="export" data="presence_data=x|||Joost(263083)|||||||||DID|||103.240.35.46"/>
<action application="export" data="call_type=7"/>
<action application="set" data="did_calltype=7"/>
<action application="set" data="did_extensions=133"/>
<action application="set" data="group_confirm_key=exec"/>
<action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
<action application="set" data="effective_caller_id_name=SOC Standby#"/>
<action application="set" data="ringback=/var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav"/>
<action application="set" data="module_name=pbx"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/133/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="export" data="ring_group_transfer=true"/>
<action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=5,confirm=false,announcement=no_file,dialed_user=200,leg_timeout=5,leg_delay_start=0]user/200@263083.yoursipcloud.com|"/>
<action application="set" data="original_did_number=31403001000"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/101@262941.yoursipcloud.com parsing [default->31403001000] continue=false
Dialplan: sofia/default/101@262941.yoursipcloud.com Regex (PASS) [31403001000] destination_number(31403001000) =~ /31403001000/ break=on-false
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(effective_destination_number=31403001000)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(callstart=2022-10-04 05:57:22)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(account_id=897)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(parent_id=12)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(entity_id=0)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(call_processed=internal)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(call_direction=inbound)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(accountname=default)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(origination_rates_did=ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061||ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(origination_rates=0)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(original_caller_id_number=31237910150)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action limit(db 262941 user_262941 10 )
Dialplan: sofia/default/101@262941.yoursipcloud.com Action limit(hash CPS_262941 CPS_user_262941 1/1 )
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(effective_caller_id_number=31237910150)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(receiver_accid=1061)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(domain_name=263083.yoursipcloud.com)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(sip_to_host=263083.yoursipcloud.com)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(presence_data=x|||Joost(263083)|||||||||DID|||103.240.35.46)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(call_type=7)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(did_calltype=7)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(did_extensions=133)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(group_confirm_key=exec)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(effective_caller_id_name=SOC Standby#)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(ringback=/var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(module_name=pbx)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action db(insert/pickup_any_group_${callgroup}/133/${uuid})
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action export(ring_group_transfer=true)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=5,confirm=false,announcement=no_file,dialed_user=200,leg_timeout=5,leg_delay_start=0]user/200@263083.yoursipcloud.com|)
Dialplan: sofia/default/101@262941.yoursipcloud.com Action set(original_did_number=31403001000)
2022-10-04 07:57:22.419954 [DEBUG] switch_core_state_machine.c:287 (sofia/default/101@262941.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE
2022-10-04 07:57:22.419954 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@262941.yoursipcloud.com) State ROUTING going to sleep
2022-10-04 07:57:22.419954 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 1 Tot 73602)
2022-10-04 07:57:22.419954 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@262941.yoursipcloud.com) State EXECUTE
2022-10-04 07:57:22.419954 [DEBUG] mod_sofia.c:209 sofia/default/101@262941.yoursipcloud.com SOFIA EXECUTE
2022-10-04 07:57:22.419954 [DEBUG] switch_core_state_machine.c:329 sofia/default/101@262941.yoursipcloud.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(effective_destination_number=31403001000)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [effective_destination_number]=[31403001000]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(bridge_pre_execute_bleg_app=sched_hangup)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(callstart=2022-10-04 05:57:22)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [callstart]=[2022-10-04 05:57:22]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(hangup_after_bridge=true)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(continue_on_fail=TRUE)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(account_id=897)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [account_id]=[897]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(parent_id=12)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [parent_id]=[12]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(entity_id=0)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [entity_id]=[0]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(call_processed=internal)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(call_direction=inbound)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(accountname=default)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [accountname]=[default]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(filename1=astpp.pbx.lua)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(origination_rates_did=ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061||ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [origination_rates_did]=[ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061||ID:984|CODE:^31403001000.*|DESTINATION:31403001000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1061]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(origination_rates=0)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(original_caller_id_number=31237910150)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [original_caller_id_number]=[31237910150]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com limit(db 262941 user_262941 10 )
2022-10-04 07:57:22.419954 [DEBUG] switch_limit.c:124 incr called: 262941_user_262941 max:10, interval:0
2022-10-04 07:57:22.419954 [DEBUG] mod_db.c:194 Usage for 262941_user_262941 is now 1/10
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com limit(hash CPS_262941 CPS_user_262941 1/1 )
2022-10-04 07:57:22.419954 [DEBUG] switch_limit.c:124 incr called: CPS_262941_CPS_user_262941 max:1, interval:1
2022-10-04 07:57:22.419954 [DEBUG] mod_hash.c:198 Usage for CPS_262941_CPS_user_262941 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(effective_caller_id_number=31237910150)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [effective_caller_id_number]=[31237910150]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(receiver_accid=1061)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [receiver_accid]=[1061]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(domain_name=263083.yoursipcloud.com)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[263083.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(sip_to_host=263083.yoursipcloud.com)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[263083.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(presence_data=x|||Joost(263083)|||||||||DID|||103.240.35.46)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Joost(263083)|||||||||DID|||103.240.35.46]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(call_type=7)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(did_calltype=7)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(did_extensions=133)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [did_extensions]=[133]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(group_confirm_key=exec)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(effective_caller_id_name=SOC Standby#)
span style="color: goldenrod; font-weight: bold;"> 2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [effective_caller_id_name]=[SOC Standby#]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(ringback=/var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [ringback]=[/var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(module_name=pbx)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com db(insert/pickup_any_group_/133/c0252e5a-12ca-4181-ad2a-11cde0cf9cac)
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(dialed_extension=transfer_call)
2022-10-04 07:57:22.419954 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(dialed_extension=transfer_call)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2022-10-04 07:57:22.419954 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2022-10-04 07:57:22.419954 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com export(ring_group_transfer=true)
2022-10-04 07:57:22.419954 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=5,confirm=false,announcement=no_file,dialed_user=200,leg_timeout=5,leg_delay_start=0]user/200@263083.yoursipcloud.com|)
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [domain_name]=[263083.yoursipcloud.com] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [sip_to_host]=[263083.yoursipcloud.com] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [presence_data]=[x|||Joost(263083)|||||||||DID|||103.240.35.46] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [call_type]=[7] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-10-04 07:57:22.439955 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [domain_name]=[263083.yoursipcloud.com] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [sip_to_host]=[263083.yoursipcloud.com] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [presence_data]=[x|||Joost(263083)|||||||||DID|||103.240.35.46] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [call_type]=[7] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_channel.c:1264 sofia/default/101@262941.yoursipcloud.com EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2022-10-04 07:57:22.439955 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-10-04 07:57:22.439955 [NOTICE] switch_channel.c:1118 New Channel sofia/default/200@103.240.35.46:49021 [fa607413-2f67-4a83-8049-f33fee8fef5c]
2022-10-04 07:57:22.439955 [DEBUG] mod_sofia.c:5089 (sofia/default/200@103.240.35.46:49021) State Change CS_NEW -> CS_INIT
2022-10-04 07:57:22.439955 [DEBUG] switch_ivr_originate.c:3111 sofia/default/200@103.240.35.46:49021 Setting leg timeout to 5
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@103.240.35.46:49021) Running State Change CS_INIT (Cur 2 Tot 73603)
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:628 (sofia/default/200@103.240.35.46:49021) State INIT
2022-10-04 07:57:22.439955 [DEBUG] mod_sofia.c:93 sofia/default/200@103.240.35.46:49021 SOFIA INIT
2022-10-04 07:57:22.439955 [DEBUG] sofia_glue.c:1618 sofia/default/200@103.240.35.46:49021 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1664842826 1664842827 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 20216 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:40 sofia/default/200@103.240.35.46:49021 Standard INIT
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:48 (sofia/default/200@103.240.35.46:49021) State Change CS_INIT -> CS_ROUTING
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:628 (sofia/default/200@103.240.35.46:49021) State INIT going to sleep
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@103.240.35.46:49021) Running State Change CS_ROUTING (Cur 2 Tot 73603)
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:644 (sofia/default/200@103.240.35.46:49021) State ROUTING
2022-10-04 07:57:22.439955 [DEBUG] mod_sofia.c:154 sofia/default/200@103.240.35.46:49021 SOFIA ROUTING
2022-10-04 07:57:22.439955 [DEBUG] switch_ivr_originate.c:67 (sofia/default/200@103.240.35.46:49021) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:644 (sofia/default/200@103.240.35.46:49021) State ROUTING going to sleep
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@103.240.35.46:49021) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 73603)
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:663 (sofia/default/200@103.240.35.46:49021) State CONSUME_MEDIA
2022-10-04 07:57:22.439955 [DEBUG] switch_core_state_machine.c:663 (sofia/default/200@103.240.35.46:49021) State CONSUME_MEDIA going to sleep
2022-10-04 07:57:22.439955 [DEBUG] sofia.c:7326 Channel sofia/default/200@103.240.35.46:49021 entering state [calling][0]
2022-10-04 07:57:22.859948 [DEBUG] sofia.c:7326 Channel sofia/default/200@103.240.35.46:49021 entering state [proceeding][180]
2022-10-04 07:57:22.859948 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/200@103.240.35.46:49021!
2022-10-04 07:57:22.859948 [DEBUG] switch_channel.c:3437 (sofia/default/200@103.240.35.46:49021) Callstate Change DOWN -> RINGING
2022-10-04 07:57:22.859948 [INFO] switch_ivr_originate.c:1275 Sending early media
2022-10-04 07:57:22.859948 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/101@262941.yoursipcloud.com] 185.249.40.236 port 22426 -> 103.240.35.46 port 8000 codec: 8 ms: 20
2022-10-04 07:57:22.859948 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-10-04 07:57:22.859948 [DEBUG] switch_core_media.c:8977 sofia/default/101@262941.yoursipcloud.com Set 2833 dtmf send payload to 101
2022-10-04 07:57:22.859948 [DEBUG] switch_core_media.c:8984 sofia/default/101@262941.yoursipcloud.com Set 2833 dtmf receive payload to 101
2022-10-04 07:57:22.859948 [DEBUG] switch_core_media.c:9007 sofia/default/101@262941.yoursipcloud.com Set rtp dtmf delay to 40
2022-10-04 07:57:22.859948 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1664840616 1664840617 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 22426 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-10-04 07:57:22.859948 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/101@262941.yoursipcloud.com!
2022-10-04 07:57:22.859948 [DEBUG] switch_channel.c:3565 (sofia/default/101@262941.yoursipcloud.com) Callstate Change RINGING -> EARLY
2022-10-04 07:57:22.859948 [DEBUG] switch_ivr_originate.c:1333 Raw Codec Activation Success L16@8000hz 1 channel 20ms
2022-10-04 07:57:22.859948 [DEBUG] switch_core_codec.c:223 sofia/default/101@262941.yoursipcloud.com Push codec L16:100
2022-10-04 07:57:22.859948 [DEBUG] switch_ivr_originate.c:1365 Play Ringback File [/var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav]
2022-10-04 07:57:22.859948 [DEBUG] switch_core_file.c:405 File /var/www/html/astpp//upload/pbx/welcome-soc-nl-en_.wav sample rate 48000 doesn't match requested rate 8000
2022-10-04 07:57:22.859948 [WARNING] switch_core_file.c:424 File has 2 channels, muxing to 1 channel will occur.
2022-10-04 07:57:22.899947 [DEBUG] sofia.c:7326 Channel sofia/default/101@262941.yoursipcloud.com entering state [early][183]
2022-10-04 07:57:23.259947 [INFO] switch_rtp.c:7719 Auto Changing audio port from 103.240.35.46:8000 to 103.240.35.46:6508
2022-10-04 07:57:26.039944 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [256259@simonsen.yoursipcloud.com] from ip 212.165.235.182
2022-10-04 07:57:26.419952 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_510514_CPS_user_510514
2022-10-04 07:57:26.419952 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_263074_CPS_user_263074
2022-10-04 07:57:27.019947 [DEBUG] switch_core_codec.c:248 sofia/default/101@262941.yoursipcloud.com Restore previous codec PCMA:8.
2022-10-04 07:57:27.019947 [NOTICE] switch_ivr_originate.c:3759 Hangup sofia/default/200@103.240.35.46:49021 [CS_CONSUME_MEDIA] [NO_ANSWER]
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@103.240.35.46:49021) Running State Change CS_HANGUP (Cur 2 Tot 73603)
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:848 (sofia/default/200@103.240.35.46:49021) Callstate Change RINGING -> HANGUP
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:850 (sofia/default/200@103.240.35.46:49021) State HANGUP
2022-10-04 07:57:27.019947 [DEBUG] mod_sofia.c:453 Channel sofia/default/200@103.240.35.46:49021 hanging up, cause: NO_ANSWER
2022-10-04 07:57:27.019947 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [NO_ANSWER]
2022-10-04 07:57:27.019947 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 19 [NO_ANSWER]
2022-10-04 07:57:27.019947 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/200@103.240.35.46:49021
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:60 sofia/default/200@103.240.35.46:49021 Standard HANGUP, cause: NO_ANSWER
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:850 (sofia/default/200@103.240.35.46:49021) State HANGUP going to sleep
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:620 (sofia/default/200@103.240.35.46:49021) State Change CS_HANGUP -> CS_REPORTING
2022-10-04 07:57:27.019947 [INFO] mod_dptools.c:3631 Originate Failed. Cause: NO_ANSWER
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@103.240.35.46:49021) Running State Change CS_REPORTING (Cur 2 Tot 73603)
2022-10-04 07:57:27.019947 [DEBUG] switch_core_state_machine.c:936 (sofia/default/200@103.240.35.46:49021) State REPORTING
EXECUTE [depth=0] sofia/default/101@262941.yoursipcloud.com set(original_did_number=31403001000)
2022-10-04 07:57:27.019947 [INFO] mod_json_cdr.c:271 Process [fa607413-2f67-4a83-8049-f33fee8fef5c.cdr.json]
2022-10-04 07:57:27.019947 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@262941.yoursipcloud.com [original_did_number]=[31403001000]
2022-10-04 07:57:27.019947 [NOTICE] switch_core_state_machine.c:386 sofia/default/101@262941.yoursipcloud.com has executed the last dialplan instruction, hanging up.
2022-10-04 07:57:27.019947 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/101@262941.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING]
2022-10-04 07:57:27.039959 [DEBUG] mod_hash.c:296 Usage for CPS_262941_CPS_user_262941 is now 0
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@262941.yoursipcloud.com) State EXECUTE going to sleep
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_HANGUP (Cur 2 Tot 73603)
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:848 (sofia/default/101@262941.yoursipcloud.com) Callstate Change EARLY -> HANGUP
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@262941.yoursipcloud.com) State HANGUP
2022-10-04 07:57:27.039959 [DEBUG] mod_sofia.c:453 Channel sofia/default/101@262941.yoursipcloud.com hanging up, cause: NORMAL_CLEARING
2022-10-04 07:57:27.039959 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:60 sofia/default/101@262941.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@262941.yoursipcloud.com) State HANGUP going to sleep
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:620 (sofia/default/101@262941.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_REPORTING (Cur 2 Tot 73603)
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@262941.yoursipcloud.com) State REPORTING
2022-10-04 07:57:27.039959 [INFO] mod_json_cdr.c:271 Process [c0252e5a-12ca-4181-ad2a-11cde0cf9cac.cdr.json]
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:174 sofia/default/200@103.240.35.46:49021 Standard REPORTING, cause: NO_ANSWER
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:936 (sofia/default/200@103.240.35.46:49021) State REPORTING going to sleep
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:611 (sofia/default/200@103.240.35.46:49021) State Change CS_REPORTING -> CS_DESTROY
2022-10-04 07:57:27.039959 [DEBUG] switch_core_session.c:1726 Session 73603 (sofia/default/200@103.240.35.46:49021) Locked, Waiting on external entities
2022-10-04 07:57:27.039959 [NOTICE] switch_core_session.c:1744 Session 73603 (sofia/default/200@103.240.35.46:49021) Ended
2022-10-04 07:57:27.039959 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/200@103.240.35.46:49021 [CS_DESTROY]
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:739 (sofia/default/200@103.240.35.46:49021) Running State Change CS_DESTROY (Cur 1 Tot 73603)
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:749 (sofia/default/200@103.240.35.46:49021) State DESTROY
2022-10-04 07:57:27.039959 [DEBUG] mod_sofia.c:364 sofia/default/200@103.240.35.46:49021 SOFIA DESTROY
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:181 sofia/default/200@103.240.35.46:49021 Standard DESTROY
2022-10-04 07:57:27.039959 [DEBUG] switch_core_state_machine.c:749 (sofia/default/200@103.240.35.46:49021) State DESTROY going to sleep
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:174 sofia/default/101@262941.yoursipcloud.com Standard REPORTING, cause: NORMAL_CLEARING
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@262941.yoursipcloud.com) State REPORTING going to sleep
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:611 (sofia/default/101@262941.yoursipcloud.com) State Change CS_REPORTING -> CS_DESTROY
2022-10-04 07:57:27.059951 [DEBUG] switch_core_session.c:1726 Session 73602 (sofia/default/101@262941.yoursipcloud.com) Locked, Waiting on external entities
2022-10-04 07:57:27.059951 [NOTICE] switch_core_session.c:1744 Session 73602 (sofia/default/101@262941.yoursipcloud.com) Ended
2022-10-04 07:57:27.059951 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/101@262941.yoursipcloud.com [CS_DESTROY]
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:739 (sofia/default/101@262941.yoursipcloud.com) Running State Change CS_DESTROY (Cur 0 Tot 73603)
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@262941.yoursipcloud.com) State DESTROY
2022-10-04 07:57:27.059951 [DEBUG] mod_sofia.c:364 sofia/default/101@262941.yoursipcloud.com SOFIA DESTROY
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:181 sofia/default/101@262941.yoursipcloud.com Standard DESTROY
2022-10-04 07:57:27.059951 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@262941.yoursipcloud.com) State DESTROY going to sleep
2022-10-04 07:57:28.399949 [NOTICE] switch_channel.c:1118 New Channel sofia/default/255@G532.messagetothemoon.yoursipcloud.com [6c8c1b83-1a93-428e-8bd1-47c873141ea5]
2022-10-04 07:57:28.399949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Running State Change CS_NEW (Cur 1 Tot 73604)
2022-10-04 07:57:28.399949 [DEBUG] sofia.c:10280 sofia/default/255@G532.messagetothemoon.yoursipcloud.com receiving invite from 185.249.42.99:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-10-04 07:57:28.399949 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.42.99:0.
2022-10-04 07:57:28.399949 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [0402861067@G532.messagetothemoon.yoursipcloud.com] from ip 185.249.42.99
2022-10-04 07:57:28.399949 [DEBUG] switch_core_state_machine.c:604 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State NEW
2022-10-04 07:57:28.399949 [DEBUG] sofia.c:2434 detaching session 6c8c1b83-1a93-428e-8bd1-47c873141ea5
2022-10-04 07:57:28.419958 [DEBUG] sofia.c:2544 Re-attaching to session 6c8c1b83-1a93-428e-8bd1-47c873141ea5
2022-10-04 07:57:28.439951 [DEBUG] sofia.c:10280 sofia/default/255@G532.messagetothemoon.yoursipcloud.com receiving invite from 185.249.42.99:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-10-04 07:57:28.439951 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.42.99:0.
2022-10-04 07:57:28.439951 [DEBUG] sofia.c:7326 Channel sofia/default/255@G532.messagetothemoon.yoursipcloud.com entering state [received][100]
2022-10-04 07:57:28.439951 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=user 2428144 2428144 IN IP4 185.249.42.99
s=call
c=IN IP4 185.249.42.99
t=0 0
m=audio 7084 RTP/AVP 8 0 2 102 100 99 97 101 18
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=fmtp:18 annexb=no
a=rtcp:7085
a=ptime:20
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-40:100:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-40:100:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-24:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-24:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/255@G532.messagetothemoon.yoursipcloud.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-10-04 07:57:28.439951 [DEBUG] switch_core_codec.c:111 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Original read codec set to PCMA:8
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-10-04 07:57:28.439951 [DEBUG] switch_core_media.c:5911 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-10-04 07:57:28.439951 [DEBUG] sofia.c:7760 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State Change CS_NEW -> CS_INIT
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:585 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Running State Change CS_INIT (Cur 1 Tot 73604)
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:628 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State INIT
2022-10-04 07:57:28.439951 [DEBUG] mod_sofia.c:93 sofia/default/255@G532.messagetothemoon.yoursipcloud.com SOFIA INIT
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:40 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Standard INIT
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:48 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:628 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State INIT going to sleep
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:585 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Running State Change CS_ROUTING (Cur 1 Tot 73604)
2022-10-04 07:57:28.439951 [DEBUG] switch_channel.c:2332 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Callstate Change DOWN -> RINGING
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:644 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State ROUTING
2022-10-04 07:57:28.439951 [DEBUG] mod_sofia.c:154 sofia/default/255@G532.messagetothemoon.yoursipcloud.com SOFIA ROUTING
2022-10-04 07:57:28.439951 [DEBUG] switch_core_state_machine.c:236 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Standard ROUTING
2022-10-04 07:57:28.439951 [INFO] mod_dialplan_xml.c:637 Processing 255 <255>->0402861067 in context default
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-10-04 07:57:28.459947 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 1ac89bd8-e2b4-4fc5-8c35-d377aa4e146c
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-10-04%2007%3A57%3A28
Event-Date-GMT: Tue,%2004%20Oct%202022%2005%3A57%3A28%20GMT
Event-Date-Timestamp: 1664863048439951
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 6549964
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/255%40G532.messagetothemoon.yoursipcloud.com
Unique-ID: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 255%40G532.messagetothemoon.yoursipcloud.com
Channel-Call-UUID: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 255
Caller-Dialplan: XML
Caller-Caller-ID-Name: 255
Caller-Caller-ID-Number: 255
Caller-Orig-Caller-ID-Name: 255
Caller-Orig-Caller-ID-Number: 255
Caller-Network-Addr: 185.249.42.99
Caller-ANI: 255
Caller-Destination-Number: 0402861067
Caller-Unique-ID: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/255%40G532.messagetothemoon.yoursipcloud.com
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1664863048439951
Caller-Channel-Created-Time: 1664863048439951
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: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
variable_session_id: 73604
variable_sip_from_user: 255
variable_sip_from_uri: 255%40G532.messagetothemoon.yoursipcloud.com
variable_sip_from_host: G532.messagetothemoon.yoursipcloud.com
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/255%40G532.messagetothemoon.yoursipcloud.com
variable_sip_call_id: 28F6E4D0405EE610%40185.249.42.99
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.42.99
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1664863048439951
variable_sip_received_ip: 185.249.42.99
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: 1ac89bd8-e2b4-4fc5-8c35-d377aa4e146c
variable_FreeSWITCH-Hostname: multitenant-1
variable_FreeSWITCH-Switchname: multitenant-1
variable_FreeSWITCH-IPv4: 185.249.40.236
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2022-10-04%2007%3A57%3A28
variable_Event-Date-GMT: Tue,%2004%20Oct%202022%2005%3A57%3A28%20GMT
variable_Event-Date-Timestamp: 1664863048439951
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10542
variable_Event-Sequence: 6549955
variable_sip_number_alias: 255
variable_sip_auth_username: 255
variable_sip_auth_realm: G532.messagetothemoon.yoursipcloud.com
variable_number_alias: 255
variable_requested_user_name: 255
variable_requested_domain_name: G532.messagetothemoon.yoursipcloud.com
variable_effective_caller_id_number: 31546566066
variable_user_context: default
variable_sipcall: true
variable_sip_user: 255
variable_accountcode: 290568
variable_user_name: 255
variable_domain_name: G532.messagetothemoon.yoursipcloud.com
variable_sip_from_user_stripped: 255
variable_sip_from_tag: 3322962F15CC9F1D
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20185.249.42.99%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bK0FD7C7EBCBE2BB2E
variable_sip_full_from: %3Csip%3A255%40G532.messagetothemoon.yoursipcloud.com%3E%3Btag%3D3322962F15CC9F1D
variable_sip_full_to: %3Csip%3A0402861067%40G532.messagetothemoon.yoursipcloud.com%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20CANCEL,%20BYE,%20UPDATE,%20PRACK,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20PUBLISH
variable_sip_req_user: 0402861067
variable_sip_req_uri: 0402861067%40G532.messagetothemoon.yoursipcloud.com
variable_sip_req_host: G532.messagetothemoon.yoursipcloud.com
variable_sip_to_user: 0402861067
variable_sip_to_uri: 0402861067%40G532.messagetothemoon.yoursipcloud.com
variable_sip_to_host: G532.messagetothemoon.yoursipcloud.com
variable_sip_contact_params: uniq%3D357430E7C43E826CC4044A0F32ECC
variable_sip_contact_user: 255
variable_sip_contact_uri: 255%40185.249.42.99
variable_sip_contact_host: 185.249.42.99
variable_sip_user_agent: AVM%20FRITZ!Box%207590%20154.07.29%20(Oct%2026%202021)
variable_sip_via_host: 185.249.42.99
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 70
variable_presence_id: 255%40G532.messagetothemoon.yoursipcloud.com
variable_switch_r_sdp: v%3D0%0D%0Ao%3Duser%202428144%202428144%20IN%20IP4%20185.249.42.99%0D%0As%3Dcall%0D%0Ac%3DIN%20IP4%20185.249.42.99%0D%0At%3D0%200%0D%0Am%3Daudio%207084%20RTP/AVP%208%200%202%20102%20100%2099%2097%20101%2018%0D%0Aa%3Drtpmap%3A2%20G726-32/8000%0D%0Aa%3Drtpmap%3A102%20G726-32/8000%0D%0Aa%3Drtpmap%3A100%20G726-40/8000%0D%0Aa%3Drtpmap%3A99%20G726-24/8000%0D%0Aa%3Drtpmap%3A97%20iLBC/8000%0D%0Aa%3Dfmtp%3A97%20mode%3D30%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtcp%3A7085%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_rtp_remote_audio_rtcp_port: 7085
variable_remote_media_ip: 185.249.42.99
variable_remote_media_port: 7084
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 255
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 255
Hunt-Caller-ID-Number: 255
Hunt-Orig-Caller-ID-Name: 255
Hunt-Orig-Caller-ID-Number: 255
Hunt-Network-Addr: 185.249.42.99
Hunt-ANI: 255
Hunt-Destination-Number: 0402861067
Hunt-Unique-ID: 6c8c1b83-1a93-428e-8bd1-47c873141ea5
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/255%40G532.messagetothemoon.yoursipcloud.com
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1664863048439951
Hunt-Channel-Created-Time: 1664863048439951
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 0402861067
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0402861067' limit 1
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0402861067' AND status=0 limit 1
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0402861067' and status=0 LIMIT 1
2022-10-04 07:57:28.459947 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : / 31546566066
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0402861067" LIMIT 1
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0402861067" AND domains.domain="G532.messagetothemoon.yoursipcloud.com" limit 1
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-10-04 07:57:28.459947 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 290568]
2022-10-04 07:57:28.459947 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "290568" AND deleted = 0 limit 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0402861067.*' OR blocked_patterns = '^040286106.*' OR blocked_patterns = '^04028610.*' OR blocked_patterns = '^0402861.*' OR blocked_patterns = '^040286.*' OR blocked_patterns = '^04028.*' OR blocked_patterns = '^0402.*' OR blocked_patterns = '^040.*' OR blocked_patterns = '^04.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 679 limit 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0402861067" AND (accountid = 0 OR status = 1) LIMIT 1
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....0402861067
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0402861067
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 31402861067
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31402861067
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^31402861067.*' OR patterns = '^3140286106.*' OR patterns = '^314028610.*' OR patterns = '^31402861.*' OR patterns = '^3140286.*' OR patterns = '^314028.*' OR patterns = '^31402.*' OR patterns = '^3140.*' OR patterns = '^314.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 679 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31402861067" AND A.accountid = '679' limit 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31402861067
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31402861067" LIMIT 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31402861067" AND domains.domain="G532.messagetothemoon.yoursipcloud.com" limit 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31402861067' OR number = '3140286106' OR number = '314028610' OR number = '31402861' OR number = '3140286' OR number = '314028' OR number = '31402' OR number = '3140' OR number = '314' OR number = '31' OR number = '3' OR number ='--') OR (number = '31402861067*' OR number = '3140286106*' OR number = '314028610*' OR number = '31402861*' OR number = '3140286*' OR number = '314028*' OR number = '31402*' OR number = '3140*' OR number = '314*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31546566066' OR number = '3154656606' OR number = '315465660' OR number = '31546566' OR number = '3154656' OR number = '315465' OR number = '31546' OR number = '3154' OR number = '315' OR number = '31' OR number = '3' OR number ='--') OR (number = '31546566066*' OR number = '3154656606*' OR number = '315465660*' OR number = '31546566*' OR number = '3154656*' OR number = '315465*' OR number = '31546*' OR number = '3154*' OR number = '315*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31402861067' OR routing_prefix = '3140286106' OR routing_prefix = '314028610' OR routing_prefix = '31402861' OR routing_prefix = '3140286' OR routing_prefix = '314028' OR routing_prefix = '31402' OR routing_prefix = '3140' OR routing_prefix = '314' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 679
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 290568
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31402861067.*' OR pattern = '^3140286106.*' OR pattern = '^314028610.*' OR pattern = '^31402861.*' OR pattern = '^3140286.*' OR pattern = '^314028.*' OR pattern = '^31402.*' OR pattern = '^3140.*' OR pattern = '^314.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=679) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8921
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 679
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 679 !!!
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31402861067.*' OR blocked_patterns = '^3140286106.*' OR blocked_patterns = '^314028610.*' OR blocked_patterns = '^31402861.*' OR blocked_patterns = '^3140286.*' OR blocked_patterns = '^314028.*' OR blocked_patterns = '^31402.*' OR blocked_patterns = '^3140.*' OR blocked_patterns = '^314.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99471.60463
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31402861067.*' OR pattern = '^3140286106.*' OR pattern = '^314028610.*' OR pattern = '^31402861.*' OR pattern = '^3140286.*' OR pattern = '^314028.*' OR pattern = '^31402.*' OR pattern = '^3140.*' OR pattern = '^314.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846778
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands fixed
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99471.60463 balance Accountid 12 !!!
2022-10-04 07:57:28.479954 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8921|CODE:^3140.*|DESTINATION:Nederland|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:679||ID:2846778|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8921
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31402861067.*' OR pattern = '^3140286106.*' OR pattern = '^314028610.*' OR pattern = '^31402861.*' OR pattern = '^3140286.*' OR pattern = '^314028.*' OR pattern = '^31402.*' OR pattern = '^3140.*' OR pattern = '^314.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114185
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3140.*
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands fixed
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3140.*
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 679 AND status=0 LIMIT 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-10-04 07:57:28.479954 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-10-04 07:57:28.479954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
2022-10-04 07:57:28.499949 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-10-04 07:57:28.499949 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31402861067
2022-10-04 07:57:28.499949 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:
2022-10-04 07:57:28.499949 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0402861067" LIMIT 1
2022-10-04 07:57:28.499949 [DEBUG] switch_cpp.cpp:1447 [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="31402861067">
<condition field="destination_number" expression="0402861067">
<action application="set" data="effective_destination_number=31402861067"/>
<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=2022-10-04 05:57:28"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=679"/>
<action application="set" data="parent_id=12"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:8921|CODE:^3140.*|DESTINATION:Nederland|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:679||ID:2846778|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12"/>
<action application="set" data="original_caller_id_number=31546566066"/>
<action application="limit" data="db 290568 user_290568 10 "/>
<action application="limit" data="hash CPS_290568 CPS_user_290568 1/1 "/>
<action application="set" data="effective_caller_id_number=31546566066"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114185|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=8921"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31402861067"/>
<action application="export" data="presence_data=x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31402861067"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31402861067"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com parsing [default->31402861067] continue=false
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Regex (PASS) [31402861067] destination_number(0402861067) =~ /0402861067/ break=on-false
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(effective_destination_number=31402861067)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(callstart=2022-10-04 05:57:28)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(account_id=679)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(parent_id=12)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(entity_id=0)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(call_processed=internal)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(call_direction=outbound)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(accountname=default)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(origination_rates=ID:8921|CODE:^3140.*|DESTINATION:Nederland|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:679||ID:2846778|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(original_caller_id_number=31546566066)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action limit(db 290568 user_290568 10 )
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action limit(hash CPS_290568 CPS_user_290568 1/1 )
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(effective_caller_id_number=31546566066)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(calltype=STANDARD)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(termination_rates=ID:114185|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(trunk_id=4)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(provider_id=231)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(rate_flag=2)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(force_trunk_flag=8921)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action set(intcall=0)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action export(presence_id=31402861067)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action export(presence_data=x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31402861067)
Dialplan: sofia/default/255@G532.messagetothemoon.yoursipcloud.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31402861067)
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:287 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:644 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State ROUTING going to sleep
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 1 Tot 73604)
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:651 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) State EXECUTE
2022-10-04 07:57:28.499949 [DEBUG] mod_sofia.c:209 sofia/default/255@G532.messagetothemoon.yoursipcloud.com SOFIA EXECUTE
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:329 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(effective_destination_number=31402861067)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [effective_destination_number]=[31402861067]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(bridge_pre_execute_bleg_app=sched_hangup)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(callstart=2022-10-04 05:57:28)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [callstart]=[2022-10-04 05:57:28]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(hangup_after_bridge=true)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(continue_on_fail=TRUE)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(account_id=679)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [account_id]=[679]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(parent_id=12)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [parent_id]=[12]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(entity_id=0)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [entity_id]=[0]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(call_processed=internal)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(call_direction=outbound)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(accountname=default)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [accountname]=[default]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(filename1=astpp.pbx.lua)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(origination_rates=ID:8921|CODE:^3140.*|DESTINATION:Nederland|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:679||ID:2846778|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [origination_rates]=[ID:8921|CODE:^3140.*|DESTINATION:Nederland|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:679||ID:2846778|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(original_caller_id_number=31546566066)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [original_caller_id_number]=[31546566066]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com limit(db 290568 user_290568 10 )
2022-10-04 07:57:28.499949 [DEBUG] switch_limit.c:124 incr called: 290568_user_290568 max:10, interval:0
2022-10-04 07:57:28.499949 [DEBUG] mod_db.c:194 Usage for 290568_user_290568 is now 1/10
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com limit(hash CPS_290568 CPS_user_290568 1/1 )
2022-10-04 07:57:28.499949 [DEBUG] switch_limit.c:124 incr called: CPS_290568_CPS_user_290568 max:1, interval:1
2022-10-04 07:57:28.499949 [DEBUG] mod_hash.c:198 Usage for CPS_290568_CPS_user_290568 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(effective_caller_id_number=31546566066)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [effective_caller_id_number]=[31546566066]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(calltype=STANDARD)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(termination_rates=ID:114185|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [termination_rates]=[ID:114185|CODE:^3140.*|DESTINATION:Netherlands fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(trunk_id=4)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(provider_id=231)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [provider_id]=[231]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(rate_flag=2)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(force_trunk_flag=8921)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [force_trunk_flag]=[8921]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com export(presence_data=trunk_id=4)
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com set(intcall=0)
2022-10-04 07:57:28.499949 [DEBUG] mod_dptools.c:1672 SET sofia/default/255@G532.messagetothemoon.yoursipcloud.com [intcall]=[0]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com export(presence_id=31402861067)
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31402861067]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com export(presence_data=x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed)
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed]
EXECUTE [depth=0] sofia/default/255@G532.messagetothemoon.yoursipcloud.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31402861067)
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1264 sofia/default/255@G532.messagetothemoon.yoursipcloud.com EXPORTING[export_vars] [presence_data]=[x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed] to event
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1264 sofia/default/255@G532.messagetothemoon.yoursipcloud.com EXPORTING[export_vars] [presence_id]=[31402861067] to event
2022-10-04 07:57:28.499949 [DEBUG] switch_channel.c:1264 sofia/default/255@G532.messagetothemoon.yoursipcloud.com EXPORTING[export_vars] [presence_data]=[x//12|||G(290568)|||^3140.* // Nederland // 0.05400 |||SBCs // ^3140.* // Netherlands fixed // 0.00077 // trunk_id=4|||STD|||185.249.42.99|||0.00210 // ^3140.* // Netherlands fixed] to event
2022-10-04 07:57:28.499949 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-10-04 07:57:28.499949 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-10-04 07:57:28.499949 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31402861067 [6c5402aa-8ca7-4a4c-a595-89307c6dd4a5]
2022-10-04 07:57:28.499949 [DEBUG] mod_sofia.c:5089 (sofia/default/31402861067) State Change CS_NEW -> CS_INIT
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31402861067) Running State Change CS_INIT (Cur 2 Tot 73605)
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31402861067) State INIT
2022-10-04 07:57:28.499949 [DEBUG] mod_sofia.c:93 sofia/default/31402861067 SOFIA INIT
2022-10-04 07:57:28.499949 [DEBUG] sofia_glue.c:1618 sofia/default/31402861067 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1664844462 1664844463 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 18586 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:40 sofia/default/31402861067 Standard INIT
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31402861067) State Change CS_INIT -> CS_ROUTING
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31402861067) State INIT going to sleep
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31402861067) Running State Change CS_ROUTING (Cur 2 Tot 73605)
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31402861067) State ROUTING
2022-10-04 07:57:28.499949 [DEBUG] mod_sofia.c:154 sofia/default/31402861067 SOFIA ROUTING
2022-10-04 07:57:28.499949 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31402861067) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31402861067) State ROUTING going to sleep
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31402861067) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 73605)
2022-10-04 07:57:28.499949 [DEBUG] sofia.c:7326 Channel sofia/default/31402861067 entering state [calling][0]
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31402861067) State CONSUME_MEDIA
2022-10-04 07:57:28.499949 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31402861067) State CONSUME_MEDIA going to sleep
2022-10-04 07:57:29.399960 [DEBUG] sofia.c:7326 Channel sofia/default/31402861067 entering state [proceeding][183]
2022-10-04 07:57:29.399960 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 2377806 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 28034 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-10-04 07:57:29.399960 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31402861067!
2022-10-04 07:57:29.399960 [DEBUG] switch_channel.c:3565 (sofia/default/31402861067) Callstate Change DOWN -> EARLY
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31402861067 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-10-04 07:57:29.399960 [DEBUG] switch_core_codec.c:111 sofia/default/31402861067 Original read codec set to PCMA:8
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:5911 sofia/default/31402861067 Set 2833 dtmf send payload to 101 recv payload to 101
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31402861067] 185.249.40.236 port 18586 -> 185.249.40.253 port 28034 codec: 8 ms: 20
2022-10-04 07:57:29.399960 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8977 sofia/default/31402861067 Set 2833 dtmf send payload to 101
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8984 sofia/default/31402861067 Set 2833 dtmf receive payload to 101
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:9007 sofia/default/31402861067 Set rtp dtmf delay to 40
2022-10-04 07:57:29.399960 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/255@G532.messagetothemoon.yoursipcloud.com] 185.249.40.236 port 30356 -> 185.249.42.99 port 7084 codec: 8 ms: 20
2022-10-04 07:57:29.399960 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8885 Activating RTCP PORT 7085
2022-10-04 07:57:29.399960 [DEBUG] switch_rtp.c:4848 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 7085
2022-10-04 07:57:29.399960 [DEBUG] switch_rtp.c:2636 Setting RTCP remote addr to 185.249.42.99:7085 2
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8977 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Set 2833 dtmf send payload to 101
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:8984 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Set 2833 dtmf receive payload to 101
2022-10-04 07:57:29.399960 [DEBUG] switch_core_media.c:9007 sofia/default/255@G532.messagetothemoon.yoursipcloud.com Set rtp dtmf delay to 40
2022-10-04 07:57:29.399960 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1664832693 1664832694 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 30356 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
a=rtcp:30357 IN IP4 185.249.40.236
2022-10-04 07:57:29.399960 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/255@G532.messagetothemoon.yoursipcloud.com!
2022-10-04 07:57:29.399960 [DEBUG] switch_channel.c:3565 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Callstate Change RINGING -> EARLY
2022-10-04 07:57:29.399960 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31402861067]
2022-10-04 07:57:29.399960 [DEBUG] sofia.c:7326 Channel sofia/default/255@G532.messagetothemoon.yoursipcloud.com entering state [early][183]
2022-10-04 07:57:29.399960 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31402861067) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-10-04 07:57:29.399960 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31402861067) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 73605)
2022-10-04 07:57:29.399960 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31402861067) State EXCHANGE_MEDIA
2022-10-04 07:57:29.399960 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-10-04 07:57:29.459959 [DEBUG] switch_rtp.c:1921 rtcp_stats_init: audio ssrc[1190222447] base_seq[1]
2022-10-04 07:57:29.499949 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-10-04 07:57:29.519946 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-10-04 07:57:29.599955 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31402861067 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-10-04 07:57:29.619952 [DEBUG] switch_ivr.c:632 sofia/default/31402861067 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31402861067 sched_hangup(+6000 normal_clearing)
2022-10-04 07:57:29.619952 [DEBUG] switch_scheduler.c:252 Added task 25812 switch_ivr_schedule_hangup (6c5402aa-8ca7-4a4c-a595-89307c6dd4a5) to run at 1664869049
2022-10-04 07:57:31.359960 [DEBUG] sofia.c:7326 Channel sofia/default/31402861067 entering state [completing][200]
2022-10-04 07:57:31.359960 [DEBUG] sofia.c:7333 Duplicate SDP
v=0
o=- 2377806 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 28034 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-10-04 07:57:31.379950 [DEBUG] sofia.c:7326 Channel sofia/default/31402861067 entering state [ready][200]
2022-10-04 07:57:31.379950 [NOTICE] sofia.c:8445 Channel [sofia/default/31402861067] has been answered
2022-10-04 07:57:31.379950 [DEBUG] switch_channel.c:3865 (sofia/default/31402861067) Callstate Change EARLY -> ACTIVE
2022-10-04 07:57:31.379950 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/255@G532.messagetothemoon.yoursipcloud.com.
2022-10-04 07:57:31.379950 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/255@G532.messagetothemoon.yoursipcloud.com:
v=0
o=FreeSWITCH 1664832693 1664832695 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 30356 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
a=rtcp:30357 IN IP4 185.249.40.236
2022-10-04 07:57:31.379950 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/255@G532.messagetothemoon.yoursipcloud.com] has been answered
2022-10-04 07:57:31.379950 [DEBUG] switch_channel.c:3865 (sofia/default/255@G532.messagetothemoon.yoursipcloud.com) Callstate Change EARLY -> ACTIVE
2022-10-04 07:57:31.379950 [DEBUG] sofia.c:7326 Channel sofia/default/255@G532.messagetothemoon.yoursipcloud.com entering state [completed][200]
2022-10-04 07:57:31.399949 [DEBUG] sofia.c:7326 Channel sofia/default/255@G532.messagetothemoon.yoursipcloud.com entering state [ready][200]
2022-10-04 07:57:31.439948 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-10-04 07:57:31.479948 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.