Having been scratching my head the whole morning to find a bug, I now have an A4 poster on the wall (not joking!) saying:
"get data" = *number* "wait for digit" and "stream file" = *ascii !!!* As you can see here: AGI Rx << STREAM FILE "hello-world" "1,2,3,4,5,6,7,8,9,*,0,#" AGI Tx >> 200 result=49 endpos=11840 AGI Rx << GET DATA hello-world -1 1 AGI Tx >> 200 result=1 AGI Rx << WAIT FOR DIGIT -1 AGI Tx >> 200 result=49 OK, I should have RTFM a bit harder, but this is VERY confusing! Out of interest, any idea why it was done like this, and why someone would ever need the ascii result from a keypress, rather than the keypress as given by "get data"? Just curious!
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users