[Asterisk-Users] DUNDi Docs

Douglas Garstang dgarstang at oneeighty.com
Wed Jun 14 10:05:43 MST 2006


> -----Original Message-----
> From: Aaron Daniel [mailto:amdtech at shsu.edu]
> Sent: Wednesday, June 14, 2006 9:34 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] DUNDi Docs
> 
> 
> On Wed, 14 Jun 2006, Douglas Garstang wrote:
> > The examples in dundi.conf are pretty much useless.
> > I still can't figure out why Digium can't write some good 
> documentation. It's their 'baby' after all. This really 
> drives me nuts and pisses people off in general. I've been 
> dicking around with DUNDi for over 6 months and still can't 
> figure it out past the most basic application.
> 
> What are you trying to do?

I am trying to implement distributed ACD queues. A user dials the main queue number 2944000. The primary Asterisk server for that user has 2944000 in it's dialplan. It does a DUNDi lookup of a number, oe_main (it has to be different to 2944000 of course), to determine what the primary asterisk box is for this number, oemain, which is really the ACD Queue. 

I therefore need to have a DUNDi context that maps to three dialplan contexts. The context are slightly different on each Asterisk server, so that the queue has a primary, secondary, and tertiary server.

Like this...:

PBX1:
[pbx_pri]
exten => oe_main,1,Dial(SIP/2944000,20,tr)

[pbx_sec]

[pbx_ter]

PBX2:
[pbx_pri]

[pbx_sec]
exten => oe_main,1,Dial(SIP/2944000,20,tr)

[pbx_ter]

PBX3:
[pbx_pri]

[pbx_sec]

[pbx_ter]
exten => oe_main,1,Dial(SIP/2944000,20,tr)

The queue accessed by oe_main is primary on pbx, secondary on pbx2, and tertiary on pbx3.

Doug.





More information about the asterisk-users mailing list