[asterisk-bugs] [Asterisk 0018001]: GET DATA problem with pipes

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 22 13:53:52 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18001 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18001
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-16 09:34 CDT
Last Modified:              2010-09-22 13:53 CDT
====================================================================== 
Summary:                    GET DATA problem with pipes
Description: 
Hi, I'm using TTS sofware to generate audio files and play them in
real-time via asterisk. To do this I'm creating pipes to which asterisk is
listening and to which TTS is generating audio.

When I use AGI command STREAM FILE, everything is ok, generated audio is
played to the caller.
However, if I use GET DATA command, I can not hear the audio file. I'm
using GET DATA to gather entered DTMFs. This solution worked in older
version of asterisk (1.4.21 I guess).

Beneath I paste logs from console (verbose and debug on 100) from both
cases.
====================================================================== 

---------------------------------------------------------------------- 
 (0127292) jamicque (reporter) - 2010-09-22 13:53
 https://issues.asterisk.org/view.php?id=18001#c127292 
---------------------------------------------------------------------- 
And yes, the pipe contain data, but the thing with pipes is that the are
filled with data only if something on the other end reads the pipe.
Stramfile seems to cope with it very well, getData not :( (I remind that
in Asterisk 1.4.21 it worked fine). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-22 13:53 jamicque       Note Added: 0127292                          
======================================================================




More information about the asterisk-bugs mailing list