Browse Source

correct copy/paste error

3.17
karl anderson 13 years ago
parent
commit
d0adf5af20
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      kamailio/dispatcher-role.cfg

+ 2
- 1
kamailio/dispatcher-role.cfg View File

@ -63,6 +63,7 @@ route[DISPATCHER_REORDER_ROUTES]
{
$var(i) = 0;
$var(found) = 0;
$var(prefered_route) = $sht(associations=>$var(association));
while($(avp(ds_dst)[$var(i)]) != $null) {
if($(avp(ds_dst)[$var(i)]) != $var(prefered_route)) {
$avp(tmp_ds_dst) = $(avp(ds_dst)[$var(i)]);
@ -91,7 +92,7 @@ route[DISPATCHER_REORDER_ROUTES]
} else {
xlog("L_INFO", "$ci|log|associated media server is inactive, moving to $rd");
$sht(associations=>$var(contact_uri)) = $null;
$sht(associations=>$var(association)) = $null;
}
}


Loading…
Cancel
Save