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

Igor Potjevlesch igor.potjevlesch at gmail.com
Tue Jan 14 10:53:41 CET 2014


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.



---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140114/39922c2b/attachment.html>


More information about the sr-users mailing list