RE: [Asterisk-Users] asterisk-oh323-0.6.3b

2004-10-28 Thread morina
Hi, 
 First of all thanks for your fast response , but I'm getting errors again .

Look how I try to install asterisk-oh323-0.6.3b

 First I emerged asterisk-1.0.0 (I'm using gentoo 2.4.25), also I saved in a
folder asterisk-1.0.0 src files (/files/asterisk-1.0.0), than I emerged
pwlib-1.6.6 and also saved the src files (extracting pwlib-1.6.6.tar.gz
/files/pwlib) , than I emerged openh323-1.13.5 (/files/openh323). In the
direcory /files I saved also the asterisk-oh323-0.6.3b. Now I edited
Makefile in asterisk-oh323-0.6.3b directory , like this:

DESTDIR=/usr/sbin/   
PWLIBDIR=/files/pwlib
OPENH323DIR=/files/openh323
ASTERISKINCDIR=/usr/include/asterisk
ASTERISKMODDIR=/usr/lib/asterisk/modules
ASTERISKETCDIR=/etc/asterisk
OH323WRAPLIBDIR=/usr/local/lib

And I typed make , but I got the following error messages:

gentoo asterisk-oh323-0.6.3b # make
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make: *** No rule to make target `ccflags'.  Stop.
make: *** No rule to make target `ccflags'.  Stop.
make[1]: Entering directory `/files/asterisk-oh323-0.6.3b/wrapper'
./check_ver /files/pwlib pwlib
./check_ver /files/openh323 openh323
g++  -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
-DPWLIBVERSION=\1.6.6\ -DOPENH323VERSION=\1.13.5\
-I/files/pwlib/include/ptlib/unix -I/files/pwlib/include
-I/files/openh323/include -I/files/openh323/include/openh323
-I../asterisk-driver -c wrapendpoint.cxx -o wrapendpoint.o
In file included from /files/pwlib/include/ptlib.h:169,
 from wrapendpoint.cxx:32:
/files/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error: parse error
before `
   protected'
/files/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error: syntax error
before 
   `*' token
In file included from /files/pwlib/include/ptlib.h:181,
 from wrapendpoint.cxx:32:
/files/pwlib/include/ptlib/unix/ptlib/config.h:53: error: parse error before
`
   public'
/files/pwlib/include/ptlib/unix/ptlib/config.h:55: error: destructors must
be 
   member functions
/files/pwlib/include/ptlib/unix/ptlib/config.h:57: error: parse error before
`
   protected'
In file included from /files/pwlib/include/ptlib.h:187,
 from wrapendpoint.cxx:32:
/files/pwlib/include/ptlib/args.h:121: error: parse error before `{' token
/files/pwlib/include/ptlib/args.h:147: error: parse error before `const'
/files/pwlib/include/ptlib/args.h:156: error: parse error before `const'
/files/pwlib/include/ptlib/args.h:165: error: parse error before `int'
/files/pwlib/include/ptlib/args.h:175: error: parse error before `int'
(text omitted)



/files/openh323/include/h323caps.h:401: error:  virtual BOOL 
   H323_RealTimeChannel::H323FramedAudioCodec::DecodeSilenceFrame(void*, 
   unsigned int)::H323_ALawCodec::H323_muLawCodec::OnReceivedPDU(const 
   H323_RealTimeChannel::H323FramedAudioCodec::DecodeSilenceFrame(void*, 
   unsigned int)::H323_ALawCodec::H323_muLawCodec::H245_DataType, int)
/files/openh323/include/h323caps.h:453: confused by earlier errors, bailing
out
make[1]: *** [wrapendpoint.o] Error 1
make[1]: Leaving directory `/files/asterisk-oh323-0.6.3b/wrapper'
make: *** [subdirs_all] Error 1

:(

Thank you 
Astrit Morina

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miroslav
Nachev
Sent: Tuesday, October 26, 2004 2:43 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] asterisk-oh323-0.6.3b

   Dear Morina,

   If you use Asterisk 1.0 stable and asterisk-oh323-0.6.3b and the last
OH323 from the CVS you must compile everything without errors.
   We had some problems with Asterisk 1.0.1 and asterisk-oh323-0.6.3b
because in the new Asterisk version the callerid variable is struct
comparing with the 1.0 version where is string. When we replace callerid
variable with cid.cid_num the problem was solved.
   

   Best Regards,
   Miroslav Nachev

m Hi all,
m  I'm trying to compile asterisk-oh323-0.6.3b but I got some comiling 
m errors just on start. Can someone tell me the steps and the packages 
m required to compile asterisk-oh323-0.6.3b.

m I'm usig asterisk-1.0.0 on Linux gentoo 2.4.25-gentoo-r3 .

m  Thank you,

m Astrit Morina
m System Operator
m Tel:  038 20304050
m Fax: 038 20304020
m E-mail: [EMAIL PROTECTED]
m www.ipko.net



m ___
m Asterisk-Users mailing list
m [EMAIL PROTECTED]
m http://lists.digium.com/mailman/listinfo/asterisk-users
m To UNSUBSCRIBE or update options visit:
mhttp://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] asterisk-oh323-0.6.3b

2004-10-26 Thread morina
Hi all,
 I'm trying to compile asterisk-oh323-0.6.3b but I got some comiling errors
just on start. Can someone tell me the steps and the packages required to
compile asterisk-oh323-0.6.3b. 

I'm usig asterisk-1.0.0 on Linux gentoo 2.4.25-gentoo-r3 .

 Thank you, 

Astrit Morina
System Operator
Tel:  038 20304050
Fax: 038 20304020 
E-mail: [EMAIL PROTECTED]
www.ipko.net



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk-OH323 and Cisco-3640-gatekepeer

2004-10-22 Thread morina
Thanks Michael for your response ,

 I get the latests version (asterisk-oh323-0.6.3b.tar.gz) but I found many
dificulties to install it . Can you please tell me where can I find the
ebuild for this program , cause I'm using gentoo. Or , please, tell me the
steps should I perform to install the latest asterisk-oh323 .

 Thanks 
Astrit Morina 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michalis
Manousos
Sent: Friday, October 22, 2004 2:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Asterisk-OH323 and Cisco-3640-gatekepeer


It seems that the capability negotiation failed.
Also, try to use the latest version of asterisk-oh323. v0.5.10 is to
old.

Michael.

On Fri, 22 Oct 2004, Astrit wrote:

 Hi all,
 I have completed asterisk-oh323 version 0.5.10 and I've registered it 
 in Gatekeeper (Cisco 3640 wich is H323 Proxy with Gatekeeper 
 features), I've also registered a Swissvoice in Gatekeeper . Now, when 
 I make calls from Cisco it works fine ,
 
 but when I try to call from X-Lite it shows me the following errors :
 
 Executing Dial(SIP/310-2dc9, OH323/[EMAIL PROTECTED]) in new stack Oct 
 20
 14:50:12 ERROR[360471]: chan_oh323.c:2631 setup_h323_connection: 
 Request to open an existing channel 0 with the same direction 1.
 -- Called [EMAIL PROTECTED]
 Oct 20 14:50:12 WARNING[327701]: chan_oh323.c:1400 oh323_read:
OH323/L20192:
 Invalid format of RTP addresses.
 -- Hungup 'OH323/L20192'
   == No one is available to answer at this time
 
 My oh323.conf is :
 
; Configuration file of OpenH323 channel driver
 
 [general]
 
 listenAddress=0.0.0.0
 ;
 listenPort=1720
 ;
 ;
 connectPort=1720
 ;
 tcpStart=1
 tcpEnd=2
 ;
 udpStart=1
 udpEnd=2
 ;
 ;
 fastStart=no
 ;
 h245Tunnelling=no
 ;
 ;
 h245inSetup=no
 ;
 inBandDTMF=no
 ;
 silenceSuppression=yes
 ;
 jitterMin=20
 jitterMax=1000
 ;
 ipTos=lowdelay
 ;
 ;
 outboundMax=10
 inboundMax=10
 simultaneousMax=10
 ;
 ;
 bandwidthLimit=1024
 ;
 wrapLibTraceLevel=1
 libTraceLevel=0
 libTraceFile=stdout
 ;
 gatekeeper=10.1.0.50
 ;
 ;
 gatekeeperTTL=600
 ;
 userInputMode=TONE
 
 
 ;-
 ; Configure H.323 aliases, prefixes and ; related ASTERISK's contexts
 ;-
 [register]
 ;
 context=h323
 alias=astra
 
 ;-
 ; Specify and configure CODEC related
 ; options
 ;-
 [codecs]
 ;
 ;
 codec=G711A
 frames=20
 ;
 [astra]
 type=h323
 prefix=400
 context=h323
 
 
 My extension.conf is:
 
 [general]
 static=yes
 writeprotect=no
 
 [h323]
 exten = 400,1,Dial(OH323/[EMAIL PROTECTED]) include = sip include = 
 mgcp
 
 [mgcp]
 exten = 411,1,Dial(MGCP/aaln/[EMAIL PROTECTED]) include = h323 include = 
 sip
 
 [sip]
 include = mgcp
 include = h323
 exten = _[3]XX,1,NoOp(^D3call for ^D3${EXTEN}) exten =
 _[3]XX,2,Dial(SIP/${EXTEN},60,tr) exten = _[3]XX,3,Congestion()
 
  I can see that asterisk is registered in gatekeeper
 
 *CLI oh323 show conf
 
 Configuration of OpenH323 channel driver
 
 Version: 0.5.10
 Listening on address: 0.0.0.0:1720
 Gatekeeper used: [EMAIL PROTECTED]
 FastStart/H245Tunnelling/H245inSetup: OFF/OFF/OFF Supported format(s):
 ALAW0 Jitter buffer limits (min/max): 20-1000 ms TCP port range: 
 1 - 2 UDP (RAS) port range: 1 - 2 UDP (RTP) port 
 range: 1 - 2 IP Type-of-Service value: 16 User input mode: 2 
 Max number of inbound
 H.323 calls: 10 Max number of outbound H.323 calls: 10 Max number of 
 simultaneous H.323 calls: 10
 
 Anyone to help me ???
 
 Regards,
 
 Astrit Morina
 System Operator
 
 Tel:  038 20304050
 Fax:  038 20304020
 E-mail: [EMAIL PROTECTED]
 www.ipko.net
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users