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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to