@ -1,5 +1,6 @@
######## Generic Hash Table container in shared memory ########
modparam("htable", "htable", "failover = >size=16;autoexpire=120")
modparam("htable", "htable", "park = >size=4;autoexpire=600")
####### Dispatcher module ########
loadmodule "dispatcher.so"
@ -82,6 +83,13 @@ 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");
return;
}
}
if (!ds_select_dst("$var(ds_group)", "0") || $(avp(ds_dst)[0]) = = $null) {