[Freeswitch-users] Getting the IP (domain) of the FS box a phone registered with
Phillip Jones
pjintheusa at gmail.com
Tue May 4 06:15:22 PDT 2010
http://wiki.freeswitch.org/wiki/Mod_sofia#Specifying_SIP_Proxy_With_fs_path
On Tue, May 4, 2010 at 9:04 AM, Henry Huang <red.rain.seven at gmail.com>wrote:
> Brian:
>
> Where can I find information regarding FreeSWITCH path?
>
> Thanks,
>
> Henry
>
>
> On Tue, May 4, 2010 at 8:38 PM, Phillip Jones <pjintheusa at gmail.com>wrote:
>
>> kokoska,
>>
>> thanks for that. I am considering setting up opensips to deal with mobile
>> phone connections (as well as carrier connections) but it just introduces a
>> single point of failure. I am trying to ing to avoid this.
>>
>>
>> At this point I am wondering whether there is a simple way of finding out
>> which FS box a client is registered with. (without doing a SQL query into
>> the shared DB - although that would be ok too)
>>
>> I am wondering then whether I can use FS_PATH to route through that box
>> (domain)
>>
>> Thanks!
>>
>> Pj
>>
>>
>>
>> On Tue, May 4, 2010 at 2:51 AM, Brian West <brian at freeswitch.org> wrote:
>>
>>> We already have path support in FreeSWITCH.
>>>
>>> /b
>>>
>>>
>>> On May 4, 2010, at 1:20 AM, Martin Dvorak <martin at epbx.cz> wrote:
>>>
>>> > Dne 4.5.2010 2:53, Phillip Jones napsal(a):
>>> >> Hi there,
>>> >>
>>> >> I have a cluster of FS boxes. OpenSIPS sits in front of the boxes to
>>> >> load balance.
>>> >>
>>> >> The internal profile is sharing the same DB via ODBC.
>>> >>
>>> >> A mobile phone SIP client is registering with FS1, and a call for that
>>> >> SIP client arrives on FS2. The mobile phone will not accept
>>> unsolicited
>>> >> IP traffic, so FS1 must send the invite.
>>> >>
>>> >> From FS2, how do I find the IP (domain) the mobile phone is registered
>>> >> to? Without iterating through all my domains with sofia_contact? Or
>>> >> doing a look up in the DB.
>>> >>
>>> >>
>>> >> Is there a simpler way?
>>> >>
>>> >
>>> > I think yes :-)
>>> >
>>> > If your phones registering "through" OpenSIPS (OpenSIPS just forwards
>>> > REGISTERs to FreeSWITCH boxes), they should accept traffic from
>>> OpenSIPS
>>> > IP address.
>>> > And than you could send calls back to your phones through OpenSIPS too.
>>> > "Path" support is needed on FreeSWITCH side, but I hope it works (but I
>>> > tested it year ago or more).
>>> >
>>> > Beste regards,
>>> >
>>> > kokoska.rokoska
>>> >
>>> > _______________________________________________
>>> > 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
>>
>>
>
>
> --
> Henry Huang
> UniC Solution - Communication Unified
> VoIP & Open Source software Consultant
>
> _______________________________________________
> 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/20100504/8782ed66/attachment-0001.html
More information about the FreeSWITCH-users
mailing list