<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Textparagrafcubifasiindentmaimare, li.Textparagrafcubifasiindentmaimare, div.Textparagrafcubifasiindentmaimare
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:4.0cm;
        margin-bottom:.0001pt;
        text-indent:-1.0cm;
        mso-list:l0 level1 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1822581325;
        mso-list-type:hybrid;
        mso-list-template-ids:-535015366 -1831195972 68681731 68681733 68681729 68681731 68681733 68681729 68681731 68681733;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:"Text paragraf cu bifa si indent mai mare";
        mso-level-text:\F0B7;
        mso-level-tab-stop:4.0cm;
        mso-level-number-position:left;
        margin-left:4.0cm;
        text-indent:-1.0cm;
        font-family:Symbol;
        color:windowtext;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:-72.55pt;
        mso-level-number-position:left;
        margin-left:-72.55pt;
        text-indent:-18.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=RO link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Also be aware Asterisk is probably runing
in it&#8217;s own, non-root account. It needs execute access to the program,
and you need to specify full path. At least that&#8217;s what worked for me </span></font><font
size=2 color=navy face=Wingdings><span style='font-size:10.0pt;font-family:
Wingdings;color:navy'>J</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> - dialing 500 on my box
does System(/sbin/reboot) !<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Nello Gaudino<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 16, 2006
9:08 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Asterisk-Users] Problem
with System() command.</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><span class=postbody><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi, </span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><br>
<span class=postbody>I have an application, script.exe, written under mono
framework and for execute them in my linux box I must write in console: </span><br>
<span class=postbody>mono script.exe </span><br>
<span class=postbody>The problem is that when I call this application in
dialplan with command: </span><br>
<span class=postbody>exten =&gt; 500,1,System(mono script.exe) </span><br>
<span class=postbody>the application not run! </span><br>
<span class=postbody>Somebody can help me to find the problem? </span><br>
<span class=postbody>Thanks!</span></span></font><o:p></o:p></p>

</div>

</div>

</div>

</body>

</html>