[Asterisk-Users] OH323 channel compile error

Rafael J. Risco G.V. rafael.risco at gmail.com
Mon Dec 20 09:21:12 MST 2004


Hi
finally I´ve compiled oh323 0.7.0 with asterisk CVS head version
without any error but now I have troubles trying calls in both
directions:

Xlite(Sip-ua)-----Asterisk_oh323------GNUGK(2.0.9)------H323client


Test 1: H323Client  call to Xlite:

*CLI>     -- Executing Dial("OH323/R11652", "SIP/6606060 at mic-inout")
in new stack
    -- Called 6606060 at mic-inout
    -- SIP/mic-inout-77f6 is ringing
    -- SIP/mic-inout-77f6 answered OH323/R11652
Dec 20 11:03:04 WARNING[30660]: chan_oh323.c:1186 oh323_exception:
OH323/R11652: Invalid format of RTP addresses. No common codecs???
    -- H.323 call 'ip$200.110.2.131:20006/11652' cleared, reason 4
(Cleared by remote user)
  == Spawn extension (from-sip, 6606060, 1) exited non-zero on 'OH323/R11652'
    -- Hungup 'OH323/R11652'
    -- Saved useragent "X-Lite release 1103m" for peer 250
   
Test 2:  Xlite call to H323Client

 -- Executing Dial("SIP/6605001-85e0", "OH323/6607770") in new stack
    -- H.323 call to 6607770 with codec(s) alaw ulaw gsm g723 
    -- Called 6607770
*** [ip$localhost/2415] H.323 CONTROL PROTOCOL ERROR (Master-Slave
Determination : Timeout)
*** [ip$localhost/2415] H.323 CONTROL PROTOCOL ERROR (Capability
Exchange : Timeout)

please send some advice, 
Rafael


On Mon, 20 Dec 2004 15:10:59 +0200, Michael Manousos
<manousos at inaccessnetworks.com> wrote:
> 
> Hi,
> 
> Rafael J. Risco G.V. wrote:
> > Hello
> > I am trying to compile asterisk-oh323-0.7.0 with pwlib-Janus_patch4
> > and openh323-Janus_patch4 downloaded from inaccessnetworks so I did
> > this:
> >
> > tar -zxvf openh323-Janus_patch4-src-tar.gz
> > cd openh323
> > patch -p1 < /root/asterisk-oh323-0.7.0/openh323_1.13.5-make.patch
> > ./configure
> > make opt
> > cd asterisk-oh323-0.7.0
> > vi Makefile  (to set the paths and options according to my system...)
> >
> > NOW I HAVE THIS ERROR:
> >
> > [root at pbx asterisk-oh323-0.7.0]# make
> > for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
> > make[1]: Entering directory `/root/asterisk-oh323-0.7.0/wrapper'
> > ./check_ver /root/pwlib pwlib
> > ./check_ver /root/openh323 openh323
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c
> > wrapper_misc.cxx -o wrapper_misc.o
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c
> > asteriskaudio.cxx -o asteriskaudio.o
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c
> > wrapconnection.cxx -o wrapconnection.o
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c
> > wrapendpoint.cxx -o wrapendpoint.o
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c wrapper.cxx
> > -o wrapper.o
> > wrapper.cxx: In function `call_ret_val_t h323_clear_call(const char*)':
> > wrapper.cxx:1230: warning: unused variable `ClearCallThread*clearCallThread'
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c wrapcaps.cxx
> > -o wrapcaps.o
> > touch ../asterisk-driver/chan_oh323.c
> > g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> > -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> > -I/root/openh323/include
> >
> > -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> > -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> > -I/root/pwlib/include/ptlib/unix -
> >
> > I/root/pwlib/include -I/root/openh323/include
> > -I/root/openh323/include/openh323 -I../asterisk-driver -c
> > wrapgkserver.cxx -o wrapgkserver.o
> > touch ../asterisk-driver/chan_oh323.c
> > ar rc liboh323wrap_s.a wrapper_misc.o asteriskaudio.o wrapconnection.o
> > wrapendpoint.o wrapper.o wrapcaps.o wrapgkserver.o
> > make[1]: Leaving directory `/root/asterisk-oh323-0.7.0/wrapper'
> > make[1]: Entering directory `/root/asterisk-oh323-0.7.0/asterisk-driver'
> > gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE
> > -I/root/asterisk/include -I../wrapper -g -c
> >
> > -o chan_oh323.o chan_oh323.c
> > chan_oh323.c: In function `oh323_call':
> > chan_oh323.c:1421: structure has no member named `cid'
> > chan_oh323.c:1421: structure has no member named `cid'
> > chan_oh323.c:1423: structure has no member named `cid'
> > chan_oh323.c:1435: structure has no member named `cid'
> > chan_oh323.c:1437: structure has no member named `cid'
> > chan_oh323.c:1437: structure has no member named `cid'
> > chan_oh323.c:1439: structure has no member named `cid'
> > chan_oh323.c:1451: structure has no member named `cid'
> > chan_oh323.c: In function `ast_oh323_new':
> > chan_oh323.c:2581: structure has no member named `cid'
> > chan_oh323.c:2587: structure has no member named `cid'
> > chan_oh323.c:2588: structure has no member named `cid'
> > chan_oh323.c:2589: structure has no member named `cid'
> > chan_oh323.c:2594: structure has no member named `cid'
> > chan_oh323.c:2595: structure has no member named `cid'
> > chan_oh323.c:2596: structure has no member named `cid'
> > chan_oh323.c:2598: structure has no member named `cid'
> > chan_oh323.c:2598: structure has no member named `cid'
> > chan_oh323.c:2643: structure has no member named `cid'
> > chan_oh323.c:2644: structure has no member named `cid'
> > chan_oh323.c:2645: structure has no member named `cid'
> > chan_oh323.c:2646: structure has no member named `cid'
> > chan_oh323.c:2647: structure has no member named `cid'
> > chan_oh323.c:2648: structure has no member named `cid'
> > chan_oh323.c: In function `load_module':
> > chan_oh323.c:5201: warning: passing arg 4 of `ast_channel_register'
> > from incompatible pointer type
> > make[1]: *** [chan_oh323.o] Error 1
> > make[1]: Leaving directory `/root/asterisk-oh323-0.7.0/asterisk-driver'
> > make: *** [subdirs_build] Error 1
> > [root at pbx asterisk-oh323-0.7.0]#
> >
> > ANY IDEA???
> 
> You need to update the sources of Asterisk.
> If you want to compile oh323 with Asterisk stable,
> then use asterisk-oh323-0.6.4.
> 
> >
> > rafael
> >
> >
> 
> 
> Michael.
> 
> 


-- 

rrgv



More information about the asterisk-users mailing list