[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 17:40:32 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:                     new
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 17:40 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:...

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

---------------------------------------------------------------------- 
 (0100862) lmadsen (administrator) - 2009-02-26 17:40
 http://bugs.digium.com/view.php?id=14560#c100862 
---------------------------------------------------------------------- 
Just to verify, this isn't duplicating the functionality of being able to
use dialplan functions in the dynamic weights (because that already exists
I'm pretty sure).

You're just adding the ability to use the built in variables within the
dynamic weight section, like you would have access to in the mapping
response?

Thanks!
Leif. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-26 17:40 lmadsen        Note Added: 0100862                          
======================================================================




More information about the asterisk-bugs mailing list