Have U tried to use DUNDI for that purpose ? It's the best solution U could find. http://www.voip-info.org/wiki-Asterisk+DUNDi+Call+Routing
On Mon, 2005-05-09 at 20:48, Vikram Rangnekar wrote: > +++ Kanuri, Seshu (Company IT) [09/05/05 11:25 -0400]: > > Vikram, > > > > Instead of trying to be over-ambitious and try to connect 20 Asterisk > > boxes together, why don't you try top connect three (3) of them together > > first. > > > > There may lie a plausible solution for you. If this is done, you may go > > and string four of them together and so on and so forth. > > > > Take the first step now. > > > > Seshu Kanuri > > > Hi Seshu, > > Three boxes are no problem I already have that running infact 6 boxes to be > exact. But now I have to do 20 plus boxes and they have to be scalable by > that I mean if I want to say 10 more boxes I should be able to do that > easily. > > For three boxes I just have IAX trunks between them and have a dialplan > extension for each > > exten => _1.,1,Dial(IAX2/${EXTEN:[EMAIL PROTECTED]) > exten => _2.,1,Dial(IAX2/${EXTEN:[EMAIL PROTECTED]) > exten => _3.,1,Dial(IAX2/${EXTEN:[EMAIL PROTECTED]) > > I can always use the 'switch' statement to share dialplans too just that the > phones will try to directly send their RTP streams to each other which will > not take advantage of IAX trunking. And if any server is slow then the whole > extension mactching will slow down horribly. > > The solution I'm looking for is that say there are 20 servers each can have > their own extensions and whenever a call is placed to an extension thats not > in the local dialplan the asterisk box should sent that call through an IAX > trunk to the asterisk server which contains that extension. > > What I understand is that we would need a central database (like enum or > soemthing) to hold all the extensions and the server ip on which that > extension exists. Now when a call is placed that list is lookedup and an IAX > trunk is opened to that server and the call is sent to it. Also if another > call is placed to the same server it uses the same IAX trunk to pass the > second call through too. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users