Hi tecnocrat, I 'm trying to setup a Dundi system like yours (one lookup server and 2 pbx servers). I searched on internet for some docs but found a lot of stuff explaining only a part of the problem and no good example at all (there's a Richardson doc in internet which can help to start). I tried to do it myself so I generated the two keys (pri and pub) for each server with their own hostname then I copied: - .121 keys to the other two servers (.137 and .204) - .137 keys to .121 - .204 keys to .121
Let me know how if it works. Giorgio Incantalupo technocrat voip wrote: > Hello All, > > Iam trying to achive a simple load balancing with dundi. > > Here i have three asterisk boxes like below. > > > *.*.*.121 which is the dundi server > > *.*.*.137 "A" Peer which has the 1000 phone registerd to it > > *.*.*.204 "B" Peer which has the 200 phone registered to it. > > The expected behavior of my setup is once i dial from 1000 phone it > has to goto "B" peer using the ".121" dundi server. > > Iam getting confused with the public key / private key stuff here. > > Iam using the "astgenkey -n " command to generate them . > > Can any body help me by explaining , what keys i have to generate on > each server and which keys i need to copy to which server . > > regards > > > > All the conf file stuff is is like below > > *.*.*.137 > > iax.conf > > [priv] > type=friend > dbsecret=dundi/secret > context=incomingdundi > > > dundi.conf > > [mappings] > priv => > sipregistration,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial > > > [00:0F:E2:76:4B:33] > model = symmetric > host = *.*.*.21 > inkey = dundincomingseven > outkey = dundiseven > include = priv > permit = priv > qualify = yes > order = primary > > > *.*.*.204 > > iax.conf > > [priv] > type=friend > dbsecret=dundi/secret > context=incomingdundi > > dundi.conf > > [mappings] > priv => > sipregistration,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial > ; > > [00:0F:E2:76:4B:33] > model = symmetric > host = *.*.*.21 > inkey = dundiincomingfour > outkey = dundifour > include = priv > permit = priv > qualify = yes > order = primary > > *.*.*.21 > > iax.conf > [priv] > type=user > context=local-custom > disallow=all > allow=ulaw > allow=alaw > allow=gsm > > > dundi.conf > > > [mappings] > priv => dundi-priv-localcustom,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER} > > [00:11:0A:34:29:57] > model = symmetric > host = *.*.*.137 > inkey = dundi > outkey = dundi > include = priv > permit = priv > qualify = yes > order = primary > > [00:11:0A:34:29:43] > model = symmetric > host = *.*.*.204 > inkey = dundi > outkey = dundi > include = priv > permit = priv > qualify = yes > order = primary > . > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _________________________________________________ Giorgio Incantalupo, mailto:[EMAIL PROTECTED] FG&A srl - http://www.fgasoftware.com - [EMAIL PROTECTED] - The Agile PBX http://www.voiceatwork.eu Tel: 02997663.14, Fax: 0291390172 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users