[OpenSIPS-Users] Rewriting $rd

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 14 14:18:46 CEST 2012


Hi Kunal,

Rewriting  of $rd is perfectly save before the lookup() function.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 08/14/2012 01:42 PM, Kunal Kerkar wrote:
> Hello,
> I have 2 registrar servers setup. What I want to do is enable custom 
> SIP domains for users. They can create an SRV record including the 2 
> registrar servers of mine. The problem arises during an incoming call 
> to the registered endpoint.
>
> When I do /(lookup("location"))/
>
> $rd must be the domain with which the user has registered for that 
> function to pass. But $rd here is the IP of the registrar server.
>
> So my question is, is it ok to rewrite $rd to the domain so that the 
> function can pass or does rewriting $rd have side effects?
>
> Thanks
> Kunal
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120814/9e349ea8/attachment.htm>


More information about the Users mailing list