<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Carlos Fernández Puente</TITLE>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content=Word.Document name=ProgId>
<META content="MSHTML 5.00.3806.1700" name=GENERATOR>
<META content="Microsoft Word 9" name=Originator><LINK
href="./CarlosHtml_archivos/filelist.xml" rel=File-List><LINK
href="./CarlosHtml_archivos/editdata.mso" rel=Edit-Time-Data><!--[if !mso]>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
shape {behavior:url(#default#VML);}
</STYLE>
<![endif]--><!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>carlosfp</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>carlosfp</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>8</o:TotalTime>
<o:Created>2003-08-25T11:17:00Z</o:Created>
<o:LastSaved>2003-08-25T11:25:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>59</o:Words>
<o:Characters>340</o:Characters>
<o:Company>Alisys Software S.L.</o:Company>
<o:Lines>2</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>417</o:CharactersWithSpaces>
<o:Version>9.3821</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:HyphenationZone>21</w:HyphenationZone>
</w:WordDocument>
</xml><![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:536871559 0 0 0 415 0;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;
        mso-font-charset:128;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1 -369098753 63 0 4129023 0;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;
        mso-font-charset:128;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1 -369098753 63 0 4129023 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=ES link=blue style="tab-interval: 35.4pt" vLink=purple>
<DIV class=Section1>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt"></SPAN></STRONG> Hi,</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">I have a
problem when i try to set an asterisk environment variable while asterisk
is running an AGI aplication.</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">I post the
few code lines (in C).</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">printf ("SET
VARIABLE agisel = %s\n\n",agiselected);<BR>fprintf(stderr,"SET VARIABLE agisel =
%s\n\n",agiselected);</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">fprintf(stdout,"GET
VARIABLE agisel\n\n");</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"> </P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">when i try to get
the response from asterisk it send me an error message like this.</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">510 Invalid or
unknown command</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"> </P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">Can you help me
with this trouble?</P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"> </P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">thanks<BR></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt"></SPAN></STRONG> </P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">Carlos Fernández
Puente</SPAN></STRONG><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt"> <BR></SPAN><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 7.5pt"><A
href="mailto:carlos.fernandez@alisys.net">carlos.fernandez@alisysnet</A></SPAN></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 7.5pt"><o:p></o:p></SPAN> </P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">Ingeniero de
proyectos</SPAN></B><SPAN
style="COLOR: navy; FONT-FAMILY: Verdana; FONT-SIZE: 10pt"><BR><STRONG>Alisys Software</STRONG>
</SPAN><SPAN style="FONT-FAMILY: 'Arial Unicode MS'"><o:p></o:p></SPAN></P>
<DIV class=MsoNormal>
<HR align=left color=navy noShade SIZE=2 style="WIDTH: 156.75pt" width=209>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 7.5pt">Alisys Software,
S.L.</SPAN></STRONG><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 7.5pt">
<BR>Edificio Lexington - C/ Orense, 85 <BR>28020 MADRID <BR>Tfno.: 985175935 -
915678474 <BR>Fax: 915714244 <BR>web: <A href="http://www.alisys.net/"
target=_blank>http://www.alisys.net</A> <BR>wap: <A
href="http://www.alisys.net/wap/" target=_blank>http://www.alisys.net/wap/</A>
</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P
class=MsoNormal><![if !supportEmptyParas]><![endif]> <o:p></o:p></P></DIV></BODY></HTML>