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