|
|
@ -87,6 +87,7 @@ route[DISPATCHER_FIND_ROUTES] |
|
|
$var(prefered_route) = $sht(associations=>$var(association)); |
|
|
$var(prefered_route) = $sht(associations=>$var(association)); |
|
|
xlog("L_INFO", "$ci|log|from uri $var(from_uri) associated with media server $var(prefered_route)"); |
|
|
xlog("L_INFO", "$ci|log|from uri $var(from_uri) associated with media server $var(prefered_route)"); |
|
|
route(DISPATCHER_REORDER_ROUTES); |
|
|
route(DISPATCHER_REORDER_ROUTES); |
|
|
|
|
|
$sht(associations=>$var(from_uri)) = $null; |
|
|
} else if ($sht(associations=>$var(contact_uri)) != $null) { |
|
|
} else if ($sht(associations=>$var(contact_uri)) != $null) { |
|
|
$var(association) = $var(contact_uri); |
|
|
$var(association) = $var(contact_uri); |
|
|
$var(prefered_route) = $sht(associations=>$var(association)); |
|
|
$var(prefered_route) = $sht(associations=>$var(association)); |
|
|
|