Browse Source

KAZOO-3308: remove the park redirect from the hash if the invite has an auth reply

3.20
karl anderson 11 years ago
parent
commit
1d31236d23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      kamailio/dispatcher-role.cfg

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

@ -100,8 +100,11 @@ route[DISPATCHER_FIND_ROUTES]
##### CALL-PARK ####
if($(ru{uri.user}) =~ "\*3" && $sht(park=>$(ru{uri.user})@$(ru{uri.domain})) != $null) {
$du = $sht(park=>$(ru{uri.user})@$(ruri{uri.domain}));
$sht(park=>$(ru{uri.user})@$(ruri{uri.domain})) = $null;
xlog("L_INFO", "$ci|log|redirecting park request to $du");
if ($hdr(Proxy-Authorization) != $null) {
xlog("L_INFO", "$ci|log|removed park redirect");
$sht(park=>$(ru{uri.user})@$(ruri{uri.domain})) = $null;
}
return;
}


Loading…
Cancel
Save