<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Kunal,<br>
<br>
Rewriting of $rd is perfectly save before the lookup() function.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 08/14/2012 01:42 PM, Kunal Kerkar wrote:
<blockquote
cite="mid:CAJzXOsCeU0bQ314SCkhs5Rs=as0xGfuhAOJ4omPh4JPf9K1gaQ@mail.gmail.com"
type="cite">Hello,
<div>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.</div>
<div><br>
</div>
<div>When I do <i>(lookup("location"))</i></div>
<div><br>
</div>
<div>$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. </div>
<div><br>
</div>
<div>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?</div>
<div>
<div><br>
</div>
<div>Thanks</div>
<div>Kunal</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>