[Asterisk-Users] Problems setting asterisk environment varibles

=?us-ascii?Q?Carlos Fern=E1ndez Puente?= carlos.fernandez at alisys.net
Fri Sep 5 06:31:33 MST 2003


 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 
carlos.fernandez at alisys.net
 
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/ 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030905/820a605f/attachment.htm


More information about the asterisk-users mailing list