On Apr 6, 2005 2:44 PM, Stefan Reuter <sr...@re...> wrote:
<snipped>
> currently FastAGI does not support passing parameters, but it is quite
> easy to add this functionality.
> Would something like
>
> exten => s,2,FastAGI(agi://server/testscript?transcode=dcx)
>
> help you?
>
Yes, I am just basing my 'porting' on the fast-agi 'welcome' example
so I am assuming that by adding that functionality, inside the
method 'service' , I can add something like
if (transcode == "dcx")
streamFile(channel, "welcome");
else if (transcode == "dcy")
streamFile(channel,"notwelcome");
else
streamFile(channel,"unknown");
Also what happens if two or more parameters/arguments get passed?
exten => s,2,FastAGI(agi://server/testscript?arg1=dcx&arg2=something)
> =Stefan
>
Thanks :-) ,
Dax
|