Summary:ASTERISK-08268: asterisk-ooh323c from asterisk-addons svn trunk don't compile with latest asterisk svn trunk
Reporter:Franco Lanza (nextime)Labels:
Date Opened:2006-12-04 01:48:01.000-0600Date Closed:2007-01-12 22:37:11.000-0600
Versions:Frequency of
Environment:Attachments:( 0) chan_h323.c.patch
Description:when trying to compile asterisk-ooh323c from latest svn trunk with latest asterisk svn trunk i get an error on src/chan_h323.c on function ast_channel_lock about a wrong number of arguments
Comments:By: Franco Lanza (nextime) 2006-12-04 07:01:47.000-0600

sorry broken project, this ticket is to be moved on channel drivers, but i can't edit it

By: Serge Vecher (serge-v) 2006-12-04 09:49:16.000-0600

not being able to compile would certainly qualify bug as "major". Could you please attach the output showing compiler error?

By: Franco Lanza (nextime) 2006-12-04 16:17:14.000-0600

minor 'cause i think that is a trivial patch.

This is the compiler output:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
src/chan_h323.c: In function 'ooh323_new':
src/chan_h323.c:250: error: too few arguments to function 'ast_channel_alloc'
make[3]: *** [chan_h323.lo] Error 1

Attached there is a little patch that i've used to make it working (but i'm sure that it will broke something somewhere, so don't use it!)

It's against asterisk-ooh323c/src/chan_h323.c

By: Joshua C. Colp (jcolp) 2007-01-12 22:37:10.000-0600

This issue has already been solved.