[Asterisk-Users] OH323 and Asterisk CVS-HEAD-03/21/05-15:32:10
Jose R. Ortiz Ubarri
cheo at hpcf.upr.edu
Wed Apr 13 09:44:44 MST 2005
Thanks Michael:
I checked but I have the following new compilation errors.
make[1]: Entering directory
`/root/asterisk-oh323-0.7.2-pre1/asterisk-driver'
gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE
-I/usr/src/asterisk/include -I../wrapper -g -c -o chan_oh323.o chan_oh323.c
chan_oh323.c:843: error: unknown field `properties' specified in initializer
chan_oh323.c: In function `oh323_exception':
chan_oh323.c:1202: warning: assignment discards qualifiers from pointer
target type
chan_oh323.c:1205: warning: assignment discards qualifiers from pointer
target type
chan_oh323.c: In function `oh323_read':
chan_oh323.c:1814: warning: assignment discards qualifiers from pointer
target type
chan_oh323.c:1817: warning: assignment discards qualifiers from pointer
target type
make[1]: *** [chan_oh323.o] Error 1
I checked in /usr/src/asterisk/include/asterisk/channel.h and the field
really doesn't exists.
Thanks for help,
JO
Michael Manousos wrote:
>
> Try the 0.7.2-pre1 version of asterisk-oh323.
> It can be found at the Download section on the home
> page of asterisk-oh323.
>
> Michael.
>
>
> Jose R. Ortiz Ubarri wrote:
>
>>
>> I have problems compiling the OH323 channel with Asterisk
>> CVS-HEAD-03/21/05-15:32:10.
>>
>> I have the following errors.
>>
>> chan_oh323.c:4895: warning: passing arg 1 of `ast_channel_unregister'
>> from incompatible pointer type
>> chan_oh323.c: In function `load_module':
>> chan_oh323.c:5192: warning: passing arg 1 of `ast_channel_register'
>> from incompatible pointer type
>> chan_oh323.c:5192: error: too many arguments to function
>> `ast_channel_register'
>> make[1]: *** [chan_oh323.o] Error 1
>> make[1]: Leaving directory `/root/asterisk-oh323-0.7.1/asterisk-driver'
>> make: *** [subdirs_build] Error 1
>>
>> Looks like a compatibility problem with the asterisk functions. Had
>> they changed?
>>
>> I followed the instructions at
>> http://www.oinko.net/astrecipes/index.php?action=artikel&cat=270174&id=10&artlang=en.
>> And I had oh323 working before with a previous version of asterisk...
>>
>> Anyone else had the same problem???
>>
>>
>> Thanks for help,
>> JO
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Jose R. Ortiz Ubarri (CHEO), CS
System Administrator / Programmer
High Performance Computing facility - UPR
Email: Jose.Ortiz at hpcf.upr.edu|cheo at hpcf.upr.edu
Phone: 787-758-3054
Fax: 787-758-3058
More information about the asterisk-users
mailing list