What if I compile it again but on a test machine and then copy cdr.h over to the production one?<br><br>Zeeshan<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 3:58 AM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.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><div></div><div class="h5">Zeeshan Zakaria wrote:<br>
<br>
&gt; I&#39;ve just found out that CDR(accountcode) variable can only be 20<br>
&gt; characters long, doesn&#39;t matter what size the MySQL column has for it.<br>
&gt;<br>
&gt; I need to increase it to at least 30 characters. Any idea how this can<br>
&gt; be accomplished?<br>
<br>
</div></div>You will have to go in the source code and change it.  Go into<br>
asterisk-x.y.zz.?/include/asterisk/cdr.h:<br>
<br>
#define AST_MAX_ACCOUNT_CODE            20<br>
<br>
Then recompile the entire source tree.<br>
<br>
If you didn&#39;t install from source, you&#39;re out of luck.<br>
<br>
If you don&#39;t want to modify the source, you&#39;re out of luck.<br>
<br>
-- Alex<br>
<br>
--<br>
Alex Balashov<br>
Evariste Systems<br>
Web     : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel     : (+1) (678) 954-0670<br>
Direct  : (+1) (678) 954-0671<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Zeeshan A Zakaria<br>