[Freeswitch-users] Getting the IP (domain) of the FS box a phone registered with
Phillip Jones
pjintheusa at gmail.com
Tue May 4 05:38:02 PDT 2010
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100504/a7407db5/attachment.html
More information about the FreeSWITCH-users
mailing list