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(&quot;location&quot;))</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>