tim panton wrote: > > On 19 Nov 2005, at 03:07, Matt Riddell wrote: > >> Marc Storck wrote: >> >>> Hello, >>> >>> I would like to know if there is a way in IAX2 and SIP to tell a client >>> to register at a different server. >>> >>> For example: >>> >>> Client tries to register at server B but server B answers with some >>> sort >>> of redirect to tell the client to register at server C. The client then >>> tries to register with Server C. >> >> >> No, but wouldn't it be great! >> > > Ok, let's persue this a bit more. How would we want it to work? > (I might be interested in implementing it) > > At the IAX level it looks pretty easy, just add an > APPARENT ADDR IE to the REGREJ packet (it is already in REGACK). > The Address would be that of the 'advisory reg server' that should be > tried next. > The cause code IE could be "Resource unavailable, unspecified". > > How would the asterisk server decide that now was the moment > to send redirects ?
You could do it based on the new max load/max calls values > What would the config look like? you could just specify a regrej dest for each acct and allow load etc to control it. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
