Thank you for your help.<br><br>Apparently I will rollback to AMI interface. I found a project named Asterisk.NET that interface AMI and my mono-C# application. I will be working in a solution.<br><br>BTW, It will be truly interesting the possibility of writing dialplans in C# having all of the advantages that managed code and a matured framework (Mono project) can give us as developers. <br>
<br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 3:38 AM, Tzafrir Cohen <span dir="ltr">&lt;<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Jul 02, 2009 at 09:02:59PM -0700, Steve Edwards wrote:<br>
<br>
&gt; Access through the CLI (via -r -x) is problematic because you are subject<br>
&gt; to the whims of another process changing verbosity levels and you may have<br>
&gt; to sift through a lot of cruft as well as the overhead of invoking a<br>
&gt; process for each command.<br>
<br>
</div>I believe that this has changed in recent versions (recent 1.4 and<br>
1.6.x).<br>
<div class="im"><br>
&gt;<br>
&gt; Access through ${astrundir}/asterisk.ctl would be interesting, especially<br>
&gt; if more than 1 process attempts access.<br>
<br>
</div>Each of them gets its own socket. Just like multiple &#39;asterisk -r&#39;<br>
connections. Use either socat or OpenBSD netcat (both support writing to<br>
a unix-domain socket). This should work reasonably well if you just want<br>
to write some commands but are not interested in their output.<br>
<font color="#888888"><br>
--<br>
               Tzafrir Cohen<br>
icq#16849755              <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406           mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a>  <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>