[asterisk-dev] Issue with Perl-AGI

Steven Howes steve-lists at geekinter.net
Fri Jun 29 10:05:19 CDT 2012


On 29 Jun 2012, at 15:55, CDR wrote:

> I reported this issue a few minutes ago, and uploaded a trace
> https://issues.asterisk.org/jira/browse/ASTERISK-20076
> But since I also have another issue open since February, I guess I
> need to ask for a work around from the community. I need to do what
> AGI->stream_file is supposed to do, except that it reports strange
> numbers. Specifically, I play a file and use "34" as the argument. If
> the user presses 1, 2, 9,etc., the file keeps playing. Once the user
> presses "3" or "4", the variable should show me that, either a 3 or a
> 4. Instead, a get "51".
> The question is, is there way to do this away from AGI?
> Here is the trace, for the curious:
> <snip drivel>
> SIP/67.203.15.117-0000000e to write format ulaw
> <SIP/67.203.15.117-0000000e>AGI Tx >> 200 result=51 endpos=88320
> <SIP/67.203.15.117-0000000e>AGI Rx << VERBOSE "User Pressed 51"
> async.pl: User Pressed 51

Read the manual. 51 is the ASCII character code for 3. This is also the dev list, not user list.

S




More information about the asterisk-dev mailing list