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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to