Allow built in variables to be used with dynamic weights.
authorLeif Madsen <leif@leifmadsen.com>
Mon, 7 Nov 2011 21:58:14 +0000 (21:58 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 7 Nov 2011 21:58:14 +0000 (21:58 +0000)
commit02f886b5a27d8921d1b4b741520e56c7037b0c8a
tree07aa85db83aebead91a8481a359cf6de672735fa
parent2b6ebcb9e9822186afdcfcac3e90b259cbacc20f
Allow built in variables to be used with dynamic weights.

You can now use the built in variables , , and
within a dynamic weight. For example, this could be useful when you want
to pass requested lookup number to the SHELL() function which could be
used to execute a script to dynamically set the weight of the result.

(Closes issue ASTERISK-13657)
Reported by: Joel Vandal
Tested by: Leif Madsen, Russell Bryant
Patches:
     asterisk-1.6-dundi-varhead.patch uploaded by Joel Vandal (License #5374)

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