[asterisk-users] Unicall/R2 for Asterisk 1.4 Available for TESTING
Humberto Figuera
hfiguera at gmail.com
Wed Apr 18 00:56:19 MST 2007
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
More information about the asterisk-users
mailing list