could you suggest a better method where the perl-daemon stays persistently connected to asterisk's AMI ?<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 3:21 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 05/16/2011 03:19 PM, Ryan Bullock wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You could us a timer to periodically poll your database and do<br>
non-blocking originates (with async) with callbacks to catch the<br>
response, update the log, and do the delete.<br>
</blockquote>
<br>
</div><a href="http://en.wikipedia.org/wiki/Anti-pattern" target="_blank">http://en.wikipedia.org/wiki/Anti-pattern</a><br>
<br>
<a href="http://en.wikipedia.org/wiki/Database-as-IPC" target="_blank">http://en.wikipedia.org/wiki/Database-as-IPC</a><br>
<br>
*ducks*<br>
<br>
:-)<br><font color="#888888">
<br>
-- <br></font><div><div></div><div class="h5">
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
260 Peachtree Street NW<br>
Suite 2200<br>
Atlanta, GA 30303<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Fax: <a href="tel:%2B1-404-961-1892" value="+14049611892" target="_blank">+1-404-961-1892</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>