2023-08-28 12:26:31.874308 99.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0653910229@172.16.250.14:5060 [d8b09597-c3df-426e-a69e-ee598fe0ffab]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_NEW (Cur 1 Tot 368977)
2023-08-28 12:26:31.874308 99.10% [INFO] sofia.c:10453 sofia/default/0653910229@172.16.250.14:5060 receiving invite from 172.16.250.14:5060 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: isbcr203012qy2vq01w4bkva4uaqrykjaxx0@10.18.5.64
2023-08-28 12:26:31.874308 99.10% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 172.16.250.14:0.
2023-08-28 12:26:31.874308 99.10% [DEBUG] sofia.c:10576 IP 172.16.250.14 Approved by acl "default[]". Access Granted.
2023-08-28 12:26:31.874308 99.10% [DEBUG] sofia.c:7487 Channel sofia/default/0653910229@172.16.250.14:5060 entering state [received][100]
2023-08-28 12:26:31.874308 99.10% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=PortaSIP 2744735275425486618 1 IN IP4 172.16.250.14
s=SBC call
t=0 0
m=audio 20176 RTP/AVP 18 8 0 116
c=IN IP4 172.16.250.14
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:116 telephone-event/8000
a=maxptime:20
a=ptime:20
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 116@8000
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/0653910229@172.16.250.14:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_codec.c:111 sofia/default/0653910229@172.16.250.14:5060 Original read codec set to G729:18
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 116@8000
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_media.c:5850 sofia/default/0653910229@172.16.250.14:5060 Set 2833 dtmf send payload to 116 recv payload to 116
2023-08-28 12:26:31.874308 99.10% [DEBUG] sofia.c:7921 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_NEW -> CS_INIT
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0653910229@172.16.250.14:5060) State NEW
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_INIT (Cur 1 Tot 368977)
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0653910229@172.16.250.14:5060) State INIT
2023-08-28 12:26:31.874308 99.10% [DEBUG] mod_sofia.c:97 sofia/default/0653910229@172.16.250.14:5060 SOFIA INIT
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/0653910229@172.16.250.14:5060 Standard INIT
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_INIT -> CS_ROUTING
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0653910229@172.16.250.14:5060) State INIT going to sleep
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_ROUTING (Cur 1 Tot 368977)
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_channel.c:2380 (sofia/default/0653910229@172.16.250.14:5060) Callstate Change DOWN -> RINGING
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0653910229@172.16.250.14:5060) State ROUTING
2023-08-28 12:26:31.874308 99.10% [DEBUG] mod_sofia.c:158 sofia/default/0653910229@172.16.250.14:5060 SOFIA ROUTING
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/0653910229@172.16.250.14:5060 Standard ROUTING
2023-08-28 12:26:31.874308 99.10% [INFO] mod_dialplan_xml.c:639 Processing +27653910229 <27653910229>->0877032455 in context default
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.874308 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 13943694-e7af-4b6a-a61f-ced98a365d54
FreeSWITCH-Hostname: voice
FreeSWITCH-Switchname: voice
FreeSWITCH-IPv4: 102.23.150.243
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-08-28%2012%3A26%3A31
Event-Date-GMT: Mon,%2028%20Aug%202023%2012%3A26%3A31%20GMT
Event-Date-Timestamp: 1693225591874308
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 26018077
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 0653910229%40172.16.250.14
Channel-Call-UUID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Answer-State: ringing
Channel-Read-Codec-Name: G729
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 8000
Channel-Write-Codec-Name: G729
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 8000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 27653910229
Caller-Dialplan: XML
Caller-Caller-ID-Name: %2B27653910229
Caller-Caller-ID-Number: 27653910229
Caller-Orig-Caller-ID-Name: %2B27653910229
Caller-Orig-Caller-ID-Number: 27653910229
Caller-Network-Addr: 172.16.250.14
Caller-ANI: 27653910229
Caller-Destination-Number: 0877032455
Caller-Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1693225591874308
Caller-Channel-Created-Time: 1693225591874308
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: d8b09597-c3df-426e-a69e-ee598fe0ffab
variable_session_id: 368977
variable_sip_from_user: 0653910229
variable_sip_from_port: 5060
variable_sip_from_uri: 0653910229%40172.16.250.14%3A5060
variable_sip_from_host: 172.16.250.14
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/0653910229%40172.16.250.14%3A5060
variable_sip_call_id: isbcr203012qy2vq01w4bkva4uaqrykjaxx0%4010.18.5.64
variable_sip_local_network_addr: 102.23.150.242
variable_sip_network_ip: 172.16.250.14
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1693225591874308
variable_sip_received_ip: 172.16.250.14
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: 0653910229
variable_sip_from_tag: iwcy2b6xrdfv4i5x.o
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40102.23.150.242%3A5060
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %2B27653910229%20%3Csip%3A27653910229%4010.0.207.68%3E%3Bparty%3Dcalling%3Bscreen%3Dno
variable_sip_P-Asserted-Identity: 27653910229
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20172.16.250.14%3A5060%3Bbranch%3Dz9hG4bKgmpa6r20d8groheu77r0.1%3Brport%3D5060
variable_sip_from_display: %2B27653910229
variable_sip_full_from: %2B27653910229%20%3Csip%3A0653910229%40172.16.250.14%3A5060%3E%3Btag%3Diwcy2b6xrdfv4i5x.o
variable_sip_full_to: %3Csip%3A0877032455%40102.23.150.242%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE
variable_sip_req_user: 0877032455
variable_sip_req_port: 5060
variable_sip_req_uri: 0877032455%40102.23.150.242%3A5060
variable_sip_req_host: 102.23.150.242
variable_sip_to_user: 0877032455
variable_sip_to_port: 5060
variable_sip_to_uri: 0877032455%40102.23.150.242%3A5060
variable_sip_to_host: 102.23.150.242
variable_sip_contact_params: transport%3Dudp
variable_sip_contact_user: 27653910229
variable_sip_contact_port: 5060
variable_sip_contact_uri: 27653910229%40172.16.250.14%3A5060
variable_sip_contact_host: 172.16.250.14
variable_sip_user_agent: PortaSIP
variable_sip_via_host: 172.16.250.14
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 68
variable_presence_id: 0653910229%40172.16.250.14
variable_sip_h_X-original-to: %2B27877032455
variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%202744735275425486618%201%20IN%20IP4%20172.16.250.14%0D%0As%3DSBC%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2020176%20RTP/AVP%2018%208%200%20116%0D%0Ac%3DIN%20IP4%20172.16.250.14%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A116%20telephone-event/8000%0D%0Aa%3Dmaxptime%3A20%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: mod_bcg729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G729,H264
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: 172.16.250.14
variable_remote_media_port: 20176
variable_rtp_audio_recv_pt: 18
variable_rtp_use_codec_name: G729
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: G729%408000h%4020i%401c
variable_read_codec: G729
variable_original_read_codec: G729
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: G729
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: d8b09597-c3df-426e-a69e-ee598fe0ffab
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 27653910229
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: %2B27653910229
Hunt-Caller-ID-Number: 27653910229
Hunt-Orig-Caller-ID-Name: %2B27653910229
Hunt-Orig-Caller-ID-Number: 27653910229
Hunt-Network-Addr: 172.16.250.14
Hunt-ANI: 27653910229
Hunt-Destination-Number: 0877032455
Hunt-Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1693225591874308
Hunt-Channel-Created-Time: 1693225591874308
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
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0877032455
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0877032455' limit 1
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0877032455' AND status=0 limit 1
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0877032455' and status=0 LIMIT 1
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27653910229
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0877032455' limit 1
2023-08-28 12:26:31.874308 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : +27653910229 / 27653910229
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 7032455
2023-08-28 12:26:31.874308 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 087 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0877032455" LIMIT 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [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("172.16.250.14") 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 "0877032455" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6334793377]
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6334793377" AND deleted = 0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =19
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 19
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^0877032455.*' OR patterns = '^087703245.*' OR patterns = '^08770324.*' OR patterns = '^0877032.*' OR patterns = '^087703.*' OR patterns = '^08770.*' OR patterns = '^0877.*' OR patterns = '^087.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0877032455" AND A.accountid = '21' limit 1
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-08-28 12:26:31.894271 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0877032455" LIMIT 1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '0877032455' OR number = '087703245' OR number = '08770324' OR number = '0877032' OR number = '087703' OR number = '08770' OR number = '0877' OR number = '087' OR number = '08' OR number = '0' OR number ='--') OR (number = '0877032455*' OR number = '087703245*' OR number = '08770324*' OR number = '0877032*' OR number = '087703*' OR number = '08770*' OR number = '0877*' OR number = '087*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27653910229' OR number = '2765391022' OR number = '276539102' OR number = '27653910' OR number = '2765391' OR number = '276539' OR number = '27653' OR number = '2765' OR number = '276' OR number = '27' OR number = '2' OR number ='--') OR (number = '27653910229*' OR number = '2765391022*' OR number = '276539102*' OR number = '27653910*' OR number = '2765391*' OR number = '276539*' OR number = '27653*' OR number = '2765*' OR number = '276*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0877032455' OR routing_prefix = '087703245' OR routing_prefix = '08770324' OR routing_prefix = '0877032' OR routing_prefix = '087703' OR routing_prefix = '08770' OR routing_prefix = '0877' OR routing_prefix = '087' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 21
2023-08-28 12:26:31.894271 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6334793377
2023-08-28 12:26:31.894271 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =19
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 987.5359
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-08-28 12:26:31.914274 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0877032455" LIMIT 1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 100
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 14
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Kroonstad Freestate
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 21
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =19
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your987.5359 balance Accountid 21 !!!
2023-08-28 12:26:31.914274 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 21 AND status=0 LIMIT 1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "19" AND deleted = 0 limit 1
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =19
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:21
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:21
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 21
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
2023-08-28 12:26:31.914274 99.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : main.skybrevoip.co.za
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-08-28 12:26:31.914274 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [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 = "3" AND accounts.status = 0
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....+27653910229
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....27653910229
2023-08-28 12:26:31.914274 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 27653910229
2023-08-28 12:26:31.914274 99.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0653910229
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....+27653910229
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....0653910229
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
2023-08-28 12:26:31.914274 99.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : main.skybrevoip.co.za
2023-08-28 12:26:31.914274 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 19 and status = 0 limit 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 19 or id = 19 ) and status = 0 limit 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '19' LIMIT 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [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,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 3 and status = 0 LIMIT 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Conference greetingid::0
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="100" AND domains.domain="main.skybrevoip.co.za" limit 1
2023-08-28 12:26:31.934273 99.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec : PCMA,G729,PCMU,H264
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [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"
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="100" AND domains.domain="main.skybrevoip.co.za" limit 1
2023-08-28 12:26:31.934273 99.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec : PCMA,G729,PCMU,H264
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
2023-08-28 12:26:31.934273 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0,absolute_codec_string=^^:PCMA:G729:PCMU:H264]user/100@main.skybrevoip.co.za|
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0653910229@172.16.250.14:5060 parsing [default->0877032455] continue=false
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Regex (PASS) [0877032455] destination_number(0877032455) =~ /0877032455/ break=on-false
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_destination_number=0877032455)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(notify_flag=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(type=3)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(callstart=2023-08-28 12:26:31)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(account_id=21)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(parent_id=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(entity_id=3)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(call_processed=internal)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(call_direction=inbound)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(accountname=SKYBRE)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(origination_rates_did=ID:14|CODE:^0877032455.*|DESTINATION:Kroonstad Freestate|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:100|CI:171|ACCID:19)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(origination_rates=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(original_caller_id_name=+27653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(original_caller_id_number=27653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_caller_id_name=+27653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_caller_id_number=0653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(receiver_accid=19)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(domain_name=main.skybrevoip.co.za)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(sip_to_host=main.skybrevoip.co.za)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(presence_data=x|||Skybre VoIP Pty Ltd(5295400691)|||||||||DID|||172.16.250.14)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(call_type=7)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(did_calltype=7)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(did_extensions=3)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(group_confirm_key=exec)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(ringback=)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(module_name=pbx)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action db(insert/pickup_any_group_${callgroup}/3/${uuid})
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(ring_group_transfer=true)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(fail_on_single_reject=CALL_REJECTED)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0,absolute_codec_string=^^:PCMA:G729:PCMU:H264]user/100@main.skybrevoip.co.za|)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(original_did_number=0877032455)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(no_answer_number=)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(no_answer_call_type=pstn_1)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(no_answer_call_type_value=0624114149)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(variable_sip_to_host=main.skybrevoip.co.za)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(userinfo_id=21)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(variable_sip_to_host=main.skybrevoip.co.za)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(opensips_flag=1)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_ROUTING -> CS_EXECUTE
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0653910229@172.16.250.14:5060) State ROUTING going to sleep
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_EXECUTE (Cur 1 Tot 368977)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0653910229@172.16.250.14:5060) State EXECUTE
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_sofia.c:213 sofia/default/0653910229@172.16.250.14:5060 SOFIA EXECUTE
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/0653910229@172.16.250.14:5060 Standard EXECUTE
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_destination_number=0877032455)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_destination_number]=[0877032455]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(notify_flag=0)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(notify_credit_limit=5.00000)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(type=3)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [type]=[3]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(callstart=2023-08-28 12:26:31)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [callstart]=[2023-08-28 12:26:31]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(hangup_after_bridge=true)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(continue_on_fail=TRUE)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(account_id=21)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [account_id]=[21]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(parent_id=0)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(entity_id=3)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(call_processed=internal)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(call_direction=inbound)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(accountname=SKYBRE)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [accountname]=[SKYBRE]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(origination_rates_did=ID:14|CODE:^0877032455.*|DESTINATION:Kroonstad Freestate|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:100|CI:171|ACCID:19)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [origination_rates_did]=[ID:14|CODE:^0877032455.*|DESTINATION:Kroonstad Freestate|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:100|CI:171|ACCID:19]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(origination_rates=0)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(original_caller_id_name=+27653910229)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [original_caller_id_name]=[+27653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(original_caller_id_number=27653910229)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [original_caller_id_number]=[27653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_caller_id_name=+27653910229)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_caller_id_name]=[+27653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_caller_id_number=0653910229)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_caller_id_number]=[0653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(receiver_accid=19)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [receiver_accid]=[19]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(domain_name=main.skybrevoip.co.za)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[main.skybrevoip.co.za]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(sip_to_host=main.skybrevoip.co.za)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[main.skybrevoip.co.za]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(presence_data=x|||Skybre VoIP Pty Ltd(5295400691)|||||||||DID|||172.16.250.14)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Skybre VoIP Pty Ltd(5295400691)|||||||||DID|||172.16.250.14]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(call_type=7)
2023-08-28 12:26:31.934273 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(did_calltype=7)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(did_extensions=3)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [did_extensions]=[3]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(daily_call_credit_limit=0.00000)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(monthly_call_credit_limit=0.00000)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(daily_call_used_limit=0.00000)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(monthly_call_used_limit=0.00000)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(group_confirm_key=exec)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(ringback=)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(module_name=pbx)
2023-08-28 12:26:31.934273 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 db(insert/pickup_any_group_/3/d8b09597-c3df-426e-a69e-ee598fe0ffab)
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(dialed_extension=transfer_call)
2023-08-28 12:26:31.954269 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(dialed_extension=transfer_call)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2023-08-28 12:26:31.954269 99.10% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2023-08-28 12:26:31.954269 99.10% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(ring_group_transfer=true)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(fail_on_single_reject=CALL_REJECTED)
2023-08-28 12:26:31.954269 99.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [fail_on_single_reject]=[CALL_REJECTED]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0,absolute_codec_string=^^:PCMA:G729:PCMU:H264]user/100@main.skybrevoip.co.za|)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [domain_name]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [sip_to_host]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_data]=[x|||Skybre VoIP Pty Ltd(5295400691)|||||||||DID|||172.16.250.14] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [call_type]=[7] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [domain_name]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [sip_to_host]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_data]=[x|||Skybre VoIP Pty Ltd(5295400691)|||||||||DID|||172.16.250.14] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [call_type]=[7] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-08-28 12:26:31.954269 99.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 [4e237396-f047-48c0-a899-71d16744abd2]
2023-08-28 12:26:31.954269 99.10% [DEBUG] mod_sofia.c:5117 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State Change CS_NEW -> CS_INIT
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_ivr_originate.c:3161 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 Setting leg timeout to 10
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_INIT (Cur 2 Tot 368978)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State INIT
2023-08-28 12:26:31.954269 99.10% [DEBUG] mod_sofia.c:97 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 SOFIA INIT
2023-08-28 12:26:31.954269 99.10% [DEBUG] sofia_glue.c:1623 sip:100-9fc21466638a24b06513c48ee5d2136f@35.195.163.239:5060 Setting proxy route to sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060
2023-08-28 12:26:31.954269 99.10% [INFO] sofia_glue.c:1654 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 sending invite call-id: (null)
2023-08-28 12:26:31.954269 99.10% [DEBUG] sofia_glue.c:1657 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1693203861 1693203862 IN IP4 102.23.150.242
s=FreeSWITCH
c=IN IP4 102.23.150.242
t=0 0
m=audio 21730 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 22312 RTP/AVP 102
b=AS:3072
a=rtpmap:102 H264/90000
a=inactive
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 ccm tmmbr
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 Standard INIT
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State Change CS_INIT -> CS_ROUTING
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State INIT going to sleep
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_ROUTING (Cur 2 Tot 368978)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State ROUTING
2023-08-28 12:26:31.954269 99.10% [DEBUG] mod_sofia.c:158 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 SOFIA ROUTING
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State ROUTING going to sleep
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 368978)
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State CONSUME_MEDIA
2023-08-28 12:26:31.954269 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State CONSUME_MEDIA going to sleep
2023-08-28 12:26:31.954269 99.10% [DEBUG] sofia.c:7487 Channel sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 entering state [calling][0]
2023-08-28 12:26:35.894290 99.23% [DEBUG] sofia.c:7487 Channel sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 entering state [terminated][486]
2023-08-28 12:26:35.894290 99.23% [NOTICE] sofia.c:8729 Hangup sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 [CS_CONSUME_MEDIA] [USER_BUSY]
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_HANGUP (Cur 2 Tot 368978)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Callstate Change DOWN -> HANGUP
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State HANGUP
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 hanging up, cause: USER_BUSY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 Standard HANGUP, cause: USER_BUSY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State HANGUP going to sleep
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State Change CS_HANGUP -> CS_REPORTING
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_REPORTING (Cur 2 Tot 368978)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State REPORTING
2023-08-28 12:26:35.894290 99.23% [INFO] mod_json_cdr.c:272 Process [4e237396-f047-48c0-a899-71d16744abd2.cdr.json]
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 17 [USER_BUSY]
2023-08-28 12:26:35.894290 99.23% [NOTICE] switch_ivr_originate.c:3049 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 17 [USER_BUSY]
2023-08-28 12:26:35.894290 99.23% [INFO] mod_dptools.c:3637 Originate Failed. Cause: USER_BUSY
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(original_did_number=0877032455)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [original_did_number]=[0877032455]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(no_answer_number=)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [no_answer_number]=[UNDEF]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(no_answer_call_type=pstn_1)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [no_answer_call_type]=[pstn_1]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(no_answer_call_type_value=0624114149)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [no_answer_call_type_value]=[0624114149]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(variable_sip_to_host=main.skybrevoip.co.za)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [variable_sip_to_host]=[main.skybrevoip.co.za]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(userinfo_id=21)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [userinfo_id]=[21]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(variable_sip_to_host=main.skybrevoip.co.za)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [variable_sip_to_host]=[main.skybrevoip.co.za]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(opensips_flag=1)
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [opensips_flag]=[1]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
2023-08-28 12:26:35.894290 99.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions USER_BUSY This Is No Answer Number : 0624114149
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 transfer(0624114149 XML default)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_ivr.c:2288 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_EXECUTE -> CS_ROUTING
2023-08-28 12:26:35.894290 99.23% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/0653910229@172.16.250.14:5060 to XML[0624114149@default]
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_cpp.cpp:1209 sofia/default/0653910229@172.16.250.14:5060 destroy/unlink session from object
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0653910229@172.16.250.14:5060) State EXECUTE going to sleep
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_ROUTING (Cur 2 Tot 368978)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0653910229@172.16.250.14:5060) State ROUTING
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_sofia.c:158 sofia/default/0653910229@172.16.250.14:5060 SOFIA ROUTING
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/0653910229@172.16.250.14:5060 Standard ROUTING
2023-08-28 12:26:35.894290 99.23% [INFO] mod_dialplan_xml.c:639 Processing +27653910229 <27653910229>->0624114149 in context default
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 Standard REPORTING, cause: USER_BUSY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State REPORTING going to sleep
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State Change CS_REPORTING -> CS_DESTROY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_session.c:1743 Session 368978 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Locked, Waiting on external entities
2023-08-28 12:26:35.894290 99.23% [NOTICE] switch_core_session.c:1761 Session 368978 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Ended
2023-08-28 12:26:35.894290 99.23% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 [CS_DESTROY]
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) Running State Change CS_DESTROY (Cur 1 Tot 368978)
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State DESTROY
2023-08-28 12:26:35.894290 99.23% [DEBUG] mod_sofia.c:379 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 SOFIA DESTROY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060 Standard DESTROY
2023-08-28 12:26:35.894290 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100-9fc21466638a24b06513c48ee5d2136f@10.14.135.129:5060) State DESTROY going to sleep
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:35.914268 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 13943694-e7af-4b6a-a61f-ced98a365d54
FreeSWITCH-Hostname: voice
FreeSWITCH-Switchname: voice
FreeSWITCH-IPv4: 102.23.150.243
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-08-28%2012%3A26%3A35
Event-Date-GMT: Mon,%2028%20Aug%202023%2012%3A26%3A35%20GMT
Event-Date-Timestamp: 1693225595894290
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 26018206
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 0653910229%40172.16.250.14
Channel-Presence-Data: x%7C%7C%7CSkybre%20VoIP%20Pty%20Ltd(5295400691)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C172.16.250.14
Channel-Call-UUID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Answer-State: ringing
Channel-Read-Codec-Name: G729
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 8000
Channel-Write-Codec-Name: G729
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 8000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 27653910229
Caller-Dialplan: XML
Caller-Caller-ID-Name: %2B27653910229
Caller-Caller-ID-Number: 27653910229
Caller-Orig-Caller-ID-Name: %2B27653910229
Caller-Orig-Caller-ID-Number: 27653910229
Caller-Network-Addr: 172.16.250.14
Caller-ANI: 27653910229
Caller-Destination-Number: 0624114149
Caller-Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Caller-Source: mod_sofia
Caller-Transfer-Source: 1693225595%3Adf2978fd-1b97-4a5b-9724-b787e01dd9f1%3Abl_xfer%3A0624114149/default/XML
Caller-Context: default
Caller-RDNIS: 0877032455
Caller-Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Caller-Profile-Index: 2
Caller-Profile-Created-Time: 1693225595894290
Caller-Channel-Created-Time: 1693225591874308
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: d8b09597-c3df-426e-a69e-ee598fe0ffab
variable_session_id: 368977
variable_sip_from_user: 0653910229
variable_sip_from_port: 5060
variable_sip_from_uri: 0653910229%40172.16.250.14%3A5060
variable_sip_from_host: 172.16.250.14
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/0653910229%40172.16.250.14%3A5060
variable_sip_call_id: isbcr203012qy2vq01w4bkva4uaqrykjaxx0%4010.18.5.64
variable_sip_local_network_addr: 102.23.150.242
variable_sip_network_ip: 172.16.250.14
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1693225591874308
variable_sip_received_ip: 172.16.250.14
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: 0653910229
variable_sip_from_tag: iwcy2b6xrdfv4i5x.o
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40102.23.150.242%3A5060
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %2B27653910229%20%3Csip%3A27653910229%4010.0.207.68%3E%3Bparty%3Dcalling%3Bscreen%3Dno
variable_sip_P-Asserted-Identity: 27653910229
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20172.16.250.14%3A5060%3Bbranch%3Dz9hG4bKgmpa6r20d8groheu77r0.1%3Brport%3D5060
variable_sip_from_display: %2B27653910229
variable_sip_full_from: %2B27653910229%20%3Csip%3A0653910229%40172.16.250.14%3A5060%3E%3Btag%3Diwcy2b6xrdfv4i5x.o
variable_sip_full_to: %3Csip%3A0877032455%40102.23.150.242%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE
variable_sip_req_user: 0877032455
variable_sip_req_port: 5060
variable_sip_req_uri: 0877032455%40102.23.150.242%3A5060
variable_sip_req_host: 102.23.150.242
variable_sip_to_user: 0877032455
variable_sip_to_port: 5060
variable_sip_to_uri: 0877032455%40102.23.150.242%3A5060
variable_sip_contact_params: transport%3Dudp
variable_sip_contact_user: 27653910229
variable_sip_contact_port: 5060
variable_sip_contact_uri: 27653910229%40172.16.250.14%3A5060
variable_sip_contact_host: 172.16.250.14
variable_sip_user_agent: PortaSIP
variable_sip_via_host: 172.16.250.14
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_presence_id: 0653910229%40172.16.250.14
variable_sip_h_X-original-to: %2B27877032455
variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%202744735275425486618%201%20IN%20IP4%20172.16.250.14%0D%0As%3DSBC%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2020176%20RTP/AVP%2018%208%200%20116%0D%0Ac%3DIN%20IP4%20172.16.250.14%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A116%20telephone-event/8000%0D%0Aa%3Dmaxptime%3A20%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: mod_bcg729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G729,H264
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: 172.16.250.14
variable_remote_media_port: 20176
variable_rtp_audio_recv_pt: 18
variable_rtp_use_codec_name: G729
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: G729%408000h%4020i%401c
variable_read_codec: G729
variable_original_read_codec: G729
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: G729
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_effective_destination_number: 0877032455
variable_bridge_pre_execute_bleg_app: sched_hangup
variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
variable_notify_flag: 0
variable_notify_credit_limit: 5.00000
variable_type: 3
variable_callstart: 2023-08-28%2012%3A26%3A31
variable_hangup_after_bridge: true
variable_continue_on_fail: TRUE
variable_account_id: 21
variable_parent_id: 0
variable_entity_id: 3
variable_call_processed: internal
variable_call_direction: inbound
variable_accountname: SKYBRE
variable_origination_rates_did: ID%3A14%7CCODE%3A%5E0877032455.*%7CDESTINATION%3AKroonstad%20Freestate%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A7%7CCOST%3A0%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A100%7CCI%3A171%7CACCID%3A19
variable_origination_rates: 0
variable_original_caller_id_name: %2B27653910229
variable_original_caller_id_number: 27653910229
variable_effective_caller_id_name: %2B27653910229
variable_effective_caller_id_number: 0653910229
variable_receiver_accid: 19
variable_domain_name: main.skybrevoip.co.za
variable_sip_to_host: main.skybrevoip.co.za
variable_presence_data: x%7C%7C%7CSkybre%20VoIP%20Pty%20Ltd(5295400691)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C172.16.250.14
variable_call_type: 7
variable_did_calltype: 7
variable_did_extensions: 3
variable_daily_call_credit_limit: 0.00000
variable_monthly_call_credit_limit: 0.00000
variable_daily_call_used_limit: 0.00000
variable_monthly_call_used_limit: 0.00000
variable_group_confirm_key: exec
variable_group_confirm_file: lua%20/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua
variable_module_name: pbx
variable_dialed_extension: transfer_call
variable_ring_group_transfer: true
variable_export_vars: domain_name,sip_to_host,presence_data,call_type,dialed_extension,ring_group_transfer
variable_fail_on_single_reject: CALL_REJECTED
variable_dialed_user: 100
variable_dialed_domain: main.skybrevoip.co.za
variable_originate_signal_bond: 4e237396-f047-48c0-a899-71d16744abd2
variable_originated_legs: 4e237396-f047-48c0-a899-71d16744abd2%3BOutbound%20Call%3B100-9fc21466638a24b06513c48ee5d2136f
variable_sip_invite_failure_status: 486
variable_sip_invite_failure_phrase: Busy%20Here
variable_sip_hangup_phrase: Busy%20Here
variable_last_bridge_hangup_cause: USER_BUSY
variable_last_bridge_proto_specific_hangup_cause: sip%3A486
variable_originate_causes: 4e237396-f047-48c0-a899-71d16744abd2%3BUSER_BUSY
variable_originate_disposition: USER_BUSY
variable_DIALSTATUS: BUSY
variable_originate_failed_cause: USER_BUSY
variable_original_did_number: 0877032455
variable_no_answer_call_type: pstn_1
variable_no_answer_call_type_value: 0624114149
variable_userinfo_id: 21
variable_variable_sip_to_host: main.skybrevoip.co.za
variable_opensips_flag: 1
variable_current_application_data: 0624114149%20XML%20default
variable_current_application: transfer
variable_max_forwards: 67
variable_transfer_history: 1693225595%3Adf2978fd-1b97-4a5b-9724-b787e01dd9f1%3Abl_xfer%3A0624114149/default/XML
variable_transfer_source: 1693225595%3Adf2978fd-1b97-4a5b-9724-b787e01dd9f1%3Abl_xfer%3A0624114149/default/XML
variable_call_uuid: d8b09597-c3df-426e-a69e-ee598fe0ffab
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 27653910229
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: %2B27653910229
Hunt-Caller-ID-Number: 27653910229
Hunt-Orig-Caller-ID-Name: %2B27653910229
Hunt-Orig-Caller-ID-Number: 27653910229
Hunt-Network-Addr: 172.16.250.14
Hunt-ANI: 27653910229
Hunt-Destination-Number: 0624114149
Hunt-Unique-ID: d8b09597-c3df-426e-a69e-ee598fe0ffab
Hunt-Source: mod_sofia
Hunt-Transfer-Source: 1693225595%3Adf2978fd-1b97-4a5b-9724-b787e01dd9f1%3Abl_xfer%3A0624114149/default/XML
Hunt-Context: default
Hunt-RDNIS: 0877032455
Hunt-Channel-Name: sofia/default/0653910229%40172.16.250.14%3A5060
Hunt-Profile-Index: 2
Hunt-Profile-Created-Time: 1693225595894290
Hunt-Channel-Created-Time: 1693225591874308
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
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0624114149' limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0624114149' AND status=0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0624114149' and status=0 LIMIT 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27653910229
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0624114149' limit 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : +27653910229 / 0653910229
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 4114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 062 AND status=0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-08-28 12:26:35.914268 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="0624114149" AND domains.domain="main.skybrevoip.co.za" limit 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [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("172.16.250.14") 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 "0624114149" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6334793377]
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6334793377" AND deleted = 0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0624114149.*' OR blocked_patterns = '^062411414.*' OR blocked_patterns = '^06241141.*' OR blocked_patterns = '^0624114.*' OR blocked_patterns = '^062411.*' OR blocked_patterns = '^06241.*' OR blocked_patterns = '^0624.*' OR blocked_patterns = '^062.*' OR blocked_patterns = '^06.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 21 limit 1
2023-08-28 12:26:35.914268 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-08-28 12:26:35.914268 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^0624114149.*' OR patterns = '^062411414.*' OR patterns = '^06241141.*' OR patterns = '^0624114.*' OR patterns = '^062411.*' OR patterns = '^06241.*' OR patterns = '^0624.*' OR patterns = '^062.*' OR patterns = '^06.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 21 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0624114149" AND A.accountid = '21' limit 1
2023-08-28 12:26:35.914268 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0624114149
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-08-28 12:26:35.914268 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
2023-08-28 12:26:35.914268 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0624114149
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="0624114149" AND domains.domain="main.skybrevoip.co.za" limit 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '0624114149' OR number = '062411414' OR number = '06241141' OR number = '0624114' OR number = '062411' OR number = '06241' OR number = '0624' OR number = '062' OR number = '06' OR number = '0' OR number ='--') OR (number = '0624114149*' OR number = '062411414*' OR number = '06241141*' OR number = '0624114*' OR number = '062411*' OR number = '06241*' OR number = '0624*' OR number = '062*' OR number = '06*' OR number = '0*' OR number ='--') OR (number = '0653910229' OR number = '065391022' OR number = '06539102' OR number = '0653910' OR number = '065391' OR number = '06539' OR number = '0653' OR number = '065' OR number = '06' OR number = '0' OR number ='--') OR (number = '0653910229*' OR number = '065391022*' OR number = '06539102*' OR number = '0653910*' OR number = '065391*' OR number = '06539*' OR number = '0653*' OR number = '065*' OR number = '06*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0624114149' OR routing_prefix = '062411414' OR routing_prefix = '06241141' OR routing_prefix = '0624114' OR routing_prefix = '062411' OR routing_prefix = '06241' OR routing_prefix = '0624' OR routing_prefix = '062' OR routing_prefix = '06' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 21
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6334793377
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0624114149.*' OR pattern = '^062411414.*' OR pattern = '^06241141.*' OR pattern = '^0624114.*' OR pattern = '^062411.*' OR pattern = '^06241.*' OR pattern = '^0624.*' OR pattern = '^062.*' OR pattern = '^06.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^0653910229.*' OR caller_id_pattern = '^065391022.*' OR caller_id_pattern = '^06539102.*' OR caller_id_pattern = '^0653910.*' OR caller_id_pattern = '^065391.*' OR caller_id_pattern = '^06539.*' OR caller_id_pattern = '^0653.*' OR caller_id_pattern = '^065.*' OR caller_id_pattern = '^06.*' OR caller_id_pattern = '^0.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=21) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 100
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 697088
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.32
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : South Africa
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 21
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000 balance Accountid 21 !!!
2023-08-28 12:26:35.934261 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^0624114149.*' OR pattern = '^062411414.*' OR pattern = '^06241141.*' OR pattern = '^0624114.*' OR pattern = '^062411.*' OR pattern = '^06241.*' OR pattern = '^0624.*' OR pattern = '^062.*' OR pattern = '^06.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 284951
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0.*
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : South Africa
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0.*
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DimensionData
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 7
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 21 AND status=0 LIMIT 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-08-28 12:26:35.934261 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [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 = 7) AND status=0 limit 1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [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 = 1) AND status=0 limit 1
2023-08-28 12:26:35.934261 99.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0877032455
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0877032455" LIMIT 1
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0653910229@172.16.250.14:5060 parsing [default->0624114149] continue=false
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Regex (PASS) [0624114149] destination_number(0624114149) =~ /0624114149/ break=on-false
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_destination_number=0624114149)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(notify_flag=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(type=3)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(callstart=2023-08-28 12:26:35)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(account_id=21)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(parent_id=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(entity_id=3)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(call_processed=internal)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(call_direction=outbound)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(accountname=SKYBRE)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(origination_rates=ID:697088|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.32|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:100|CI:0|ACCID:21)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(original_caller_id_name=+27653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(original_caller_id_number=0653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_caller_id_name=+27653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(effective_caller_id_number=0653910229)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(calltype=STANDARD)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(termination_rates=ID:284951|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.16000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:7)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(trunk_id=1)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(provider_id=7)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(rate_flag=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(quality_trunk_seq=1)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(force_trunk_flag=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action set(intcall=0)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(presence_id=0624114149)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action export(presence_data=x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14)
Dialplan: sofia/default/0653910229@172.16.250.14:5060 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA:H264]sofia/gateway/DimensionData/0624114149)
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_ROUTING -> CS_EXECUTE
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0653910229@172.16.250.14:5060) State ROUTING going to sleep
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_EXECUTE (Cur 1 Tot 368978)
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0653910229@172.16.250.14:5060) State EXECUTE
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_sofia.c:213 sofia/default/0653910229@172.16.250.14:5060 SOFIA EXECUTE
2023-08-28 12:26:35.934261 99.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/0653910229@172.16.250.14:5060 Standard EXECUTE
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_destination_number=0624114149)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_destination_number]=[0624114149]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(notify_flag=0)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(notify_credit_limit=5.00000)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(type=3)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [type]=[3]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(callstart=2023-08-28 12:26:35)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [callstart]=[2023-08-28 12:26:35]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(hangup_after_bridge=true)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(continue_on_fail=TRUE)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(account_id=21)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [account_id]=[21]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(parent_id=0)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(entity_id=3)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(call_processed=internal)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(call_direction=outbound)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(accountname=SKYBRE)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [accountname]=[SKYBRE]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(origination_rates=ID:697088|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.32|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:100|CI:0|ACCID:21)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [origination_rates]=[ID:697088|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.32|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:100|CI:0|ACCID:21]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(original_caller_id_name=+27653910229)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [original_caller_id_name]=[+27653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(original_caller_id_number=0653910229)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [original_caller_id_number]=[0653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_caller_id_name=+27653910229)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_caller_id_name]=[+27653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(effective_caller_id_number=0653910229)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [effective_caller_id_number]=[0653910229]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(calltype=STANDARD)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(termination_rates=ID:284951|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.16000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:7)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [termination_rates]=[ID:284951|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.16000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:7]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(trunk_id=1)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(provider_id=7)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [provider_id]=[7]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(rate_flag=0)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(daily_call_credit_limit=0.00000)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(monthly_call_credit_limit=0.00000)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(daily_call_used_limit=0.00000)
2023-08-28 12:26:35.934261 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(monthly_call_used_limit=0.00000)
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(quality_trunk_seq=1)
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [quality_trunk_seq]=[1]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(force_trunk_flag=0)
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(presence_data=trunk_id=1)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 set(intcall=0)
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/0653910229@172.16.250.14:5060 [intcall]=[0]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(presence_id=0624114149)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[0624114149]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 export(presence_data=x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14]
EXECUTE [depth=0] sofia/default/0653910229@172.16.250.14:5060 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA:H264]sofia/gateway/DimensionData/0624114149)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [domain_name]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [sip_to_host]=[main.skybrevoip.co.za] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_data]=[x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [call_type]=[7] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_data]=[x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_id]=[0624114149] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_channel.c:1269 sofia/default/0653910229@172.16.250.14:5060 EXPORTING[export_vars] [presence_data]=[x|||SKYBRE(6334793377)|||^0.* // South Africa // 0.32 |||Dimension Data // ^0.* // South Africa // 0.16000 // trunk_id=1|||STD|||172.16.250.14] to event
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-08-28 12:26:35.954271 99.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0624114149 [be4315c4-817f-41ef-accc-ef30a208705b]
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_sofia.c:5117 (sofia/default/0624114149) State Change CS_NEW -> CS_INIT
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_ivr_originate.c:3161 sofia/default/0624114149 Setting leg timeout to 30
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_INIT (Cur 2 Tot 368979)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0624114149) State INIT
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_sofia.c:97 sofia/default/0624114149 SOFIA INIT
2023-08-28 12:26:35.954271 99.23% [INFO] sofia_glue.c:1654 sofia/default/0624114149 sending invite call-id: (null)
2023-08-28 12:26:35.954271 99.23% [DEBUG] sofia_glue.c:1657 sofia/default/0624114149 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1693199099 1693199100 IN IP4 102.23.150.242
s=FreeSWITCH
c=IN IP4 102.23.150.242
t=0 0
m=audio 26496 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 29942 RTP/AVP 102
b=AS:3072
a=rtpmap:102 H264/90000
a=inactive
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 ccm tmmbr
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/0624114149 Standard INIT
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0624114149) State Change CS_INIT -> CS_ROUTING
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0624114149) State INIT going to sleep
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_ROUTING (Cur 2 Tot 368979)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0624114149) State ROUTING
2023-08-28 12:26:35.954271 99.23% [DEBUG] mod_sofia.c:158 sofia/default/0624114149 SOFIA ROUTING
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/0624114149) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0624114149) State ROUTING going to sleep
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 368979)
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0624114149) State CONSUME_MEDIA
2023-08-28 12:26:35.954271 99.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0624114149) State CONSUME_MEDIA going to sleep
2023-08-28 12:26:35.954271 99.23% [DEBUG] sofia.c:7487 Channel sofia/default/0624114149 entering state [calling][0]
2023-08-28 12:26:36.394290 99.23% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [1015@voip.skybrevoip.co.za] from ip 102.23.149.200
2023-08-28 12:26:36.414271 99.23% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [1015@voip.skybrevoip.co.za] from ip 102.23.149.200
2023-08-28 12:26:40.854288 99.20% [DEBUG] sofia.c:7487 Channel sofia/default/0624114149 entering state [proceeding][180]
2023-08-28 12:26:40.854288 99.20% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=PortaSIP 566259592093365592 1 IN IP4 172.16.250.14
s=-
t=0 0
m=audio 20074 RTP/AVP 8 101
c=IN IP4 172.16.250.14
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
m=video 0 RTP/AVP 102
c=IN IP4 172.16.250.14
b=AS:3072
2023-08-28 12:26:40.854288 99.20% [NOTICE] sofia.c:7500 Pre-Answer sofia/default/0624114149!
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_channel.c:3566 (sofia/default/0624114149) Callstate Change DOWN -> EARLY
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/0624114149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_codec.c:111 sofia/default/0624114149 Original read codec set to PCMA:8
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:5850 sofia/default/0624114149 Set 2833 dtmf send payload to 101 recv payload to 101
2023-08-28 12:26:40.854288 99.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/0624114149] 102.23.150.242 port 26496 -> 172.16.250.14 port 20074 codec: 8 ms: 20
2023-08-28 12:26:40.874272 99.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-08-28 12:26:40.874272 99.20% [DEBUG] switch_core_media.c:8963 sofia/default/0624114149 Set 2833 dtmf send payload to 101
2023-08-28 12:26:40.874272 99.20% [DEBUG] switch_core_media.c:8970 sofia/default/0624114149 Set 2833 dtmf receive payload to 101
2023-08-28 12:26:40.874272 99.20% [DEBUG] switch_core_media.c:8993 sofia/default/0624114149 Set rtp dtmf delay to 40
EXECUTE [depth=0] sofia/default/0624114149 lua(/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2023-08-28 12:26:40.874272 99.20% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm flag :false
2023-08-28 12:26:40.874272 99.20% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: false
2023-08-28 12:26:40.874272 99.20% [DEBUG] switch_cpp.cpp:1209 sofia/default/0624114149 destroy/unlink session from object
2023-08-28 12:26:40.894259 99.20% [INFO] switch_ivr_originate.c:3851 Sending early media
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/0653910229@172.16.250.14:5060] 102.23.150.242 port 21906 -> 172.16.250.14 port 20176 codec: 18 ms: 20
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_media.c:8963 sofia/default/0653910229@172.16.250.14:5060 Set 2833 dtmf send payload to 116
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_media.c:8970 sofia/default/0653910229@172.16.250.14:5060 Set 2833 dtmf receive payload to 116
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_media.c:8993 sofia/default/0653910229@172.16.250.14:5060 Set rtp dtmf delay to 40
2023-08-28 12:26:40.894259 99.20% [DEBUG] mod_sofia.c:2609 Ring SDP:
v=0
o=FreeSWITCH 1693203694 1693203695 IN IP4 102.23.150.242
s=FreeSWITCH
c=IN IP4 102.23.150.242
t=0 0
m=audio 21906 RTP/AVP 18 116
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-15
a=ptime:20
a=sendrecv
2023-08-28 12:26:40.894259 99.20% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/0653910229@172.16.250.14:5060!
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_channel.c:3566 (sofia/default/0653910229@172.16.250.14:5060) Callstate Change RINGING -> EARLY
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/0624114149] Peer UUID: be4315c4-817f-41ef-accc-ef30a208705b
2023-08-28 12:26:40.894259 99.20% [DEBUG] sofia.c:7487 Channel sofia/default/0653910229@172.16.250.14:5060 entering state [early][183]
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/0624114149) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 368979)
2023-08-28 12:26:40.894259 99.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/0624114149) State EXCHANGE_MEDIA
2023-08-28 12:26:40.894259 99.20% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-08-28 12:26:40.934296 99.20% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-08-28 12:26:41.074273 99.20% [DEBUG] switch_ivr_bridge.c:654 sofia/default/0624114149 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-08-28 12:26:41.094290 99.20% [DEBUG] switch_ivr.c:632 sofia/default/0624114149 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/0624114149 sched_hangup(+6000 normal_clearing)
2023-08-28 12:26:41.094290 99.20% [DEBUG] switch_scheduler.c:263 Added task 3648 switch_ivr_schedule_hangup (be4315c4-817f-41ef-accc-ef30a208705b) to run at 1693231601
2023-08-28 12:26:41.194270 99.20% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-08-28 12:26:50.174272 99.27% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [16000@102.23.150.242] from ip 38.242.216.104
2023-08-28 12:26:50.374272 99.27% [WARNING] sofia_reg.c:3211 Can't find user [16000@102.23.150.242] from 38.242.216.104
You must define a domain called '102.23.150.242' in your directory and add a user with the id="16000" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2023-08-28 12:26:50.374272 99.27% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [16000@102.23.150.242] from ip 38.242.216.104
2023-08-28 12:26:54.514258 99.30% [WARNING] mod_event_socket.c:2676 IP ::ffff:148.113.16.121 Rejected by acl "loopback.auto"
2023-08-28 12:26:57.054290 99.30% [DEBUG] sofia.c:7487 Channel sofia/default/0653910229@172.16.250.14:5060 entering state [terminated][487]
2023-08-28 12:26:57.054290 99.30% [NOTICE] sofia.c:8729 Hangup sofia/default/0653910229@172.16.250.14:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL]
2023-08-28 12:26:57.054290 99.30% [DEBUG] switch_ivr_bridge.c:825 sofia/default/0653910229@172.16.250.14:5060 ending bridge by request from read function
2023-08-28 12:26:57.054290 99.30% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/0653910229@172.16.250.14:5060]
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_ivr_bridge.c:819 sofia/default/0653910229@172.16.250.14:5060 ending bridge by request from write function
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/0624114149]
2023-08-28 12:26:57.074288 99.30% [NOTICE] switch_ivr_bridge.c:1023 Hangup sofia/default/0624114149 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/0624114149) State EXCHANGE_MEDIA going to sleep
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_HANGUP (Cur 2 Tot 368979)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0624114149) Callstate Change EARLY -> HANGUP
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0624114149) State HANGUP
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:462 sofia/default/0624114149 Overriding SIP cause 487 with 487 from the other leg
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/0624114149 hanging up, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/0624114149
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/0624114149 Standard HANGUP, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0624114149) State HANGUP going to sleep
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0624114149) State Change CS_HANGUP -> CS_REPORTING
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0624114149) Running State Change CS_REPORTING (Cur 2 Tot 368979)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/0624114149 skip receive message [UNBRIDGE] (channel is hungup already)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/0653910229@172.16.250.14:5060 skip receive message [UNBRIDGE] (channel is hungup already)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0624114149) State REPORTING
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_session.c:2973 sofia/default/0653910229@172.16.250.14:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0653910229@172.16.250.14:5060) State EXECUTE going to sleep
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_HANGUP (Cur 2 Tot 368979)
2023-08-28 12:26:57.074288 99.30% [INFO] mod_json_cdr.c:272 Process [be4315c4-817f-41ef-accc-ef30a208705b.cdr.json]
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0653910229@172.16.250.14:5060) Callstate Change EARLY -> HANGUP
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0653910229@172.16.250.14:5060) State HANGUP
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:462 sofia/default/0653910229@172.16.250.14:5060 Overriding SIP cause 487 with 486 from the other leg
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/0653910229@172.16.250.14:5060 hanging up, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/0653910229@172.16.250.14:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0653910229@172.16.250.14:5060) State HANGUP going to sleep
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_HANGUP -> CS_REPORTING
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_REPORTING (Cur 2 Tot 368979)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0653910229@172.16.250.14:5060) State REPORTING
2023-08-28 12:26:57.074288 99.30% [INFO] mod_json_cdr.c:272 Process [d8b09597-c3df-426e-a69e-ee598fe0ffab.cdr.json]
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/0624114149 Standard REPORTING, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0624114149) State REPORTING going to sleep
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0624114149) State Change CS_REPORTING -> CS_DESTROY
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_session.c:1743 Session 368979 (sofia/default/0624114149) Locked, Waiting on external entities
2023-08-28 12:26:57.074288 99.30% [NOTICE] switch_core_session.c:1761 Session 368979 (sofia/default/0624114149) Ended
2023-08-28 12:26:57.074288 99.30% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/0624114149 [CS_DESTROY]
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0624114149) Running State Change CS_DESTROY (Cur 1 Tot 368979)
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0624114149) State DESTROY
2023-08-28 12:26:57.074288 99.30% [DEBUG] mod_sofia.c:379 sofia/default/0624114149 SOFIA DESTROY
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/0624114149 Standard DESTROY
2023-08-28 12:26:57.074288 99.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0624114149) State DESTROY going to sleep
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_scheduler.c:147 Deleting task 3648 switch_ivr_schedule_hangup (be4315c4-817f-41ef-accc-ef30a208705b)
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/0653910229@172.16.250.14:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0653910229@172.16.250.14:5060) State REPORTING going to sleep
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0653910229@172.16.250.14:5060) State Change CS_REPORTING -> CS_DESTROY
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_session.c:1743 Session 368977 (sofia/default/0653910229@172.16.250.14:5060) Locked, Waiting on external entities
2023-08-28 12:26:57.094278 99.30% [NOTICE] switch_core_session.c:1761 Session 368977 (sofia/default/0653910229@172.16.250.14:5060) Ended
2023-08-28 12:26:57.094278 99.30% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/0653910229@172.16.250.14:5060 [CS_DESTROY]
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0653910229@172.16.250.14:5060) Running State Change CS_DESTROY (Cur 0 Tot 368979)
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0653910229@172.16.250.14:5060) State DESTROY
2023-08-28 12:26:57.094278 99.30% [DEBUG] mod_sofia.c:379 sofia/default/0653910229@172.16.250.14:5060 SOFIA DESTROY
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/0653910229@172.16.250.14:5060 Standard DESTROY
2023-08-28 12:26:57.094278 99.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0653910229@172.16.250.14:5060) State DESTROY going to sleep