[Freeswitch-users] FreeSWITCH with external registrar

Sam Govind govoiper at gmail.com
Fri Sep 16 12:49:09 MSD 2011


I'm not very very good at FreeSwitch ATM. I hope for option 1 some other
expert reply.

As far as second option is concerned, this seems good but I think it'll
complicate the code on first layer SBC/proxy.

What I'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.
REGISTER requests still go to REGISTRAR, I don't think sharing the same DB
would overload front Proxy.


On Fri, Sep 16, 2011 at 12:12 PM, envelopes envelopes
<sunwood360 at gmail.com>wrote:

> 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?
>
> option 1 : build a module to query REGISTRAR's location service that
> provides special API.
> option 2 : forward INVITE to REGISTRAR , which rewrites SIP headers and
> routes request back to FS.
>
> please advice!
>
>
> On Thu, Sep 15, 2011 at 10:56 PM, Sam Govind <govoiper at gmail.com> wrote:
>
>> 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 !
>> I don't think FreeSwitch can't handle forwarding of Registrations (is not
>> a SIP proxy)
>>
>>
>> On Fri, Sep 16, 2011 at 1:56 AM, envelopes envelopes <
>> sunwood360 at gmail.com> wrote:
>>
>>> 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.
>>> On Sep 10, 2011 5:28 PM, "Gabriel Gunderson" <gabe at gundy.org> wrote:
>>> > On Fri, Sep 9, 2011 at 3:19 PM, envelopes envelopes
>>> > <sunwood360 at gmail.com> wrote:
>>> >> Is there any config examples of freeswitch working with external
>>> registar?
>>> >
>>> > Try this:
>>> >
>>> > http://wiki.freeswitch.org/wiki/SIP_Provider_Examples
>>> >
>>> > Gabe
>>> >
>>> >
>>> > FreeSWITCH-users mailing list
>>> > FreeSWITCH-users at lists.freeswitch.org
>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> > UNSUBSCRIBE:
>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> > http://www.freeswitch.org
>>>
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110916/7dc52c42/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list