Hi!

> I am just getting started with AGI
> 
> so I wrote the following script as a simple test
> but all that happens is silence before it times out and hangs up
> can someone help to get me started?

Look here:
http://www.voip-info.org/wiki-Asterisk+AGI+php

> php -q
> <?php
>          fputs(STDOUT 'SAY NUMBER 123 "#*"\n');
>          $lin = fgets(STDIN);
> ?>

Is that really your entire script, or did you cut out most of the lines? 
If not, then I am afraid that you need to do quite some reading on both 
AGI and PHP first.

Cheers, Philipp


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to