[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 May 4 20:25:46 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:                   minor
Priority:                   normal
Status:                     feedback
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1320 
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-05-04 20:25 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).
====================================================================== 

---------------------------------------------------------------------- 
 (0121395) xblurone (reporter) - 2010-05-04 20:25
 https://issues.asterisk.org/view.php?id=17068#c121395 
---------------------------------------------------------------------- 
Hi, I have found something perculiar. If in the "call" file I set up the
direct channel, i.e. Channel: SIP/xxxxx at yyyy or Channel: DAHDI/r1/xxxxxx 
it works all fine.

If in the "call" file I use Local/xxxxxx at zzzz and then the asterisk dials
from there either DAHDI or SIP, it does not work.

My script does a $AGI->Answer in any case, also, to be sure I moved the
answer to the dialplan before the agi script was called.

Now my suspicion lies not in the AGI handling, but in the way asterisk
handles Local calls. In the local call itself I do not answer of course,
answer would be handled in whatever I call.

Of course, dialing the SIP or DAHDI directly solves the problem for now,
but the reason I want to use Channel: Local/xxxxx is that I then also can
include my local registered channels if they want to be included in the
conference... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-04 20:25 xblurone       Note Added: 0121395                          
======================================================================




More information about the asterisk-bugs mailing list