[asterisk-bugs] [Asterisk 0017068]: AGI->wait_for_digit or AGI->exec('Read' do not report digits back on an outgoing call
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 23 21:24:44 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17068
======================================================================
Reported By: xblurone
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17068
Category: Resources/res_agi
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 253347
Request Review:
======================================================================
Date Submitted: 2010-03-21 05:35 CDT
Last Modified: 2010-03-23 21:24 CDT
======================================================================
Summary: AGI->wait_for_digit or AGI->exec('Read' do not
report digits back on an outgoing call
Description:
Hi,
I am using a callback conference solution which makes and outgoing call
which points to a perl AGI script (which used to work some versions of
asterisk ago). Now I am running the latest SVN (Asterisk
SVN-branch-1.6.1-r253347) and neither Read nor wait_for_digit give any
digits back on DAHDI channels, or SIP channels.
The same script has worked for a few years from version 1.4 onwards. I
can't remember when it stopped working however (sorry).
======================================================================
----------------------------------------------------------------------
(0119780) xblurone (reporter) - 2010-03-23 21:24
https://issues.asterisk.org/view.php?id=17068#c119780
----------------------------------------------------------------------
Sorry, I cannot tell you when it worked last, there have been many
revisions and i have update many times to fix another issue (random call
drops).
The part of the agi script that is relevant is here:
$input="";
$count=0;
while ($input ne "1") {
$AGI->exec("sendDTMF","$ext|250");
$AGI->stream_file('to-place-outgoing-call','1') if $input ne "1";
$AGI->exec("Read","myvar|press-1|1||1|10");
$myvar = $AGI->get_variable(myvar);
$input=$myvar if ($myvar);
$AGI->verbose("received $input ... ",1);
$count++;
$AGI->hangup if $count > 5;
}
Issue History
Date Modified Username Field Change
======================================================================
2010-03-23 21:24 xblurone Note Added: 0119780
======================================================================
More information about the asterisk-bugs
mailing list