[asterisk-users] AGI Help

Forrest Beck jonforrest.beck at gmail.com
Sat Oct 21 18:57:14 MST 2006


I need some help with AGI.  I am unsure how it is written and works.
But I have a bash command that will spit out a two digit numerical
value (The temperature in the room).  The bash command is:

#!/bin/bash
/usr/local/digitemp/digitemp-1.3/digitemp -a | tail -n1 | cut -d " " -f9 | cut
-d "." -f1

This command will spit out someting like 73.

I would like to get asterisk to say these digits to the caller.

How should I do this?  Thanks.


More information about the asterisk-users mailing list