[Asterisk-Users] 2 AGI questions..

WipeOut wipe_out at onetel.com
Thu Nov 13 06:53:25 MST 2003


Question 1..

Do the "say number" and "say digits" commands in AGI scritps work?

If I use "EXEC SayNumber 123" it works but is I try "say number 123" it 
doesn't.. I think I have the syntax right becaasue thats how its shown 
when typing "show agi" on a console and also on the agi pages I have 
looked at..

Question 2..

Can an AGI script be executed on the "h" extension so that is will run 
at the end of each call?

This is basically the script now so there can't be a problem with the 
script..

#/usr/bin/php -q
<?php
ob_implicit_flush(true);
set_time_limit(15);

exit();
?>

Thats it..

But I get this..
-- Executing AGI("SIP/2010-a826", "end1.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/end1.php
== Spawn extension (local, h, 1) exited non-zero on 'SIP/2010-a826'

My other script ends like this..
-- AGI Script start1.php completed, returning 0






More information about the asterisk-users mailing list