Re: [asterisk-users] AGI: Why is stream file and wait for digit result ASCII, but get data is "normal"?

2021-05-24 Thread Jonathan H
On Mon, 24 May 2021 at 18:41, Steve Edwards wrote: > > If you're not using a library, you may want to consider it. 'Comma' is not a valid 'digit' so this the same as '#*0123456789' > I'm using ts-agi which has served me well. In the docs, it suggests phonekeys is an array:

Re: [asterisk-users] AGI: Why is stream file and wait for digit result ASCII, but get data is "normal"?

2021-05-24 Thread Steve Edwards
On Mon, 24 May 2021, Jonathan H wrote: any idea why it was done like this, and why someone would ever need the ascii result Maybe because ABCD are valid DTMF events? Maybe because 0 means playback completed, not a 0 was pressed? IIRC there are some inconsistencies in the AGI API that I

[asterisk-users] AGI: Why is stream file and wait for digit result ASCII, but get data is "normal"?

2021-05-24 Thread Jonathan H
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