For now few weeks, I am trying to install and have H323 working with my Asterisk…
I managed to install it after many compilation errors, library incompatibility…But the problem is that when I call from whatever H323 clients it makes my Asterisk crashes.
Calling the 500 (Voicemail) from Netmeeting fro example :
Executing [500@default:1] Playback("H323/ip$192.168.102.76:3135/32619", "demo-abouttotry") in new stack
asterisk: symbol lookup error: /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: ast_rtp_instance_new
My Asterisk crashes and even my console, I have to relog and to launch it again…
After days,weeks of research, I am looking for help here if someone would already have seen it ?!
Or if someone would have an idea, please let me know if you need any logs or more info.
I manage to run Asterisk after many compil bug like:
make[1]: Entering directory `/usr/src/Astev6-H323/asteriskv6-20080107/channels'
[CC] chan_h323.c -> chan_h323.o
chan_h323.c: In function â__oh323_rtp_createâ:
chan_h323.c:965: error: incompatible type for argument 5 of âast_rtp_new_with_bindaddrâ
chan_h323.c:965: error: too few arguments to function âast_rtp_new_with_bindaddrâ
chan_h323.c: In function âbuild_userâ:
chan_h323.c:1405: warning: passing argument 1 of âast_get_ipâ from incompatible pointer type
chan_h323.c:1405: warning: passing argument 2 of âast_get_ipâ from incompatible pointer type
chan_h323.c:1405: error: too few arguments to function âast_get_ipâ
chan_h323.c: In function âbuild_peerâ:
chan_h323.c:1519: warning: passing argument 1 of âast_get_ipâ from incompatible pointer type
chan_h323.c:1519: warning: passing argument 2 of âast_get_ipâ from incompatible pointer type
chan_h323.c:1519: error: too few arguments to function âast_get_ipâ
chan_h323.c: In function âexternal_rtp_createâ:
chan_h323.c:1919: warning: passing argument 2 of âast_rtp_get_usâ from incompatible pointer type
chan_h323.c:1919: error: too few arguments to function âast_rtp_get_usâ
chan_h323.c: In function âsetup_rtp_connectionâ:
chan_h323.c:1978: warning: passing argument 2 of âast_rtp_set_peerâ from incompatible pointer type
chan_h323.c:1978: error: too few arguments to function âast_rtp_set_peerâ
chan_h323.c: In function âoh323_set_rtp_peerâ:
chan_h323.c:3157: warning: passing argument 2 of âast_rtp_get_peerâ from incompatible pointer type
chan_h323.c:3157: error: too few arguments to function âast_rtp_get_peerâ
chan_h323.c:3158: warning: passing argument 2 of âast_rtp_get_usâ from incompatible pointer type
chan_h323.c:3158: error: too few arguments to function âast_rtp_get_usâ
make[1]: *** [chan_h323.o] Error 1
make[1]: Leaving directory `/usr/src/Astev6-H323/asteriskv6-20080107/channels'
make: *** [channels] Error 2
I just add a last argument “NULL” to some functions and it works then but with warning.
The problem is still that when I call from H323 I crashed Asterisk and my console as well…So I beleive something went wrong during the compil.
If any of you have an idea, I would really appreciate a hand while I am still looking forward to have it worked.