[asterisk-users] AGI and php simple example
nik600
nik600 at gmail.com
Sun Dec 17 03:52:49 MST 2006
Hi
can you give a simple example of php and AGI script?
I've read http://www.voip-info.org/wiki-Asterisk+AGI+php but i can't
understand how to play sounds and read DTMF digits...
For example, if i will write the following script directly from php:
- play a welcome message
- play a recorded message (For example: Digit a number:)
- read the DTMF digits
- if the number digited is greater than 5
- play a recorded message (You have digit a number greater than 5)
else
- play a recorded message (You have digit a number smaller than 5)
- hangup
Is it possible to write a php script that do these things?
How?
Thanks
More information about the asterisk-users
mailing list