[asterisk-bugs] [Asterisk 0014560]: [patch] Ability to use DUNDi channel variables when using dynamic weights
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 13 13:52:08 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14560
======================================================================
Reported By: jvandal
Assigned To: lmadsen
======================================================================
Project: Asterisk
Issue ID: 14560
Category: PBX/pbx_dundi
Reproducibility: N/A
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 178769
Request Review:
======================================================================
Date Submitted: 2009-02-26 10:38 CST
Last Modified: 2010-01-13 13:52 CST
======================================================================
Summary: [patch] Ability to use DUNDi channel variables when
using dynamic weights
Description:
This patch add the ability to use DUNDi channel variables like ${NUMBER}
and ${IPADDR} when using dynamic weights for responses to DUNDi queries.
By example, you can use the SHELL() function to call an external script to
determine what the weight in response should be.
e164 => dundi-e164-via-pstn,${SHELL(/tmp/test-dundi
${NUMBER}")},IAX2,dundi:...
======================================================================
----------------------------------------------------------------------
(0116633) lmadsen (administrator) - 2010-01-13 13:52
https://issues.asterisk.org/view.php?id=14560#c116633
----------------------------------------------------------------------
Hmmm, I'm not sure if I have the dundi.conf file. Looks like I wasn't using
the SHELL() function -- is that necessary? I think I was just trying to
pass back the ${NUMBER} in the weight if this is the same file I was using
previously.
Issue History
Date Modified Username Field Change
======================================================================
2010-01-13 13:52 lmadsen Note Added: 0116633
======================================================================
More information about the asterisk-bugs
mailing list