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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 18 11:14:32 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
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 11:14 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0104946) mmichelson (administrator) - 2009-05-18 11:14
 https://issues.asterisk.org/view.php?id=15114#c104946 
---------------------------------------------------------------------- 
I have uploaded 15114.patch. When using your sample dialplan and test
script, I then saw both X-VARs set when DumpChan executed. Please test and
see if you approve. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-18 11:14 mmichelson     Note Added: 0104946                          
2009-05-18 11:14 mmichelson     Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list