[OpenSIPS-Users] 302 Moved Temporarily routing

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 4 15:52:08 CEST 2009


Hi David,

Why don't you simply use the uac_redirect module for this ( 
http://www.opensips.org/html/docs/modules/1.5.x/uac_redirect.html ).

In failure route, if final reply is 3xx, use get_redirects() to extract 
the contacts and to create the new branches.

Regards,
Bogdan

David Roberge wrote:
>
> Hi,
>
>  
>
> I am processing a "302 Moved Temporarily" message in a onreply_route.  
> Afterwards, I create a new branch in the failure_route and relay the 
> INVITE request to another UAS.
>
>  
>
> Right now, it seems that OpenSIPS relay the 302 response to the UAC.
>
>  
>
> I would want the UAC to be unaware that a 302 reply was received by 
> OpenSIPS.  Is there any way to drop the message so that OpenSIPS do 
> not relay it to the UAC?
>
>  
>
> In the documentation, it seems that only a provisionnal response 1xx 
> can be dropped.
>
>  
>
> Thanks a lot.
>
>  
>
> David
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list