<div dir="ltr">Hi all,<div> </div><div>I&#39;m want to route my call to another sip server if certain criteria match so I looked for it and found dynamic routing (drouting) and Least Cost Routes - LCR module to do so. I read about dynamic routing and as it was serving my purpose so I thought I should go for it. </div>

<div>Now in drouting, I gave address to another SIP server on local network. When I tested it, it was a failure. I go through console output. I found out it successfully modified ruri and following message showed.</div><div>

<br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

DBG:drouting:do_routing: setting gw [0] as ruri &quot;sip:&lt;new number&gt;@&lt;ip address&gt;&quot;</blockquote><div><br></div><div>Then next it gave me following message:</div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

DBG:registrat:lookup: &#39;&lt;new number&gt;&#39; Not found in usrloc</blockquote><div><br></div><div>And hence request was not forwarded to other sip server. I also rechecked it through wireshark but no packet was forwarded to other sip server ip address. </div>

<div><br></div><div>What I believe is that OpenSIPS is checking its own registrar no metter even if ip address of other server is already given. Can someone please tell me how to bypass this registrar check and just forward the request to other server simply.<br>

<br>Regards,<br><br>Saeed Akhtar<br><br>
</div></div>