The answer here is that FS_PATH does support sending a call through another FS box.

For example - if a user is registered on FS2 and the call arrives on FS1 - you can use FS_PATH to route the call through FS2.

sophia/internal/7625558722@64.76.25.998;fs_path=sip:64.76.25.999

No changes to the dialplan / scripting is required on FS2.

Note that randomly trying to route with fs_path through any FS box (use it a pure proxy) will not work.

Also using user/7625558722@64.76.25.998;fs_path=sip:64.76.25.999 will also not work correctly.


On Tue, May 4, 2010 at 10:24 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
Henry - I don't know - but I will be trying this this afternoon so will let you know.

Now if I could only find the FS box that a phone is registered with - I would be golden!



On Tue, May 4, 2010 at 9:50 AM, Henry Huang <red.rain.seven@gmail.com> wrote:
Phillip:

Thanks. Does the proxy need to be configured in some way to be used as a path? For instance, if the proxy being used as path is another FS. Does the FS need to do anything special in the dialplan ? or it's a sofia level thing?

Henry


On Tue, May 4, 2010 at 9:15 PM, Phillip Jones <pjintheusa@gmail.com> wrote:
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@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@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@freeswitch.org> wrote:
We already have path support in FreeSWITCH.

/b


On May 4, 2010, at 1:20 AM, Martin Dvorak <martin@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org