2022-05-25 13:56:27.117705 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.253 [4b83c479-123b-4eab-9b75-4a96c16733c9]
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_NEW (Cur 9 Tot 24100)
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [received][100]
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 3909790917 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 12962 RTP/AVP 8 96
a=rtpmap:96 telephone-event/8000
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 96@8000
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:27.117705 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.253 Original read codec set to PCMA:8
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 96@8000
2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf send payload to 96 recv payload to 96
2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.253) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.253) State NEW
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_INIT (Cur 9 Tot 24100)
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.253) State INIT
2022-05-25 13:56:27.117705 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.253 SOFIA INIT
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.253 Standard INIT
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.253) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.253) State INIT going to sleep
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_ROUTING (Cur 9 Tot 24100)
2022-05-25 13:56:27.117705 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.253) Callstate Change DOWN -> RINGING
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.253) State ROUTING
2022-05-25 13:56:27.117705 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.253 SOFIA ROUTING
2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.253 Standard ROUTING
2022-05-25 13:56:27.117705 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855000149 in context default
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:27.117705 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-05-25%2013%3A56%3A27
Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A27%20GMT
Event-Date-Timestamp: 1653479787117705
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 1918446
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31652033157%40185.249.40.253
Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31652033157%40185.249.40.253
Channel-Call-UUID: 4b83c479-123b-4eab-9b75-4a96c16733c9
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: 31652033157
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31652033157
Caller-Caller-ID-Number: 31652033157
Caller-Orig-Caller-ID-Name: 31652033157
Caller-Orig-Caller-ID-Number: 31652033157
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31652033157
Caller-Destination-Number: 31855000149
Caller-Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31652033157%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1653479787117705
Caller-Channel-Created-Time: 1653479787117705
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: 4b83c479-123b-4eab-9b75-4a96c16733c9
variable_session_id: 24100
variable_sip_from_user: 31652033157
variable_sip_from_uri: 31652033157%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31652033157%40185.249.40.253
variable_sip_call_id: 0214A41E9E81400000123D66%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1653479787117705
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31652033157
variable_sip_from_tag: 94C5303033303330A541A002
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31652033157
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK8FD3764D4433222D00C01F77C6C089B1%3Brport%3D5060
variable_sip_from_display: 31652033157
variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.253%3E%3Btag%3D94C5303033303330A541A002
variable_sip_full_to: %3Csip%3A31855000149%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31855000149
variable_sip_req_port: 5060
variable_sip_req_uri: 31855000149%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31855000149
variable_sip_to_uri: 31855000149%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31652033157
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31652033157%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 62
variable_presence_id: 31652033157%40185.249.40.253
variable_sip_Privacy: none
variable_sip_h_Diversion: %3Csip%3A31855000149%40185.249.40.253%3E%3Breason%3Dunknown%3Bcounter%3D1%3Bprivacy%3Doff
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%203909790917%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2012962%20RTP/AVP%208%2096%0D%0Aa%3Drtpmap%3A96%20telephone-event/8000%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%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: 185.249.40.253
variable_remote_media_port: 12962
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: 4b83c479-123b-4eab-9b75-4a96c16733c9
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31652033157
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31652033157
Hunt-Caller-ID-Number: 31652033157
Hunt-Orig-Caller-ID-Name: 31652033157
Hunt-Orig-Caller-ID-Number: 31652033157
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31652033157
Hunt-Destination-Number: 31855000149
Hunt-Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1653479787117705
Hunt-Channel-Created-Time: 1653479787117705
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-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855000149' limit 1
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855000149' and status=0 LIMIT 1
2022-05-25 13:56:27.117705 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157
2022-05-25 13:56:27.117705 [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 ="31855000149" LIMIT 1
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31855000149" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160
2022-05-25 13:56:27.117705 [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 = '^31855000149.*' OR patterns = '^3185500014.*' OR patterns = '^318550001.*' OR patterns = '^31855000.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-05-25 13:56:27.117705 [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 ="31855000149" AND A.accountid = '231' limit 1
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149
2022-05-25 13:56:27.117705 [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 ="31855000149" LIMIT 1
2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2022-05-25 13:56:27.117705 [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 = '31855000149' OR number = '3185500014' OR number = '318550001' OR number = '31855000' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855000149*' OR number = '3185500014*' OR number = '318550001*' OR number = '31855000*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855000149' OR routing_prefix = '3185500014' OR routing_prefix = '318550001' OR routing_prefix = '31855000' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2022-05-25 13:56:27.157595 [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 ="31855000149" LIMIT 1
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 231 !!!
2022-05-25 13:56:27.157595 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2022-05-25 13:56:27.157595 [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 = 231 AND status=0 LIMIT 1
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:231
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:231
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 231
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-05-25 13:56:27.157595 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2022-05-25 13:56:27.157595 [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 = "42" AND accounts.status = 0
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-05-25 13:56:27.157595 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160 and status = 0 limit 1
2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
2022-05-25 13:56:27.157595 [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 = 42 and status = 0 LIMIT 1
2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
2022-05-25 13:56:27.177602 [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 = "100"
2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|
2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2022-05-25 13:56:27.177602 [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-05-25 13:56:27.177602 [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-05-25 13:56:27.177602 [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="31855000149">
<condition field="destination_number" expression="31855000149">
<action application="set" data="effective_destination_number=31855000149"/>
<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-05-25 11:56:27"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=31652033157"/>
<action application="set" data="original_caller_id_number=31652033157"/>
<action application="set" data="effective_caller_id_name=31652033157"/>
<action application="set" data="effective_caller_id_number=31652033157"/>
<action application="set" data="receiver_accid=160"/>
<action application="export" data="domain_name=134271.yoursipcloud.com"/>
<action application="export" data="sip_to_host=134271.yoursipcloud.com"/>
<action application="export" data="presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253"/>
<action application="export" data="call_type=7"/>
<action application="set" data="did_calltype=7"/>
<action application="set" data="did_extensions=42"/>
<action application="set" data="sip_h_P-ring_timeout"=5"/>
<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="ringback="/>
<action application="set" data="module_name=pbx"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/42/${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_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|"/>
<action application="set" data="original_did_number=31855000149"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31652033157@185.249.40.253 parsing [default->31855000149] continue=false
Dialplan: sofia/default/31652033157@185.249.40.253 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_destination_number=31855000149)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(callstart=2022-05-25 11:56:27)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(call_direction=inbound)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(origination_rates=0)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(receiver_accid=160)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(domain_name=134271.yoursipcloud.com)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(sip_to_host=134271.yoursipcloud.com)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(call_type=7)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(did_calltype=7)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(did_extensions=42)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(sip_h_P-ring_timeout)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(group_confirm_key=exec)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(ringback=)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(module_name=pbx)
Dialplan: sofia/default/31652033157@185.249.40.253 Action db(insert/pickup_any_group_${callgroup}/42/${uuid})
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/31652033157@185.249.40.253 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/31652033157@185.249.40.253 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/31652033157@185.249.40.253 Action export(ring_group_transfer=true)
Dialplan: sofia/default/31652033157@185.249.40.253 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_did_number=31855000149)
2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.253) State ROUTING going to sleep
2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_EXECUTE (Cur 9 Tot 24100)
2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.253) State EXECUTE
2022-05-25 13:56:27.177602 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.253 SOFIA EXECUTE
2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_destination_number=31855000149)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_destination_number]=[31855000149]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(callstart=2022-05-25 11:56:27)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [callstart]=[2022-05-25 11:56:27]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(hangup_after_bridge=true)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(continue_on_fail=TRUE)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(account_id=231)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(parent_id=0)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(entity_id=3)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(call_processed=internal)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(call_direction=inbound)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(accountname=SBC1..)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(filename1=astpp.pbx.lua)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [origination_rates_did]=[ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(origination_rates=0)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(original_caller_id_name=31652033157)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [original_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(original_caller_id_number=31652033157)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [original_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_caller_id_name=31652033157)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_caller_id_number=31652033157)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(receiver_accid=160)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [receiver_accid]=[160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(domain_name=134271.yoursipcloud.com)
2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(sip_to_host=134271.yoursipcloud.com)
2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253)
2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(call_type=7)
2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(did_calltype=7)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(did_extensions=42)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [did_extensions]=[42]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(sip_h_P-ring_timeout)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [sip_h_P-ring_timeout]=[UNDEF]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(group_confirm_key=exec)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(ringback=)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(module_name=pbx)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 db(insert/pickup_any_group_/42/4b83c479-123b-4eab-9b75-4a96c16733c9)
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(dialed_extension=transfer_call)
2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(dialed_extension=transfer_call)
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2022-05-25 13:56:27.197592 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2022-05-25 13:56:27.197592 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(ring_group_transfer=true)
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.253] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [call_type]=[7] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-05-25 13:56:27.197592 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [d32ca908-0690-4186-a544-cfaf8abad35c]
2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 10 Tot 24101)
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT
2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT
2022-05-25 13:56:27.197592 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1653451855 1653451856 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 27932 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-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 10 Tot 24101)
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING
2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING
2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 24101)
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0]
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep
2022-05-25 13:56:27.197592 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [1c02af38-2cd4-40d4-9643-2338569bafab]
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 11 Tot 24102)
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0.
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100]
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1653451855 1653451856 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 27932 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:27.197592 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 11 Tot 24102)
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT
2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 11 Tot 24102)
2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING
2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING
2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING
2022-05-25 13:56:27.197592 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:27.197592 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-05-25%2013%3A56%3A27
Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A27%20GMT
Event-Date-Timestamp: 1653479787197592
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 1918543
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31652033157%40185.249.40.236
Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31652033157%40185.249.40.236
Channel-Call-UUID: 1c02af38-2cd4-40d4-9643-2338569bafab
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: 31652033157
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31652033157
Caller-Caller-ID-Number: 31652033157
Caller-Orig-Caller-ID-Name: 31652033157
Caller-Orig-Caller-ID-Number: 31652033157
Caller-Network-Addr: 185.249.40.236
Caller-ANI: 31652033157
Caller-Destination-Number: 31854832191
Caller-Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31652033157%40185.249.40.236
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1653479787197592
Caller-Channel-Created-Time: 1653479787197592
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: 1c02af38-2cd4-40d4-9643-2338569bafab
variable_session_id: 24102
variable_sip_from_user: 31652033157
variable_sip_from_uri: 31652033157%40185.249.40.236
variable_sip_from_host: 185.249.40.236
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31652033157%40185.249.40.236
variable_sip_call_id: 8c77cbc5-56c4-123b-30a7-56465534f0d2
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.236
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1653479787197592
variable_sip_received_ip: 185.249.40.236
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_looped_call: true
variable_sip_from_user_stripped: 31652033157
variable_sip_from_tag: aSD1N0Uee73vc
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31652033157
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.236%3Brport%3D5060%3Bbranch%3Dz9hG4bK3aSj0BcyF2Xym
variable_sip_from_display: 31652033157
variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.236%3E%3Btag%3DaSD1N0Uee73vc
variable_sip_full_to: %3Csip%3A31854832191%40134271.yoursipcloud.com%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE
variable_sip_req_user: 31854832191
variable_sip_req_port: 5060
variable_sip_req_uri: 31854832191%40134271.yoursipcloud.com%3A5060
variable_sip_req_host: 134271.yoursipcloud.com
variable_sip_to_user: 31854832191
variable_sip_to_port: 5060
variable_sip_to_uri: 31854832191%40134271.yoursipcloud.com%3A5060
variable_sip_to_host: 134271.yoursipcloud.com
variable_sip_contact_user: mod_sofia
variable_sip_contact_port: 5060
variable_sip_contact_uri: mod_sofia%40185.249.40.236%3A5060
variable_sip_contact_host: 185.249.40.236
variable_sip_user_agent: ASTPP
variable_sip_via_host: 185.249.40.236
variable_sip_via_rport: 5060
variable_max_forwards: 61
variable_presence_id: 31652033157%40185.249.40.236
variable_sip_Privacy: none
variable_sip_h_Diversion: %3Csip%3A31855000149%40185.249.40.253%3E%3Breason%3Dunknown%3Bcounter%3D1%3Bprivacy%3Doff
variable_sip_h_P-Accountcode: 160
variable_sip_h_P-call_type: custom_forward
variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201653451855%201653451856%20IN%20IP4%20185.249.40.236%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20185.249.40.236%0D%0At%3D0%200%0D%0Am%3Daudio%2027932%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%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: 185.249.40.236
variable_remote_media_port: 27932
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: 1c02af38-2cd4-40d4-9643-2338569bafab
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31652033157
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31652033157
Hunt-Caller-ID-Number: 31652033157
Hunt-Orig-Caller-ID-Name: 31652033157
Hunt-Orig-Caller-ID-Number: 31652033157
Hunt-Network-Addr: 185.249.40.236
Hunt-ANI: 31652033157
Hunt-Destination-Number: 31854832191
Hunt-Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.236
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1653479787197592
Hunt-Channel-Created-Time: 1653479787197592
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-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31854832191' limit 1
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31854832191' and status=0 LIMIT 1
2022-05-25 13:56:27.197592 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157
2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-05-25 13:56:27.197592 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com
2022-05-25 13:56:27.197592 [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 ="31854832191" LIMIT 1
2022-05-25 13:56:27.217609 [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="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1
2022-05-25 13:56:27.217609 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-05-25 13:56:27.217609 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160]
2022-05-25 13:56:27.217609 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 160 limit 1
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1
2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2022-05-25 13:56:27.237615 [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-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
2022-05-25 13:56:27.237615 [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 = '^31854832191.*' OR patterns = '^3185483219.*' OR patterns = '^318548321.*' OR patterns = '^31854832.*' OR patterns = '^3185483.*' OR patterns = '^318548.*' OR patterns = '^31854.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-05-25 13:56:27.237615 [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 ="31854832191" AND A.accountid = '160' limit 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191
2022-05-25 13:56:27.237615 [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 ="31854832191" LIMIT 1
2022-05-25 13:56:27.237615 [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="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-05-25 13:56:27.237615 [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 = '31854832191' OR number = '3185483219' OR number = '318548321' OR number = '31854832' OR number = '3185483' OR number = '318548' OR number = '31854' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31854832191*' OR number = '3185483219*' OR number = '318548321*' OR number = '31854832*' OR number = '3185483*' OR number = '318548*' OR number = '31854*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31854832191' OR routing_prefix = '3185483219' OR routing_prefix = '318548321' OR routing_prefix = '31854832' OR routing_prefix = '3185483' OR routing_prefix = '318548' OR routing_prefix = '31854' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=160) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99616.3862
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' 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-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99616.3862 balance Accountid 12 !!!
2022-05-25 13:56:27.257611 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158
2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2022-05-25 13:56:27.257611 [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 = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' 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-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.*
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.*
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-05-25 13:56:27.257611 [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 = 160 AND status=0 LIMIT 1
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:27.257611 [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-05-25 13:56:27.257611 [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-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191
2022-05-25 13:56:27.257611 [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 ="31854832191" LIMIT 1
2022-05-25 13:56:27.257611 [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="31854832191">
<condition field="destination_number" expression="31854832191">
<action application="set" data="effective_destination_number=31854832191"/>
<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-05-25 11:56:27"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=160"/>
<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:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|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_name=31652033157"/>
<action application="set" data="original_caller_id_number=31652033157"/>
<action application="limit" data="db 160 user_160 10 "/>
<action application="limit" data="hash CPS_160 CPS_user_160 1/1 "/>
<action application="set" data="effective_caller_id_name=31652033157"/>
<action application="set" data="effective_caller_id_number=31652033157"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|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=0"/>
<action application="set" data="force_trunk_flag=8158"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31854832191"/>
<action application="export" data="presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31652033157@185.249.40.236 parsing [default->31854832191] continue=false
Dialplan: sofia/default/31652033157@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_destination_number=31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(callstart=2022-05-25 11:56:27)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(account_id=160)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(parent_id=12)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(entity_id=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_processed=internal)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_direction=outbound)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(accountname=default)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(db 160 user_160 10 )
Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 )
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(calltype=STANDARD)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(trunk_id=4)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(provider_id=231)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(rate_flag=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(force_trunk_flag=8158)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(intcall=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_id=31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING going to sleep
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_EXECUTE (Cur 11 Tot 24102)
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE
2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.236 SOFIA EXECUTE
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.236 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_destination_number=31854832191)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_destination_number]=[31854832191]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(callstart=2022-05-25 11:56:27)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [callstart]=[2022-05-25 11:56:27]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(hangup_after_bridge=true)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(continue_on_fail=TRUE)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(account_id=160)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [account_id]=[160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(parent_id=12)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [parent_id]=[12]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(entity_id=0)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_processed=internal)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_direction=outbound)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(accountname=default)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [accountname]=[default]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(filename1=astpp.pbx.lua)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [origination_rates]=[ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|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/31652033157@185.249.40.236 set(original_caller_id_name=31652033157)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_number=31652033157)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(db 160 user_160 10 )
2022-05-25 13:56:27.257611 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0
2022-05-25 13:56:27.257611 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 )
2022-05-25 13:56:27.257611 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1
2022-05-25 13:56:27.257611 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_name=31652033157)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_number=31652033157)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(calltype=STANDARD)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [termination_rates]=[ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(trunk_id=4)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(provider_id=231)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(rate_flag=0)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(force_trunk_flag=8158)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [force_trunk_flag]=[8158]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=trunk_id=4)
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(intcall=0)
2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_id=31854832191)
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-05-25 13:56:27.257611 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [5e830af5-3039-468c-8f7f-d94d1212c9a2]
2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 12 Tot 24103)
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
2022-05-25 13:56:27.257611 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1653458581 1653458582 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 21206 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-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 12 Tot 24103)
2022-05-25 13:56:27.257611 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 24103)
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180]
2022-05-25 13:56:28.397657 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191!
2022-05-25 13:56:28.397657 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING
2022-05-25 13:56:28.397657 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.236!
2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][180]
2022-05-25 13:56:28.397657 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.236!
2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180]
2022-05-25 13:56:28.397657 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060!
2022-05-25 13:56:28.397657 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
2022-05-25 13:56:28.397657 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.253!
2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [early][180]
2022-05-25 13:56:28.397657 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.253!
2022-05-25 13:56:28.797604 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][183]
2022-05-25 13:56:28.797604 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 3909790923 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 12966 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-05-25 13:56:28.797604 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191!
2022-05-25 13:56:28.797604 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191) Callstate Change RINGING -> EARLY
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:28.797604 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191 Original read codec set to PCMA:8
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191] 185.249.40.236 port 21206 -> 185.249.40.253 port 12966 codec: 8 ms: 20
2022-05-25 13:56:28.797604 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191 Set 2833 dtmf send payload to 101
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191 Set 2833 dtmf receive payload to 101
2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191 Set rtp dtmf delay to 40
2022-05-25 13:56:28.817602 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.236] 185.249.40.236 port 21482 -> 185.249.40.236 port 27932 codec: 8 ms: 20
2022-05-25 13:56:28.817602 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf receive payload to 101
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.236 Set rtp dtmf delay to 40
2022-05-25 13:56:28.817602 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1653458306 1653458307 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 21482 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-05-25 13:56:28.817602 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.236!
2022-05-25 13:56:28.817602 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.236) Callstate Change RINGING -> EARLY
2022-05-25 13:56:28.817602 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191]
2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][183]
2022-05-25 13:56:28.817602 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-05-25 13:56:28.817602 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 24103)
2022-05-25 13:56:28.817602 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA
2022-05-25 13:56:28.817602 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][183]
2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1653458306 1653458307 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 21482 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-05-25 13:56:28.817602 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191@134271.yoursipcloud.com:5060!
2022-05-25 13:56:28.817602 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> EARLY
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:28.817602 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191@134271.yoursipcloud.com:5060] 185.249.40.236 port 27932 -> 185.249.40.236 port 21482 codec: 8 ms: 20
2022-05-25 13:56:28.817602 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
EXECUTE [depth=1] sofia/default/31854832191@134271.yoursipcloud.com:5060 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101
2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set rtp dtmf delay to 40
2022-05-25 13:56:28.817602 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group] Ring group confirm flag :false
2022-05-25 13:56:28.817602 [DEBUG] switch_cpp.cpp:1191 sofia/default/31854832191@134271.yoursipcloud.com:5060 destroy/unlink session from object
2022-05-25 13:56:28.837598 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.253] 185.249.40.236 port 20366 -> 185.249.40.253 port 12962 codec: 8 ms: 20
2022-05-25 13:56:28.837598 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf send payload to 96
2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf receive payload to 96
2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.253 Set rtp dtmf delay to 40
2022-05-25 13:56:28.837598 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1653459422 1653459423 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 20366 RTP/AVP 8 96
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ptime:20
a=sendrecv
2022-05-25 13:56:28.837598 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.253!
2022-05-25 13:56:28.837598 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.253) Callstate Change RINGING -> EARLY
2022-05-25 13:56:28.837598 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191@134271.yoursipcloud.com:5060]
2022-05-25 13:56:28.837598 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [early][183]
2022-05-25 13:56:28.837598 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-05-25 13:56:28.837598 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 24103)
2022-05-25 13:56:28.837598 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA
2022-05-25 13:56:28.837598 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-05-25 13:56:28.897597 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-05-25 13:56:28.917595 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-05-25 13:56:28.997620 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:29.017600 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191@134271.yoursipcloud.com:5060 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:29.017600 [DEBUG] switch_ivr.c:632 sofia/default/31854832191 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31854832191 sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:29.017600 [DEBUG] switch_scheduler.c:252 Added task 8733 switch_ivr_schedule_hangup (5e830af5-3039-468c-8f7f-d94d1212c9a2) to run at 1653485789
2022-05-25 13:56:29.037595 [DEBUG] switch_ivr.c:632 sofia/default/31854832191@134271.yoursipcloud.com:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:29.037595 [DEBUG] switch_scheduler.c:252 Added task 8734 switch_ivr_schedule_hangup (d32ca908-0690-4186-a544-cfaf8abad35c) to run at 1653485789
2022-05-25 13:56:30.797647 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7985166681@136056.yoursipcloud.com] from ip 143.178.159.127
2022-05-25 13:56:31.857637 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [e176299e-d8cc-44c1-846c-7be9279cddcb]
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 24104)
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=root 1419672069 1419672069 IN IP4 213.144.239.110
s=Asterisk PBX 11.4.0
c=IN IP4 213.144.239.110
t=0 0
m=audio 12480 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:31.857637 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 24104)
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
2022-05-25 13:56:31.857637 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 24104)
2022-05-25 13:56:31.857637 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
2022-05-25 13:56:31.857637 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
2022-05-25 13:56:31.857637 [INFO] mod_dialplan_xml.c:637 Processing 31332030246 <31332030246>->31622434824 in context default
2022-05-25 13:56:31.857637 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-05-25 13:56:31.857637 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:31.877593 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-05-25%2013%3A56%3A31
Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A31%20GMT
Event-Date-Timestamp: 1653479791857637
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 1918673
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 183284%40213.144.239.110
Channel-Call-UUID: e176299e-d8cc-44c1-846c-7be9279cddcb
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31332030246
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31332030246
Caller-Caller-ID-Number: 31332030246
Caller-Orig-Caller-ID-Name: 31332030246
Caller-Orig-Caller-ID-Number: 31332030246
Caller-Network-Addr: 213.144.239.110
Caller-ANI: 31332030246
Caller-Destination-Number: 31622434824
Caller-Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1653479791857637
Caller-Channel-Created-Time: 1653479791857637
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: e176299e-d8cc-44c1-846c-7be9279cddcb
variable_session_id: 24104
variable_sip_from_user: 183284
variable_sip_from_port: 9933
variable_sip_from_uri: 183284%40213.144.239.110%3A9933
variable_sip_from_host: 213.144.239.110
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/183284%40213.144.239.110%3A9933
variable_sip_call_id: 2357e09600b22ea617899df9308e5917%40213.144.239.110%3A9933
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 213.144.239.110
variable_sip_network_port: 9933
variable_sip_invite_stamp: 1653479791857637
variable_sip_received_ip: 213.144.239.110
variable_sip_received_port: 9933
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 183284
variable_sip_from_tag: as48cbde40
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %2231332030246%22%20%3Csip%3A31332030246%40213.144.239.110%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_full_via: SIP/2.0/UDP%20213.144.239.110%3A9933%3Bbranch%3Dz9hG4bK31915245%3Brport%3D9933
variable_sip_full_from: %3Csip%3A183284%40213.144.239.110%3A9933%3E%3Btag%3Das48cbde40
variable_sip_full_to: %3Csip%3A31622434824%40emolife138.yoursipcloud.com%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 31622434824
variable_sip_req_uri: 31622434824%40emolife138.yoursipcloud.com
variable_sip_req_host: emolife138.yoursipcloud.com
variable_sip_to_user: 31622434824
variable_sip_to_uri: 31622434824%40emolife138.yoursipcloud.com
variable_sip_to_host: emolife138.yoursipcloud.com
variable_sip_contact_user: 183284
variable_sip_contact_port: 9933
variable_sip_contact_uri: 183284%40213.144.239.110%3A9933
variable_sip_contact_host: 213.144.239.110
variable_sip_user_agent: FPBX-2.11.0(11.4.0)
variable_sip_via_host: 213.144.239.110
variable_sip_via_port: 9933
variable_sip_via_rport: 9933
variable_max_forwards: 70
variable_presence_id: 183284%40213.144.239.110
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201419672069%201419672069%20IN%20IP4%20213.144.239.110%0D%0As%3DAsterisk%20PBX%2011.4.0%0D%0Ac%3DIN%20IP4%20213.144.239.110%0D%0At%3D0%200%0D%0Am%3Daudio%2012480%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%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: 213.144.239.110
variable_remote_media_port: 12480
variable_rtp_audio_recv_pt: 0
variable_rtp_use_codec_name: PCMU
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
variable_read_codec: PCMU
variable_original_read_codec: PCMU
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: e176299e-d8cc-44c1-846c-7be9279cddcb
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31332030246
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31332030246
Hunt-Caller-ID-Number: 31332030246
Hunt-Orig-Caller-ID-Name: 31332030246
Hunt-Orig-Caller-ID-Number: 31332030246
Hunt-Network-Addr: 213.144.239.110
Hunt-ANI: 31332030246
Hunt-Destination-Number: 31622434824
Hunt-Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1653479791857637
Hunt-Channel-Created-Time: 1653479791857637
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31622434824
2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31622434824' limit 1
2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31622434824' AND status=0 limit 1
2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31622434824' and status=0 LIMIT 1
2022-05-25 13:56:31.877593 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31332030246 / 31332030246
2022-05-25 13:56:31.877593 [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 ="31622434824" LIMIT 1
2022-05-25 13:56:31.877593 [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="31622434824" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("213.144.239.110") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31622434824" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31622434824.*' OR blocked_patterns = '^3162243482.*' OR blocked_patterns = '^316224348.*' OR blocked_patterns = '^31622434.*' OR blocked_patterns = '^3162243.*' OR blocked_patterns = '^316224.*' OR blocked_patterns = '^31622.*' OR blocked_patterns = '^3162.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31622434824" AND (accountid = 0 OR status = 1) LIMIT 1
2022-05-25 13:56:31.897594 [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 = '^31622434824.*' OR patterns = '^3162243482.*' OR patterns = '^316224348.*' OR patterns = '^31622434.*' OR patterns = '^3162243.*' OR patterns = '^316224.*' OR patterns = '^31622.*' OR patterns = '^3162.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-05-25 13:56:31.897594 [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 ="31622434824" AND A.accountid = '199' limit 1
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31622434824
2022-05-25 13:56:31.897594 [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 ="31622434824" LIMIT 1
2022-05-25 13:56:31.897594 [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="31622434824" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-05-25 13:56:31.897594 [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 = '31622434824' OR number = '3162243482' OR number = '316224348' OR number = '31622434' OR number = '3162243' OR number = '316224' OR number = '31622' OR number = '3162' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31622434824*' OR number = '3162243482*' OR number = '316224348*' OR number = '31622434*' OR number = '3162243*' OR number = '316224*' OR number = '31622*' OR number = '3162*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31332030246' OR number = '3133203024' OR number = '313320302' OR number = '31332030' OR number = '3133203' OR number = '313320' OR number = '31332' OR number = '3133' OR number = '313' OR number = '31' OR number = '3' OR number ='--') OR (number = '31332030246*' OR number = '3133203024*' OR number = '313320302*' OR number = '31332030*' OR number = '3133203*' OR number = '313320*' OR number = '31332*' OR number = '3133*' OR number = '313*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31622434824' OR routing_prefix = '3162243482' OR routing_prefix = '316224348' OR routing_prefix = '31622434' OR routing_prefix = '3162243' OR routing_prefix = '316224' OR routing_prefix = '31622' OR routing_prefix = '3162' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 699.9759
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1597624
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04100
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 199
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your699.9759 balance Accountid 199 !!!
2022-05-25 13:56:31.897594 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-05-25 13:56:31.897594 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 189
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "189" AND deleted = 0 limit 1
2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31622434824.*' OR blocked_patterns = '^3162243482.*' OR blocked_patterns = '^316224348.*' OR blocked_patterns = '^31622434.*' OR blocked_patterns = '^3162243.*' OR blocked_patterns = '^316224.*' OR blocked_patterns = '^31622.*' OR blocked_patterns = '^3162.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 189 limit 1
2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 189
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 510514
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 195.5258
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=189) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846859
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 189
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your195.5258 balance Accountid 189 !!!
2022-05-25 13:56:31.917608 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1597624
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2022-05-25 13:56:31.917608 [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 = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' 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-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114266
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3162.*
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3162.*
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-05-25 13:56:31.917608 [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 = 199 AND status=0 LIMIT 1
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-05-25 13:56:31.917608 [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-05-25 13:56:31.917608 [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-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31622434824
2022-05-25 13:56:31.917608 [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 ="31622434824" LIMIT 1
2022-05-25 13:56:31.917608 [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="31622434824">
<condition field="destination_number" expression="31622434824">
<action application="set" data="effective_destination_number=31622434824"/>
<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-05-25 11:56:31"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=199"/>
<action application="set" data="parent_id=189"/>
<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=emopbx"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189"/>
<action application="set" data="original_caller_id_name=31332030246"/>
<action application="set" data="original_caller_id_number=31332030246"/>
<action application="limit" data="db 183284 user_183284 10 "/>
<action application="limit" data="db 510514 user_510514 20 "/><action application="limit" data="hash CPS_510514 CPS_user_510514 1/1 "/>
<action application="set" data="effective_caller_id_name=31332030246"/>
<action application="set" data="effective_caller_id_number=31332030246"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|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=0"/>
<action application="set" data="force_trunk_flag=1597624"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31622434824"/>
<action application="export" data="presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31622434824"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31622434824"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->31622434824] continue=false
Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [31622434824] destination_number(31622434824) =~ /31622434824/ break=on-false
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=31622434824)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-25 11:56:31)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(entity_id=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(accountname=emopbx)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=31332030246)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=31332030246)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 183284 user_183284 10 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 510514 user_510514 20 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(hash CPS_510514 CPS_user_510514 1/1 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_name=31332030246)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_number=31332030246)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(calltype=STANDARD)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(trunk_id=4)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(provider_id=231)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(rate_flag=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(force_trunk_flag=1597624)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(intcall=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_id=31622434824)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31622434824)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31622434824)
2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 24104)
2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
2022-05-25 13:56:31.917608 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=31622434824)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[31622434824]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-25 11:56:31)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-25 11:56:31]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(hangup_after_bridge=true)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(continue_on_fail=TRUE)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(entity_id=0)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(accountname=emopbx)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [accountname]=[emopbx]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(filename1=astpp.pbx.lua)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [origination_rates]=[ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=31332030246)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[31332030246]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=31332030246)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[31332030246]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 183284 user_183284 10 )
2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: 183284_user_183284 max:10, interval:0
2022-05-25 13:56:31.917608 [DEBUG] mod_db.c:194 Usage for 183284_user_183284 is now 3/10
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 510514 user_510514 20 )
2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: 510514_user_510514 max:20, interval:0
2022-05-25 13:56:31.917608 [DEBUG] mod_db.c:194 Usage for 510514_user_510514 is now 5/20
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(hash CPS_510514 CPS_user_510514 1/1 )
2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: CPS_510514_CPS_user_510514 max:1, interval:1
2022-05-25 13:56:31.917608 [DEBUG] mod_hash.c:198 Usage for CPS_510514_CPS_user_510514 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_name=31332030246)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_name]=[31332030246]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_number=31332030246)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_number]=[31332030246]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(calltype=STANDARD)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [termination_rates]=[ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(trunk_id=4)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(provider_id=231)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(rate_flag=0)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(force_trunk_flag=1597624)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [force_trunk_flag]=[1597624]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=trunk_id=4)
2022-05-25 13:56:31.917608 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(intcall=0)
2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [intcall]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_id=31622434824)
2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31622434824]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile)
2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824)
2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile] to event
2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_id]=[31622434824] to event
2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile] to event
2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-05-25 13:56:31.937610 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31622434824 [54a21cfd-007a-4c35-9ee0-abaeb433fdc4]
2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:5089 (sofia/default/31622434824) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_INIT (Cur 14 Tot 24105)
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31622434824) State INIT
2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:93 sofia/default/31622434824 SOFIA INIT
2022-05-25 13:56:31.937610 [DEBUG] sofia_glue.c:1618 sofia/default/31622434824 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1653461973 1653461974 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 17818 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-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:40 sofia/default/31622434824 Standard INIT
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31622434824) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31622434824) State INIT going to sleep
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_ROUTING (Cur 14 Tot 24105)
2022-05-25 13:56:31.937610 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [calling][0]
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31622434824) State ROUTING
2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:154 sofia/default/31622434824 SOFIA ROUTING
2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31622434824) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31622434824) State ROUTING going to sleep
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 24105)
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31622434824) State CONSUME_MEDIA
2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31622434824) State CONSUME_MEDIA going to sleep
2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [proceeding][183]
2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 3909790959 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 13010 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-05-25 13:56:32.417637 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31622434824!
2022-05-25 13:56:32.417637 [DEBUG] switch_channel.c:3565 (sofia/default/31622434824) Callstate Change DOWN -> EARLY
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31622434824 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:32.417637 [DEBUG] switch_core_codec.c:111 sofia/default/31622434824 Original read codec set to PCMA:8
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5911 sofia/default/31622434824 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31622434824] 185.249.40.236 port 17818 -> 185.249.40.253 port 13010 codec: 8 ms: 20
2022-05-25 13:56:32.417637 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8977 sofia/default/31622434824 Set 2833 dtmf send payload to 101
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8984 sofia/default/31622434824 Set 2833 dtmf receive payload to 101
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:9007 sofia/default/31622434824 Set rtp dtmf delay to 40
2022-05-25 13:56:32.417637 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 22526 -> 213.144.239.110 port 12480 codec: 0 ms: 20
2022-05-25 13:56:32.417637 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101
2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40
2022-05-25 13:56:32.417637 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1653457266 1653457267 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 22526 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-05-25 13:56:32.417637 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/183284@213.144.239.110:9933!
2022-05-25 13:56:32.417637 [DEBUG] switch_channel.c:3565 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> EARLY
2022-05-25 13:56:32.417637 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31622434824]
2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [early][183]
2022-05-25 13:56:32.417637 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31622434824) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-05-25 13:56:32.417637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 24105)
2022-05-25 13:56:32.417637 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31622434824) State EXCHANGE_MEDIA
2022-05-25 13:56:32.417637 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-05-25 13:56:32.497616 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-05-25 13:56:32.617605 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31622434824 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:32.637618 [DEBUG] switch_ivr.c:632 sofia/default/31622434824 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31622434824 sched_hangup(+6000 normal_clearing)
2022-05-25 13:56:32.637618 [DEBUG] switch_scheduler.c:252 Added task 8735 switch_ivr_schedule_hangup (54a21cfd-007a-4c35-9ee0-abaeb433fdc4) to run at 1653485792
2022-05-25 13:56:33.117695 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [proceeding][183]
2022-05-25 13:56:33.117695 [DEBUG] sofia.c:7333 Duplicate SDP
v=0
o=- 3909790959 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 13010 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5911 sofia/default/31622434824 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/31622434824.
2022-05-25 13:56:33.117695 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-05-25 13:56:34.797618 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@262239.yoursipcloud.com] from ip 86.93.235.249
2022-05-25 13:56:36.977607 [NOTICE] sofia.c:1089 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
2022-05-25 13:56:36.977607 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 4
2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933]
2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:820 sofia/default/183284@213.144.239.110:9933 ending bridge by request from write function
2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31617484965]
2022-05-25 13:56:36.977607 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31617484965 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31617484965) State EXCHANGE_MEDIA going to sleep
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31617484965) Running State Change CS_HANGUP (Cur 14 Tot 24105)
2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31617484965 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/183284@213.144.239.110:9933 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31617484965) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:36.977607 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31617484965) State HANGUP
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 14 Tot 24105)
2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:447 sofia/default/31617484965 Overriding SIP cause 480 with 200 from the other leg
2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:453 Channel sofia/default/31617484965 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31617484965
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:60 sofia/default/31617484965 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31617484965) State HANGUP going to sleep
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31617484965) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31617484965) Running State Change CS_REPORTING (Cur 14 Tot 24105)
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31617484965) State REPORTING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 14 Tot 24105)
2022-05-25 13:56:36.977607 [INFO] mod_json_cdr.c:271 Process [f409fbe6-9089-41b9-a427-cd788021f896.cdr.json]
2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
2022-05-25 13:56:36.977607 [INFO] mod_json_cdr.c:271 Process [8621f8ab-44e9-4f90-a8c0-8c24640806c3.cdr.json]
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:174 sofia/default/31617484965 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31617484965) State REPORTING going to sleep
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31617484965) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:36.997609 [DEBUG] switch_core_session.c:1726 Session 24085 (sofia/default/31617484965) Locked, Waiting on external entities
2022-05-25 13:56:36.997609 [NOTICE] switch_core_session.c:1744 Session 24085 (sofia/default/31617484965) Ended
2022-05-25 13:56:36.997609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31617484965 [CS_DESTROY]
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31617484965) Running State Change CS_DESTROY (Cur 13 Tot 24105)
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31617484965) State DESTROY
2022-05-25 13:56:36.997609 [DEBUG] mod_sofia.c:364 sofia/default/31617484965 SOFIA DESTROY
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:181 sofia/default/31617484965 Standard DESTROY
2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31617484965) State DESTROY going to sleep
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:37.017636 [DEBUG] switch_core_session.c:1726 Session 24084 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
2022-05-25 13:56:37.017636 [NOTICE] switch_core_session.c:1744 Session 24084 (sofia/default/183284@213.144.239.110:9933) Ended
2022-05-25 13:56:37.017636 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 12 Tot 24105)
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
2022-05-25 13:56:37.017636 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
2022-05-25 13:56:37.137621 [DEBUG] switch_scheduler.c:147 Deleting task 8727 switch_ivr_schedule_hangup (f409fbe6-9089-41b9-a427-cd788021f896)
2022-05-25 13:56:38.297604 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [7e8679f5-8667-4858-9aeb-157897008635]
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 24106)
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=root 2070521491 2070521491 IN IP4 213.144.239.110
s=Asterisk PBX 11.4.0
c=IN IP4 213.144.239.110
t=0 0
m=audio 13082 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-25 13:56:38.297604 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 24106)
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
2022-05-25 13:56:38.297604 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 24106)
2022-05-25 13:56:38.297604 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
2022-05-25 13:56:38.297604 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
2022-05-25 13:56:38.297604 [INFO] mod_dialplan_xml.c:637 Processing 3226160551 <3226160551>->32471696191 in context default
2022-05-25 13:56:38.297604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-05-25 13:56:38.297604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-25 13:56:38.317597 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-05-25%2013%3A56%3A38
Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A38%20GMT
Event-Date-Timestamp: 1653479798297604
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 1918803
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 183284%40213.144.239.110
Channel-Call-UUID: 7e8679f5-8667-4858-9aeb-157897008635
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 3226160551
Caller-Dialplan: XML
Caller-Caller-ID-Name: 3226160551
Caller-Caller-ID-Number: 3226160551
Caller-Orig-Caller-ID-Name: 3226160551
Caller-Orig-Caller-ID-Number: 3226160551
Caller-Network-Addr: 213.144.239.110
Caller-ANI: 3226160551
Caller-Destination-Number: 32471696191
Caller-Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1653479798297604
Caller-Channel-Created-Time: 1653479798297604
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 7e8679f5-8667-4858-9aeb-157897008635
variable_session_id: 24106
variable_sip_from_user: 183284
variable_sip_from_port: 9933
variable_sip_from_uri: 183284%40213.144.239.110%3A9933
variable_sip_from_host: 213.144.239.110
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/183284%40213.144.239.110%3A9933
variable_sip_call_id: 79045f7d65144c4177ddbd51762e14ea%40213.144.239.110%3A9933
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 213.144.239.110
variable_sip_network_port: 9933
variable_sip_invite_stamp: 1653479798297604
variable_sip_received_ip: 213.144.239.110
variable_sip_received_port: 9933
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 183284
variable_sip_from_tag: as6a5e796c
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %223226160551%22%20%3Csip%3A3226160551%40213.144.239.110%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_full_via: SIP/2.0/UDP%20213.144.239.110%3A9933%3Bbranch%3Dz9hG4bK1484bc5e%3Brport%3D9933
variable_sip_full_from: %3Csip%3A183284%40213.144.239.110%3A9933%3E%3Btag%3Das6a5e796c
variable_sip_full_to: %3Csip%3A32471696191%40emolife138.yoursipcloud.com%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 32471696191
variable_sip_req_uri: 32471696191%40emolife138.yoursipcloud.com
variable_sip_req_host: emolife138.yoursipcloud.com
variable_sip_to_user: 32471696191
variable_sip_to_uri: 32471696191%40emolife138.yoursipcloud.com
variable_sip_to_host: emolife138.yoursipcloud.com
variable_sip_contact_user: 183284
variable_sip_contact_port: 9933
variable_sip_contact_uri: 183284%40213.144.239.110%3A9933
variable_sip_contact_host: 213.144.239.110
variable_sip_user_agent: FPBX-2.11.0(11.4.0)
variable_sip_via_host: 213.144.239.110
variable_sip_via_port: 9933
variable_sip_via_rport: 9933
variable_max_forwards: 70
variable_presence_id: 183284%40213.144.239.110
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202070521491%202070521491%20IN%20IP4%20213.144.239.110%0D%0As%3DAsterisk%20PBX%2011.4.0%0D%0Ac%3DIN%20IP4%20213.144.239.110%0D%0At%3D0%200%0D%0Am%3Daudio%2013082%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%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: 213.144.239.110
variable_remote_media_port: 13082
variable_rtp_audio_recv_pt: 0
variable_rtp_use_codec_name: PCMU
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
variable_read_codec: PCMU
variable_original_read_codec: PCMU
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 7e8679f5-8667-4858-9aeb-157897008635
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 3226160551
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 3226160551
Hunt-Caller-ID-Number: 3226160551
Hunt-Orig-Caller-ID-Name: 3226160551
Hunt-Orig-Caller-ID-Number: 3226160551
Hunt-Network-Addr: 213.144.239.110
Hunt-ANI: 3226160551
Hunt-Destination-Number: 32471696191
Hunt-Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1653479798297604
Hunt-Channel-Created-Time: 1653479798297604
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 32471696191
2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '32471696191' limit 1
2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '32471696191' AND status=0 limit 1
2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '32471696191' and status=0 LIMIT 1
2022-05-25 13:56:38.317597 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 3226160551 / 3226160551
2022-05-25 13:56:38.317597 [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 ="32471696191" LIMIT 1
2022-05-25 13:56:38.317597 [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="32471696191" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("213.144.239.110") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "32471696191" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^32471696191.*' OR blocked_patterns = '^3247169619.*' OR blocked_patterns = '^324716961.*' OR blocked_patterns = '^32471696.*' OR blocked_patterns = '^3247169.*' OR blocked_patterns = '^324716.*' OR blocked_patterns = '^32471.*' OR blocked_patterns = '^3247.*' OR blocked_patterns = '^324.*' OR blocked_patterns = '^32.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="32471696191" AND (accountid = 0 OR status = 1) LIMIT 1
2022-05-25 13:56:38.337604 [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 = '^32471696191.*' OR patterns = '^3247169619.*' OR patterns = '^324716961.*' OR patterns = '^32471696.*' OR patterns = '^3247169.*' OR patterns = '^324716.*' OR patterns = '^32471.*' OR patterns = '^3247.*' OR patterns = '^324.*' OR patterns = '^32.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-05-25 13:56:38.337604 [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 ="32471696191" AND A.accountid = '199' limit 1
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 32471696191
2022-05-25 13:56:38.337604 [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 ="32471696191" LIMIT 1
2022-05-25 13:56:38.337604 [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="32471696191" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-05-25 13:56:38.337604 [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 = '32471696191' OR number = '3247169619' OR number = '324716961' OR number = '32471696' OR number = '3247169' OR number = '324716' OR number = '32471' OR number = '3247' OR number = '324' OR number = '32' OR number = '3' OR number ='--') OR (number = '32471696191*' OR number = '3247169619*' OR number = '324716961*' OR number = '32471696*' OR number = '3247169*' OR number = '324716*' OR number = '32471*' OR number = '3247*' OR number = '324*' OR number = '32*' OR number = '3*' OR number ='--') OR (number = '3226160551' OR number = '322616055' OR number = '32261605' OR number = '3226160' OR number = '322616' OR number = '32261' OR number = '3226' OR number = '322' OR number = '32' OR number = '3' OR number ='--') OR (number = '3226160551*' OR number = '322616055*' OR number = '32261605*' OR number = '3226160*' OR number = '322616*' OR number = '32261*' OR number = '3226*' OR number = '322*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '32471696191' OR routing_prefix = '3247169619' OR routing_prefix = '324716961' OR routing_prefix = '32471696' OR routing_prefix = '3247169' OR routing_prefix = '324716' OR routing_prefix = '32471' OR routing_prefix = '3247' OR routing_prefix = '324' OR routing_prefix = '32' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 699.8973
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^32471696191.*' OR pattern = '^3247169619.*' OR pattern = '^324716961.*' OR pattern = '^32471696.*' OR pattern = '^3247169.*' OR pattern = '^324716.*' OR pattern = '^32471.*' OR pattern = '^3247.*' OR pattern = '^324.*' OR pattern = '^32.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-05-25 13:56:38.337604 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 199
2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] 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="32471696191">
<condition field="destination_number" expression="32471696191">
<action application="log" data="WARNING Accountcode . Dialed number (32471696191) origination rates not found!!"/>
<action application="set" data="original_caller_id_name=3226160551"/>
<action application="set" data="original_caller_id_number=3226160551"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2022-05-25 11:56:38"/>
<action application="set" data="account_id=199"/>
<action application="set" data="parent_id=189"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=32471696191"/>
<action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
<action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->32471696191] continue=false
Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [32471696191] destination_number(32471696191) =~ /32471696191/ break=on-false
Dialplan: sofia/default/183284@213.144.239.110:9933 Action log(WARNING Accountcode . Dialed number (32471696191) origination rates not found!!)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=3226160551)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=3226160551)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(error_cdr=1)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-25 11:56:38)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=32471696191)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action hangup(ORIGINATION_RATE_NOT_FOUND)
2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 24106)
2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
2022-05-25 13:56:38.337604 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 log(WARNING Accountcode . Dialed number (32471696191) origination rates not found!!)
2022-05-25 13:56:38.337604 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (32471696191) origination rates not found!!
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=3226160551)
2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[3226160551]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=3226160551)
2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[3226160551]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(error_cdr=1)
2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-25 11:56:38)
2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-25 11:56:38]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(sip_ignore_remote_cause=true)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=32471696191)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[32471696191]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 hangup(ORIGINATION_RATE_NOT_FOUND)
2022-05-25 13:56:38.357596 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
2022-05-25 13:56:38.357596 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 13 Tot 24106)
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> HANGUP
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
2022-05-25 13:56:38.357596 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:38.357596 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 13 Tot 24106)
2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
2022-05-25 13:56:38.357596 [INFO] mod_json_cdr.c:271 Process [7e8679f5-8667-4858-9aeb-157897008635.cdr.json]
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:38.377609 [DEBUG] switch_core_session.c:1726 Session 24106 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
2022-05-25 13:56:38.377609 [NOTICE] switch_core_session.c:1744 Session 24106 (sofia/default/183284@213.144.239.110:9933) Ended
2022-05-25 13:56:38.377609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 12 Tot 24106)
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
2022-05-25 13:56:38.377609 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
2022-05-25 13:56:44.617605 [NOTICE] sofia.c:1089 Hangup sofia/default/31888833593 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-05-25 13:56:44.617605 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31888833593]
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31888833593) State EXCHANGE_MEDIA going to sleep
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31888833593) Running State Change CS_HANGUP (Cur 12 Tot 24106)
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31888833593) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31888833593) State HANGUP
2022-05-25 13:56:44.617605 [DEBUG] mod_sofia.c:453 Channel sofia/default/31888833593 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:60 sofia/default/31888833593 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31888833593) State HANGUP going to sleep
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31888833593) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31888833593) Running State Change CS_REPORTING (Cur 12 Tot 24106)
2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31888833593) State REPORTING
2022-05-25 13:56:44.617605 [INFO] mod_json_cdr.c:271 Process [37d81731-2023-4305-803f-2760bb56f450.cdr.json]
2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:820 sofia/default/31888833593 ending bridge by request from write function
2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31251260900@10.200.0.4]
2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31888833593 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:56:44.637590 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/31251260900@10.200.0.4 [CS_EXECUTE] [NORMAL_CLEARING]
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:174 sofia/default/31888833593 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31888833593) State REPORTING going to sleep
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31888833593) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:44.637590 [DEBUG] switch_core_session.c:1726 Session 24076 (sofia/default/31888833593) Locked, Waiting on external entities
2022-05-25 13:56:44.637590 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 3
2022-05-25 13:56:44.637590 [NOTICE] switch_core_session.c:1744 Session 24076 (sofia/default/31888833593) Ended
2022-05-25 13:56:44.637590 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31888833593 [CS_DESTROY]
2022-05-25 13:56:44.637590 [DEBUG] switch_core_session.c:2905 sofia/default/31251260900@10.200.0.4 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE going to sleep
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_HANGUP (Cur 11 Tot 24106)
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31888833593) Running State Change CS_DESTROY (Cur 11 Tot 24106)
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31251260900@10.200.0.4) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:44.637590 [DEBUG] switch_scheduler.c:147 Deleting task 8724 switch_ivr_schedule_hangup (37d81731-2023-4305-803f-2760bb56f450)
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31888833593) State DESTROY
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP
2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:364 sofia/default/31888833593 SOFIA DESTROY
2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:447 sofia/default/31251260900@10.200.0.4 Overriding SIP cause 480 with 200 from the other leg
2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251260900@10.200.0.4 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:181 sofia/default/31888833593 Standard DESTROY
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31888833593) State DESTROY going to sleep
2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31251260900@10.200.0.4
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251260900@10.200.0.4 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP going to sleep
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251260900@10.200.0.4) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_REPORTING (Cur 11 Tot 24106)
2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING
2022-05-25 13:56:44.637590 [INFO] mod_json_cdr.c:271 Process [9889744a-fe6c-4f77-8d8e-7f01a4d26295.cdr.json]
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251260900@10.200.0.4 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING going to sleep
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251260900@10.200.0.4) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:44.657600 [DEBUG] switch_core_session.c:1726 Session 24075 (sofia/default/31251260900@10.200.0.4) Locked, Waiting on external entities
2022-05-25 13:56:44.657600 [NOTICE] switch_core_session.c:1744 Session 24075 (sofia/default/31251260900@10.200.0.4) Ended
2022-05-25 13:56:44.657600 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251260900@10.200.0.4 [CS_DESTROY]
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251260900@10.200.0.4) Running State Change CS_DESTROY (Cur 10 Tot 24106)
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY
2022-05-25 13:56:44.657600 [DEBUG] mod_sofia.c:364 sofia/default/31251260900@10.200.0.4 SOFIA DESTROY
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251260900@10.200.0.4 Standard DESTROY
2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY going to sleep
2022-05-25 13:56:46.557612 [NOTICE] sofia.c:1089 Hangup sofia/default/31625094776 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31625094776]
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31625094776) State EXCHANGE_MEDIA going to sleep
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31625094776) Running State Change CS_HANGUP (Cur 10 Tot 24106)
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31625094776) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31625094776) State HANGUP
2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:453 Channel sofia/default/31625094776 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31625094776 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31625094776) State HANGUP going to sleep
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31625094776) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31625094776) Running State Change CS_REPORTING (Cur 10 Tot 24106)
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31625094776) State REPORTING
2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:820 sofia/default/31625094776 ending bridge by request from write function
2022-05-25 13:56:46.557612 [INFO] mod_json_cdr.c:271 Process [488a058a-f70e-4148-9b40-33b3b4ee6530.cdr.json]
2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933]
2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31625094776 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:56:46.557612 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
2022-05-25 13:56:46.557612 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 2
2022-05-25 13:56:46.557612 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 10 Tot 24106)
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:447 sofia/default/183284@213.144.239.110:9933 Overriding SIP cause 480 with 200 from the other leg
2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/183284@213.144.239.110:9933
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 10 Tot 24106)
2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
2022-05-25 13:56:46.577590 [INFO] mod_json_cdr.c:271 Process [85c33363-3a5c-4aa5-b786-1f7f3897e360.cdr.json]
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:174 sofia/default/31625094776 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31625094776) State REPORTING going to sleep
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31625094776) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:46.577590 [DEBUG] switch_core_session.c:1726 Session 24081 (sofia/default/31625094776) Locked, Waiting on external entities
2022-05-25 13:56:46.577590 [NOTICE] switch_core_session.c:1744 Session 24081 (sofia/default/31625094776) Ended
2022-05-25 13:56:46.577590 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31625094776 [CS_DESTROY]
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31625094776) Running State Change CS_DESTROY (Cur 9 Tot 24106)
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31625094776) State DESTROY
2022-05-25 13:56:46.577590 [DEBUG] mod_sofia.c:364 sofia/default/31625094776 SOFIA DESTROY
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:181 sofia/default/31625094776 Standard DESTROY
2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31625094776) State DESTROY going to sleep
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:56:46.597625 [DEBUG] switch_core_session.c:1726 Session 24080 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
2022-05-25 13:56:46.597625 [NOTICE] switch_core_session.c:1744 Session 24080 (sofia/default/183284@213.144.239.110:9933) Ended
2022-05-25 13:56:46.597625 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 8 Tot 24106)
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
2022-05-25 13:56:46.597625 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
2022-05-25 13:56:46.637642 [DEBUG] switch_scheduler.c:147 Deleting task 8726 switch_ivr_schedule_hangup (488a058a-f70e-4148-9b40-33b3b4ee6530)
2022-05-25 13:57:02.857632 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [terminated][487]
2022-05-25 13:57:02.857632 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.253 [CS_EXECUTE] [ORIGINATOR_CANCEL]
2022-05-25 13:57:02.857632 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.253 ending bridge by request from read function
2022-05-25 13:57:02.857632 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.253]
2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191@134271.yoursipcloud.com:5060]
2022-05-25 13:57:02.877600 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA going to sleep
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 8 Tot 24106)
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change EARLY -> HANGUP
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP
2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:447 sofia/default/31854832191@134271.yoursipcloud.com:5060 Overriding SIP cause 487 with 487 from the other leg
2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 hanging up, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191@134271.yoursipcloud.com:5060 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.253 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:57:02.877600 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.253 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.253) State EXECUTE going to sleep
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_HANGUP (Cur 8 Tot 24106)
2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191@134271.yoursipcloud.com:5060
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP going to sleep
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.253) Callstate Change EARLY -> HANGUP
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.253) State HANGUP
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 8 Tot 24106)
2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.253 hanging up, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING
2022-05-25 13:57:02.877600 [INFO] mod_json_cdr.c:271 Process [d32ca908-0690-4186-a544-cfaf8abad35c.cdr.json]
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.253 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.253) State HANGUP going to sleep
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.253) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_REPORTING (Cur 8 Tot 24106)
2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.253) State REPORTING
2022-05-25 13:57:02.877600 [INFO] mod_json_cdr.c:271 Process [4b83c479-123b-4eab-9b75-4a96c16733c9.cdr.json]
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING going to sleep
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:57:02.897609 [DEBUG] switch_core_session.c:1726 Session 24101 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Locked, Waiting on external entities
2022-05-25 13:57:02.897609 [NOTICE] switch_core_session.c:1744 Session 24101 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Ended
2022-05-25 13:57:02.897609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_DESTROY]
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 7 Tot 24106)
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY
2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:364 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA DESTROY
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard DESTROY
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY going to sleep
2022-05-25 13:57:02.897609 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [terminated][487]
2022-05-25 13:57:02.897609 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.236 [CS_EXECUTE] [ORIGINATOR_CANCEL]
2022-05-25 13:57:02.897609 [DEBUG] mod_hash.c:296 Usage for CPS_160_CPS_user_160 is now 0
2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.236 ending bridge by request from read function
2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.236]
2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191]
2022-05-25 13:57:02.897609 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA going to sleep
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 7 Tot 24106)
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change EARLY -> HANGUP
2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:447 sofia/default/31854832191 Overriding SIP cause 487 with 487 from the other leg
2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:57:02.917612 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.236 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 7 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.236 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_HANGUP (Cur 7 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.236) Callstate Change EARLY -> HANGUP
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP
2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.236 hanging up, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [INFO] mod_json_cdr.c:271 Process [5e830af5-3039-468c-8f7f-d94d1212c9a2.cdr.json]
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.236 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_REPORTING (Cur 7 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING
2022-05-25 13:57:02.917612 [INFO] mod_json_cdr.c:271 Process [1c02af38-2cd4-40d4-9643-2338569bafab.cdr.json]
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24103 (sofia/default/31854832191) Locked, Waiting on external entities
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24103 (sofia/default/31854832191) Ended
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 6 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.253 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.253) State REPORTING going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.253) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24100 (sofia/default/31652033157@185.249.40.253) Locked, Waiting on external entities
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24100 (sofia/default/31652033157@185.249.40.253) Ended
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.253 [CS_DESTROY]
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.253) Running State Change CS_DESTROY (Cur 5 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.253) State DESTROY
2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.253 SOFIA DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.253 Standard DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.253) State DESTROY going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.236 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING going to sleep
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24102 (sofia/default/31652033157@185.249.40.236) Locked, Waiting on external entities
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24102 (sofia/default/31652033157@185.249.40.236) Ended
2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.236 [CS_DESTROY]
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.236) Running State Change CS_DESTROY (Cur 4 Tot 24106)
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY
2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.236 SOFIA DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.236 Standard DESTROY
2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY going to sleep
Type control-D or /exit or /quit or /bye to exit.
2022-05-25 13:57:03.117717 [DEBUG] switch_scheduler.c:147 Deleting task 8733 switch_ivr_schedule_hangup (5e830af5-3039-468c-8f7f-d94d1212c9a2)
2022-05-25 13:57:03.117717 [DEBUG] switch_scheduler.c:147 Deleting task 8734 switch_ivr_schedule_hangup (d32ca908-0690-4186-a544-cfaf8abad35c)
2022-05-25 13:57:03.397625 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [completing][200]
2022-05-25 13:57:03.397625 [DEBUG] sofia.c:7333 Duplicate SDP
v=0
o=- 3909790959 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 13010 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-05-25 13:57:03.417593 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [ready][200]
2022-05-25 13:57:03.417593 [NOTICE] sofia.c:8445 Channel [sofia/default/31622434824] has been answered
2022-05-25 13:57:03.417593 [DEBUG] switch_channel.c:3865 (sofia/default/31622434824) Callstate Change EARLY -> ACTIVE
2022-05-25 13:57:03.417593 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/183284@213.144.239.110:9933.
2022-05-25 13:57:03.417593 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933:
v=0
o=FreeSWITCH 1653457266 1653457268 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 22526 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-05-25 13:57:03.417593 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/183284@213.144.239.110:9933] has been answered
2022-05-25 13:57:03.417593 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change EARLY -> ACTIVE
2022-05-25 13:57:03.417593 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200]
2022-05-25 13:57:03.437616 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200]
2022-05-25 13:57:03.477640 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-05-25 13:57:03.477640 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.