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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 5 10:39:54 CDT 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-05-05 10:39 CDT
====================================================================== 
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:...

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

---------------------------------------------------------------------- 
 (0104215) jvandal (reporter) - 2009-05-05 10:39
 http://bugs.digium.com/view.php?id=14560#c104215 
---------------------------------------------------------------------- 
FYI, I'm using this feature since few month without any problem and found
it very useful to do a 'per destination' weight.

By example, I have "Hotdesk" extension shared on multiple server and if
the hotdesk is logged or not, I dynamically change the weight.

Not doable without this patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-05 10:39 jvandal        Note Added: 0104215                          
======================================================================




More information about the asterisk-bugs mailing list