[Asterisk-Dev] PHP AGI - seems to ignore anything but EXEC
James Golovich
james at wwnet.net
Sun May 9 19:50:57 MST 2004
On Mon, 10 May 2004, Terence Parker wrote:
> I am attempting to write a PHP AGI application.... but seem to be having a
> few problems.
>
> The script executes properly and I am able to do things such as "EXEC
> FESTIVAL 'Testing 1 2 3'" - but anything that doesn't have EXEC doesn't seem
> to work. I don't quite understand why since surely EXEC is an AGI command
> just like all the other supported ones?
>
> For example:
>
> fputs ($stdout, "EXEC SayDigits 12345\n"); WORKS
> fputs ($stdout, "SAY DIGITS 12345 78#\n"); DOES NOT WORK.
>
> - and I can't figure out why.
>
> What I actually need to do is receive a string of DTMF from the caller but
> when I send the WAIT FOR DIGIT command nothing happens. So I got suspiscious
> and tried other commands - indeed, nothing works. "SAY NUMBER" doesn't
> either - I have to use EXEC for that too. Except, there is no CLI command I
> can use EXEC for is there for receiving DTMF?
>
I'm going to take a guess at this and say that you probably didn't answer
the channel.
James
More information about the asterisk-dev
mailing list