Summary: | ASTERISK-01403: GET DATA fails with no input, while app_read and menus work | ||
Reporter: | jebc4 (jebc4) | Labels: | |
Date Opened: | 2004-04-13 13:06:36 | Date Closed: | 2011-06-07 14:10:37 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | GET DATA plays the audio file, but sees no input. The AGI can exec READ with a variable and filename, and that works. Menus in extensions.conf also work. Version v1_0-stable and 0.7.2 tested and failed. ****** ADDITIONAL INFORMATION ****** This is a Bellsouth PRI to Avaya PBX to Asterisk IVR (PRI). Menus and app_read work, but audio/dtmf is not getting to (?) the GET DATA agi. I have gone through the code, but cannot find the problem. As most don't have this setup, anyway I can give better debugging I will do. Let me know how to help, Jeb jebc@c4solutions.net | ||
Comments: | By: Brian West (bkw918) 2004-04-13 13:16:51 show an example of how you are using it. By: jebc4 (jebc4) 2004-04-13 13:34:42 Using asterisk-perl, but have done the stock calls with STDIN/STDOUT, and it is the same result. # this does not work -- it plays beep, return 1, and prints "200 result= (timeout)" # really calls print "GET DATA beep 10000 5\n"; my $test = $AGI->get_data('beep', 10000, 5); # this does work. I would use it, but I would have to hack it for max digits and timeout $AGI->exec(Read,'TEMP|beep'); my $test = $AGI->get_variable(TEMP); I can change all my code, but I would like to find this bug so no one else gets stuck by it. Note: the top code works on my analog X100P, but not on the pri T100P. Is there anything else I can do to give you more info? Could I log the audio stream for you? edited on: 04-13-04 13:35 By: jebc4 (jebc4) 2004-04-13 16:35:40 Resolved: have to answer first. This was confusing because some things would work without answering like the menu's and app_read. I figured this out by trying "RECORD FILE" and it would record silence. Should I make a patch to app_agi that answers if it has not been. Sorry for the trouble. Jeb By: James Golovich (jamesgolovich) 2004-04-14 02:20:39 Glad we could help :) |