2024-02-19 10:05:54.934796 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/sipsbc/0552605318@nowhere [f623944f-090c-4b49-9ea1-32a4a8a89b55] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_NEW (Cur 1 Tot 394) 2024-02-19 10:05:54.934796 99.93% [INFO] sofia.c:10462 sofia/sipsbc/0552605318@nowhere receiving invite from 10.238.70.33:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: asbcdow95flt6zww0watto2r9af2lz6rk608@10.239.60.69 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 10.238.70.33:0. 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [received][100] 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=- 8731711 8731711 IN IP4 10.238.70.3 s=SBC call c=IN IP4 10.238.70.3 t=0 0 m=audio 11390 RTP/AVP 8 18 96 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 96@8000 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/sipsbc/0552605318@nowhere PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_codec.c:111 sofia/sipsbc/0552605318@nowhere Original read codec set to PCMA:8 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 96@8000 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5973 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf send payload to 96 recv payload to 96 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7933 (sofia/sipsbc/0552605318@nowhere) State Change CS_NEW -> CS_INIT 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/sipsbc/0552605318@nowhere) State NEW 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_INIT (Cur 1 Tot 394) 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/sipsbc/0552605318@nowhere) State INIT 2024-02-19 10:05:54.934796 99.93% [DEBUG] mod_sofia.c:97 sofia/sipsbc/0552605318@nowhere SOFIA INIT 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/sipsbc/0552605318@nowhere Standard INIT 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/sipsbc/0552605318@nowhere) State Change CS_INIT -> CS_ROUTING 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/sipsbc/0552605318@nowhere) State INIT going to sleep 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_ROUTING (Cur 1 Tot 394) 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_channel.c:2380 (sofia/sipsbc/0552605318@nowhere) Callstate Change DOWN -> RINGING 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/sipsbc/0552605318@nowhere) State ROUTING 2024-02-19 10:05:54.934796 99.93% [DEBUG] mod_sofia.c:158 sofia/sipsbc/0552605318@nowhere SOFIA ROUTING 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/sipsbc/0552605318@nowhere Standard ROUTING 2024-02-19 10:05:54.934796 99.93% [INFO] mod_dialplan_xml.c:639 Processing 0552605318 <0552605318>->+97147160800 in context default 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-19 10:05:54.934796 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: f8d4fef2-881c-4ff0-ab01-b61a7fa6ca38 FreeSWITCH-Hostname: sipsrvr01 FreeSWITCH-Switchname: sipsrvr01 FreeSWITCH-IPv4: 172.16.20.101 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2024-02-19%2010%3A05%3A54 Event-Date-GMT: Mon,%2019%20Feb%202024%2010%3A05%3A54%20GMT Event-Date-Timestamp: 1708337154934796 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 75581 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/sipsbc/0552605318%40nowhere Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 0552605318%40 Channel-Call-UUID: f623944f-090c-4b49-9ea1-32a4a8a89b55 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: 0552605318 Caller-Dialplan: XML Caller-Caller-ID-Name: 0552605318 Caller-Caller-ID-Number: 0552605318 Caller-Orig-Caller-ID-Name: 0552605318 Caller-Orig-Caller-ID-Number: 0552605318 Caller-Network-Addr: 10.238.70.33 Caller-ANI: 0552605318 Caller-Destination-Number: %2B97147160800 Caller-Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/sipsbc/0552605318%40nowhere Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1708337154934796 Caller-Channel-Created-Time: 1708337154934796 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: f623944f-090c-4b49-9ea1-32a4a8a89b55 variable_session_id: 394 variable_sip_from_params: noa%3Dnational%3Bsrvattri%3Dnational variable_sip_from_user: 0552605318 variable_sip_from_uri: 0552605318%40nowhere variable_sip_from_host: nowhere variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/sipsbc/0552605318%40nowhere variable_sip_call_id: asbcdow95flt6zww0watto2r9af2lz6rk608%4010.239.60.69 variable_sip_local_network_addr: 10.89.12.43 variable_sip_network_ip: 10.238.70.33 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1708337154934796 variable_sip_received_ip: 10.238.70.33 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 0552605318 variable_sip_from_tag: olko6686 variable_sofia_profile_name: sipsbc variable_sofia_profile_url: sip%3Amod_sofia%4010.89.12.43%3A5060 variable_recovery_profile_name: sipsbc variable_sip_P-Asserted-Identity: 0552605318 variable_sip_cid_type: pid variable_sip_full_via: SIP/2.0/UDP%2010.238.70.33%3A5060%3Bbranch%3Dz9hG4bKsz82vw86rwq7zs6g62p8vr0qz%3BRole%3D3%3BHpt%3D8e82_36%3BTRC%3Dffffffff-ffffffff variable_sip_full_from: %3Ctel%3A0552605318%3Bnoa%3Dnational%3Bsrvattri%3Dnational%3E%3Btag%3Dolko6686 variable_sip_full_to: %3Csip%3A564169390%4010.238.70.33%3Buser%3Dphone%3E variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20SUBSCRIBE,%20NOTIFY,%20UPDATE,%20MESSAGE,%20REFER variable_sip_req_user: %2B97147160800 variable_sip_req_uri: %2B97147160800%40ims.etisalat.ae variable_sip_req_host: ims.etisalat.ae variable_sip_to_params: user%3Dphone variable_sip_to_user: 564169390 variable_sip_to_uri: 564169390%4010.238.70.33 variable_sip_to_host: 10.238.70.33 variable_sip_contact_params: Dsp%3Debfa-200%3BHpt%3Dnw_63_65d36042_a10928_ex_8e82_16%3BCxtId%3D4%3BTRC%3Dffffffff-ffffffff variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4010.238.70.33%3A5060 variable_sip_contact_host: 10.238.70.33 variable_sip_user_agent: Huawei%20SoftX3000%20V600R013 variable_sip_via_host: 10.238.70.33 variable_sip_via_port: 5060 variable_max_forwards: 64 variable_presence_id: 0552605318%40 variable_sip_Privacy: none variable_sip_h_P-Called-Party-ID: %3Ctel%3A%2B97147160800%3E variable_sip_history_info: %3Csip%3A564169390%4010.238.70.33%3Buser%3Dphone%3E%3Bindex%3D1,%3Ctel%3A%2B97147160800%3E%3Bindex%3D1.1 variable_sip_h_P-Early-Media: supported,gated variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%208731711%208731711%20IN%20IP4%2010.238.70.3%0D%0As%3DSBC%20call%0D%0Ac%3DIN%20IP4%2010.238.70.3%0D%0At%3D0%200%0D%0Am%3Daudio%2011390%20RTP/AVP%208%2018%2096%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dyes%0D%0Aa%3Drtpmap%3A96%20telephone-event/8000%0D%0Aa%3Dfmtp%3A96%200-15%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 10.238.70.3 variable_remote_media_port: 11390 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: f623944f-090c-4b49-9ea1-32a4a8a89b55 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 0552605318 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 0552605318 Hunt-Caller-ID-Number: 0552605318 Hunt-Orig-Caller-ID-Name: 0552605318 Hunt-Orig-Caller-ID-Number: 0552605318 Hunt-Network-Addr: 10.238.70.33 Hunt-ANI: 0552605318 Hunt-Destination-Number: %2B97147160800 Hunt-Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/sipsbc/0552605318%40nowhere Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1708337154934796 Hunt-Channel-Created-Time: 1708337154934796 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +97147160800 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+97147160800' AND status=0 limit 1 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 0552605318 / 0552605318 2024-02-19 10:05:54.934796 99.93% [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 ="+97147160800" LIMIT 1 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-02-19 10:05:54.934796 99.93% [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("10.238.70.33") 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 "+97147160800" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3105994796] 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3105994796" AND deleted = 0 limit 1 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="+97147160800" AND (accountid = 0 OR status = 1) LIMIT 1 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^+97147160800.*' OR patterns = '^+9714716080.*' OR patterns = '^+971471608.*' OR patterns = '^+97147160.*' OR patterns = '^+9714716.*' OR patterns = '^+971471.*' OR patterns = '^+97147.*' OR patterns = '^+9714.*' OR patterns = '^+971.*' OR patterns = '^+97.*' OR patterns = '^+9.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-02-19 10:05:54.934796 99.93% [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 ="+97147160800" AND A.accountid = '6' limit 1 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +97147160800 2024-02-19 10:05:54.934796 99.93% [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 ="+97147160800" LIMIT 1 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-02-19 10:05:54.934796 99.93% [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 = '+97147160800' OR number = '+9714716080' OR number = '+971471608' OR number = '+97147160' OR number = '+9714716' OR number = '+971471' OR number = '+97147' OR number = '+9714' OR number = '+971' OR number = '+97' OR number = '+9' OR number = '+' OR number ='--') OR (number = '+97147160800*' OR number = '+9714716080*' OR number = '+971471608*' OR number = '+97147160*' OR number = '+9714716*' OR number = '+971471*' OR number = '+97147*' OR number = '+9714*' OR number = '+971*' OR number = '+97*' OR number = '+9*' OR number = '+*' OR number ='--') OR (number = '0552605318' OR number = '055260531' OR number = '05526053' OR number = '0552605' OR number = '055260' OR number = '05526' OR number = '0552' OR number = '055' OR number = '05' OR number = '0' OR number ='--') OR (number = '0552605318*' OR number = '055260531*' OR number = '05526053*' OR number = '0552605*' OR number = '055260*' OR number = '05526*' OR number = '0552*' OR number = '055*' OR number = '05*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+97147160800' OR routing_prefix = '+9714716080' OR routing_prefix = '+971471608' OR routing_prefix = '+97147160' OR routing_prefix = '+9714716' OR routing_prefix = '+971471' OR routing_prefix = '+97147' OR routing_prefix = '+9714' OR routing_prefix = '+971' OR routing_prefix = '+97' OR routing_prefix = '+9' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3105994796 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-02-19 10:05:54.954802 99.93% [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 ="+97147160800" LIMIT 1 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 212 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Dubai Dubai 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 199 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 6 !!! 2024-02-19 10:05:54.954802 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-02-19 10:05:54.954802 99.93% [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 = 6 AND status=0 LIMIT 1 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:6 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:6 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 6 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13 and status = 0 limit 1 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_3 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/sipsbc/0552605318@nowhere parsing [default->+97147160800] continue=false Dialplan: sofia/sipsbc/0552605318@nowhere Regex (PASS) [+97147160800] destination_number(+97147160800) =~ /\+97147160800/ break=on-false Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_destination_number=\+97147160800) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(callstart=2024-02-19 10:05:54) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(hangup_after_bridge=true) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(continue_on_fail=TRUE) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(account_id=6) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(parent_id=0) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(entity_id=3) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(call_processed=internal) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(call_direction=inbound) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(accountname=Etisalat) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(origination_rates_did=ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(origination_rates=0) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(original_caller_id_name=0552605318) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(original_caller_id_number=0552605318) Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db 3105994796 user_3105994796 100 ) Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(hash CPS_3105994796 CPS_user_3105994796 100/1 ) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(is_recording=1) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(media_bug_answer_req=true) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(record_sample_rate=8000) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db 13 user_13 200 ) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_caller_id_name=0552605318) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_caller_id_number=0552605318) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(receiver_accid=13) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(domain_name=) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(sip_to_host=) Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db +97147160800 did_+97147160800 200 ) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(presence_data=x|||Sameh(4871496682)|||||||||DID|||10.238.70.33) Dialplan: sofia/sipsbc/0552605318@nowhere Action export(call_type=3) Dialplan: sofia/sipsbc/0552605318@nowhere Action set(calltype=OTHER) Dialplan: sofia/sipsbc/0552605318@nowhere Action bridge([leg_timeout=30]sofia/LAN/+97147160800@172.16.6.1:5060) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/sipsbc/0552605318@nowhere) State Change CS_ROUTING -> CS_EXECUTE 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/sipsbc/0552605318@nowhere) State ROUTING going to sleep 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_EXECUTE (Cur 1 Tot 394) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/sipsbc/0552605318@nowhere) State EXECUTE 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:213 sofia/sipsbc/0552605318@nowhere SOFIA EXECUTE 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/sipsbc/0552605318@nowhere Standard EXECUTE EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_destination_number=\+97147160800) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_destination_number]=[\+97147160800] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(bridge_pre_execute_bleg_app=sched_hangup) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(callstart=2024-02-19 10:05:54) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [callstart]=[2024-02-19 10:05:54] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(hangup_after_bridge=true) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(continue_on_fail=TRUE) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(account_id=6) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [account_id]=[6] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(parent_id=0) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [parent_id]=[0] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(entity_id=3) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [entity_id]=[3] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(call_processed=internal) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [call_processed]=[internal] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(call_direction=inbound) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [call_direction]=[inbound] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(accountname=Etisalat) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [accountname]=[Etisalat] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(origination_rates_did=ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [origination_rates_did]=[ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(origination_rates=0) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [origination_rates]=[0] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(original_caller_id_name=0552605318) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [original_caller_id_name]=[0552605318] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(original_caller_id_number=0552605318) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [original_caller_id_number]=[0552605318] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db 3105994796 user_3105994796 100 ) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: 3105994796_user_3105994796 max:100, interval:0 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for 3105994796_user_3105994796 is now 1/100 EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(hash CPS_3105994796 CPS_user_3105994796 100/1 ) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: CPS_3105994796_CPS_user_3105994796 max:100, interval:1 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_hash.c:195 Usage for CPS_3105994796_CPS_user_3105994796 is now 1/100 for the last 1 seconds EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(is_recording=1) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(media_bug_answer_req=true) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(record_sample_rate=8000) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(execute_on_answer=record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db 13 user_13 200 ) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: 13_user_13 max:200, interval:0 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for 13_user_13 is now 1/200 freeswitch@sipsrvr01> EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_caller_id_name=0552605318) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_caller_id_name]=[0552605318] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_caller_id_number=0552605318) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_caller_id_number]=[0552605318] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(receiver_accid=13) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [receiver_accid]=[13] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(domain_name=) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(sip_to_host=) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db +97147160800 did_+97147160800 200 ) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: +97147160800_did_+97147160800 max:200, interval:0 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for +97147160800_did_+97147160800 is now 1/200 EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(presence_data=x|||Sameh(4871496682)|||||||||DID|||10.238.70.33) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Sameh(4871496682)|||||||||DID|||10.238.70.33] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(call_type=3) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[3] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(calltype=OTHER) 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [calltype]=[OTHER] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere bridge([leg_timeout=30]sofia/LAN/+97147160800@172.16.6.1:5060) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [is_recording]=[1] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [presence_data]=[x|||Sameh(4871496682)|||||||||DID|||10.238.70.33] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [call_type]=[3] to event 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2024-02-19 10:05:54.954802 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 [b6315c63-dea1-4dd8-9726-69634490d5d8] 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:5121 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_NEW -> CS_INIT 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:3151 sofia/LAN/%2B97147160800@172.16.6.1:5060 Setting leg timeout to 30 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_INIT (Cur 2 Tot 395) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State INIT 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:97 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA INIT 2024-02-19 10:05:54.954802 99.93% [INFO] sofia_glue.c:1651 sofia/LAN/%2B97147160800@172.16.6.1:5060 sending invite call-id: (null) 2024-02-19 10:05:54.954802 99.93% [DEBUG] sofia_glue.c:1654 sofia/LAN/%2B97147160800@172.16.6.1:5060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1708310844 1708310845 IN IP4 172.16.20.101 s=FreeSWITCH c=IN IP4 172.16.20.101 t=0 0 m=audio 26310 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 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard INIT 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_INIT -> CS_ROUTING 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State INIT going to sleep 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_ROUTING (Cur 2 Tot 395) 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State ROUTING 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:158 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA ROUTING 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:67 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State ROUTING going to sleep 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 395) 2024-02-19 10:05:54.954802 99.93% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [calling][0] 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State CONSUME_MEDIA 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State CONSUME_MEDIA going to sleep 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [completing][200] 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 1795099062 1795099062 IN IP4 172.16.6.1 s=Asterisk PBX 16.9.0 c=IN IP4 172.16.6.1 t=0 0 m=audio 11170 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [ready][200] 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/LAN/%2B97147160800@172.16.6.1:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_codec.c:111 sofia/LAN/%2B97147160800@172.16.6.1:5060 Original read codec set to PCMA:8 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5973 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/LAN/%2B97147160800@172.16.6.1:5060] 172.16.20.101 port 26310 -> 172.16.6.1 port 11170 codec: 8 ms: 20 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_rtp.c:4641 Not using a timer 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9089 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf send payload to 101 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9096 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf receive payload to 101 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9119 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set rtp dtmf delay to 40 2024-02-19 10:05:56.054806 99.73% [NOTICE] sofia.c:8683 Channel [sofia/LAN/%2B97147160800@172.16.6.1:5060] has been answered EXECUTE [depth=1] sofia/LAN/%2B97147160800@172.16.6.1:5060 record_session(/var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav) 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/LAN/%2B97147160800@172.16.6.1:5060 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_channel.c:3950 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Callstate Change DOWN -> ACTIVE 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/sipsbc/0552605318@nowhere] 10.89.12.43 port 31386 -> 10.238.70.3 port 11390 codec: 8 ms: 20 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9089 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf send payload to 96 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9096 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf receive payload to 96 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9119 sofia/sipsbc/0552605318@nowhere Set rtp dtmf delay to 40 2024-02-19 10:05:56.074792 99.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/sipsbc/0552605318@nowhere: v=0 o=FreeSWITCH 1708305770 1708305771 IN IP4 10.89.12.43 s=FreeSWITCH c=IN IP4 10.89.12.43 t=0 0 m=audio 31386 RTP/AVP 8 96 a=rtpmap:8 PCMA/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=ptime:20 a=sendrecv 2024-02-19 10:05:56.074792 99.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/sipsbc/0552605318@nowhere] has been answered 2024-02-19 10:05:56.074792 99.73% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [completed][200] EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere record_session(/var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav) 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/sipsbc/0552605318@nowhere 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_channel.c:3950 (sofia/sipsbc/0552605318@nowhere) Callstate Change RINGING -> ACTIVE 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/LAN/%2B97147160800@172.16.6.1:5060] Peer UUID: b6315c63-dea1-4dd8-9726-69634490d5d8 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 395) 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_state_machine.c:650 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State EXCHANGE_MEDIA 2024-02-19 10:05:56.074792 99.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2024-02-19 10:05:56.094798 99.73% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-02-19 10:05:56.094798 99.73% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-02-19 10:05:56.154799 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-02-19 10:05:56.154799 99.73% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-02-19 10:05:56.194804 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-02-19 10:05:56.194804 99.73% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-02-19 10:05:56.234805 99.73% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [ready][200] 2024-02-19 10:05:56.354804 99.73% [DEBUG] switch_ivr_bridge.c:655 sofia/LAN/%2B97147160800@172.16.6.1:5060 Bridge execute app sched_hangup(+6000 normal_clearing) 2024-02-19 10:05:56.374812 99.73% [DEBUG] switch_ivr.c:632 sofia/LAN/%2B97147160800@172.16.6.1:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/LAN/%2B97147160800@172.16.6.1:5060 sched_hangup(+6000 normal_clearing) 2024-02-19 10:05:56.374812 99.73% [DEBUG] switch_scheduler.c:263 Added task 131 switch_ivr_schedule_hangup (b6315c63-dea1-4dd8-9726-69634490d5d8) to run at 1708343156 2024-02-19 10:06:05.354803 95.80% [NOTICE] sofia.c:1065 Hangup sofia/LAN/%2B97147160800@172.16.6.1:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/LAN/%2B97147160800@172.16.6.1:5060] 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:650 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State EXCHANGE_MEDIA going to sleep 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_HANGUP (Cur 2 Tot 395) 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/LAN/%2B97147160800@172.16.6.1:5060 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:844 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Callstate Change ACTIVE -> HANGUP 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State HANGUP 2024-02-19 10:06:05.354803 95.80% [DEBUG] mod_sofia.c:468 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 hanging up, cause: NORMAL_CLEARING 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:59 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State HANGUP going to sleep 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:616 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_HANGUP -> CS_REPORTING 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_REPORTING (Cur 2 Tot 395) 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State REPORTING 2024-02-19 10:06:05.354803 95.80% [INFO] mod_json_cdr.c:271 Process [b6315c63-dea1-4dd8-9726-69634490d5d8.cdr.json] 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:820 sofia/LAN/%2B97147160800@172.16.6.1:5060 ending bridge by request from write function 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/sipsbc/0552605318@nowhere] 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:168 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State REPORTING going to sleep 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:1892 sofia/LAN/%2B97147160800@172.16.6.1:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/sipsbc/0552605318@nowhere [CS_EXECUTE] [NORMAL_CLEARING] 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:607 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_REPORTING -> CS_DESTROY 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_session.c:1753 Session 395 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Locked, Waiting on external entities 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_hash.c:293 Usage for CPS_3105994796_CPS_user_3105994796 is now 0 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_core_session.c:1771 Session 395 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Ended 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 [CS_DESTROY] 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_session.c:2983 sofia/sipsbc/0552605318@nowhere skip receive message [PHONE_EVENT] (channel is hungup already) 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:647 (sofia/sipsbc/0552605318@nowhere) State EXECUTE going to sleep 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_HANGUP (Cur 1 Tot 395) 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:735 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_DESTROY (Cur 1 Tot 395) 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State DESTROY 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:379 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA DESTROY 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:175 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard DESTROY 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State DESTROY going to sleep 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/sipsbc/0552605318@nowhere 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:844 (sofia/sipsbc/0552605318@nowhere) Callstate Change ACTIVE -> HANGUP 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/sipsbc/0552605318@nowhere) State HANGUP 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:462 sofia/sipsbc/0552605318@nowhere Overriding SIP cause 480 with 200 from the other leg 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:468 Channel sofia/sipsbc/0552605318@nowhere hanging up, cause: NORMAL_CLEARING 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/sipsbc/0552605318@nowhere 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:59 sofia/sipsbc/0552605318@nowhere Standard HANGUP, cause: NORMAL_CLEARING 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/sipsbc/0552605318@nowhere) State HANGUP going to sleep 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:616 (sofia/sipsbc/0552605318@nowhere) State Change CS_HANGUP -> CS_REPORTING 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_REPORTING (Cur 1 Tot 395) 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/sipsbc/0552605318@nowhere) State REPORTING 2024-02-19 10:06:05.374793 95.80% [INFO] mod_json_cdr.c:271 Process [f623944f-090c-4b49-9ea1-32a4a8a89b55.cdr.json] 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_scheduler.c:147 Deleting task 131 switch_ivr_schedule_hangup (b6315c63-dea1-4dd8-9726-69634490d5d8) 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:168 sofia/sipsbc/0552605318@nowhere Standard REPORTING, cause: NORMAL_CLEARING 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/sipsbc/0552605318@nowhere) State REPORTING going to sleep 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:607 (sofia/sipsbc/0552605318@nowhere) State Change CS_REPORTING -> CS_DESTROY 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_session.c:1753 Session 394 (sofia/sipsbc/0552605318@nowhere) Locked, Waiting on external entities 2024-02-19 10:06:05.394798 95.80% [NOTICE] switch_core_session.c:1771 Session 394 (sofia/sipsbc/0552605318@nowhere) Ended 2024-02-19 10:06:05.394798 95.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/sipsbc/0552605318@nowhere [CS_DESTROY] 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:735 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_DESTROY (Cur 0 Tot 395) 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/sipsbc/0552605318@nowhere) State DESTROY 2024-02-19 10:06:05.394798 95.80% [DEBUG] mod_sofia.c:379 sofia/sipsbc/0552605318@nowhere SOFIA DESTROY 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:175 sofia/sipsbc/0552605318@nowhere Standard DESTROY 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/sipsbc/0552605318@nowhere) State DESTROY going to sleep