<div dir="ltr">hi gior,<br><br>If i understand correctly your setup would be like below.<br><br> A is the dundi serer<br>B is one pbx<br>C is one pbx<br><br>B and C dundi.conf contain the entity detials of A.<br><br>Either for C or B we can place calls to the extensions registered on the other server.<br>
<br>When C extension make call to B extension call go through A and reach the B.<br><br>If you can provide the details of dundi.conf and the extension.conf it would be very help full.<br>to dig into the issue.<br>could you able to do the dundi lookup ..?<br>
<br>regards<br><br><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 3:36 PM, Giorgio Incantalupo <span dir="ltr"><<a href="mailto:gincantalupo@fgasoftware.com">gincantalupo@fgasoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi tecnocrat,<br>
<br>
I 'm trying to setup a Dundi system like yours (one lookup server and 2<br>
pbx servers). I searched on internet for some docs but found a lot of<br>
stuff explaining only a part of the problem and no good example at all<br>
(there's a Richardson doc in internet which can help to start).<br>
I tried to do it myself so I generated the two keys (pri and pub) for<br>
each server with their own hostname then I copied:<br>
- .121 keys to the other two servers (.137 and .204)<br>
- .137 keys to .121<br>
- .204 keys to .121<br>
<br>
Let me know how if it works.<br>
<br>
Giorgio Incantalupo<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
technocrat voip wrote:<br>
> Hello All,<br>
><br>
> Iam trying to achive a simple load balancing with dundi.<br>
><br>
> Here i have three asterisk boxes like below.<br>
><br>
><br>
> *.*.*.121 which is the dundi server<br>
><br>
> *.*.*.137 "A" Peer which has the 1000 phone registerd to it<br>
><br>
> *.*.*.204 "B" Peer which has the 200 phone registered to it.<br>
><br>
> The expected behavior of my setup is once i dial from 1000 phone it<br>
> has to goto "B" peer using the ".121" dundi server.<br>
><br>
> Iam getting confused with the public key / private key stuff here.<br>
><br>
> Iam using the "astgenkey -n " command to generate them .<br>
><br>
> Can any body help me by explaining , what keys i have to generate on<br>
> each server and which keys i need to copy to which server .<br>
><br>
> regards<br>
><br>
><br>
><br>
> All the conf file stuff is is like below<br>
><br>
> *.*.*.137<br>
><br>
> iax.conf<br>
><br>
> [priv]<br>
> type=friend<br>
> dbsecret=dundi/secret<br>
> context=incomingdundi<br>
><br>
><br>
> dundi.conf<br>
><br>
> [mappings]<br>
> priv =><br>
> sipregistration,0,IAX2,priv:${SECRET}@*.*.*.137/${NUMBER},nopartial<br>
><br>
><br>
> [00:0F:E2:76:4B:33]<br>
> model = symmetric<br>
> host = *.*.*.21<br>
> inkey = dundincomingseven<br>
> outkey = dundiseven<br>
> include = priv<br>
> permit = priv<br>
> qualify = yes<br>
> order = primary<br>
><br>
><br>
> *.*.*.204<br>
><br>
> iax.conf<br>
><br>
> [priv]<br>
> type=friend<br>
> dbsecret=dundi/secret<br>
> context=incomingdundi<br>
><br>
> dundi.conf<br>
><br>
> [mappings]<br>
> priv =><br>
> sipregistration,0,IAX2,priv:${SECRET}@*.*.*.204/${NUMBER},nopartial<br>
> ;<br>
><br>
> [00:0F:E2:76:4B:33]<br>
> model = symmetric<br>
> host = *.*.*.21<br>
> inkey = dundiincomingfour<br>
> outkey = dundifour<br>
> include = priv<br>
> permit = priv<br>
> qualify = yes<br>
> order = primary<br>
><br>
> *.*.*.21<br>
><br>
> iax.conf<br>
> [priv]<br>
> type=user<br>
> context=local-custom<br>
> disallow=all<br>
> allow=ulaw<br>
> allow=alaw<br>
> allow=gsm<br>
><br>
><br>
> dundi.conf<br>
><br>
><br>
> [mappings]<br>
> priv => dundi-priv-localcustom,0,IAX2,priv:password@*.*.*.21/${NUMBER}<br>
><br>
> [00:11:0A:34:29:57]<br>
> model = symmetric<br>
> host = *.*.*.137<br>
> inkey = dundi<br>
> outkey = dundi<br>
> include = priv<br>
> permit = priv<br>
> qualify = yes<br>
> order = primary<br>
><br>
> [00:11:0A:34:29:43]<br>
> model = symmetric<br>
> host = *.*.*.204<br>
> inkey = dundi<br>
> outkey = dundi<br>
> include = priv<br>
> permit = priv<br>
> qualify = yes<br>
> order = primary<br>
> .<br>
><br>
><br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
--<br>
<br>
_________________________________________________<br>
Giorgio Incantalupo, mailto:<a href="mailto:gincantalupo@fgasoftware.com">gincantalupo@fgasoftware.com</a><br>
FG&A srl - <a href="http://www.fgasoftware.com" target="_blank">http://www.fgasoftware.com</a> -<br>
Voice@Work - The Agile PBX <a href="http://www.voiceatwork.eu" target="_blank">http://www.voiceatwork.eu</a><br>
Tel: 02997663.14, Fax: 0291390172<br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div>