Add the ability to dynamically specify weights for responses to DUNDi queries.
authorRussell Bryant <russell@russellbryant.com>
Wed, 7 Mar 2007 22:30:52 +0000 (22:30 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 7 Mar 2007 22:30:52 +0000 (22:30 +0000)
commit32e03f9e4a21be12d2703dad8101948fe3510e08
tree8d4088c771d6cffda4f94c22688bf0e952b739a3
parent21b9973d212a13f8be5f418af9e9c6c4b8f73627
Add the ability to dynamically specify weights for responses to DUNDi queries.
This can be done using a global variable or a dialplan function.  Using the
SHELL() function will allow you to use an external script to determine what the
weight in the response should be.  This can be very useful in load balancing
applications.
(inspired by discussions with blitzrage and jsmith in #asterisk-bugs)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
configs/dundi.conf.sample
pbx/pbx_dundi.c