[Dundi] DUNDi configuration & Realtime
Alex Robar
alex.robar at gmail.com
Thu May 17 14:45:37 MST 2007
Hi Anthony,
Yes, you can use DUNDi with realtime, but not in the way you are describing.
Take a look here:
http://txaug.net/storage/users/3/3/images/17/Using%20DUNDi%20with%20a%20Cluster%20of%20Asterisk%20Servers.pdf
That guide shows how to use regexten and regcontext to setup a dynamic DUNDi
context. Using these essentially creates a "virtual" context that
automatically advertises the peers that are currently registered to your
server. So if you're reading all your peers from a MySQL database, you only
need to update that DB when the peers change, and nothing to do with DUNDi.
As soon as a peer registers itself to your server, Asterisk adds that peer
to the context specified in regcontext. When the peer is no longer
registered, it is no longer part of the context.
Cheers,
AR
On 5/17/07, Anthony Messina <amessina at messinet.com> wrote:
>
> hello, i am new to this list and new to dundi.
>
> first, thank you for dundi. it's pretty cool :)
>
> i was wondering if either dundi.conf or (preferably) dundi peer
> definitions can be stored in mysql realtime?
>
> if so, do you have any mysql table creation examples.
>
> thank you in advance. -anthony
>
> --
> Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
> 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
>
>
> _______________________________________________
> Dundi mailing list
> Dundi at lists.digium.com
> http://lists.digium.com/mailman/listinfo/dundi
>
>
>
--
Alex Robar
alex.robar at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/dundi/attachments/20070517/f84df749/attachment.htm
More information about the Dundi
mailing list