2019-08-05 15:15:52.033883 [NOTICE] switch_channel.c:1114 New Channel sofia/default/34540000@billing.voipalbania.com [e8d805ae-a8ea-4a7c-832a-c43ca1287f99] 2019-08-05 15:15:52.033883 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_NEW (Cur 3 Tot 17061) 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:10164 sofia/default/34540000@billing.voipalbania.com receiving invite from 117.247.91.162:57066 version: 1.8.7 -8-6047ebddfc 64bit 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 117.247.91.162:0. 2019-08-05 15:15:52.033883 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [0692078506@billing.voipalbania.com] from ip 117.247.91.162 2019-08-05 15:15:52.033883 [DEBUG] switch_core_state_machine.c:603 (sofia/default/34540000@billing.voipalbania.com) State NEW 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:2413 detaching session e8d805ae-a8ea-4a7c-832a-c43ca1287f99 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:2522 Re-attaching to session e8d805ae-a8ea-4a7c-832a-c43ca1287f99 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:10164 sofia/default/34540000@billing.voipalbania.com receiving invite from 117.247.91.162:57066 version: 1.8.7 -8-6047ebddfc 64bit 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 117.247.91.162:0. 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:11370 Setting NAT mode based on via received 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [received][100] 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7333 Remote SDP: v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101@8000 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:3781 Set Codec sofia/default/34540000@billing.voipalbania.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2019-08-05 15:15:52.413806 [DEBUG] switch_core_codec.c:111 sofia/default/34540000@billing.voipalbania.com Original read codec set to PCMA:8 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101@8000 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5828 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf send payload to 101 recv payload to 101 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7748 (sofia/default/34540000@billing.voipalbania.com) State Change CS_NEW -> CS_INIT 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_INIT (Cur 3 Tot 17061) 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:627 (sofia/default/34540000@billing.voipalbania.com) State INIT 2019-08-05 15:15:52.413806 [DEBUG] mod_sofia.c:93 sofia/default/34540000@billing.voipalbania.com SOFIA INIT 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:40 sofia/default/34540000@billing.voipalbania.com Standard INIT 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:48 (sofia/default/34540000@billing.voipalbania.com) State Change CS_INIT -> CS_ROUTING 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:627 (sofia/default/34540000@billing.voipalbania.com) State INIT going to sleep 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_ROUTING (Cur 3 Tot 17061) 2019-08-05 15:15:52.413806 [DEBUG] switch_channel.c:2293 (sofia/default/34540000@billing.voipalbania.com) Callstate Change DOWN -> RINGING 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:643 (sofia/default/34540000@billing.voipalbania.com) State ROUTING 2019-08-05 15:15:52.413806 [DEBUG] mod_sofia.c:154 sofia/default/34540000@billing.voipalbania.com SOFIA ROUTING 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:236 sofia/default/34540000@billing.voipalbania.com Standard ROUTING 2019-08-05 15:15:52.413806 [INFO] mod_dialplan_xml.c:637 Processing 34540000 <34540000>->0692078506 in context default 2019-08-05 15:15:52.413806 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 0692078506 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0692078506' AND status=0 limit 1 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : 34540000 / 34540000 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" LIMIT 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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="0692078506" limit 1 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 4727985745] 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0692078506.*' OR blocked_patterns = '^069207850.*' OR blocked_patterns = '^06920785.*' OR blocked_patterns = '^0692078.*' OR blocked_patterns = '^069207.*' OR blocked_patterns = '^06920.*' OR blocked_patterns = '^0692.*' OR blocked_patterns = '^069.*' OR blocked_patterns = '^06.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" AND A.accountid = '2' limit 1 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0692078506 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" LIMIT 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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="0692078506" limit 1 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : outbound 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0692078506" AND (accountid = 0 OR status = 1) LIMIT 1 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 = '^0692078506.*' OR patterns = '^069207850.*' OR patterns = '^06920785.*' OR patterns = '^0692078.*' OR patterns = '^069207.*' OR patterns = '^06920.*' OR patterns = '^0692.*' OR patterns = '^069.*' OR patterns = '^06.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0692078506' OR number = '069207850' OR number = '06920785' OR number = '0692078' OR number = '069207' OR number = '06920' OR number = '0692' OR number = '069' OR number = '06' OR number = '0' OR number ='--') OR (number = '0692078506*' OR number = '069207850*' OR number = '06920785*' OR number = '0692078*' OR number = '069207*' OR number = '06920*' OR number = '0692*' OR number = '069*' OR number = '06*' OR number = '0*' OR number ='--') OR (number = '34540000' OR number = '3454000' OR number = '345400' OR number = '34540' OR number = '3454' OR number = '345' OR number = '34' OR number = '3' OR number ='--') OR (number = '34540000*' OR number = '3454000*' OR number = '345400*' OR number = '34540*' OR number = '3454*' OR number = '345*' OR number = '34*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0692078506' OR routing_prefix = '069207850' OR routing_prefix = '06920785' OR routing_prefix = '0692078' OR routing_prefix = '069207' OR routing_prefix = '06920' OR routing_prefix = '0692' OR routing_prefix = '069' OR routing_prefix = '06' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information =================== 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 2 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 4727985745 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 1.9652 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 2 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ======================================================== 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 2 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 2 AND status=0 limit 1 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0692078506 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 355692078506 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^355692078506.*' OR pattern = '^35569207850.*' OR pattern = '^3556920785.*' OR pattern = '^355692078.*' OR pattern = '^35569207.*' OR pattern = '^3556920.*' OR pattern = '^355692.*' OR pattern = '^35569.*' OR pattern = '^3556.*' OR pattern = '^355.*' OR pattern = '^35.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 2 OR accountid=2) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Markup : 100 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information =================== 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 88 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.22312 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : Albania Vodafon 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 2 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 2 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk ID: 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Routing type: 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================ 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your1.9652 balance Accountid 2 !!! 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 8.8078164216565 minutes 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] [DIALPLAN] User Rate ID : 88 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [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 = '^355692078506.*' OR pattern = '^35569207850.*' OR pattern = '^3556920785.*' OR pattern = '^355692078.*' OR pattern = '^35569207.*' OR pattern = '^3556920.*' OR pattern = '^355692.*' OR pattern = '^35569.*' OR pattern = '^3556.*' OR pattern = '^355.*' OR pattern = '^35.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1,3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Termination Rates Information =================== 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 86 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Code : ^35569.* 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Destination : Albania Vodafon 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Free Seconds : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Prefix : ^35569.* 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Strip : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Prepend : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Carrier id : 1 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] carrier_name : VoipGateway 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] dialplan_variable : 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Failover gateway : 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Vendor id : 3 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Max channels : 0 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk Name : VoipGateway 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================END OF TERMINATION RATES======================= 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 8.8078164216565 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 355692078506 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 692078506 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/34540000@billing.voipalbania.com parsing [default->355692078506] continue=false Dialplan: sofia/default/34540000@billing.voipalbania.com Regex (PASS) [355692078506] destination_number(0692078506) =~ /0692078506/ break=on-false Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_destination_number=0692078506) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(bridge_pre_execute_bleg_data=+528.46898529939 normal_clearing) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(callstart=2019-08-05 13:15:52) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(hangup_after_bridge=true) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(continue_on_fail=TRUE) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(account_id=2) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(parent_id=0) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(entity_id=0) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(call_processed=internal) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(call_direction=outbound) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(accountname=default) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(origination_rates=ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(original_caller_id_name=34540000) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(original_caller_id_number=34540000) Dialplan: sofia/default/34540000@billing.voipalbania.com Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_caller_id_name=34540000) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_caller_id_number=34540000) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(calltype=STANDARD) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(termination_rates=ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(trunk_id=1) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(provider_id=3) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(rate_flag=0) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(force_trunk_flag=88) Dialplan: sofia/default/34540000@billing.voipalbania.com Action export(presence_data=trunk_id=1) Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(intcall=0) Dialplan: sofia/default/34540000@billing.voipalbania.com Action export(presence_data=x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD) Dialplan: sofia/default/34540000@billing.voipalbania.com Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/VoipGateway/692078506) 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:286 (sofia/default/34540000@billing.voipalbania.com) State Change CS_ROUTING -> CS_EXECUTE 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:643 (sofia/default/34540000@billing.voipalbania.com) State ROUTING going to sleep 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_EXECUTE (Cur 3 Tot 17061) 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:650 (sofia/default/34540000@billing.voipalbania.com) State EXECUTE 2019-08-05 15:15:52.453838 [DEBUG] mod_sofia.c:209 sofia/default/34540000@billing.voipalbania.com SOFIA EXECUTE 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:328 sofia/default/34540000@billing.voipalbania.com Standard EXECUTE EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_destination_number=0692078506) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_destination_number]=[0692078506] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(bridge_pre_execute_bleg_app=sched_hangup) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(bridge_pre_execute_bleg_data=+528.46898529939 normal_clearing) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [bridge_pre_execute_bleg_data]=[+528.46898529939 normal_clearing] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(callstart=2019-08-05 13:15:52) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [callstart]=[2019-08-05 13:15:52] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(hangup_after_bridge=true) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(continue_on_fail=TRUE) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(account_id=2) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [account_id]=[2] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(parent_id=0) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [parent_id]=[0] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(entity_id=0) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [entity_id]=[0] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(call_processed=internal) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [call_processed]=[internal] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(call_direction=outbound) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(accountname=default) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [accountname]=[default] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(origination_rates=ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [origination_rates]=[ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(original_caller_id_name=34540000) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [original_caller_id_name]=[34540000] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(original_caller_id_number=34540000) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [original_caller_id_number]=[34540000] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION) 2019-08-05 15:15:52.453838 [DEBUG] switch_limit.c:126 incr called: 4727985745_user_4727985745 max:1, interval:0 2019-08-05 15:15:52.453838 [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1 EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_caller_id_name=34540000) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_caller_id_name]=[34540000] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_caller_id_number=34540000) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_caller_id_number]=[34540000] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(calltype=STANDARD) 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(termination_rates=ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [termination_rates]=[ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(trunk_id=1) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [trunk_id]=[1] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(provider_id=3) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [provider_id]=[3] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(rate_flag=0) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [rate_flag]=[0] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(force_trunk_flag=88) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [force_trunk_flag]=[88] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com export(presence_data=trunk_id=1) 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(intcall=0) 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [intcall]=[0] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com export(presence_data=x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD) 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD] EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/VoipGateway/692078506) 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1260 sofia/default/34540000@billing.voipalbania.com EXPORTING[export_vars] [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD] to event 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1260 sofia/default/34540000@billing.voipalbania.com EXPORTING[export_vars] [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD] to event 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:2209 Parsing global variables 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:2754 Parsing session specific variables 2019-08-05 15:15:52.473760 [NOTICE] switch_channel.c:1114 New Channel sofia/default/692078506 [7951e07f-e073-4ec2-a002-6d10dd25c8f0] 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:5031 (sofia/default/692078506) State Change CS_NEW -> CS_INIT 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:3061 sofia/default/692078506 Setting leg timeout to 30 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_INIT (Cur 4 Tot 17062) 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:627 (sofia/default/692078506) State INIT 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:93 sofia/default/692078506 SOFIA INIT 2019-08-05 15:15:52.473760 [DEBUG] sofia_glue.c:1315 sofia/default/692078506 sending invite version: 1.8.7 -8-6047ebddfc 64bit Local SDP: v=0 o=FreeSWITCH 1564986964 1564986965 IN IP4 192.168.0.9 s=FreeSWITCH c=IN IP4 192.168.0.9 t=0 0 m=audio 23988 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:40 sofia/default/692078506 Standard INIT 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:48 (sofia/default/692078506) State Change CS_INIT -> CS_ROUTING 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:627 (sofia/default/692078506) State INIT going to sleep 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_ROUTING (Cur 4 Tot 17062) 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:643 (sofia/default/692078506) State ROUTING 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:154 sofia/default/692078506 SOFIA ROUTING 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:67 (sofia/default/692078506) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:643 (sofia/default/692078506) State ROUTING going to sleep 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 17062) 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:662 (sofia/default/692078506) State CONSUME_MEDIA 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:662 (sofia/default/692078506) State CONSUME_MEDIA going to sleep 2019-08-05 15:15:52.473760 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [calling][0] 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [completing][200] 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7333 Remote SDP: v=0 o=root 420156173 420156173 IN IP4 192.168.0.15 s=Asterisk PBX 11.11.0 c=IN IP4 192.168.0.15 t=0 0 m=audio 16560 RTP/AVP 18 8 0 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2019-08-05 15:15:52.493763 [NOTICE] sofia.c:7336 Pre-Answer sofia/default/692078506! 2019-08-05 15:15:52.493763 [DEBUG] switch_channel.c:3526 (sofia/default/692078506) Callstate Change DOWN -> EARLY 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [ready][200] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101@8000 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:3781 Set Codec sofia/default/692078506 G729/8000 20 ms 160 samples 8000 bits 1 channels 2019-08-05 15:15:52.493763 [DEBUG] switch_core_codec.c:111 sofia/default/692078506 Original read codec set to G729:18 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101@8000 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5828 sofia/default/692078506 Set 2833 dtmf send payload to 101 recv payload to 101 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/default/692078506] 192.168.0.9 port 23988 -> 192.168.0.15 port 16560 codec: 18 ms: 20 2019-08-05 15:15:52.493763 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8875 sofia/default/692078506 Set 2833 dtmf send payload to 101 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8882 sofia/default/692078506 Set 2833 dtmf receive payload to 101 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8905 sofia/default/692078506 Set rtp dtmf delay to 40 2019-08-05 15:15:52.493763 [NOTICE] sofia.c:8461 Channel [sofia/default/692078506] has been answered 2019-08-05 15:15:52.493763 [DEBUG] switch_channel.c:3825 (sofia/default/692078506) Callstate Change EARLY -> ACTIVE 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/default/34540000@billing.voipalbania.com] 192.168.0.9 port 21412 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2019-08-05 15:15:52.513787 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8875 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf send payload to 101 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8882 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf receive payload to 101 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8905 sofia/default/34540000@billing.voipalbania.com Set rtp dtmf delay to 40 2019-08-05 15:15:52.513787 [DEBUG] mod_sofia.c:893 Local SDP sofia/default/34540000@billing.voipalbania.com: v=0 o=FreeSWITCH 1564989540 1564989541 IN IP4 77.247.95.9 s=FreeSWITCH c=IN IP4 77.247.95.9 t=0 0 m=audio 21412 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 2019-08-05 15:15:52.513787 [NOTICE] switch_ivr_originate.c:3745 Channel [sofia/default/34540000@billing.voipalbania.com] has been answered 2019-08-05 15:15:52.513787 [DEBUG] switch_channel.c:3825 (sofia/default/34540000@billing.voipalbania.com) Callstate Change RINGING -> ACTIVE 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [completed][200] 2019-08-05 15:15:52.513787 [DEBUG] switch_ivr_originate.c:3803 Originate Resulted in Success: [sofia/default/692078506] 2019-08-05 15:15:52.513787 [DEBUG] switch_ivr_bridge.c:1795 (sofia/default/692078506) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 17062) 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:653 (sofia/default/692078506) State EXCHANGE_MEDIA 2019-08-05 15:15:52.513787 [DEBUG] mod_sofia.c:657 SOFIA EXCHANGE_MEDIA 2019-08-05 15:15:52.513787 [NOTICE] switch_channel.c:1114 New Channel sofia/default/12093@77.247.95.9 [36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2] 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_NEW (Cur 5 Tot 17063) 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:10164 sofia/default/12093@77.247.95.9 receiving invite from 51.83.3.86:56307 version: 1.8.7 -8-6047ebddfc 64bit 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 51.83.3.86:0. 2019-08-05 15:15:52.513787 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [800441519470705@77.247.95.9] from ip 51.83.3.86 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:603 (sofia/default/12093@77.247.95.9) State NEW 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:2413 detaching session 36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2 2019-08-05 15:15:52.693858 [DEBUG] switch_ivr_bridge.c:659 sofia/default/692078506 Bridge execute app sched_hangup(+528.46898529939 normal_clearing) 2019-08-05 15:15:52.713840 [DEBUG] switch_ivr.c:626 sofia/default/692078506 Command Execute [depth=0] sched_hangup(+528.46898529939 normal_clearing) EXECUTE [depth=0] sofia/default/692078506 sched_hangup(+528.46898529939 normal_clearing) 2019-08-05 15:15:52.713840 [DEBUG] switch_scheduler.c:249 Added task 6 switch_ivr_schedule_hangup (7951e07f-e073-4ec2-a002-6d10dd25c8f0) to run at 1565011480 2019-08-05 15:15:52.773834 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [ready][200] 2019-08-05 15:15:52.813855 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed. 2019-08-05 15:15:52.873822 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed. 2019-08-05 15:15:55.853928 [WARNING] switch_core_state_machine.c:687 99cb2d6b-e82e-47a0-b9cd-d29bbfa730ea sofia/default/730005@77.247.95.9 Abandoned 2019-08-05 15:15:55.853928 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/730005@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE] 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:584 (sofia/default/730005@77.247.95.9) Running State Change CS_HANGUP (Cur 5 Tot 17063) 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:847 (sofia/default/730005@77.247.95.9) Callstate Change DOWN -> HANGUP 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:849 (sofia/default/730005@77.247.95.9) State HANGUP 2019-08-05 15:15:55.853928 [DEBUG] mod_sofia.c:460 Channel sofia/default/730005@77.247.95.9 hanging up, cause: WRONG_CALL_STATE 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:60 sofia/default/730005@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:849 (sofia/default/730005@77.247.95.9) State HANGUP going to sleep 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:619 (sofia/default/730005@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:584 (sofia/default/730005@77.247.95.9) Running State Change CS_REPORTING (Cur 5 Tot 17063) 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:935 (sofia/default/730005@77.247.95.9) State REPORTING 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:174 sofia/default/730005@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:935 (sofia/default/730005@77.247.95.9) State REPORTING going to sleep 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:610 (sofia/default/730005@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY 2019-08-05 15:15:55.853928 [DEBUG] switch_core_session.c:1726 Session 17059 (sofia/default/730005@77.247.95.9) Locked, Waiting on external entities 2019-08-05 15:15:55.853928 [NOTICE] switch_core_session.c:1744 Session 17059 (sofia/default/730005@77.247.95.9) Ended 2019-08-05 15:15:55.853928 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/730005@77.247.95.9 [CS_DESTROY] 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:738 (sofia/default/730005@77.247.95.9) Running State Change CS_DESTROY (Cur 4 Tot 17063) 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:748 (sofia/default/730005@77.247.95.9) State DESTROY 2019-08-05 15:15:55.853928 [DEBUG] mod_sofia.c:365 sofia/default/730005@77.247.95.9 SOFIA DESTROY 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:181 sofia/default/730005@77.247.95.9 Standard DESTROY 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:748 (sofia/default/730005@77.247.95.9) State DESTROY going to sleep 2019-08-05 15:15:56.653869 [WARNING] switch_core_state_machine.c:687 64afe17c-da39-4e2f-91d8-ebaf634c373c sofia/default/100@77.247.95.9 Abandoned 2019-08-05 15:15:56.653869 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/100@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE] 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@77.247.95.9) Running State Change CS_HANGUP (Cur 4 Tot 17063) 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:847 (sofia/default/100@77.247.95.9) Callstate Change DOWN -> HANGUP 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:849 (sofia/default/100@77.247.95.9) State HANGUP 2019-08-05 15:15:56.653869 [DEBUG] mod_sofia.c:460 Channel sofia/default/100@77.247.95.9 hanging up, cause: WRONG_CALL_STATE 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:60 sofia/default/100@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:849 (sofia/default/100@77.247.95.9) State HANGUP going to sleep 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:619 (sofia/default/100@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@77.247.95.9) Running State Change CS_REPORTING (Cur 4 Tot 17063) 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:935 (sofia/default/100@77.247.95.9) State REPORTING 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:174 sofia/default/100@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:935 (sofia/default/100@77.247.95.9) State REPORTING going to sleep 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:610 (sofia/default/100@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY 2019-08-05 15:15:56.653869 [DEBUG] switch_core_session.c:1726 Session 17060 (sofia/default/100@77.247.95.9) Locked, Waiting on external entities 2019-08-05 15:15:56.653869 [NOTICE] switch_core_session.c:1744 Session 17060 (sofia/default/100@77.247.95.9) Ended 2019-08-05 15:15:56.653869 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/100@77.247.95.9 [CS_DESTROY] 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:738 (sofia/default/100@77.247.95.9) Running State Change CS_DESTROY (Cur 3 Tot 17063) 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:748 (sofia/default/100@77.247.95.9) State DESTROY 2019-08-05 15:15:56.653869 [DEBUG] mod_sofia.c:365 sofia/default/100@77.247.95.9 SOFIA DESTROY 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:181 sofia/default/100@77.247.95.9 Standard DESTROY 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:748 (sofia/default/100@77.247.95.9) State DESTROY going to sleep 2019-08-05 15:16:02.573877 [WARNING] switch_core_state_machine.c:687 36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2 sofia/default/12093@77.247.95.9 Abandoned 2019-08-05 15:16:02.573877 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/12093@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE] 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_HANGUP (Cur 3 Tot 17063) 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:847 (sofia/default/12093@77.247.95.9) Callstate Change DOWN -> HANGUP 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:849 (sofia/default/12093@77.247.95.9) State HANGUP 2019-08-05 15:16:02.573877 [DEBUG] mod_sofia.c:460 Channel sofia/default/12093@77.247.95.9 hanging up, cause: WRONG_CALL_STATE 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:60 sofia/default/12093@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:849 (sofia/default/12093@77.247.95.9) State HANGUP going to sleep 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:619 (sofia/default/12093@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_REPORTING (Cur 3 Tot 17063) 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:935 (sofia/default/12093@77.247.95.9) State REPORTING 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:174 sofia/default/12093@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:935 (sofia/default/12093@77.247.95.9) State REPORTING going to sleep 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:610 (sofia/default/12093@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY 2019-08-05 15:16:02.573877 [DEBUG] switch_core_session.c:1726 Session 17063 (sofia/default/12093@77.247.95.9) Locked, Waiting on external entities 2019-08-05 15:16:02.573877 [NOTICE] switch_core_session.c:1744 Session 17063 (sofia/default/12093@77.247.95.9) Ended 2019-08-05 15:16:02.573877 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/12093@77.247.95.9 [CS_DESTROY] 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:738 (sofia/default/12093@77.247.95.9) Running State Change CS_DESTROY (Cur 2 Tot 17063) 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:748 (sofia/default/12093@77.247.95.9) State DESTROY 2019-08-05 15:16:02.573877 [DEBUG] mod_sofia.c:365 sofia/default/12093@77.247.95.9 SOFIA DESTROY 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:181 sofia/default/12093@77.247.95.9 Standard DESTROY 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:748 (sofia/default/12093@77.247.95.9) State DESTROY going to sleep 2019-08-05 15:16:03.433883 [NOTICE] switch_channel.c:1114 New Channel sofia/default/922@77.247.95.9 [9fc0f2b1-0aad-47df-8d3a-488c8f33ca24] 2019-08-05 15:16:03.433883 [DEBUG] switch_core_state_machine.c:584 (sofia/default/922@77.247.95.9) Running State Change CS_NEW (Cur 3 Tot 17064) 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:10164 sofia/default/922@77.247.95.9 receiving invite from 62.210.91.74:59158 version: 1.8.7 -8-6047ebddfc 64bit 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 62.210.91.74:0. 2019-08-05 15:16:03.433883 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [00441904911322@77.247.95.9] from ip 62.210.91.74 2019-08-05 15:16:03.433883 [DEBUG] switch_core_state_machine.c:603 (sofia/default/922@77.247.95.9) State NEW 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:2413 detaching session 9fc0f2b1-0aad-47df-8d3a-488c8f33ca24 2019-08-05 15:16:04.953816 [NOTICE] sofia.c:1079 Hangup sofia/default/692078506 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2019-08-05 15:16:04.953816 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/default/692078506] 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:653 (sofia/default/692078506) State EXCHANGE_MEDIA going to sleep 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_HANGUP (Cur 3 Tot 17064) 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:847 (sofia/default/692078506) Callstate Change ACTIVE -> HANGUP 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:849 (sofia/default/692078506) State HANGUP 2019-08-05 15:16:04.953816 [DEBUG] mod_sofia.c:460 Channel sofia/default/692078506 hanging up, cause: NORMAL_CLEARING 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:60 sofia/default/692078506 Standard HANGUP, cause: NORMAL_CLEARING 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:849 (sofia/default/692078506) State HANGUP going to sleep 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:619 (sofia/default/692078506) State Change CS_HANGUP -> CS_REPORTING 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_REPORTING (Cur 3 Tot 17064) 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:935 (sofia/default/692078506) State REPORTING 2019-08-05 15:16:04.953816 [INFO] mod_json_cdr.c:271 Process [7951e07f-e073-4ec2-a002-6d10dd25c8f0.cdr.json] 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:825 sofia/default/692078506 ending bridge by request from write function 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/default/34540000@billing.voipalbania.com] 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:1894 sofia/default/692078506 skip receive message [UNBRIDGE] (channel is hungup already) 2019-08-05 15:16:04.973848 [NOTICE] switch_ivr_bridge.c:1946 Hangup sofia/default/34540000@billing.voipalbania.com [CS_EXECUTE] [NORMAL_CLEARING] 2019-08-05 15:16:04.973848 [DEBUG] switch_core_session.c:2905 sofia/default/34540000@billing.voipalbania.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:650 (sofia/default/34540000@billing.voipalbania.com) State EXECUTE going to sleep 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_HANGUP (Cur 3 Tot 17064) 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:847 (sofia/default/34540000@billing.voipalbania.com) Callstate Change ACTIVE -> HANGUP 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:849 (sofia/default/34540000@billing.voipalbania.com) State HANGUP 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:454 sofia/default/34540000@billing.voipalbania.com Overriding SIP cause 480 with 200 from the other leg 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:460 Channel sofia/default/34540000@billing.voipalbania.com hanging up, cause: NORMAL_CLEARING 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:174 sofia/default/692078506 Standard REPORTING, cause: NORMAL_CLEARING 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:935 (sofia/default/692078506) State REPORTING going to sleep 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:513 Sending BYE to sofia/default/34540000@billing.voipalbania.com 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:60 sofia/default/34540000@billing.voipalbania.com Standard HANGUP, cause: NORMAL_CLEARING 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:849 (sofia/default/34540000@billing.voipalbania.com) State HANGUP going to sleep 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:619 (sofia/default/34540000@billing.voipalbania.com) State Change CS_HANGUP -> CS_REPORTING