(With regard to your final question)
As far as I can tell, EAGI is AGI with the extra file descriptor devoted
to the linear pcm audio stream. As such, I would assume, but have never
tested, that in order to send DTMF OUT from your AGI app, you would need
to use the AGI functions, i.e. "EXEC SENDDTMF options" should work.
"EXEC PLAYBACK" and "STREAM FILE" might work for you too if
you've got
dtmf tones stored in files.
Moj
Robert Prince wrote:> Hello folks,
>
> I'm interested in detecting tones on specific frequencies with
> specific timing; for example, I'd like Asterisk to dial out and when
> the channel starts/call connects, listen for a 1200Hz tone that plays
> for 100ms.
>
> Is this doable with Asterisk using something already extant? After
> looking through documentation, mailing lists, and some of the source I
> had the idea that I might be better off using EAGI for this, and
> coding the actual listener in C. If EAGI were the right way to go,
> would I be able to respond/send tones back (e.g., DTMF tones) on the
> audio stream? Or would it go to STDOUT from the EAGI app's
> perspective?
>
>
> Thanks and cheers,
>
> Robert Prince
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users