[Serusers] How to catch a fr_inv_timer?
Jan Janak
jan at iptel.org
Tue Jan 13 11:13:15 CET 2004
We would have to see your config, but a quick guess is that you only
forward to voicemail when lookup("location") fails. If you want the call
to be redirected also when the transaction times out or when a negative
reply from the callee comes, then you have to create a failure_route and
forward to voicemail also from the failure_route, something like this:
failure_route[1] {
rewritehostport("voicemailserver:5060");
append_branch();
t_relay();
}
And you have to set the failure_route for transactions that should be
redirected on failure, something like this:
# if user is on-line and is in voicemail group, enable
# redirection
if (method == "INVITE" && isflagset(4)) {
t_on_failure("1");
};
In our case flag 4 is set when the calee is in voicemail group (that
means he wants redirection to voicemail).
Jan.
On 13-01 03:57, Arnd Vehling wrote:
> Hi,
>
> ive setup two ser servers, one acting as "main proxy" and one is responsible
> vor the "voicemail" using "sems".
>
> If a subscriber is not registered with the SER server everything works fine
> and the voicemail is triggered. If a subsriber is registered but the fone isnt
> picked up i get a "480: Temporary not available" instead of the voicemail
> starting.
>
> Ive setup the fr_inv_timer by "modparam("tm", "fr_inv_timer", 90 )" in my
> script
> but i dont know how to correctly "catch" the timeout. I coudnt find anything
> in
> the modules/tm/README either.
>
> Anyone has an example for this?
>
> best regards,
>
> Arnd
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list