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

Jonathan H lardconcepts at gmail.com
Mon May 24 13:35:55 CDT 2021

On Mon, 24 May 2021 at 18:41, Steve Edwards <asterisk.org at sedwards.com>

> 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:

   ctx.streamFile("test", [1,2,3,4,5,6,7,8,9,0,"#","*"], 1000,)

But in fact, you're right! I just tried "12345*#" and it works. I learn
something new every day here!

Believe me, I'd love to be going full ARI right now, but with no way to get
the current offset of a track I have to stick with AGI.

Thanks again.

> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
>              https://www.linkedin.com/in/steve-edwards-4244281
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210524/694a3698/attachment.html>

More information about the asterisk-users mailing list