[asterisk-bugs] [Asterisk 0015114]: [patch] 'V' Command sets one variable only.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 18 13:45:40 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15114 
====================================================================== 
Reported By:                chris-mac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15114
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 194609 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-15 02:40 CDT
Last Modified:              2009-05-18 13:45 CDT
====================================================================== 
Summary:                    [patch] 'V' Command sets one variable only.
Description: 
Contrary to the documentation 'V' option doesn't set multiple variables
separated by comma:

V,name=value[,name=value[,name=value]]

It sets only first one, and other variables are ignored.

How to reproduce:
1. Use extensions.conf and test.sh attached.
2. Dial into Asterisk.
3. Press DTMF "1" when IVR is playing.

You will see only X-VAR1 is set, X-VAR2 is ignored.
====================================================================== 

---------------------------------------------------------------------- 
 (0104956) chris-mac (reporter) - 2009-05-18 13:45
 https://issues.asterisk.org/view.php?id=15114#c104956 
---------------------------------------------------------------------- 
I can confirm the patch resolved my issue. I can now set variables like:

"V,X-VAR1=TEST1"
"V,X-VAR2=TEST2,V-VAR3=TEST3"

and all three variables X-VAR1, X-VAR2 and X-VAR3 are set correctly.

Thanks
Chris 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-18 13:45 chris-mac      Note Added: 0104956                          
======================================================================




More information about the asterisk-bugs mailing list