2020-12-20 17:36:20.639460 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0894062723@195.191.28.110 [68e52179-dec7-4873-b434-eb32b8192110] 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_NEW (Cur 1 Tot 12) 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10280 sofia/default/0894062723@195.191.28.110 receiving invite from 195.191.29.50:5060 version: 1.10.5 -release-17-25569c1631 64bit 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 195.191.29.50:0. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10403 IP 195.191.29.50 Approved by acl "default[]". Access Granted. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [received][100] 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=FreeSWITCH 1608463429 1608463430 IN IP4 195.191.28.110 s=FreeSWITCH c=IN IP4 195.191.28.110 t=0 0 m=audio 22350 RTP/AVP 8 101 13 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0894062723@195.191.28.110 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2020-12-20 17:36:20.639460 [DEBUG] switch_core_codec.c:111 sofia/default/0894062723@195.191.28.110 Original read codec set to PCMA:8 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5911 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf send payload to 101 recv payload to 101 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7760 (sofia/default/0894062723@195.191.28.110) State Change CS_NEW -> CS_INIT 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:604 (sofia/default/0894062723@195.191.28.110) State NEW 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_INIT (Cur 1 Tot 12) 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0894062723@195.191.28.110) State INIT 2020-12-20 17:36:20.639460 [DEBUG] mod_sofia.c:93 sofia/default/0894062723@195.191.28.110 SOFIA INIT 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:40 sofia/default/0894062723@195.191.28.110 Standard INIT 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0894062723@195.191.28.110) State Change CS_INIT -> CS_ROUTING 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0894062723@195.191.28.110) State INIT going to sleep 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_ROUTING (Cur 1 Tot 12) 2020-12-20 17:36:20.639460 [DEBUG] switch_channel.c:2332 (sofia/default/0894062723@195.191.28.110) Callstate Change DOWN -> RINGING 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0894062723@195.191.28.110) State ROUTING 2020-12-20 17:36:20.639460 [DEBUG] mod_sofia.c:154 sofia/default/0894062723@195.191.28.110 SOFIA ROUTING 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:236 sofia/default/0894062723@195.191.28.110 Standard ROUTING 2020-12-20 17:36:20.639460 [INFO] mod_dialplan_xml.c:637 Processing 0894062723 <0894062723>->012239401 in context default 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 012239401 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '012239401' AND status=0 limit 1 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 0894062723 / 0894062723 2020-12-20 17:36:20.639460 [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 ="012239401" LIMIT 1 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="012239401" limit 1 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("195.191.29.50") 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 "012239401" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 785192359862675] 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =012239401 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== local number =================== 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =012239401 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] destination number : 012239401 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] caller id name : 0894062723 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] caller id number : 0894062723 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 0894062723 2020-12-20 17:36:20.639460 [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 ="012239401" AND A.accountid = '4' limit 1 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] accountid : 4 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] speed_dial number : 8801747265333 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination number : 012239401 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT number FROM accounts WHERE id =4 limit 1 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode sandip : 353894062723] 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "353894062723" AND deleted = 0 limit 1 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^8801747265333.*' OR blocked_patterns = '^880174726533.*' OR blocked_patterns = '^88017472653.*' OR blocked_patterns = '^8801747265.*' OR blocked_patterns = '^880174726.*' OR blocked_patterns = '^88017472.*' OR blocked_patterns = '^8801747.*' OR blocked_patterns = '^880174.*' OR blocked_patterns = '^88017.*' OR blocked_patterns = '^8801.*' OR blocked_patterns = '^880.*' OR blocked_patterns = '^88.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 4 limit 1 2020-12-20 17:36:20.639460 [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 ="8801747265333" AND A.accountid = '4' limit 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 8801747265333 2020-12-20 17:36:20.659426 [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 ="8801747265333" LIMIT 1 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8801747265333" limit 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="8801747265333" AND (accountid = 0 OR status = 1) LIMIT 1 2020-12-20 17:36:20.659426 [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 = '^8801747265333.*' OR patterns = '^880174726533.*' OR patterns = '^88017472653.*' OR patterns = '^8801747265.*' OR patterns = '^880174726.*' OR patterns = '^88017472.*' OR patterns = '^8801747.*' OR patterns = '^880174.*' OR patterns = '^88017.*' OR patterns = '^8801.*' OR patterns = '^880.*' OR patterns = '^88.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC 2020-12-20 17:36:20.659426 [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 = '8801747265333' OR number = '880174726533' OR number = '88017472653' OR number = '8801747265' OR number = '880174726' OR number = '88017472' OR number = '8801747' OR number = '880174' OR number = '88017' OR number = '8801' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '8801747265333*' OR number = '880174726533*' OR number = '88017472653*' OR number = '8801747265*' OR number = '880174726*' OR number = '88017472*' OR number = '8801747*' OR number = '880174*' OR number = '88017*' OR number = '8801*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--') OR (number = '0894062723' OR number = '089406272' OR number = '08940627' OR number = '0894062' OR number = '089406' OR number = '08940' OR number = '0894' OR number = '089' OR number = '08' OR number = '0' OR number ='--') OR (number = '0894062723*' OR number = '089406272*' OR number = '08940627*' OR number = '0894062*' OR number = '089406*' OR number = '08940*' OR number = '0894*' OR number = '089*' OR number = '08*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '8801747265333' OR routing_prefix = '880174726533' OR routing_prefix = '88017472653' OR routing_prefix = '8801747265' OR routing_prefix = '880174726' OR routing_prefix = '88017472' OR routing_prefix = '8801747' OR routing_prefix = '880174' OR routing_prefix = '88017' OR routing_prefix = '8801' OR routing_prefix = '880' OR routing_prefix = '88' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 4 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 353894062723 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 500 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^8801747265333.*' OR pattern = '^880174726533.*' OR pattern = '^88017472653.*' OR pattern = '^8801747265.*' OR pattern = '^880174726.*' OR pattern = '^88017472.*' OR pattern = '^8801747.*' OR pattern = '^880174.*' OR pattern = '^88017.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=4) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.02000 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : Bangladesh Mobile 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 17 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 4 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your500 balance Accountid 4 !!! 2020-12-20 17:36:20.659426 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins! 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id : 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc 2020-12-20 17:36:20.659426 [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 = '^8801747265333.*' OR pattern = '^880174726533.*' OR pattern = '^88017472653.*' OR pattern = '^8801747265.*' OR pattern = '^880174726.*' OR pattern = '^88017472.*' OR pattern = '^8801747.*' OR pattern = '^880174.*' OR pattern = '^88017.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1,2) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information =================== 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^8801.* 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Bangladesh Mobile 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^8801.* 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip : 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend : 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 2 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : Voxbeam_GW 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable : 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : Voxbeam_Trunk 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES======================= 2020-12-20 17:36:20.659426 [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 = 4 AND status=0 LIMIT 1 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2020-12-20 17:36:20.659426 [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 = 3) AND status=0 limit 1 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0894062723@195.191.28.110 parsing [default->8801747265333] continue=false Dialplan: sofia/default/0894062723@195.191.28.110 Regex (PASS) [8801747265333] destination_number(012239401) =~ /012239401/ break=on-false Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_destination_number=8801747265333) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(callstart=2020-12-20 17:36:21) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(account_id=4) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(parent_id=0) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(entity_id=0) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(call_processed=internal) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(call_direction=outbound) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(accountname=IPT-2) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(origination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(original_caller_id_name=0894062723) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(original_caller_id_number=0894062723) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_caller_id_name=0894062723) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_caller_id_number=0894062723) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(calltype=STANDARD) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(termination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(trunk_id=2) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(provider_id=3) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(rate_flag=0) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(force_trunk_flag=0) Dialplan: sofia/default/0894062723@195.191.28.110 Action export(presence_data=trunk_id=2) Dialplan: sofia/default/0894062723@195.191.28.110 Action set(intcall=0) Dialplan: sofia/default/0894062723@195.191.28.110 Action export(presence_data=x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50) Dialplan: sofia/default/0894062723@195.191.28.110 Action bridge([leg_timeout=0]sofia/gateway/Voxbeam_GW/8801747265333) 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0894062723@195.191.28.110) State Change CS_ROUTING -> CS_EXECUTE 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0894062723@195.191.28.110) State ROUTING going to sleep 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_EXECUTE (Cur 1 Tot 12) 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0894062723@195.191.28.110) State EXECUTE 2020-12-20 17:36:20.659426 [DEBUG] mod_sofia.c:209 sofia/default/0894062723@195.191.28.110 SOFIA EXECUTE 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:329 sofia/default/0894062723@195.191.28.110 Standard EXECUTE EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_destination_number=8801747265333) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_destination_number]=[8801747265333] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(bridge_pre_execute_bleg_app=sched_hangup) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(callstart=2020-12-20 17:36:21) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [callstart]=[2020-12-20 17:36:21] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(hangup_after_bridge=true) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(continue_on_fail=TRUE) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(account_id=4) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [account_id]=[4] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(parent_id=0) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [parent_id]=[0] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(entity_id=0) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [entity_id]=[0] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(call_processed=internal) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(call_direction=outbound) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(accountname=IPT-2) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [accountname]=[IPT-2] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(origination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [origination_rates]=[ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(original_caller_id_name=0894062723) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [original_caller_id_name]=[0894062723] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(original_caller_id_number=0894062723) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [original_caller_id_number]=[0894062723] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_caller_id_name=0894062723) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_caller_id_name]=[0894062723] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_caller_id_number=0894062723) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_caller_id_number]=[0894062723] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(calltype=STANDARD) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(termination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [termination_rates]=[ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(trunk_id=2) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [trunk_id]=[2] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(provider_id=3) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [provider_id]=[3] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(rate_flag=0) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(force_trunk_flag=0) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 export(presence_data=trunk_id=2) 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=2] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(intcall=0) 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [intcall]=[0] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 export(presence_data=x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50) 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50] EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 bridge([leg_timeout=0]sofia/gateway/Voxbeam_GW/8801747265333) 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1264 sofia/default/0894062723@195.191.28.110 EXPORTING[export_vars] [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50] to event 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1264 sofia/default/0894062723@195.191.28.110 EXPORTING[export_vars] [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50] to event 2020-12-20 17:36:20.659426 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2020-12-20 17:36:20.659426 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2020-12-20 17:36:20.659426 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8801747265333 [70c7ea2d-5851-4d21-b011-451171d82591] 2020-12-20 17:36:20.659426 [DEBUG] mod_sofia.c:5089 (sofia/default/8801747265333) State Change CS_NEW -> CS_INIT 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_INIT (Cur 2 Tot 13) 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8801747265333) State INIT 2020-12-20 17:36:20.679419 [DEBUG] mod_sofia.c:93 sofia/default/8801747265333 SOFIA INIT 2020-12-20 17:36:20.679419 [DEBUG] sofia_glue.c:1618 sofia/default/8801747265333 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1608461216 1608461217 IN IP4 178.62.69.130 s=FreeSWITCH c=IN IP4 178.62.69.130 t=0 0 m=audio 24564 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:40 sofia/default/8801747265333 Standard INIT 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8801747265333) State Change CS_INIT -> CS_ROUTING 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8801747265333) State INIT going to sleep 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_ROUTING (Cur 2 Tot 13) 2020-12-20 17:36:20.679419 [DEBUG] sofia.c:7326 Channel sofia/default/8801747265333 entering state [calling][0] 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8801747265333) State ROUTING 2020-12-20 17:36:20.679419 [DEBUG] mod_sofia.c:154 sofia/default/8801747265333 SOFIA ROUTING 2020-12-20 17:36:20.679419 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8801747265333) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8801747265333) State ROUTING going to sleep 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 13) 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8801747265333) State CONSUME_MEDIA 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8801747265333) State CONSUME_MEDIA going to sleep 2020-12-20 17:36:22.019424 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [6280@178.62.69.130] from ip 80.246.28.12 2020-12-20 17:36:22.179424 [WARNING] sofia_reg.c:2930 Can't find user [6280@178.62.69.130] from 80.246.28.12 You must define a domain called '178.62.69.130' in your directory and add a user with the id="6280" attribute and you must configure your device to use the proper domain in its authentication credentials. 2020-12-20 17:36:22.179424 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [6280@178.62.69.130] from ip 80.246.28.12 2020-12-20 17:36:22.319421 [DEBUG] sofia.c:7326 Channel sofia/default/8801747265333 entering state [proceeding][183] 2020-12-20 17:36:22.319421 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 718596394 718596394 IN IP4 103.12.44.12 s=SBC call c=IN IP4 103.12.44.12 t=0 0 m=audio 34890 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=ptime:20 2020-12-20 17:36:22.319421 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/8801747265333! 2020-12-20 17:36:22.319421 [DEBUG] switch_channel.c:3565 (sofia/default/8801747265333) Callstate Change DOWN -> EARLY 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/8801747265333 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2020-12-20 17:36:22.319421 [DEBUG] switch_core_codec.c:111 sofia/default/8801747265333 Original read codec set to PCMA:8 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5882 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5911 sofia/default/8801747265333 Set 2833 dtmf send payload to 101 recv payload to 101 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/8801747265333] 178.62.69.130 port 24564 -> 103.12.44.12 port 34890 codec: 8 ms: 20 2020-12-20 17:36:22.319421 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8977 sofia/default/8801747265333 Set 2833 dtmf send payload to 101 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8984 sofia/default/8801747265333 Set 2833 dtmf receive payload to 101 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:9007 sofia/default/8801747265333 Set rtp dtmf delay to 40 2020-12-20 17:36:22.339420 [INFO] switch_ivr_originate.c:3801 Sending early media 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0894062723@195.191.28.110] 178.62.69.130 port 29068 -> 195.191.28.110 port 22350 codec: 8 ms: 20 2020-12-20 17:36:22.339420 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8977 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf send payload to 101 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8984 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf receive payload to 101 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:9007 sofia/default/0894062723@195.191.28.110 Set rtp dtmf delay to 40 2020-12-20 17:36:22.339420 [DEBUG] mod_sofia.c:2593 Ring SDP: v=0 o=FreeSWITCH 1608456714 1608456715 IN IP4 178.62.69.130 s=FreeSWITCH c=IN IP4 178.62.69.130 t=0 0 m=audio 29068 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2020-12-20 17:36:22.339420 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/0894062723@195.191.28.110! 2020-12-20 17:36:22.339420 [DEBUG] switch_channel.c:3565 (sofia/default/0894062723@195.191.28.110) Callstate Change RINGING -> EARLY 2020-12-20 17:36:22.339420 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [early][183] 2020-12-20 17:36:22.339420 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/8801747265333] 2020-12-20 17:36:22.339420 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/8801747265333) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2020-12-20 17:36:22.339420 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 13) 2020-12-20 17:36:22.339420 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8801747265333) State EXCHANGE_MEDIA 2020-12-20 17:36:22.339420 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2020-12-20 17:36:22.379423 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2020-12-20 17:36:22.419421 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7882@178.62.69.130] from ip 80.246.28.12 2020-12-20 17:36:22.519421 [DEBUG] switch_ivr_bridge.c:655 sofia/default/8801747265333 Bridge execute app sched_hangup(+6000 normal_clearing) 2020-12-20 17:36:22.539425 [DEBUG] switch_ivr.c:632 sofia/default/8801747265333 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/8801747265333 sched_hangup(+6000 normal_clearing) 2020-12-20 17:36:22.539425 [DEBUG] switch_scheduler.c:252 Added task 7 switch_ivr_schedule_hangup (70c7ea2d-5851-4d21-b011-451171d82591) to run at 1608491782 2020-12-20 17:36:22.659429 [WARNING] sofia_reg.c:2930 Can't find user [7882@178.62.69.130] from 80.246.28.12 You must define a domain called '178.62.69.130' in your directory and add a user with the id="7882" attribute and you must configure your device to use the proper domain in its authentication credentials. 2020-12-20 17:36:22.659429 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [7882@178.62.69.130] from ip 80.246.28.12 2020-12-20 17:36:24.359451 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [terminated][487] 2020-12-20 17:36:24.359451 [NOTICE] sofia.c:8559 Hangup sofia/default/0894062723@195.191.28.110 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:826 sofia/default/0894062723@195.191.28.110 ending bridge by request from read function 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0894062723@195.191.28.110] 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:820 sofia/default/0894062723@195.191.28.110 ending bridge by request from write function 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8801747265333] 2020-12-20 17:36:24.359451 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/8801747265333 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8801747265333) State EXCHANGE_MEDIA going to sleep 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_HANGUP (Cur 2 Tot 13) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8801747265333) Callstate Change EARLY -> HANGUP 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8801747265333) State HANGUP 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:447 sofia/default/8801747265333 Overriding SIP cause 487 with 487 from the other leg 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:453 Channel sofia/default/8801747265333 hanging up, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/8801747265333 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:60 sofia/default/8801747265333 Standard HANGUP, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8801747265333) State HANGUP going to sleep 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8801747265333) State Change CS_HANGUP -> CS_REPORTING 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_REPORTING (Cur 2 Tot 13) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8801747265333) State REPORTING 2020-12-20 17:36:24.359451 [INFO] mod_json_cdr.c:271 Process [70c7ea2d-5851-4d21-b011-451171d82591.cdr.json] 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/8801747265333 skip receive message [UNBRIDGE] (channel is hungup already) 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/0894062723@195.191.28.110 skip receive message [UNBRIDGE] (channel is hungup already) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_session.c:2905 sofia/default/0894062723@195.191.28.110 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0894062723@195.191.28.110) State EXECUTE going to sleep 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_HANGUP (Cur 2 Tot 13) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0894062723@195.191.28.110) Callstate Change EARLY -> HANGUP 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0894062723@195.191.28.110) State HANGUP 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:453 Channel sofia/default/0894062723@195.191.28.110 hanging up, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:60 sofia/default/0894062723@195.191.28.110 Standard HANGUP, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0894062723@195.191.28.110) State HANGUP going to sleep 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0894062723@195.191.28.110) State Change CS_HANGUP -> CS_REPORTING 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_REPORTING (Cur 2 Tot 13) 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0894062723@195.191.28.110) State REPORTING 2020-12-20 17:36:24.359451 [INFO] mod_json_cdr.c:271 Process [68e52179-dec7-4873-b434-eb32b8192110.cdr.json] 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:174 sofia/default/8801747265333 Standard REPORTING, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8801747265333) State REPORTING going to sleep 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8801747265333) State Change CS_REPORTING -> CS_DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_session.c:1726 Session 13 (sofia/default/8801747265333) Locked, Waiting on external entities 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1744 Session 13 (sofia/default/8801747265333) Ended 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/8801747265333 [CS_DESTROY] 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8801747265333) Running State Change CS_DESTROY (Cur 1 Tot 13) 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8801747265333) State DESTROY 2020-12-20 17:36:24.379428 [DEBUG] mod_sofia.c:364 sofia/default/8801747265333 SOFIA DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:181 sofia/default/8801747265333 Standard DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8801747265333) State DESTROY going to sleep 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:174 sofia/default/0894062723@195.191.28.110 Standard REPORTING, cause: ORIGINATOR_CANCEL 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0894062723@195.191.28.110) State REPORTING going to sleep 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0894062723@195.191.28.110) State Change CS_REPORTING -> CS_DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_session.c:1726 Session 12 (sofia/default/0894062723@195.191.28.110) Locked, Waiting on external entities 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1744 Session 12 (sofia/default/0894062723@195.191.28.110) Ended 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0894062723@195.191.28.110 [CS_DESTROY] 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0894062723@195.191.28.110) Running State Change CS_DESTROY (Cur 0 Tot 13) 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0894062723@195.191.28.110) State DESTROY 2020-12-20 17:36:24.379428 [DEBUG] mod_sofia.c:364 sofia/default/0894062723@195.191.28.110 SOFIA DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:181 sofia/default/0894062723@195.191.28.110 Standard DESTROY 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0894062723@195.191.28.110) State DESTROY going to sleep 2020-12-20 17:36:24.539449 [DEBUG] switch_scheduler.c:147 Deleting task 7 switch_ivr_schedule_hangup (70c7ea2d-5851-4d21-b011-451171d82591)