[SR-Users] 302 rewrite ruri based on contact
Omar
omar at 321communications.com
Wed Jun 8 13:10:32 CEST 2011
Do i have to clear the variable in $var everytime a call ends a Bye or cancels, or the variable will clear it up automatically in Kamailio1.4.3? i think this acts as a vector, but i have some doubt regarding
$avp i think uses shared memory, then i have to take care to reserve enough memory for it in the shared memory right?
thanks
O
On May 24, 2011, at 6:58 PM, Ovidiu Sas wrote:
> 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
>>
>
> _______________________________________________
> 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