[SR-Users] Update R-URI after lookup("location")

Igor Potjevlesch igor.potjevlesch at gmail.com
Tue Jan 14 16:52:57 CET 2014


Hi Andrew,

That's it! Thank you !

Regards,

Igor.

-----Message d'origine-----
De : sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] De la part de Andrew
Pogrebennyk
Envoyé : mardi 14 janvier 2014 15:03
À : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] Update R-URI after lookup("location")

Hi,

You should create a branch_route and perform this manipulation there..

BR,
Andrew

On 01/14/2014 10:53 AM, Igor Potjevlesch wrote:
> Hello,
> 
>  
> 
> No one has an idea? I was thinking that each request goes to RELAY but 
> even if I try to modify the R-URI in this route, it fails. I still had 
> the contact URI taken from “location” instead of my modification.
> 
> 
> Regards,
> 
>  
> 
> Igor.
> 
>  
> 
> *De :*Igor Potjevlesch [mailto:igor.potjevlesch at gmail.com]
> *Envoyé :* lundi 13 janvier 2014 17:15 *À :* 
> sr-users at lists.sip-router.org *Objet :* Update R-URI after 
> lookup("location")
> 
>  
> 
> Hello,
> 
>  
> 
> I do an association between X aliases with 1 contact. This contact is 
> connected one time in the location.
> 
> But sometimes, for some scenario, this contact can be connected 2 or 3 
> times and the INVITE are sent with parallel forking.
> 
>  
> 
> When an INVITE is received, after lookup(“aliases”), I set the R-URI 
> with the original SIP TO with the following instruction:
> avp_pushto("$ruri/username", "$tU"); before relay.
> 
>  
> 
> The issue occurred with the next contacts. They don’t passed through 
> this instruction. How can I update all available R-URI in location 
> before relay?
> 
>  
> 
> Regards,
> 
>  
> 
> Igor.
> 
> 
> 
> ------------------------------------------------------------------------
> <http://www.avast.com/> 	
> 
> Ce courrier électronique ne contient aucun virus ou logiciel 
> malveillant parce que la protection Antivirus avast! 
> <http://www.avast.com/> est active.
> 
> 
> 
> 
> _______________________________________________
> 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


---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com




More information about the sr-users mailing list