I&#39;ve looked over the RFC and the module and while they describe a slightly different scenario (with a load balancer and separate registrars), it seems like it should work.<br><br>I&#39;ve added the required parameters to the config:<br>
<br>modparam(&quot;registrar&quot;, &quot;use_path&quot;, 1)<br>modparam(&quot;registrar&quot;, &quot;path_mode&quot;, 0)<br>modparam(&quot;registrar&quot;, &quot;path_use_received&quot;, 1)<br>modparam(&quot;path&quot;, &quot;use_received&quot;, 1)<br>
<br>Then, in my auth section, I store the path:<br><br>if (is_method(&quot;REGISTER&quot;)) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; add_path();<br><br>This does not seem to do anything however, the proxy still forwards directly to the client instead of sending it to the proper outbound proxy. I looked in the location table and I see path is set to NULL so unless this is stored in some other place, the proxy would not know where to send it anyway.<br>
<br>Have you used this? Am I doing something wrong? I could not find on this list or anywhere a sample openser config that uses it...<br><br>Thanks.<br><br><div class="gmail_quote">On Sat, Mar 15, 2008 at 4:12 PM, Iñaki Baz Castillo &lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Domingo, 16 de Marzo de 2008, Adrian A escribió:<br>
<div class="Ih2E3d">&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m setting up multiple OpenSER proxies in different locations to server a<br>
&gt; SIP domain. The proxies use a shared location database so they always know<br>
&gt; where to send requests to the client when an incoming call hits either one.<br>
&gt; The clients have the outbound proxy set to whichever one is closest to<br>
&gt; them.<br>
<br>
&gt; The problem is that because the clients are NAT they do not receive<br>
&gt; the request if the proxy IP that sends it is not the same as the one they<br>
&gt; have set as the outbound proxy. The NAT will reject the request because it<br>
&gt; does not arrive from the same IP that the connection was established to.<br>
<br>
</div>There is a RFC to solve your problem and a module for OpenSer. It&#39;s called<br>
PATH:<br>
<br>
- SIP Extension Header Field for Registering Non-Adjacent Contacts :<br>
 &nbsp; <a href="http://tools.ietf.org/html/rfc3327" target="_blank">http://tools.ietf.org/html/rfc3327</a><br>
- <a href="http://www.openser.org/docs/modules/1.3.x/path.html" target="_blank">http://www.openser.org/docs/modules/1.3.x/path.html</a><br>
<br>
Also you need to set some options in &quot;registrar&quot; module.<br>
<br>
<br>
Regards.<br>
<font color="#888888"><br>
<br>
--<br>
Iñaki Baz Castillo<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote></div><br>