[Freeswitch-users] Fs_path
Michael Jerris
mike at jerris.com
Thu Jan 5 17:45:30 MSK 2017
only partially correct here. The main place fs_path is inserted is based
on the nat detection settings you configure in freeswitch itself. When we
get a registration that's detected behind nat we write down the ip/port the
request came from in fs_path before we store the registration, the. when
calling that ref we will send the invite to that ip/port
On Thu, Jan 5, 2017 at 7:16 AM Vladyslav Zakhozhai <v.zakhozhai at gmail.com>
wrote:
> Hi David,
>
> there is no magick with fs_path. fs_path contains value from Path header
> of a request which comes from sip proxy, i.e. kamailio. It means that
> replies and SIP requests from freeswitch to UAC will traverse SIP proxy
> which should be on the path.
>
> For example,
> Request: UAC ==> SIP proxy/load balancer ==> freeswitch box
> Reply: freeswitch box ==> SIP proxy/load balancer ==> UAC
> Request (INVITE): freeswitch box ==> SIP proxy/load balancer ==> UAC
>
> Without path specified freeswitch will send direct messages to UAC:
>
> Request: UAC ==> SIP proxy ==> freeswitch box
> Reply: freeswitch box ==> UAC
>
> This behaviour may be undesirable.
>
> So SIP proxy inserts itself to Path header and freeswitch recognizes it
> and add fs_path tag to contact.
>
> 2017-01-05 6:14 GMT+02:00 David Villasmil <david.villasmil.work at gmail.com>
> :
>
> Hello guys,
>
> I've been wondering where the "fs_path" parameter comes from? How is it
> built, etc? I've been seeing cases where when the client has no "fs_path",
> fs can't find the user and returns temp unavailable...
>
> Thanks all,
>
> David
>
>
>
> _________________________________________________________________________
>
>
> Professional FreeSWITCH Consulting Services:
>
>
> consulting at freeswitch.org
>
>
> http://www.freeswitchsolutions.com
>
>
>
>
>
> Official FreeSWITCH Sites
>
>
> http://www.freeswitch.org
>
>
> http://confluence.freeswitch.org
>
>
> http://www.cluecon.com
>
>
>
>
>
> 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
>
>
>
>
> --
> С уважением,
> Владислав Захожай
>
>
>
>
>
> _________________________________________________________________________
>
> Professional FreeSWITCH Consulting Services:
>
> consulting at freeswitch.org
>
> http://www.freeswitchsolutions.com
>
>
>
> Official FreeSWITCH Sites
>
> http://www.freeswitch.org
>
> http://confluence.freeswitch.org
>
> http://www.cluecon.com
>
>
>
> 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/20170105/6ec45a8f/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list