Thanks Steve!... I will try the tip and I will let you know the result.<br><br>Adrian Abramovich<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 12:26 PM, Steve Murphy <span dir="ltr">&lt;<a href="mailto:murf@parsetree.com">murf@parsetree.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Fri, Jul 8, 2011 at 10:39 AM, Adrian Abramovich <span dir="ltr">&lt;<a href="mailto:adrianabramovich@gmail.com" target="_blank">adrianabramovich@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>We are using asterisk 1.4 and we use a Perl script to record some specific calls. As far, everything is working well.<br>I was thinking about create a module in order to improve script&#39;s performance.<br>I checked the Russell&#39;s blog:<br>


<a href="http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/" target="_blank">http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/</a><br>This is a old post and I would like to know if there are something new.<br>

</blockquote><div> </div></div><div>What I do, is look at the other apps/funcs for guidance. Pick the smallest first,<br>and you can copy their style and layout. The module spec has evolved from 1.4<br>to 1.6 to 1.8, but it&#39;s the same basics (to a degree).<br>

 <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Is it a good idea to move to module?<br></blockquote></div><div><br>If it increases performance, and you need that, then heck yes! The only drawback is that<br>it *is* in the source; you&#39;ll have to tweak it as you move up the versions. You have to compile<br>

and install it. Perl would remain static (I would imagine) even when you update asterisk.<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div class="im">
Thanks in advance,<br><font color="#888888"><br>Adrian Abramovich<br><br><br><br>
</font><br></div>--<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></blockquote></div><br><br clear="all"><br>-- <br><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="margin:0pt 0pt 8px">

<p style="margin:0pt"><span style="font-family:comic sans ms,sans-serif;font-size:medium">Steve Murphy</span></p>
<p style="margin:0pt"><span style="font-family:comic sans ms,sans-serif;font-size:medium">ParseTree Corporation<br></span></p>
<p style="margin:0pt">57 Lane 17</p>
<p style="margin:0pt">Cody, WY 82414</p>
<p style="margin:0pt">✉  <a href="mailto:murf@parsetree.com" target="_blank">murf@parsetree.com</a></p>
<p style="margin:0pt">☎ <a href="tel:307-899-5535" value="+13078995535" target="_blank">307-899-5535</a></p></div></span><br></div><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><img src="" height="1" width="1"></span></div>

<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></blockquote></div><br>