reeswitch@ip-172-31-47-208> clear -ERR clear Command not found! freeswitch@ip-172-31-47-208> freeswitch@ip-172-31-47-208> originate {sip_h_P-Campaign=true,ignore_early_media=true,sip_h_P-Accountcode=4117,sip_h_P-cb_destination=95201478960,sip_h_P-cb_source=119764192,variable_effective_caller_id_name=119764192,origination_caller_id_number=119764192,effective_caller_id_number=119764192,Caller-Destination-Number=,Hunt-Orig-Caller-ID-Number=119764192,Hunt-Callee-ID-Name=119764192}sofia/default/95201478960@172.31.47.208:7777 119764192 xml default 919307925755 919307925755 40 +OK d4268589-ee1a-400b-932c-4bae43ab5c0f 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-22 07:22:31.577230 96.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/95201478960@172.31.47.208:7777 [d4268589-ee1a-400b-932c-4bae43ab5c0f] 2022-07-22 07:22:31.577230 96.87% [DEBUG] mod_sofia.c:5121 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_NEW -> CS_INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_INIT (Cur 1 Tot 94) 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/95201478960@172.31.47.208:7777) State INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] mod_sofia.c:97 sofia/default/95201478960@172.31.47.208:7777 SOFIA INIT 2022-07-22 07:22:31.577230 96.87% [INFO] sofia_glue.c:1651 sofia/default/95201478960@172.31.47.208:7777 sending invite call-id: (null) 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia_glue.c:1654 sofia/default/95201478960@172.31.47.208:7777 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1658442323 1658442324 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 32228 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-07-22 07:22:31.577230 96.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/119764192@172.31.47.208 [8c502f0b-86d5-48a6-8f60-168031efb9c1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_NEW (Cur 2 Tot 95) 2022-07-22 07:22:31.577230 96.87% [INFO] sofia.c:10462 sofia/default/119764192@172.31.47.208 receiving invite from 172.31.47.208:7777 version: 1.10.7 -release 64bit call-id: e4090d4c-8431-123b-f8ac-025e1ead1028 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.47.208:0. 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:10585 IP 172.31.47.208 Approved by acl "default[]". Access Granted. 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/119764192@172.31.47.208 entering state [received][100] 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1658442323 1658442324 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 32228 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/119764192@172.31.47.208 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_codec.c:111 sofia/default/119764192@172.31.47.208 Original read codec set to PCMA:8 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_media.c:5973 sofia/default/119764192@172.31.47.208 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:7933 (sofia/default/119764192@172.31.47.208) State Change CS_NEW -> CS_INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/119764192@172.31.47.208) State NEW 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_INIT (Cur 2 Tot 95) 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/119764192@172.31.47.208) State INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] mod_sofia.c:97 sofia/default/119764192@172.31.47.208 SOFIA INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/119764192@172.31.47.208 Standard INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/119764192@172.31.47.208) State Change CS_INIT -> CS_ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/119764192@172.31.47.208) State INIT going to sleep 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_ROUTING (Cur 2 Tot 95) 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_channel.c:2380 (sofia/default/119764192@172.31.47.208) Callstate Change DOWN -> RINGING 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/119764192@172.31.47.208) State ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] mod_sofia.c:158 sofia/default/119764192@172.31.47.208 SOFIA ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/119764192@172.31.47.208 Standard ROUTING 2022-07-22 07:22:31.577230 96.87% [INFO] mod_dialplan_xml.c:639 Processing 919307925755 <119764192>->95201478960 in context default 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/95201478960@172.31.47.208:7777 Standard INIT 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_INIT -> CS_ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/95201478960@172.31.47.208:7777) State INIT going to sleep 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_ROUTING (Cur 2 Tot 95) 2022-07-22 07:22:31.577230 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960@172.31.47.208:7777 entering state [calling][0] 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960@172.31.47.208:7777) State ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] mod_sofia.c:158 sofia/default/95201478960@172.31.47.208:7777 SOFIA ROUTING 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960@172.31.47.208:7777) State ROUTING going to sleep 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 95) 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/95201478960@172.31.47.208:7777) State CONSUME_MEDIA 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/95201478960@172.31.47.208:7777) State CONSUME_MEDIA going to sleep 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-22 07:22:31.577230 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-22 07:22:31.597225 96.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 79305d72-c27f-41f5-9410-478f444813a6 FreeSWITCH-Hostname: ip-172-31-47-208 FreeSWITCH-Switchname: ip-172-31-47-208 FreeSWITCH-IPv4: 172.31.47.208 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-07-22%2007%3A22%3A31 Event-Date-GMT: Fri,%2022%20Jul%202022%2007%3A22%3A31%20GMT Event-Date-Timestamp: 1658474551577230 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 6061 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/119764192%40172.31.47.208 Unique-ID: 8c502f0b-86d5-48a6-8f60-168031efb9c1 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 119764192%40172.31.47.208 Channel-Call-UUID: 8c502f0b-86d5-48a6-8f60-168031efb9c1 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 119764192 Caller-Dialplan: XML Caller-Caller-ID-Name: 919307925755 Caller-Caller-ID-Number: 119764192 Caller-Orig-Caller-ID-Name: 919307925755 Caller-Orig-Caller-ID-Number: 119764192 Caller-Network-Addr: 172.31.47.208 Caller-ANI: 119764192 Caller-Destination-Number: 95201478960 Caller-Unique-ID: 8c502f0b-86d5-48a6-8f60-168031efb9c1 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/119764192%40172.31.47.208 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1658474551577230 Caller-Channel-Created-Time: 1658474551577230 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 8c502f0b-86d5-48a6-8f60-168031efb9c1 variable_session_id: 95 variable_sip_from_user: 119764192 variable_sip_from_uri: 119764192%40172.31.47.208 variable_sip_from_host: 172.31.47.208 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/119764192%40172.31.47.208 variable_sip_call_id: e4090d4c-8431-123b-f8ac-025e1ead1028 variable_sip_local_network_addr: 172.31.47.208 variable_sip_network_ip: 172.31.47.208 variable_sip_network_port: 7777 variable_sip_invite_stamp: 1658474551577230 variable_sip_received_ip: 172.31.47.208 variable_sip_received_port: 7777 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 119764192 variable_sip_from_tag: BSeZ020HN68ZH variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40172.31.47.208%3A7777 variable_recovery_profile_name: default variable_sip_Remote-Party-ID: %22919307925755%22%20%3Csip%3A119764192%40172.31.47.208%3E%3Bparty%3Dcalling%3Bscreen%3Dyes%3Bprivacy%3Doff variable_sip_cid_type: rpid variable_sip_full_via: SIP/2.0/UDP%20172.31.47.208%3A7777%3Brport%3D7777%3Bbranch%3Dz9hG4bKgBcgmeD0BFZ6N variable_sip_from_display: 919307925755 variable_sip_full_from: %22919307925755%22%20%3Csip%3A119764192%40172.31.47.208%3E%3Btag%3DBSeZ020HN68ZH variable_sip_full_to: %3Csip%3A95201478960%40172.31.47.208%3A7777%3E variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE variable_sip_req_user: 95201478960 variable_sip_req_port: 7777 variable_sip_req_uri: 95201478960%40172.31.47.208%3A7777 variable_sip_req_host: 172.31.47.208 variable_sip_to_user: 95201478960 variable_sip_to_port: 7777 variable_sip_to_uri: 95201478960%40172.31.47.208%3A7777 variable_sip_to_host: 172.31.47.208 variable_sip_contact_user: mod_sofia variable_sip_contact_port: 7777 variable_sip_contact_uri: mod_sofia%40172.31.47.208%3A7777 variable_sip_contact_host: 172.31.47.208 variable_sip_user_agent: ASTPP variable_sip_via_host: 172.31.47.208 variable_sip_via_port: 7777 variable_sip_via_rport: 7777 variable_max_forwards: 70 variable_presence_id: 119764192%40172.31.47.208 variable_sip_h_P-Campaign: true variable_sip_h_P-Accountcode: 4117 variable_sip_h_P-cb_destination: 95201478960 variable_sip_h_P-cb_source: 119764192 variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201658442323%201658442324%20IN%20IP4%20172.31.47.208%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20172.31.47.208%0D%0At%3D0%200%0D%0Am%3Daudio%2032228%20RTP/AVP%208%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_rtp_use_codec_string: PCMA,PCMU,G729 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.31.47.208 variable_remote_media_port: 32228 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 8c502f0b-86d5-48a6-8f60-168031efb9c1 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 119764192 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 919307925755 Hunt-Caller-ID-Number: 119764192 Hunt-Orig-Caller-ID-Name: 919307925755 Hunt-Orig-Caller-ID-Number: 119764192 Hunt-Network-Addr: 172.31.47.208 Hunt-ANI: 119764192 Hunt-Destination-Number: 95201478960 Hunt-Unique-ID: 8c502f0b-86d5-48a6-8f60-168031efb9c1 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/119764192%40172.31.47.208 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1658474551577230 Hunt-Channel-Created-Time: 1658474551577230 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 95201478960 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '95201478960' AND status=0 limit 1 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 919307925755 / 119764192 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="95201478960" LIMIT 1 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="95201478960" limit 1 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-07-22 07:22:31.597225 96.87% [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.31.47.208") 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 "95201478960" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 119764192] 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "119764192" AND deleted = 0 limit 1 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^95201478960.*' OR blocked_patterns = '^9520147896.*' OR blocked_patterns = '^952014789.*' OR blocked_patterns = '^95201478.*' OR blocked_patterns = '^9520147.*' OR blocked_patterns = '^952014.*' OR blocked_patterns = '^95201.*' OR blocked_patterns = '^9520.*' OR blocked_patterns = '^952.*' OR blocked_patterns = '^95.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 4117 limit 1 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ANKIT_USERINFO_ERROR 2022-07-22 07:22:31.597225 96.87% [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 ="95201478960" AND A.accountid = '4117' limit 1 2022-07-22 07:22:31.597225 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 95201478960 2022-07-22 07:22:31.597225 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="95201478960" LIMIT 1 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="95201478960" limit 1 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="95201478960" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-22 07:22:31.617257 96.87% [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 (patterns = '^95201478960.*' OR patterns = '^9520147896.*' OR patterns = '^952014789.*' OR patterns = '^95201478.*' OR patterns = '^9520147.*' OR patterns = '^952014.*' OR patterns = '^95201.*' OR patterns = '^9520.*' OR patterns = '^952.*' OR patterns = '^95.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 4117 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '95201478960' OR number = '9520147896' OR number = '952014789' OR number = '95201478' OR number = '9520147' OR number = '952014' OR number = '95201' OR number = '9520' OR number = '952' OR number = '95' OR number = '9' OR number ='--') OR (number = '95201478960*' OR number = '9520147896*' OR number = '952014789*' OR number = '95201478*' OR number = '9520147*' OR number = '952014*' OR number = '95201*' OR number = '9520*' OR number = '952*' OR number = '95*' OR number = '9*' OR number ='--') OR (number = '119764192' OR number = '11976419' OR number = '1197641' OR number = '119764' OR number = '11976' OR number = '1197' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '119764192*' OR number = '11976419*' OR number = '1197641*' OR number = '119764*' OR number = '11976*' OR number = '1197*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '95201478960' OR routing_prefix = '9520147896' OR routing_prefix = '952014789' OR routing_prefix = '95201478' OR routing_prefix = '9520147' OR routing_prefix = '952014' OR routing_prefix = '95201' OR routing_prefix = '9520' OR routing_prefix = '952' OR routing_prefix = '95' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4117 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 119764192 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1999 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 64 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 64 AND status = 0 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^95201478960.*' OR pattern = '^9520147896.*' OR pattern = '^952014789.*' OR pattern = '^95201478.*' OR pattern = '^9520147.*' OR pattern = '^952014.*' OR pattern = '^95201.*' OR pattern = '^9520.*' OR pattern = '^952.*' OR pattern = '^95.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 64 OR accountid=4117) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2531132 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4117 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-07-22 07:22:31.617257 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1999 balance Accountid 4117 !!! 2022-07-22 07:22:31.617257 96.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 00 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] post_cdrs:::0 2022-07-22 07:22:31.617257 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 4117 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 00 minutes 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id : 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=64 ORDER by id asc 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^95201478960.*' OR pattern = '^9520147896.*' OR pattern = '^952014789.*' OR pattern = '^95201478.*' OR pattern = '^9520147.*' OR pattern = '^952014.*' OR pattern = '^95201.*' OR pattern = '^9520.*' OR pattern = '^952.*' OR pattern = '^95.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (67) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8104585 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9.* 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9.* 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 67 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : testinextrix 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3127 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : testinextrix 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-22 07:22:31.637219 96.87% [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 = 4117 AND status=0 LIMIT 1 2022-07-22 07:22:31.637219 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 00 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 64 AND status = 0 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3127) AND status=0 limit 1 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/119764192@172.31.47.208 parsing [default->95201478960] continue=false Dialplan: sofia/default/119764192@172.31.47.208 Regex (PASS) [95201478960] destination_number(95201478960) =~ /95201478960/ break=on-false Dialplan: sofia/default/119764192@172.31.47.208 Action set(effective_destination_number=95201478960) Dialplan: sofia/default/119764192@172.31.47.208 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/119764192@172.31.47.208 Action set(bridge_pre_execute_bleg_data=+0 normal_clearing) Dialplan: sofia/default/119764192@172.31.47.208 Action set(callstart=2022-07-22 07:22:31) Dialplan: sofia/default/119764192@172.31.47.208 Action set(hangup_after_bridge=true) Dialplan: sofia/default/119764192@172.31.47.208 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/119764192@172.31.47.208 Action set(account_id=4117) Dialplan: sofia/default/119764192@172.31.47.208 Action set(parent_id=0) Dialplan: sofia/default/119764192@172.31.47.208 Action set(entity_id=0) Dialplan: sofia/default/119764192@172.31.47.208 Action set(call_processed=internal) Dialplan: sofia/default/119764192@172.31.47.208 Action set(call_direction=outbound) Dialplan: sofia/default/119764192@172.31.47.208 Action set(accountname=test_inex) Dialplan: sofia/default/119764192@172.31.47.208 Action set(origination_rates=ID:2531132|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:30|INITIALBLOCK:30|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117) Dialplan: sofia/default/119764192@172.31.47.208 Action set(original_caller_id_name=919307925755) Dialplan: sofia/default/119764192@172.31.47.208 Action set(original_caller_id_number=119764192) Dialplan: sofia/default/119764192@172.31.47.208 Action export(is_recording=1) Dialplan: sofia/default/119764192@172.31.47.208 Action export(media_bug_answer_req=true) Dialplan: sofia/default/119764192@172.31.47.208 Action export(RECORD_STEREO=true) Dialplan: sofia/default/119764192@172.31.47.208 Action export(record_sample_rate=8000) Dialplan: sofia/default/119764192@172.31.47.208 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/119764192@172.31.47.208 Action set(calltype=STANDARD) Dialplan: sofia/default/119764192@172.31.47.208 Action set(termination_rates=ID:8104585|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:67|PROVIDER:3127) Dialplan: sofia/default/119764192@172.31.47.208 Action set(trunk_id=67) Dialplan: sofia/default/119764192@172.31.47.208 Action set(provider_id=3127) Dialplan: sofia/default/119764192@172.31.47.208 Action set(rate_flag=0) Dialplan: sofia/default/119764192@172.31.47.208 Action set(force_trunk_flag=0) Dialplan: sofia/default/119764192@172.31.47.208 Action export(presence_data=trunk_id=67) Dialplan: sofia/default/119764192@172.31.47.208 Action set(intcall=0) Dialplan: sofia/default/119764192@172.31.47.208 Action export(presence_data=x|||Ash(119764192)|||^9.* // // 0.00000 // trunk_id=|||testinextrix // ^9.* // // 0.00000 // trunk_id=67|||STD) Dialplan: sofia/default/119764192@172.31.47.208 Action bridge([leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/testinextrix/95201478960) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/119764192@172.31.47.208) State Change CS_ROUTING -> CS_EXECUTE 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/119764192@172.31.47.208) State ROUTING going to sleep 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_EXECUTE (Cur 2 Tot 95) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/119764192@172.31.47.208) State EXECUTE 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_sofia.c:213 sofia/default/119764192@172.31.47.208 SOFIA EXECUTE 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/119764192@172.31.47.208 Standard EXECUTE EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(effective_destination_number=95201478960) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [effective_destination_number]=[95201478960] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(bridge_pre_execute_bleg_data=+0 normal_clearing) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [bridge_pre_execute_bleg_data]=[+0 normal_clearing] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(callstart=2022-07-22 07:22:31) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [callstart]=[2022-07-22 07:22:31] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(hangup_after_bridge=true) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(continue_on_fail=TRUE) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(account_id=4117) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [account_id]=[4117] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(parent_id=0) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [parent_id]=[0] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(entity_id=0) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [entity_id]=[0] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(call_processed=internal) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(call_direction=outbound) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(accountname=test_inex) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [accountname]=[test_inex] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(origination_rates=ID:2531132|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:30|INITIALBLOCK:30|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [origination_rates]=[ID:2531132|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:30|INITIALBLOCK:30|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(original_caller_id_name=919307925755) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [original_caller_id_name]=[919307925755] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(original_caller_id_number=119764192) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [original_caller_id_number]=[119764192] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(is_recording=1) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(media_bug_answer_req=true) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(RECORD_STEREO=true) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(record_sample_rate=8000) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(calltype=STANDARD) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(termination_rates=ID:8104585|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:67|PROVIDER:3127) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [termination_rates]=[ID:8104585|CODE:^9.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:67|PROVIDER:3127] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(trunk_id=67) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [trunk_id]=[67] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(provider_id=3127) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [provider_id]=[3127] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(rate_flag=0) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(force_trunk_flag=0) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(presence_data=trunk_id=67) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=67] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 set(intcall=0) 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/119764192@172.31.47.208 [intcall]=[0] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 export(presence_data=x|||Ash(119764192)|||^9.* // // 0.00000 // trunk_id=|||testinextrix // ^9.* // // 0.00000 // trunk_id=67|||STD) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Ash(119764192)|||^9.* // // 0.00000 // trunk_id=|||testinextrix // ^9.* // // 0.00000 // trunk_id=67|||STD] EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 bridge([leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/testinextrix/95201478960) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [is_recording]=[1] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [presence_data]=[x|||Ash(119764192)|||^9.* // // 0.00000 // trunk_id=|||testinextrix // ^9.* // // 0.00000 // trunk_id=67|||STD] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_channel.c:1269 sofia/default/119764192@172.31.47.208 EXPORTING[export_vars] [presence_data]=[x|||Ash(119764192)|||^9.* // // 0.00000 // trunk_id=|||testinextrix // ^9.* // // 0.00000 // trunk_id=67|||STD] to event 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-07-22 07:22:31.637219 96.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/95201478960 [622dcd64-1b8b-4e42-91f8-fffd169fb4c1] 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_sofia.c:5121 (sofia/default/95201478960) State Change CS_NEW -> CS_INIT 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/95201478960 Setting leg timeout to 60 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_INIT (Cur 3 Tot 96) 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/95201478960) State INIT 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_sofia.c:97 sofia/default/95201478960 SOFIA INIT 2022-07-22 07:22:31.637219 96.87% [INFO] sofia_glue.c:1651 sofia/default/95201478960 sending invite call-id: (null) 2022-07-22 07:22:31.637219 96.87% [DEBUG] sofia_glue.c:1654 sofia/default/95201478960 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1658448391 1658448392 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 26160 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/95201478960 Standard INIT 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/95201478960) State Change CS_INIT -> CS_ROUTING 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/95201478960) State INIT going to sleep 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_ROUTING (Cur 3 Tot 96) 2022-07-22 07:22:31.637219 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960 entering state [calling][0] 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960) State ROUTING 2022-07-22 07:22:31.637219 96.87% [DEBUG] mod_sofia.c:158 sofia/default/95201478960 SOFIA ROUTING 2022-07-22 07:22:31.637219 96.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/95201478960) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-22 07:22:31.657216 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960) State ROUTING going to sleep 2022-07-22 07:22:31.657216 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 96) 2022-07-22 07:22:31.657216 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/95201478960) State CONSUME_MEDIA 2022-07-22 07:22:31.657216 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/95201478960) State CONSUME_MEDIA going to sleep 2022-07-22 07:22:31.857221 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960 entering state [completing][200] 2022-07-22 07:22:31.857221 96.60% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 866836705 866836705 IN IP4 159.203.131.36 s=Asterisk PBX 16.4.0 c=IN IP4 159.203.131.36 t=0 0 m=audio 18140 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2022-07-22 07:22:31.857221 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960 entering state [ready][200] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/95201478960 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_codec.c:111 sofia/default/95201478960 Original read codec set to PCMU:0 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:5973 sofia/default/95201478960 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/95201478960] 172.31.47.208 port 26160 -> 159.203.131.36 port 18140 codec: 0 ms: 20 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:9089 sofia/default/95201478960 Set 2833 dtmf send payload to 101 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:9096 sofia/default/95201478960 Set 2833 dtmf receive payload to 101 2022-07-22 07:22:31.857221 96.60% [DEBUG] switch_core_media.c:9119 sofia/default/95201478960 Set rtp dtmf delay to 40 2022-07-22 07:22:31.857221 96.60% [NOTICE] sofia.c:8683 Channel [sofia/default/95201478960] has been answered EXECUTE [depth=1] sofia/default/95201478960 record_session(/usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav) 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/119764192@172.31.47.208] 172.31.47.208 port 31980 -> 172.31.47.208 port 32228 codec: 8 ms: 20 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/95201478960 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_channel.c:3950 (sofia/default/95201478960) Callstate Change DOWN -> ACTIVE 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9089 sofia/default/119764192@172.31.47.208 Set 2833 dtmf send payload to 101 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9096 sofia/default/119764192@172.31.47.208 Set 2833 dtmf receive payload to 101 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9119 sofia/default/119764192@172.31.47.208 Set rtp dtmf delay to 40 2022-07-22 07:22:31.877223 96.60% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/119764192@172.31.47.208: v=0 o=FreeSWITCH 1658442571 1658442572 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 31980 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-07-22 07:22:31.877223 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/119764192@172.31.47.208 entering state [completed][200] 2022-07-22 07:22:31.877223 96.60% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/119764192@172.31.47.208] has been answered EXECUTE [depth=0] sofia/default/119764192@172.31.47.208 record_session(/usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav) 2022-07-22 07:22:31.877223 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960@172.31.47.208:7777 entering state [completing][200] 2022-07-22 07:22:31.877223 96.60% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1658442571 1658442572 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 31980 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-22 07:22:31.877223 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/95201478960@172.31.47.208:7777 entering state [ready][200] 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/95201478960@172.31.47.208:7777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_codec.c:111 sofia/default/95201478960@172.31.47.208:7777 Original read codec set to PCMA:8 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:5973 sofia/default/95201478960@172.31.47.208:7777 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/95201478960@172.31.47.208:7777] 172.31.47.208 port 32228 -> 172.31.47.208 port 31980 codec: 8 ms: 20 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9089 sofia/default/95201478960@172.31.47.208:7777 Set 2833 dtmf send payload to 101 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9096 sofia/default/95201478960@172.31.47.208:7777 Set 2833 dtmf receive payload to 101 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media.c:9119 sofia/default/95201478960@172.31.47.208:7777 Set rtp dtmf delay to 40 2022-07-22 07:22:31.877223 96.60% [NOTICE] sofia.c:8683 Channel [sofia/default/95201478960@172.31.47.208:7777] has been answered 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_channel.c:3950 (sofia/default/95201478960@172.31.47.208:7777) Callstate Change DOWN -> ACTIVE 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/119764192@172.31.47.208 2022-07-22 07:22:31.877223 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/119764192@172.31.47.208 entering state [ready][200] 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_channel.c:3950 (sofia/default/119764192@172.31.47.208) Callstate Change RINGING -> ACTIVE 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/95201478960] Peer UUID: 622dcd64-1b8b-4e42-91f8-fffd169fb4c1 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/95201478960) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 96) 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/95201478960) State EXCHANGE_MEDIA 2022-07-22 07:22:31.877223 96.60% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2022-07-22 07:22:31.877223 96.60% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/95201478960@172.31.47.208:7777] Peer UUID: d4268589-ee1a-400b-932c-4bae43ab5c0f 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_ivr.c:2289 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_CONSUME_MEDIA -> CS_ROUTING 2022-07-22 07:22:31.897251 96.60% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/95201478960@172.31.47.208:7777 to xml[119764192@default] 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_ROUTING (Cur 3 Tot 96) 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960@172.31.47.208:7777) State ROUTING 2022-07-22 07:22:31.897251 96.60% [DEBUG] mod_sofia.c:158 sofia/default/95201478960@172.31.47.208:7777 SOFIA ROUTING 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/95201478960@172.31.47.208:7777 Standard ROUTING 2022-07-22 07:22:31.897251 96.60% [INFO] mod_dialplan_xml.c:639 Processing 919307925755 <119764192>->119764192 in context default 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-22 07:22:31.897251 96.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 79305d72-c27f-41f5-9410-478f444813a6 FreeSWITCH-Hostname: ip-172-31-47-208 FreeSWITCH-Switchname: ip-172-31-47-208 FreeSWITCH-IPv4: 172.31.47.208 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-07-22%2007%3A22%3A31 Event-Date-GMT: Fri,%2022%20Jul%202022%2007%3A22%3A31%20GMT Event-Date-Timestamp: 1658474551897251 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 6155 Channel-State: CS_ROUTING Channel-Call-State: ACTIVE Channel-State-Number: 2 Channel-Name: sofia/default/95201478960%40172.31.47.208%3A7777 Unique-ID: d4268589-ee1a-400b-932c-4bae43ab5c0f Call-Direction: outbound Presence-Call-Direction: outbound Channel-HIT-Dialplan: false Channel-Call-UUID: d4268589-ee1a-400b-932c-4bae43ab5c0f Answer-State: answered Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: outbound Caller-Logical-Direction: outbound Caller-Dialplan: xml Caller-Caller-ID-Name: 919307925755 Caller-Caller-ID-Number: 119764192 Caller-Orig-Caller-ID-Name: 919307925755 Caller-Orig-Caller-ID-Number: 119764192 Caller-Callee-ID-Name: Outbound%20Call Caller-Callee-ID-Number: 95201478960 Caller-Network-Addr: 172.31.47.208 Caller-ANI: 119764192 Caller-Destination-Number: 119764192 Caller-Unique-ID: d4268589-ee1a-400b-932c-4bae43ab5c0f Caller-Source: src/switch_ivr_originate.c Caller-Transfer-Source: 1658474551%3Ad82e2b54-edad-4cbf-8d8f-55da4b9c6ae2%3Abl_xfer%3A119764192/default/xml Caller-Context: default Caller-RDNIS: 95201478960 Caller-Channel-Name: sofia/default/95201478960%40172.31.47.208%3A7777 Caller-Profile-Index: 2 Caller-Profile-Created-Time: 1658474551897251 Caller-Channel-Created-Time: 1658474551577230 Caller-Channel-Answered-Time: 1658474551877223 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: outbound variable_is_outbound: true variable_uuid: d4268589-ee1a-400b-932c-4bae43ab5c0f variable_session_id: 94 variable_sip_profile_name: default variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/95201478960%40172.31.47.208%3A7777 variable_sip_destination_url: sip%3A95201478960%40172.31.47.208%3A7777 variable_sip_h_P-Campaign: true variable_ignore_early_media: true variable_sip_h_P-Accountcode: 4117 variable_sip_h_P-cb_destination: 95201478960 variable_sip_h_P-cb_source: 119764192 variable_variable_effective_caller_id_name: 119764192 variable_origination_caller_id_number: 119764192 variable_effective_caller_id_number: 119764192 variable_Hunt-Orig-Caller-ID-Number: 119764192 variable_Hunt-Callee-ID-Name: 119764192 variable_origination_caller_id_name: 919307925755 variable_originate_early_media: false variable_audio_media_flow: sendrecv variable_rtp_local_sdp_str: v%3D0%0D%0Ao%3DFreeSWITCH%201658442323%201658442324%20IN%20IP4%20172.31.47.208%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20172.31.47.208%0D%0At%3D0%200%0D%0Am%3Daudio%2032228%20RTP/AVP%208%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A variable_sip_outgoing_contact_uri: %3Csip%3Amod_sofia%40172.31.47.208%3A7777%3E variable_sip_req_uri: 95201478960%40172.31.47.208%3A7777 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40172.31.47.208%3A7777 variable_sip_local_network_addr: 172.31.47.208 variable_sip_reply_host: 172.31.47.208 variable_sip_reply_port: 7777 variable_sip_network_ip: 172.31.47.208 variable_sip_network_port: 7777 variable_sip_user_agent: ASTPP variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE variable_sip_recover_contact: %3Csip%3A95201478960%40172.31.47.208%3A7777%3Btransport%3Dudp%3E variable_sip_full_via: SIP/2.0/UDP%20172.31.47.208%3A7777%3Brport%3D7777%3Bbranch%3Dz9hG4bKgBcgmeD0BFZ6N variable_sip_recover_via: SIP/2.0/UDP%20172.31.47.208%3A7777%3Brport%3D7777%3Bbranch%3Dz9hG4bKgBcgmeD0BFZ6N variable_sip_from_display: 919307925755 variable_sip_full_from: %22919307925755%22%20%3Csip%3A119764192%40172.31.47.208%3E%3Btag%3DBSeZ020HN68ZH variable_sip_full_to: %3Csip%3A95201478960%40172.31.47.208%3A7777%3E%3Btag%3Dc27Q2XHNjFZjD variable_sip_from_user: 119764192 variable_sip_from_uri: 119764192%40172.31.47.208 variable_sip_from_host: 172.31.47.208 variable_sip_to_user: 95201478960 variable_sip_to_port: 7777 variable_sip_to_uri: 95201478960%40172.31.47.208%3A7777 variable_sip_to_host: 172.31.47.208 variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: 95201478960 variable_sip_contact_port: 7777 variable_sip_contact_uri: 95201478960%40172.31.47.208%3A7777 variable_sip_contact_host: 172.31.47.208 variable_sip_to_tag: c27Q2XHNjFZjD variable_sip_from_tag: BSeZ020HN68ZH variable_sip_cseq: 54683483 variable_sip_call_id: e4090d4c-8431-123b-f8ac-025e1ead1028 variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201658442571%201658442572%20IN%20IP4%20172.31.47.208%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20172.31.47.208%0D%0At%3D0%200%0D%0Am%3Daudio%2031980%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.47.208 variable_local_media_port: 32228 variable_advertised_media_ip: 172.31.47.208 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 8 variable_rtp_use_ssrc: 2598034111 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 172.31.47.208 variable_remote_media_port: 31980 variable_endpoint_disposition: ANSWER variable_max_forwards: 70 variable_transfer_history: 1658474551%3Ad82e2b54-edad-4cbf-8d8f-55da4b9c6ae2%3Abl_xfer%3A119764192/default/xml variable_transfer_source: 1658474551%3Ad82e2b54-edad-4cbf-8d8f-55da4b9c6ae2%3Abl_xfer%3A119764192/default/xml variable_call_uuid: d4268589-ee1a-400b-932c-4bae43ab5c0f Hunt-Direction: outbound Hunt-Logical-Direction: outbound Hunt-Dialplan: xml Hunt-Caller-ID-Name: 919307925755 Hunt-Caller-ID-Number: 119764192 Hunt-Orig-Caller-ID-Name: 919307925755 Hunt-Orig-Caller-ID-Number: 119764192 Hunt-Callee-ID-Name: Outbound%20Call Hunt-Callee-ID-Number: 95201478960 Hunt-Network-Addr: 172.31.47.208 Hunt-ANI: 119764192 Hunt-Destination-Number: 119764192 Hunt-Unique-ID: d4268589-ee1a-400b-932c-4bae43ab5c0f Hunt-Source: src/switch_ivr_originate.c Hunt-Transfer-Source: 1658474551%3Ad82e2b54-edad-4cbf-8d8f-55da4b9c6ae2%3Abl_xfer%3A119764192/default/xml Hunt-Context: default Hunt-RDNIS: 95201478960 Hunt-Channel-Name: sofia/default/95201478960%40172.31.47.208%3A7777 Hunt-Profile-Index: 2 Hunt-Profile-Created-Time: 1658474551897251 Hunt-Channel-Created-Time: 1658474551577230 Hunt-Channel-Answered-Time: 1658474551877223 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-07-22 07:22:31.897251 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2022-07-22 07:22:31.897251 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2022-07-22 07:22:31.897251 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2022-07-22 07:22:31.897251 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2022-07-22 07:22:31.897251 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 119764192 2022-07-22 07:22:31.897251 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '119764192' AND status=0 limit 1 2022-07-22 07:22:31.917217 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : / 119764192 2022-07-22 07:22:31.917217 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="119764192" LIMIT 1 2022-07-22 07:22:31.917217 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="119764192" limit 1 2022-07-22 07:22:31.917217 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local 2022-07-22 07:22:31.917217 96.60% [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.31.47.208") 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 "119764192" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-07-22 07:22:31.917217 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 119764192] 2022-07-22 07:22:31.917217 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "119764192" AND deleted = 0 limit 1 2022-07-22 07:22:31.917217 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ANKIT_USERINFO_ERROR 2022-07-22 07:22:31.917217 96.60% [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 ="119764192" AND A.accountid = '4117' limit 1 2022-07-22 07:22:31.917217 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 119764192 2022-07-22 07:22:31.917217 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="119764192" LIMIT 1 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="119764192" limit 1 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : local 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="119764192" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-22 07:22:31.937222 96.60% [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 (patterns = '^119764192.*' OR patterns = '^11976419.*' OR patterns = '^1197641.*' OR patterns = '^119764.*' OR patterns = '^11976.*' OR patterns = '^1197.*' OR patterns = '^119.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4117 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '119764192' OR number = '11976419' OR number = '1197641' OR number = '119764' OR number = '11976' OR number = '1197' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '119764192*' OR number = '11976419*' OR number = '1197641*' OR number = '119764*' OR number = '11976*' OR number = '1197*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '119764192' OR number = '11976419' OR number = '1197641' OR number = '119764' OR number = '11976' OR number = '1197' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '119764192*' OR number = '11976419*' OR number = '1197641*' OR number = '119764*' OR number = '11976*' OR number = '1197*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '119764192' OR routing_prefix = '11976419' OR routing_prefix = '1197641' OR routing_prefix = '119764' OR routing_prefix = '11976' OR routing_prefix = '1197' OR routing_prefix = '119' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4117 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 119764192 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 64 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 64 AND status = 0 2022-07-22 07:22:31.937222 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1 2022-07-22 07:22:31.937222 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0 2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 4117 !!! 2022-07-22 07:22:31.937222 96.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 00 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] post_cdrs:::0 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 4117 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
2022-07-22 07:22:31.937222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 00 minutes 2022-07-22 07:22:31.937222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="119764192" limit 1 2022-07-22 07:22:31.957222 96.60% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 00 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 4117 limit 1 2022-07-22 07:22:31.957222 96.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain]qemert.astppbilling.org 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/95201478960@172.31.47.208:7777 parsing [default->119764192] continue=false Dialplan: sofia/default/95201478960@172.31.47.208:7777 Regex (PASS) [119764192] destination_number(119764192) =~ /119764192/ break=on-false Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(effective_destination_number=119764192) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(bridge_pre_execute_bleg_data=+0 normal_clearing) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(callstart=2022-07-22 07:22:31) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(hangup_after_bridge=true) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(account_id=4117) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(parent_id=0) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(entity_id=0) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(call_processed=internal) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(call_direction=local) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(accountname=test_inex) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(origination_rates=ID:0|CODE:^119764192.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(original_caller_id_number=119764192) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(is_recording=1) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(media_bug_answer_req=true) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(RECORD_STEREO=true) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(record_sample_rate=8000) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(effective_caller_id_number=119764192) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(calltype=LOCAL) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action set(receiver_accid=4117) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(presence_data=x|||Ash(119764192)|||^119764192.* // Local // 0||||||Local) Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action bridge([leg_timeout=60]user/119764192@qemert.astppbilling.org) |--- Dialplan: Processing recursive conditions level:1 [119764192_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/95201478960@172.31.47.208:7777 Regex (PASS) [119764192_recur_1] ${cond(${user_data 119764192@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action answer() |--- Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action export(voicemail_alternate_greet_id=119764192) |--- Dialplan: sofia/default/95201478960@172.31.47.208:7777 Action voicemail(default $${domain_name} 119764192) 2022-07-22 07:22:31.957222 96.60% [INFO] switch_channel.c:3270 sofia/default/95201478960@172.31.47.208:7777 Flipping CID from "919307925755" <119764192> to "Outbound Call" <95201478960> 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_core_state_machine.c:281 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_ROUTING -> CS_EXECUTE 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/95201478960@172.31.47.208:7777) State ROUTING going to sleep 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_EXECUTE (Cur 3 Tot 96) 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/95201478960@172.31.47.208:7777) State EXECUTE 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_sofia.c:213 sofia/default/95201478960@172.31.47.208:7777 SOFIA EXECUTE 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_core_state_machine.c:323 sofia/default/95201478960@172.31.47.208:7777 Standard EXECUTE EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(effective_destination_number=119764192) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [effective_destination_number]=[119764192] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(bridge_pre_execute_bleg_data=+0 normal_clearing) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [bridge_pre_execute_bleg_data]=[+0 normal_clearing] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(callstart=2022-07-22 07:22:31) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [callstart]=[2022-07-22 07:22:31] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(hangup_after_bridge=true) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(continue_on_fail=TRUE) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(account_id=4117) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [account_id]=[4117] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(parent_id=0) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [parent_id]=[0] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(entity_id=0) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [entity_id]=[0] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(call_processed=internal) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(call_direction=local) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [call_direction]=[local] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(accountname=test_inex) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [accountname]=[test_inex] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(origination_rates=ID:0|CODE:^119764192.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [origination_rates]=[ID:0|CODE:^119764192.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:64|MARKUP:0|CI:0|ACCID:4117] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(original_caller_id_number=119764192) 2022-07-22 07:22:31.957222 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [original_caller_id_number]=[119764192] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(is_recording=1) 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(media_bug_answer_req=true) 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(RECORD_STEREO=true) 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(record_sample_rate=8000) 2022-07-22 07:22:31.957222 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/d4268589-ee1a-400b-932c-4bae43ab5c0f.wav) 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/d4268589-ee1a-400b-932c-4bae43ab5c0f.wav] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(effective_caller_id_number=119764192) 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [effective_caller_id_number]=[119764192] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(calltype=LOCAL) 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [calltype]=[LOCAL] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 set(receiver_accid=4117) 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/95201478960@172.31.47.208:7777 [receiver_accid]=[4117] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 export(presence_data=x|||Ash(119764192)|||^119764192.* // Local // 0||||||Local) 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Ash(119764192)|||^119764192.* // Local // 0||||||Local] EXECUTE [depth=0] sofia/default/95201478960@172.31.47.208:7777 bridge([leg_timeout=60]user/119764192@qemert.astppbilling.org) 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1954 (sofia/default/95201478960@172.31.47.208:7777) Callstate Change ACTIVE -> RING_WAIT 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [is_recording]=[1] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/d4268589-ee1a-400b-932c-4bae43ab5c0f.wav] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [presence_data]=[x|||Ash(119764192)|||^119764192.* // Local // 0||||||Local] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [is_recording]=[1] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/d4268589-ee1a-400b-932c-4bae43ab5c0f.wav] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_channel.c:1269 sofia/default/95201478960@172.31.47.208:7777 EXPORTING[export_vars] [presence_data]=[x|||Ash(119764192)|||^119764192.* // Local // 0||||||Local] to event 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-22 07:22:31.977240 96.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/119764192@192.168.1.55:5126 [9bb3eaf4-9232-4c86-9b54-6908fb6298c2] 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_sofia.c:5121 (sofia/default/119764192@192.168.1.55:5126) State Change CS_NEW -> CS_INIT 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_ivr_originate.c:3151 sofia/default/119764192@192.168.1.55:5126 Setting leg timeout to 60 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_INIT (Cur 4 Tot 97) 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/119764192@192.168.1.55:5126) State INIT 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_sofia.c:97 sofia/default/119764192@192.168.1.55:5126 SOFIA INIT 2022-07-22 07:22:31.977240 96.60% [DEBUG] sofia_glue.c:1620 sip:119764192@103.240.35.46:5126 Setting proxy route to sofia/default/119764192@192.168.1.55:5126 2022-07-22 07:22:31.977240 96.60% [INFO] sofia_glue.c:1651 sofia/default/119764192@192.168.1.55:5126 sending invite call-id: (null) 2022-07-22 07:22:31.977240 96.60% [DEBUG] sofia_glue.c:1654 sofia/default/119764192@192.168.1.55:5126 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1658441907 1658441908 IN IP4 172.31.47.208 s=FreeSWITCH c=IN IP4 172.31.47.208 t=0 0 m=audio 32644 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/119764192@192.168.1.55:5126 Standard INIT 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/119764192@192.168.1.55:5126) State Change CS_INIT -> CS_ROUTING 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/119764192@192.168.1.55:5126) State INIT going to sleep 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_ROUTING (Cur 4 Tot 97) 2022-07-22 07:22:31.977240 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/119764192@192.168.1.55:5126 entering state [calling][0] 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/119764192@192.168.1.55:5126) State ROUTING 2022-07-22 07:22:31.977240 96.60% [DEBUG] mod_sofia.c:158 sofia/default/119764192@192.168.1.55:5126 SOFIA ROUTING 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/119764192@192.168.1.55:5126) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/119764192@192.168.1.55:5126) State ROUTING going to sleep 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 97) 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/119764192@192.168.1.55:5126) State CONSUME_MEDIA 2022-07-22 07:22:31.977240 96.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/119764192@192.168.1.55:5126) State CONSUME_MEDIA going to sleep 2022-07-22 07:22:32.057215 96.60% [DEBUG] switch_ivr_bridge.c:655 sofia/default/95201478960 Bridge execute app sched_hangup(+0 normal_clearing) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr.c:632 sofia/default/95201478960 Command Execute [depth=0] sched_hangup(+0 normal_clearing) EXECUTE [depth=0] sofia/default/95201478960 sched_hangup(+0 normal_clearing) 2022-07-22 07:22:32.077292 96.60% [NOTICE] mod_dptools.c:1289 Hangup sofia/default/95201478960 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_session.c:2983 sofia/default/95201478960 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr_bridge.c:568 sofia/default/95201478960 skip receive message [BRIDGE] (channel is hungup already) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr.c:679 sofia/default/95201478960 skip receive message [VIDEO_SYNC] (channel is hungup already) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr_bridge.c:826 sofia/default/95201478960 ending bridge by request from read function 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/95201478960] 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/95201478960) State EXCHANGE_MEDIA going to sleep 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_HANGUP (Cur 4 Tot 97) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/95201478960 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/95201478960) Callstate Change ACTIVE -> HANGUP 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/95201478960) State HANGUP 2022-07-22 07:22:32.077292 96.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/95201478960 hanging up, cause: NORMAL_CLEARING 2022-07-22 07:22:32.077292 96.60% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/95201478960 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/95201478960 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/95201478960) State HANGUP going to sleep 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/95201478960) State Change CS_HANGUP -> CS_REPORTING 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960) Running State Change CS_REPORTING (Cur 4 Tot 97) 2022-07-22 07:22:32.077292 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/95201478960) State REPORTING 2022-07-22 07:22:32.077292 96.60% [INFO] mod_json_cdr.c:271 Process [622dcd64-1b8b-4e42-91f8-fffd169fb4c1.cdr.json] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/119764192@172.31.47.208] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/95201478960 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-22 07:22:32.097217 96.60% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/119764192@172.31.47.208 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_session.c:2983 sofia/default/119764192@172.31.47.208 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/119764192@172.31.47.208) State EXECUTE going to sleep 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_HANGUP (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/8c502f0b-86d5-48a6-8f60-168031efb9c1.wav 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/119764192@172.31.47.208 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/119764192@172.31.47.208) Callstate Change ACTIVE -> HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/119764192@172.31.47.208) State HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/119764192@172.31.47.208 hanging up, cause: NORMAL_CLEARING 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/119764192@172.31.47.208 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/119764192@172.31.47.208 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/119764192@172.31.47.208) State HANGUP going to sleep 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/119764192@172.31.47.208) State Change CS_HANGUP -> CS_REPORTING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@172.31.47.208) Running State Change CS_REPORTING (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/119764192@172.31.47.208) State REPORTING 2022-07-22 07:22:32.097217 96.60% [INFO] mod_json_cdr.c:271 Process [8c502f0b-86d5-48a6-8f60-168031efb9c1.cdr.json] 2022-07-22 07:22:32.097217 96.60% [NOTICE] sofia.c:1065 Hangup sofia/default/95201478960@172.31.47.208:7777 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-22 07:22:32.097217 96.60% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/119764192@192.168.1.55:5126 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_originate.c:4024 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2022-07-22 07:22:32.097217 96.60% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL] 2022-07-22 07:22:32.097217 96.60% [INFO] mod_dptools.c:3653 Originate Failed. Cause: ORIGINATOR_CANCEL 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_session.c:2983 sofia/default/95201478960@172.31.47.208:7777 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/95201478960@172.31.47.208:7777) State EXECUTE going to sleep 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_HANGUP (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/95201478960@172.31.47.208:7777) Callstate Change RING_WAIT -> HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/95201478960@172.31.47.208:7777) State HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/95201478960@172.31.47.208:7777 hanging up, cause: NORMAL_CLEARING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/95201478960@172.31.47.208:7777 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/95201478960@172.31.47.208:7777) State HANGUP going to sleep 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_HANGUP -> CS_REPORTING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_REPORTING (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/95201478960@172.31.47.208:7777) State REPORTING 2022-07-22 07:22:32.097217 96.60% [INFO] mod_json_cdr.c:271 Process [d4268589-ee1a-400b-932c-4bae43ab5c0f.cdr.json] 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_HANGUP (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/119764192@192.168.1.55:5126) Callstate Change DOWN -> HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/119764192@192.168.1.55:5126) State HANGUP 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:462 sofia/default/119764192@192.168.1.55:5126 Overriding SIP cause 487 with 200 from the other leg 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/119764192@192.168.1.55:5126 hanging up, cause: ORIGINATOR_CANCEL 2022-07-22 07:22:32.097217 96.60% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/119764192@192.168.1.55:5126 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/119764192@192.168.1.55:5126 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/119764192@192.168.1.55:5126) State HANGUP going to sleep 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/119764192@192.168.1.55:5126) State Change CS_HANGUP -> CS_REPORTING 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_REPORTING (Cur 4 Tot 97) 2022-07-22 07:22:32.097217 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/119764192@192.168.1.55:5126) State REPORTING 2022-07-22 07:22:32.097217 96.60% [INFO] mod_json_cdr.c:271 Process [9bb3eaf4-9232-4c86-9b54-6908fb6298c2.cdr.json] 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/95201478960 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/95201478960) State REPORTING going to sleep 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/95201478960) State Change CS_REPORTING -> CS_DESTROY 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_session.c:1753 Session 96 (sofia/default/95201478960) Locked, Waiting on external entities 2022-07-22 07:22:32.117212 96.60% [NOTICE] switch_core_session.c:1771 Session 96 (sofia/default/95201478960) Ended 2022-07-22 07:22:32.117212 96.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/95201478960 [CS_DESTROY] 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/95201478960) Running State Change CS_DESTROY (Cur 3 Tot 97) 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/95201478960) State DESTROY 2022-07-22 07:22:32.117212 96.60% [DEBUG] mod_sofia.c:379 sofia/default/95201478960 SOFIA DESTROY 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/95201478960 Standard DESTROY 2022-07-22 07:22:32.117212 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/95201478960) State DESTROY going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/119764192@192.168.1.55:5126 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/119764192@192.168.1.55:5126) State REPORTING going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/119764192@192.168.1.55:5126) State Change CS_REPORTING -> CS_DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_session.c:1753 Session 97 (sofia/default/119764192@192.168.1.55:5126) Locked, Waiting on external entities 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1771 Session 97 (sofia/default/119764192@192.168.1.55:5126) Ended 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/119764192@192.168.1.55:5126 [CS_DESTROY] 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/119764192@192.168.1.55:5126) Running State Change CS_DESTROY (Cur 2 Tot 97) 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/119764192@192.168.1.55:5126) State DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] mod_sofia.c:379 sofia/default/119764192@192.168.1.55:5126 SOFIA DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/119764192@192.168.1.55:5126 Standard DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/119764192@192.168.1.55:5126) State DESTROY going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/119764192@172.31.47.208 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/119764192@172.31.47.208) State REPORTING going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/119764192@172.31.47.208) State Change CS_REPORTING -> CS_DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_session.c:1753 Session 95 (sofia/default/119764192@172.31.47.208) Locked, Waiting on external entities 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1771 Session 95 (sofia/default/119764192@172.31.47.208) Ended 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/119764192@172.31.47.208 [CS_DESTROY] 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/119764192@172.31.47.208) Running State Change CS_DESTROY (Cur 1 Tot 97) 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/119764192@172.31.47.208) State DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] mod_sofia.c:379 sofia/default/119764192@172.31.47.208 SOFIA DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/119764192@172.31.47.208 Standard DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/119764192@172.31.47.208) State DESTROY going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/95201478960@172.31.47.208:7777 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/95201478960@172.31.47.208:7777) State REPORTING going to sleep 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/95201478960@172.31.47.208:7777) State Change CS_REPORTING -> CS_DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_session.c:1753 Session 94 (sofia/default/95201478960@172.31.47.208:7777) Locked, Waiting on external entities 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1771 Session 94 (sofia/default/95201478960@172.31.47.208:7777) Ended 2022-07-22 07:22:32.137221 96.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/95201478960@172.31.47.208:7777 [CS_DESTROY] 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/95201478960@172.31.47.208:7777) Running State Change CS_DESTROY (Cur 0 Tot 97) 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/95201478960@172.31.47.208:7777) State DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] mod_sofia.c:379 sofia/default/95201478960@172.31.47.208:7777 SOFIA DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/95201478960@172.31.47.208:7777 Standard DESTROY 2022-07-22 07:22:32.137221 96.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/95201478960@172.31.47.208:7777) State DESTROY going to sleep 2022-07-22 07:22:35.697239 95.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [119764192@qemert.astppbilling.org] from ip 103.240.35.46 2022-07-22 07:23:35.757238 97.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [119764192@qemert.astppbilling.org] from ip 103.240.35.46 2022-07-22 07:24:35.837218 97.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [119764192@qemert.astppbilling.org] from ip 103.240.35.46 2022-07-22 07:25:35.897271 97.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [119764192@qemert.astppbilling.org] from ip 103.240.35.46 2022-07-22 07:26:35.977256 97.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [119764192@qemert.astppbilling.org] from ip 103.240.35.46