[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-bugs
Subject: [asterisk-bugs] [Asterisk 0013402]: Read() does not set variable
From: Asterisk Bug Tracker <noreply () carolina ! digium ! com>
Date: 2008-08-30 21:06:35
Message-ID: 6c48ce17fabf40b6acce96b62d08d87c () bugs ! digium ! com
[Download RAW message or body]
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13402
======================================================================
Reported By: raymor
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13402
Category: Applications/app_read
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: 1.6.0-beta9
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-08-30 11:21 CDT
Last Modified: 2008-08-30 16:06 CDT
======================================================================
Summary: Read() does not set variable
Description:
When Read()ing dtmf input, although the debugging
console shows what the user entered the variable
is left unset. For example, this code from the
documentation does not work:
exten => s,1,Gotoif($[ "${LEN(${extensao})}" < "3"]?3:100)
exten => s,n,NoOp(executando - ${extensao} - )
exten => s,n,Read(digito||1)
exten => s,n,SayDigits(${digito})
exten => s,n,Set(extensao=${extensao}${digito})
exten => s,n,GoTo(s,1)
exten => s,100,GoTo(from-pstn,s,1)
exten => h,1,hangup()
SayDigits says nothing because ${digito} is empty
regardless of what the user presses.
======================================================================
----------------------------------------------------------------------
(0091943) putnopvut (administrator) - 2008-08-30 16:06
http://bugs.digium.com/view.php?id=13402#c91943
----------------------------------------------------------------------
Oh, another thing, you mentioned that the code you were testing is from
documentation. Which document was this? We need to update the documentation
to use the correct symbols so that it's not invalid.
Issue History
Date Modified Username Field Change
======================================================================
2008-08-30 16:06 putnopvut Note Added: 0091943
======================================================================
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-bugs mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic