[Serusers] Incorrect on-failure logic in 0.8.11

Maxim Sobolev sobomax at portaone.com
Fri Sep 5 18:36:49 CEST 2003


Please disregard this - further investigation showed that the SER does 
all correctly, it was an error in our IVR script which for some reason 
takes value from the To field as a DNIS.

-Maxim

Maxim Sobolev wrote:

> Folks,
> 
> We came over the problem with on-failure processing. In a nutshell our 
> config looks like the following:
> 
> route {
>   if (method == "INVITE") {
>     rewriteuser("345678");
>     rewritehostport("1.1.1.1:5060");
>     t_on_failure("1");
>     t_relay();
>     break;
>   };
> }
> 
> failure_route[1] {
>   rewritehostport("2.2.2.2:5060");
>   append_branch();
>   t_relay();
> }
> 
> The problem is that if transaction to 1.1.1.1 fails and we are 
> initiating another transaction to 2.2.2.2, the username part of requiest 
>  URI sent to 2.2.2.2 is original one, not "345678", as it could be 
> expected.
> 
> Any ideas?
> 
> -Maxim
> 
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 





More information about the sr-users mailing list