[Serusers] how to process 302?

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Fri Aug 27 00:25:24 CEST 2004


I'm not sure I understand what you are trying to do. If I'm not wrong, 
you want to intercept 3xx replies and to forward the call to the contact 
address - a kind of redirect on server?

bogdan

O'Shaughnessy Evans wrote:
> Hello, all.  I've seen a few comments on the list about dealing with
> 302 "Moved Temporarily" messages.  Something is going wrong in my
> routing, though, and I can't figure out what.  I'm trying to process it
> in a failure_route like this:
> 
>     if (t_check_status("302")) {
>         xlog("L_NOTICE", "   Call forwarding on -> rerouting call to %ct");
>         append_branch();
>         t_reply("302", "Moved Temporarily");
>     }
> 
> but that isn't doing the trick.  Would someone mind posting how a 302
> reply *should* be handled to process call forwarding?
> 
> Thanks.
> 




More information about the sr-users mailing list