Need to figure out how to grab the passed variable in my php AGI script

I pass it in via the Dialplan like this:

exten => 420,1,Answer
exten => 420,n,DigitTimeout(5)
exten => 420,n,ResponseTimeout(10)
exten => 420,n,Flite("enter the one digit code")
exten => 420,n,Read(CODE,beep,1)
exten => 420,n,AGI(yy.php|${CODE})

Inside of yy.php how would I reference ${CODE} to expose it??  It
doesn't seem to come in with the standard variables that asterisk passes
to the AGI, at least the debugging loop that I have writing to log file
doesn't expose it as part of the std variables

mike

_______________________________________________
--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