[SR-Users] 302 rewrite ruri based on contact

Ovidiu Sas osas at voipembedded.com
Wed May 25 00:58:04 CEST 2011


Here's an example on how to perform forking on failure on 1.4:
https://openser.svn.sourceforge.net/svnroot/openser/branches/1.4/examples/serial_183.cfg


Regards,
Ovidiu Sas

On Tue, May 24, 2011 at 4:30 PM, Omar <omar at 321communications.com> wrote:
>
> I need to rewrite the destination after I receive 302
> I have this logic
>
> Onreply
> Loads in avp the information needed
>
> I try sending to failure route and to a route in both cases the $ru become <null>
>
> In the route and failureroute
> I did try rewritehost, rewriteuri, $ru= number+ host
> And append the route
> But $ru is always null.
> Inside the route or failure route
>
> If there are no 302 nor the onreply involved everything works fine
>
> Any suggestion to rewrite the ruri after a 302 is welcome
>
> I am still using Kamailo1.4.3
>
>
> Omar
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list