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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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