Grate job Moy... i will test it on my PBX tomorrow... <br><br>Thanks.<br><br><br><div><span class="gmail_quote">On 4/20/07, <b class="gmail_sendername">Moises Silva</b> <<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks a lot for the fix Humberto.<br><br>On 4/18/07, Humberto Figuera <
<a href="mailto:hfiguera@gmail.com">hfiguera@gmail.com</a>> wrote:<br>> Hi Moises,<br>><br>> the Asterisk SVN-branch-1.4-r60989 make a change in the<br>> ast_channel_alloc function:<br>><br>> "This is a big improvement over the current CDR fixes. It may still
<br>> need refinement, but this won't have as many folks bothered."<br>><br>> here the patch for chan_unicall.c ;p<br>><br>> --- chan_unicall.c.orig 2007-04-18 03:32:17.000000000 -0400<br>> +++ chan_unicall.c 2007-04-18 03:32:
26.000000000 -0400<br>> @@ -2485,7 +2485,7 @@<br>> }<br>> while (x < 3);<br>><br>> - if ( ( tmp = ast_channel_alloc(0, state, 0, 0, chan_name) ) == NULL)<br>> + if ( ( tmp = ast_channel_alloc(0, state, 0, 0, i->accountcode,
<br>> i->exten, i->context, i->amaflags, chan_name) ) == NULL)<br>> {<br>> ast_log(LOG_WARNING, "Unable to allocate channel structure\n");<br>> return NULL;<br>><br>
> --<br>> Humberto Figuera - Using Linux 2.6.20<br>> Usuario GNU/Linux 369709<br>> Caracas - Venezuela<br>> GPG Key Fingerprint = 5AAC DF0C 00F4 2834 28BA 37AD 3364 01D1 74CA 0603<br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.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">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br><br><br>--<br>"Su nombre es GNU/Linux, no solamente Linux, mas info en <a href="http://www.gnu.org">http://www.gnu.org</a>"<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.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">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>