<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 7:00 AM, Rupa Schomaker <span dir="ltr">&lt;<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Write a program that monitors the directory and interacts with freeswitch via ESL.  You may be better off having your program talk directly with freeswitch (via ESL) rather than creating the call files.<br></blockquote><div>
<br>No one has desired this functionality enough to sit down and write a little module to do it. However, as Rupa mentioned, the ESL allows for doing this kind of thing very easily. You would need to know at least one language: Perl, Python, Ruby, PHP, TCL, C#(managed), or C.<br>
</div></div><br>The issue for most of us is this: If you have a script that is capable of generating a .call file and dropping it into the spool directory then you&#39;re about 90% of the way there already. Instead of creating a .call file you can just use the ESL object and directly send your &quot;originate&quot; command.<br>
<br>Do a wiki search on &quot;ESL&quot; as well as the commands &quot;api&quot; and &quot;bgapi&quot; to see some of the things you can do. Also, buy the new FS book and ready chapter 9. ;)<br><br>-MC<br><br>