[Freeswitch-users] Enterprise originate not honouring fs_path in 302 redirect

Brian West brian at freeswitch.org
Wed Jul 22 00:34:29 MSD 2015


Its not designed to do that, and we never will.  Its an exploitable attack
vector if we did.

On Tue, Jul 21, 2015 at 8:55 AM, Asgaroth <00asgaroth00 at gmail.com> wrote:

> Hi All,
>
> First of all, I'm a relatively new user of FreeSWITCH so, please bear
> with me if I'm asking a silly question.
>
> I have users registering through multiple kamailio
> loadbalancer/registrars, so when we build a bridge command to multiple
> local users we send the initial invite(s) to the kamailio lookup server
> which then responds with a 302 redirect message specifying the contact
> details of the user.
>
> What I am trying to do is get FreeSWITCH to call a particular user via a
> particular loadbalancer based on information recieved in the 302
> redirect. From what I have read in the archives, we can achieve this
> with the fs_path directive on the bridge command. However, how/where do
> I specify the fs_path in the contact header in the 302 redirect in such
> a manner that FreeSWITCH will honour the fs_path directive.
>
> I originally tried setting a fs_path parameter in the contact of the 302
> redirect message, something like the following:
>
> Contact:
> <sip:subscriber at 1.2.3.4:5678
> ;rinstance=9af71926212a25cf;transport=UDP;received=sip:5.6.7.8:9012
> ;fs_path=sip:1.2.3.5>
>
> However, FreeSWITCH ignores the fs_path directive here and attempts to
> send this call directly to 1.2.3.4, instead of sending it via 1.2.3.5.
>
> Is this at all possible using the enterprise originate (:_: seperator)
> feature of the bridge command?
>
> We're attempting this with FreeSWITCH v 1.4.20 ("official" rpm packages
> from the repo)
>
> Any info/tips/suggestions/beatings much appreciate :)
>
> Thanks
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150721/66bb8580/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list