[Freeswitch-users] FS as a REDIRECT server

Steven Ayre steveayre at gmail.com
Wed Jun 5 08:42:33 MSD 2013


Note however that not all clients will follow 302 redirects. FreeSWITCH
won't be default for example.

The reason being it makes it easy to redirect a user along a premium rate
route when they think they're on a cheap/free one.

A SIP proxy or FS with bypass_media would work transparently, media would
still go directly between the targetted FS server and the client so you get
minimum lag. The SIP signalling is a much smaller amount of messages where
lag doesn't matter as much that its going via that proxy node. The load on
the proxy nodes is minimal since its only forwarding signalling not
handling any media.

Combine that with DNS SRV and you can have multiple sites providing the
proxy nodes to spread load, and add them as needed. Or use load balancers.

-Steve



On Wednesday, June 5, 2013, Daniel Ivanov wrote:

> Yes, this might work. You can see the usage here:
> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_redirect
> .
> It only looks elegant at first glance though. I don't see fs using or
> allowing redirect on REGISTER( correct me pls ) which means you would still
> be using a single register server.( i can think that you can leave
> auth-calls to false and have it redirect on register).
> Also device support is mostly sketchy on handling redirects and mainly the
> 300 which once you start building this will find very useful for failover.
> Resisting a temptation to solve your georouting with one shot is a hard
> deal. If you have a homogenous base of client devices and make sure they
> work, i would give it a go.
> Otherwise go with dnssrv records and rtp proxies.
> On Jun 4, 2013 12:37 PM, "adahary" <adahary at gmail.com <javascript:_e({},
> 'cvml', 'adahary at gmail.com');>> wrote:
>
>> I'm planning to have several FS in few regions and would like that each
>> client will be able to register with the nearest FS in his current region
>> location - regardless of the client's @domain (using multiple clients
>> doamins).
>>
>> I would like to use the following registration procedure:
>> 1. A client is turned ON (new location) and sends REGISTER request to the
>> REDIRECT server at 'redirect.fs.com' (all clients will be provisioned
>> with
>> the same registrar url);
>> 2. The REDIRECT server looks for the nearest FS server and sends
>> 302-redirect to the client
>> 3. The client receives the 302 and re-registers to the nearest FS server.
>> 4. The targeted FS update the LOCATION DB with the current client FS
>> server
>> location for incoming call routing .
>>
>> Is it possible to setup a FS as a REDIRECT server? How?
>>
>> *if there is a better approch then please advise
>>
>> Regards
>>
>> Assaf
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://freeswitch-users.2379917.n2.nabble.com/FS-as-a-REDIRECT-server-tp7591389.html
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <javascript:_e({}, 'cvml',
>> 'consulting at freeswitch.org');>
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <javascript:_e({}, 'cvml',
>> '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/20130605/a6cf1b4c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list