[asterisk-bugs] [Asterisk 0014560]: [patch] Ability to use DUNDi channel variables when using dynamic weights

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 26 20:42:14 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14560 
====================================================================== 
Reported By:                jvandal
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14560
Category:                   PBX/pbx_dundi
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
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:              2009-02-26 20:42 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:...

====================================================================== 

---------------------------------------------------------------------- 
 (0100872) jvandal (reporter) - 2009-02-26 20:42
 http://bugs.digium.com/view.php?id=14560#c100872 
---------------------------------------------------------------------- 
The dynamic weights functionality already exist but doesn't parse DUNDi
channel variable so yes I just add the ability to use built in variables.

By example, if I do a dundi lookup of 200 at e164, it can send the ${NUMBER}
(200) to the script.

Variables that can be used are NUMBER, EID, SECRET and IPADDR 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-26 20:42 jvandal        Note Added: 0100872                          
======================================================================




More information about the asterisk-bugs mailing list