[asterisk-bugs] [Asterisk 0016870]: AGI function GET DATA does not play audio file

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 22 12:54:38 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16870 
====================================================================== 
Reported By:                evandro
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16870
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.4 
JIRA:                       SWP-941 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-19 13:15 CST
Last Modified:              2010-02-22 12:54 CST
====================================================================== 
Summary:                    AGI function GET DATA does not play audio file
Description: 
when I place a call that needs a password authentication, e.g., I send GET
DATA command by AGI, and I can see on the console log that the sound file
is being played, but I don't hear the message.

This not happens when I send an ANSWER before the GET DATA

I tested with 1.4.21.2, e the problem doesn't occurs
====================================================================== 

---------------------------------------------------------------------- 
 (0118346) evandro (reporter) - 2010-02-22 12:54
 https://issues.asterisk.org/view.php?id=16870#c118346 
---------------------------------------------------------------------- 
it understands the whole name how being just one file:

[Feb 22 17:10:42] WARNING[32191]: file.c:650 ast_openstream_full: File
silence/1&agent-user does not exist in any format
[Feb 22 17:10:42] WARNING[32191]: file.c:953 ast_streamfile: Unable to
open silence/1&agent-user (format 0x4 (ulaw)): No such file or directory

I try this: exec Background of the file I need, and then GET DATA with
silence/5. It works!

But the point with that is that when occurs Background (or GET DATA on
1.4.21 - I've just realized it now ), the cdr of the call is recorded with
disposition=ANSWERED, even the real call gets busy after authentication.

Isn't that a problem? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-22 12:54 evandro        Note Added: 0118346                          
======================================================================




More information about the asterisk-bugs mailing list