Browse Source

remove commented lines

4.2
lazedo 8 years ago
committed by GitHub
parent
commit
b738f229a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      kamailio/nodes-role.cfg

+ 1
- 4
kamailio/nodes-role.cfg View File

@ -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;
}
}


Loading…
Cancel
Save