021-03-11 08:40:48.548929 [NOTICE] switch_channel.c:1118 New Channel sofia/default/190@kfc.voipbox.co.il [0e453e13-3247-41d5-b020-385c61f2a13f] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_NEW (Cur 1 Tot 459) 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10280 sofia/default/190@kfc.voipbox.co.il receiving invite from 185.184.17.14:5060 version: 1.10.5 -release-17-25569c1631 64bit 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.184.17.14:0. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10403 IP 185.184.17.14 Approved by acl "default[]". Access Granted. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [received][100] 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 20002 20002 IN IP4 192.168.10.104 s=SDP data c=IN IP4 192.168.10.104 t=0 0 m=audio 11784 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-15 a=ptime:20 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/190@kfc.voipbox.co.il PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-03-11 08:40:48.548929 [DEBUG] switch_core_codec.c:111 sofia/default/190@kfc.voipbox.co.il Original read codec set to PCMU:0 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5911 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 recv payload to 101 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7760 (sofia/default/190@kfc.voipbox.co.il) State Change CS_NEW -> CS_INIT 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:604 (sofia/default/190@kfc.voipbox.co.il) State NEW 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_INIT (Cur 1 Tot 459) 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@kfc.voipbox.co.il) State INIT 2021-03-11 08:40:48.548929 [DEBUG] mod_sofia.c:93 sofia/default/190@kfc.voipbox.co.il SOFIA INIT 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:40 sofia/default/190@kfc.voipbox.co.il Standard INIT 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:48 (sofia/default/190@kfc.voipbox.co.il) State Change CS_INIT -> CS_ROUTING 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@kfc.voipbox.co.il) State INIT going to sleep 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_ROUTING (Cur 1 Tot 459) 2021-03-11 08:40:48.548929 [DEBUG] switch_channel.c:2332 (sofia/default/190@kfc.voipbox.co.il) Callstate Change DOWN -> RINGING 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@kfc.voipbox.co.il) State ROUTING 2021-03-11 08:40:48.548929 [DEBUG] mod_sofia.c:154 sofia/default/190@kfc.voipbox.co.il SOFIA ROUTING 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:236 sofia/default/190@kfc.voipbox.co.il Standard ROUTING 2021-03-11 08:40:48.548929 [INFO] mod_dialplan_xml.c:637 Processing 190 <190>->0503666448 in context default 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 0503666448 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0503666448' limit 1 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0503666448' AND status=0 limit 1 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0503666448' and status=0 LIMIT 1 2021-03-11 08:40:48.568902 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 190 / 190 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0503666448" LIMIT 1 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0503666448" AND domains.domain="kfc.voipbox.co.il" limit 1 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 700376] 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "700376" AND deleted = 0 limit 1 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0503666448.*' OR blocked_patterns = '^050366644.*' OR blocked_patterns = '^05036664.*' OR blocked_patterns = '^0503666.*' OR blocked_patterns = '^050366.*' OR blocked_patterns = '^05036.*' OR blocked_patterns = '^0503.*' OR blocked_patterns = '^050.*' OR blocked_patterns = '^05.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 29 limit 1 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0503666448" AND A.accountid = '29' limit 1 2021-03-11 08:40:48.588919 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0503666448 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0503666448" LIMIT 1 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0503666448" AND domains.domain="kfc.voipbox.co.il" limit 1 2021-03-11 08:40:48.588919 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0503666448" AND (accountid = 0 OR status = 1) LIMIT 1 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0503666448.*' OR patterns = '^050366644.*' OR patterns = '^05036664.*' OR patterns = '^0503666.*' OR patterns = '^050366.*' OR patterns = '^05036.*' OR patterns = '^0503.*' OR patterns = '^050.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 29 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0503666448' OR number = '050366644' OR number = '05036664' OR number = '0503666' OR number = '050366' OR number = '05036' OR number = '0503' OR number = '050' OR number = '05' OR number = '0' OR number ='--') OR (number = '0503666448*' OR number = '050366644*' OR number = '05036664*' OR number = '0503666*' OR number = '050366*' OR number = '05036*' OR number = '0503*' OR number = '050*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '190' OR number = '19' OR number = '1' OR number ='--') OR (number = '190*' OR number = '19*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0503666448' OR routing_prefix = '050366644' OR routing_prefix = '05036664' OR routing_prefix = '0503666' OR routing_prefix = '050366' OR routing_prefix = '05036' OR routing_prefix = '0503' OR routing_prefix = '050' OR routing_prefix = '05' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (0503666448)!!!! 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] ported_num :27503666448 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27503666448' limit 1 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (0503666448)!!!! 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 29 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 700376 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0503666448.*' OR pattern = '^050366644.*' OR pattern = '^05036664.*' OR pattern = '^0503666.*' OR pattern = '^050366.*' OR pattern = '^05036.*' OR pattern = '^0503.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 3 OR accountid=29) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 7 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 29 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 29 !!! 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id : 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=3 ORDER by id asc 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0503666448.*' OR pattern = '^050366644.*' OR pattern = '^05036664.*' OR pattern = '^0503666.*' OR pattern = '^050366.*' OR pattern = '^05036.*' OR pattern = '^0503.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information =================== 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 7 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^0.* 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^0.* 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 3 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : Cellcom 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 25 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : Main_Trunk 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 29 AND status=0 LIMIT 1 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0 2021-03-11 08:40:48.628915 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 25) AND status=0 limit 1 2021-03-11 08:40:48.628915 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/190@kfc.voipbox.co.il parsing [default->0503666448] continue=false Dialplan: sofia/default/190@kfc.voipbox.co.il Regex (PASS) [0503666448] destination_number(0503666448) =~ /0503666448/ break=on-false Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_destination_number=0503666448) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(callstart=2021-03-11 13:40:48) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(hangup_after_bridge=true) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(continue_on_fail=TRUE) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(account_id=29) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(parent_id=0) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(entity_id=0) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(call_processed=internal) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(call_direction=outbound) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(accountname=default) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(origination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(original_caller_id_name=190) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(original_caller_id_number=190) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_caller_id_name=190) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_caller_id_number=190) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(calltype=STANDARD) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(termination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(trunk_id=3) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(provider_id=25) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(rate_flag=0) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(force_trunk_flag=0) Dialplan: sofia/default/190@kfc.voipbox.co.il Action export(presence_data=trunk_id=3) Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(intcall=0) Dialplan: sofia/default/190@kfc.voipbox.co.il Action export(presence_data=x|||KFC(700376)|||^0.* // // 0.00000 // trunk_id=|||Main_Trunk // ^0.* // // 0.00000 // trunk_id=3|||STD|||185.184.16.178) Dialplan: sofia/default/190@kfc.voipbox.co.il Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA.G729:PCMU]sofia/gateway/Cellcom/0503666448;fs_path=sip:185.184.17.14:5060) 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:287 (sofia/default/190@kfc.voipbox.co.il) State Change CS_ROUTING -> CS_EXECUTE 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@kfc.voipbox.co.il) State ROUTING going to sleep 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_EXECUTE (Cur 1 Tot 459) 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:651 (sofia/default/190@kfc.voipbox.co.il) State EXECUTE 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:209 sofia/default/190@kfc.voipbox.co.il SOFIA EXECUTE 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:329 sofia/default/190@kfc.voipbox.co.il Standard EXECUTE EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_destination_number=0503666448) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_destination_number]=[0503666448] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(bridge_pre_execute_bleg_app=sched_hangup) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(callstart=2021-03-11 13:40:48) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [callstart]=[2021-03-11 13:40:48] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(hangup_after_bridge=true) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(continue_on_fail=TRUE) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(account_id=29) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [account_id]=[29] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(parent_id=0) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [parent_id]=[0] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(entity_id=0) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [entity_id]=[0] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(call_processed=internal) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [call_processed]=[internal] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(call_direction=outbound) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(accountname=default) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [accountname]=[default] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(filename1=astpp.pbx.lua) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(origination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [origination_rates]=[ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(original_caller_id_name=190) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [original_caller_id_name]=[190] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(original_caller_id_number=190) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [original_caller_id_number]=[190] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_caller_id_name=190) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_caller_id_name]=[190] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_caller_id_number=190) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_caller_id_number]=[190] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(calltype=STANDARD) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(termination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [termination_rates]=[ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(trunk_id=3) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [trunk_id]=[3] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(provider_id=25) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [provider_id]=[25] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(rate_flag=0) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [rate_flag]=[0] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(force_trunk_flag=0) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il export(presence_data=trunk_id=3) 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=3] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(intcall=0) 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [intcall]=[0] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il export(presence_data=x|||KFC(700376)|||^0.* // // 0.00000 // trunk_id=|||Main_Trunk // ^0.* // // 0.00000 // trunk_id=3|||STD|||185.184.16.178) 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||KFC(700376)|||^0.* // // 0.00000 // trunk_id=|||Main_Trunk // ^0.* // // 0.00000 // trunk_id=3|||STD|||185.184.16.178] EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il bridge([leg_timeout=0,absolute_codec_string=^^:PCMA.G729:PCMU]sofia/gateway/Cellcom/0503666448;fs_path=sip:185.184.17.14:5060) 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1264 sofia/default/190@kfc.voipbox.co.il EXPORTING[export_vars] [presence_data]=[x|||KFC(700376)|||^0.* // // 0.00000 // trunk_id=|||Main_Trunk // ^0.* // // 0.00000 // trunk_id=3|||STD|||185.184.16.178] to event 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1264 sofia/default/190@kfc.voipbox.co.il EXPORTING[export_vars] [presence_data]=[x|||KFC(700376)|||^0.* // // 0.00000 // trunk_id=|||Main_Trunk // ^0.* // // 0.00000 // trunk_id=3|||STD|||185.184.16.178] to event 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2021-03-11 08:40:48.628915 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0503666448 [a277f145-9369-4071-9cb6-f178acf8aff9] 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:5089 (sofia/default/0503666448) State Change CS_NEW -> CS_INIT 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_INIT (Cur 2 Tot 460) 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0503666448) State INIT 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:93 sofia/default/0503666448 SOFIA INIT 2021-03-11 08:40:48.628915 [DEBUG] sofia_glue.c:1587 sip:185.184.17.14:5060 Setting proxy route to sofia/default/0503666448 2021-03-11 08:40:48.628915 [DEBUG] sofia_glue.c:1618 sofia/default/0503666448 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1615433160 1615433161 IN IP4 185.184.17.141 s=FreeSWITCH c=IN IP4 185.184.17.141 t=0 0 m=audio 36888 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:40 sofia/default/0503666448 Standard INIT 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0503666448) State Change CS_INIT -> CS_ROUTING 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0503666448) State INIT going to sleep 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_ROUTING (Cur 2 Tot 460) 2021-03-11 08:40:48.628915 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [calling][0] 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0503666448) State ROUTING 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:154 sofia/default/0503666448 SOFIA ROUTING 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0503666448) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0503666448) State ROUTING going to sleep 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 460) 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0503666448) State CONSUME_MEDIA 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0503666448) State CONSUME_MEDIA going to sleep 2021-03-11 08:40:51.008926 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [proceeding][183] 2021-03-11 08:40:51.008926 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=Sonus_UAC 329 8091 IN IP4 82.166.67.145 s=SIP Media Capabilities c=IN IP4 82.166.67.145 t=0 0 m=audio 7742 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-03-11 08:40:51.008926 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/0503666448! 2021-03-11 08:40:51.008926 [DEBUG] switch_channel.c:3565 (sofia/default/0503666448) Callstate Change DOWN -> EARLY 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0503666448 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-03-11 08:40:51.008926 [DEBUG] switch_core_codec.c:111 sofia/default/0503666448 Original read codec set to PCMU:0 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5911 sofia/default/0503666448 Set 2833 dtmf send payload to 101 recv payload to 101 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0503666448] 185.184.17.141 port 36888 -> 82.166.67.145 port 7742 codec: 0 ms: 20 2021-03-11 08:40:51.008926 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8977 sofia/default/0503666448 Set 2833 dtmf send payload to 101 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8984 sofia/default/0503666448 Set 2833 dtmf receive payload to 101 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:9007 sofia/default/0503666448 Set rtp dtmf delay to 40 2021-03-11 08:40:51.028907 [INFO] switch_ivr_originate.c:3801 Sending early media 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/190@kfc.voipbox.co.il] 185.184.17.141 port 23306 -> 192.168.10.104 port 11784 codec: 0 ms: 20 2021-03-11 08:40:51.028907 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8977 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8984 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf receive payload to 101 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:9007 sofia/default/190@kfc.voipbox.co.il Set rtp dtmf delay to 40 2021-03-11 08:40:51.028907 [DEBUG] mod_sofia.c:2593 Ring SDP: v=0 o=FreeSWITCH 1615446745 1615446746 IN IP4 185.184.17.141 s=FreeSWITCH c=IN IP4 185.184.17.141 t=0 0 m=audio 23306 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-03-11 08:40:51.028907 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/190@kfc.voipbox.co.il! 2021-03-11 08:40:51.028907 [DEBUG] switch_channel.c:3565 (sofia/default/190@kfc.voipbox.co.il) Callstate Change RINGING -> EARLY 2021-03-11 08:40:51.028907 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/0503666448] 2021-03-11 08:40:51.028907 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [early][183] 2021-03-11 08:40:51.028907 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/0503666448) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-03-11 08:40:51.028907 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 460) 2021-03-11 08:40:51.028907 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0503666448) State EXCHANGE_MEDIA 2021-03-11 08:40:51.028907 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2021-03-11 08:40:51.068957 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-03-11 08:40:51.208927 [DEBUG] switch_ivr_bridge.c:655 sofia/default/0503666448 Bridge execute app sched_hangup(+6000 normal_clearing) 2021-03-11 08:40:51.229003 [DEBUG] switch_ivr.c:632 sofia/default/0503666448 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/0503666448 sched_hangup(+6000 normal_clearing) 2021-03-11 08:40:51.229003 [DEBUG] switch_scheduler.c:252 Added task 161 switch_ivr_schedule_hangup (a277f145-9369-4071-9cb6-f178acf8aff9) to run at 1615476051 2021-03-11 08:40:51.368925 [INFO] switch_rtp.c:7719 Auto Changing audio port from 192.168.10.104:11784 to 185.184.16.178:11784 2021-03-11 08:40:56.308920 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [completing][200] 2021-03-11 08:40:56.308920 [DEBUG] sofia.c:7333 Duplicate SDP v=0 o=Sonus_UAC 329 8091 IN IP4 82.166.67.145 s=SIP Media Capabilities c=IN IP4 82.166.67.145 t=0 0 m=audio 7742 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-03-11 08:40:56.328925 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [ready][200] 2021-03-11 08:40:56.328925 [NOTICE] sofia.c:8445 Channel [sofia/default/0503666448] has been answered 2021-03-11 08:40:56.328925 [DEBUG] switch_channel.c:3865 (sofia/default/0503666448) Callstate Change EARLY -> ACTIVE 2021-03-11 08:40:56.348961 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/190@kfc.voipbox.co.il. 2021-03-11 08:40:56.348961 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/190@kfc.voipbox.co.il: v=0 o=FreeSWITCH 1615446745 1615446747 IN IP4 185.184.17.141 s=FreeSWITCH c=IN IP4 185.184.17.141 t=0 0 m=audio 23306 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-03-11 08:40:56.348961 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/190@kfc.voipbox.co.il] has been answered 2021-03-11 08:40:56.348961 [DEBUG] switch_channel.c:3865 (sofia/default/190@kfc.voipbox.co.il) Callstate Change EARLY -> ACTIVE 2021-03-11 08:40:56.348961 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [completed][200] 2021-03-11 08:40:56.388924 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-03-11 08:40:56.408959 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-03-11 08:40:56.408959 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [ready][200] 2021-03-11 08:40:56.448974 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [calling][0] 2021-03-11 08:40:56.448974 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [ready][200] 2021-03-11 08:40:58.928934 [NOTICE] sofia.c:1089 Hangup sofia/default/0503666448 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-03-11 08:40:58.928934 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0503666448] 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0503666448) State EXCHANGE_MEDIA going to sleep 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_HANGUP (Cur 2 Tot 460) 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0503666448) Callstate Change ACTIVE -> HANGUP 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0503666448) State HANGUP 2021-03-11 08:40:58.928934 [DEBUG] mod_sofia.c:453 Channel sofia/default/0503666448 hanging up, cause: NORMAL_CLEARING 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:60 sofia/default/0503666448 Standard HANGUP, cause: NORMAL_CLEARING 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0503666448) State HANGUP going to sleep 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0503666448) State Change CS_HANGUP -> CS_REPORTING 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_REPORTING (Cur 2 Tot 460) 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0503666448) State REPORTING 2021-03-11 08:40:58.928934 [INFO] mod_json_cdr.c:271 Process [a277f145-9369-4071-9cb6-f178acf8aff9.cdr.json] 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:174 sofia/default/0503666448 Standard REPORTING, cause: NORMAL_CLEARING 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0503666448) State REPORTING going to sleep 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0503666448) State Change CS_REPORTING -> CS_DESTROY 2021-03-11 08:40:58.948905 [DEBUG] switch_core_session.c:1726 Session 460 (sofia/default/0503666448) Locked, Waiting on external entities 2021-03-11 08:40:58.948905 [DEBUG] switch_ivr_bridge.c:820 sofia/default/0503666448 ending bridge by request from write function 2021-03-11 08:40:58.948905 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/190@kfc.voipbox.co.il] 2021-03-11 08:40:58.948905 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/190@kfc.voipbox.co.il [CS_EXECUTE] [NORMAL_CLEARING] 2021-03-11 08:40:58.948905 [NOTICE] switch_core_session.c:1744 Session 460 (sofia/default/0503666448) Ended 2021-03-11 08:40:58.948905 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0503666448 [CS_DESTROY] 2021-03-11 08:40:58.948905 [DEBUG] switch_core_session.c:2905 sofia/default/190@kfc.voipbox.co.il skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:651 (sofia/default/190@kfc.voipbox.co.il) State EXECUTE going to sleep 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_HANGUP (Cur 1 Tot 460) 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0503666448) Running State Change CS_DESTROY (Cur 1 Tot 460) 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:848 (sofia/default/190@kfc.voipbox.co.il) Callstate Change ACTIVE -> HANGUP 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0503666448) State DESTROY 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:364 sofia/default/0503666448 SOFIA DESTROY 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:181 sofia/default/0503666448 Standard DESTROY 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0503666448) State DESTROY going to sleep 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@kfc.voipbox.co.il) State HANGUP 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:447 sofia/default/190@kfc.voipbox.co.il Overriding SIP cause 480 with 200 from the other leg 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:453 Channel sofia/default/190@kfc.voipbox.co.il hanging up, cause: NORMAL_CLEARING 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/190@kfc.voipbox.co.il 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:60 sofia/default/190@kfc.voipbox.co.il Standard HANGUP, cause: NORMAL_CLEARING 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@kfc.voipbox.co.il) State HANGUP going to sleep 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:620 (sofia/default/190@kfc.voipbox.co.il) State Change CS_HANGUP -> CS_REPORTING 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_REPORTING (Cur 1 Tot 460) 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@kfc.voipbox.co.il) State REPORTING 2021-03-11 08:40:58.948905 [INFO] mod_json_cdr.c:271 Process [0e453e13-3247-41d5-b020-385c61f2a13f.cdr.json] 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:174 sofia/default/190@kfc.voipbox.co.il Standard REPORTING, cause: NORMAL_CLEARING 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@kfc.voipbox.co.il) State REPORTING going to sleep 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:611 (sofia/default/190@kfc.voipbox.co.il) State Change CS_REPORTING -> CS_DESTROY 2021-03-11 08:40:58.968929 [DEBUG] switch_core_session.c:1726 Session 459 (sofia/default/190@kfc.voipbox.co.il) Locked, Waiting on external entities 2021-03-11 08:40:58.968929 [NOTICE] switch_core_session.c:1744 Session 459 (sofia/default/190@kfc.voipbox.co.il) Ended 2021-03-11 08:40:58.968929 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/190@kfc.voipbox.co.il [CS_DESTROY] 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:739 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_DESTROY (Cur 0 Tot 460) 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@kfc.voipbox.co.il) State DESTROY 2021-03-11 08:40:58.968929 [DEBUG] mod_sofia.c:364 sofia/default/190@kfc.voipbox.co.il SOFIA DESTROY 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:181 sofia/default/190@kfc.voipbox.co.il Standard DESTROY 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@kfc.voipbox.co.il) State DESTROY going to sleep 2021-03-11 08:40:59.228931 [DEBUG] switch_scheduler.c:147 Deleting task 161 switch_ivr_schedule_hangup (a277f145-9369-4071-9cb6-f178acf8aff9)