Title: Carlos Fern�ndez Puente

 Hi,

I have a problem when i try to set an asterisk environment variable while asterisk is running an AGI aplication.

I post the few code lines (in C).

printf ("SET VARIABLE agisel = %s\n\n",agiselected);
fprintf(stderr,"SET VARIABLE agisel = %s\n\n",agiselected);

fprintf(stdout,"GET VARIABLE agisel\n\n");

 

when i try to get the response from asterisk it send me an error message like this.

510 Invalid or unknown command

 

Can you help me with this trouble?

 

thanks

 

Carlos Fern�ndez Puente
[EMAIL PROTECTED]

 

Ingeniero de proyectos
Alisys Software


Alisys Software, S.L.
Edificio Lexington - C/ Orense, 85
28020 MADRID
Tfno.: 985175935 - 915678474
Fax: 915714244
web: http://www.alisys.net
wap: http://www.alisys.net/wap/

 

 

Reply via email to