From b738f229a94a9a064370acc38d65a0db7d5d6d8f Mon Sep 17 00:00:00 2001 From: lazedo Date: Tue, 5 Dec 2017 01:00:14 +0000 Subject: [PATCH] remove commented lines --- kamailio/nodes-role.cfg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kamailio/nodes-role.cfg b/kamailio/nodes-role.cfg index 711f305..fc3de7b 100644 --- a/kamailio/nodes-role.cfg +++ b/kamailio/nodes-role.cfg @@ -122,7 +122,7 @@ route[CHECK_MEDIA_SERVERS] if($(var(Payload){kz.json,Media-Servers}) == "") { return; } - + $var(Media) = $(var(Payload){kz.json,Media-Servers}); $var(Zone) = $(var(Payload){kz.json,AMQP-Broker-Zone}); @@ -139,7 +139,6 @@ route[CHECK_MEDIA_SERVERS] if(kazoo_json_keys($var(Payload), "Media-Servers.$var(MediaKey).Interfaces", "$avp(ProfileKeys)") == 1) { $var(ProfileCount) = $cnt($avp(ProfileKeys)); $var(ProfileIdx) = 0; -## xlog("L_INFO", "nodes|media|$var(Node) profile count for $(avp(MediaKeys)[$var(Idx)]) is : $var(ProfileCount)\n"); while( $var(ProfileIdx) < $var(ProfileCount) ) { $var(MediaProfile) = $(avp(ProfileKeys)[$var(ProfileIdx)]); $var(MediaRawUrl) = $(var(Payload){kz.json,Media-Servers.$var(MediaKey).Interfaces.$var(MediaProfile).URL}); @@ -151,8 +150,6 @@ route[CHECK_MEDIA_SERVERS] }; $var(MediaExpire) = ($(var(Payload){kz.json,Expires}{s.int}) / 1000) + NODES_FUDGE_FACTOR; $shtex(media=>$var(MediaUrl)::count) = $var(MediaExpire); -## xlog("L_INFO", "nodes|media|$var(Node) expire is $var(MediaExpire)\n"); - $var(ProfileIdx) = $var(ProfileIdx) + 1; } }