Summary:ASTERISK-15663: [regression] AGI function GET DATA does not play audio file
Reporter:evandro (evandro)Labels:
Date Opened:2010-02-19 13:15:01.000-0600Date Closed:2011-06-07 14:04:51
Versions:Frequency of
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, e the problem doesn't occurs
Comments:By: Leif Madsen (lmadsen) 2010-02-22 11:06:17.000-0600

I'm not 100% sure if this is a problem or not. Could you also try using:


with GET DATA? Let me know if that helps at all.

By: evandro (evandro) 2010-02-22 12:54:38.000-0600

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?

By: Russell Bryant (russell) 2010-03-04 08:47:49.000-0600

run EXEC Progress before GET DATA.  Early media handling has changed (see UPGRADE.txt)

By: evandro (evandro) 2010-03-08 15:21:17.000-0600

Running Progress before GET DATA made it works!