[asterisk-users] Unicall/R2 for Asterisk 1.4 Available for TESTING

Moises Silva moises.silva at gmail.com
Fri Apr 20 07:07:23 MST 2007


Thanks a lot for the fix Humberto.

On 4/18/07, Humberto Figuera <hfiguera at gmail.com> wrote:
> Hi Moises,
>
> the Asterisk SVN-branch-1.4-r60989 make a change in the
> ast_channel_alloc function:
>
> "This is a big improvement over the current CDR fixes. It may still
> need refinement, but this won't have as many folks bothered."
>
> here the patch for chan_unicall.c ;p
>
> --- chan_unicall.c.orig 2007-04-18 03:32:17.000000000 -0400
> +++ chan_unicall.c      2007-04-18 03:32:26.000000000 -0400
> @@ -2485,7 +2485,7 @@
>      }
>      while (x < 3);
>
> -    if ( ( tmp = ast_channel_alloc(0, state, 0, 0, chan_name) ) == NULL)
> +    if ( ( tmp = ast_channel_alloc(0, state, 0, 0, i->accountcode,
> i->exten, i->context, i->amaflags, chan_name) ) == NULL)
>      {
>          ast_log(LOG_WARNING, "Unable to allocate channel structure\n");
>          return  NULL;
>
> --
> Humberto Figuera - Using Linux 2.6.20
> Usuario GNU/Linux 369709
> Caracas - Venezuela
> GPG Key Fingerprint = 5AAC DF0C 00F4 2834 28BA  37AD 3364 01D1 74CA 0603
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"


More information about the asterisk-users mailing list