I&#39;m not very very good at FreeSwitch ATM. I hope for option 1 some other expert reply.<div><br><div>As far as second option is concerned, this seems good but I think it&#39;ll complicate the code on first layer SBC/proxy. </div>
<div><br></div><div>What I&#39;m thinking is using a single DB for REGISTRAR and Front layer proxy, whenever an INVITE comes in just check the DB and if usrloc module returns info corresponding to the callee then use the headers and forward call to FS to bridge.</div>
<div>REGISTER requests still go to REGISTRAR, I don&#39;t think sharing the same DB would overload front Proxy.</div><div><br><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 12:12 PM, envelopes envelopes <span dir="ltr">&lt;<a href="mailto:sunwood360@gmail.com">sunwood360@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sip clients are registered to a 3rd party registrar via OpenSIPS and FreeSwitch has no knowledge of this. How does FreeSWITCH get the contact address of sip client and determinate the client is currently active registered If FreeSwitch receives INVITE?  I am wondering what is the proper way to handle this in FS?<br>

<br>option 1 : build a module to query REGISTRAR&#39;s location service that provides special API.<br>option 2 : forward INVITE to REGISTRAR , which rewrites SIP headers and routes request back to FS.<br><br>please advice!<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Thu, Sep 15, 2011 at 10:56 PM, Sam Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I guess you are looking for a SIP Proxy acting as SBC. This could be OpenSIPS forwarding REGISTER attempt to REGISTRAR server while INVITEs are handled by FS !<div>I don&#39;t think FreeSwitch can&#39;t handle forwarding of Registrations (is not a SIP proxy)<div>

<div></div><div><br>
<br><div class="gmail_quote">On Fri, Sep 16, 2011 at 1:56 AM, envelopes envelopes <span dir="ltr">&lt;<a href="mailto:sunwood360@gmail.com" target="_blank">sunwood360@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<p>Most of them are cases where FS access external as gateways.  What I am looking for is usage case that extensions are registered to 3rd party registrar, and FS is integrated with the registrar.</p><div><div></div><div>



<div class="gmail_quote">On Sep 10, 2011 5:28 PM, &quot;Gabriel Gunderson&quot; &lt;<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>&gt; wrote:<br type="attribution">&gt; On Fri, Sep 9, 2011 at 3:19 PM, envelopes envelopes<br>



&gt; &lt;<a href="mailto:sunwood360@gmail.com" target="_blank">sunwood360@gmail.com</a>&gt; wrote:<br>&gt;&gt; Is there any config examples of freeswitch working with external registar?<br>&gt; <br>&gt; Try this:<br>&gt; <br>


&gt; <a href="http://wiki.freeswitch.org/wiki/SIP_Provider_Examples" target="_blank">http://wiki.freeswitch.org/wiki/SIP_Provider_Examples</a><br>
&gt; <br>&gt; Gabe<br>&gt; <br>&gt; <br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>



&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>



</div>
</div></div><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
<br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>