login | register
Wed 03 of Dec, 2008 [02:57 UTC]

voip-info.org

Discuss [8] History

Asterisk H323 channels

Created by: oej,Last modification on Wed 07 of Nov, 2007 [07:48 UTC] by mindaugas_kezys

H.323 for Asterisk

Existing implementations

h323

The Asterisk H.323 channel is included in the Asterisk source distribution in the channels/h323 directory in the source tree. The chan_h323 only acts like a H.323 Gateway not a gatekeeper, although it appears that the author is currently looking at adding basic gatekeeper functionality. See the channels/h323/README for installation instructions and software requirements and h323.conf for configuration.

Chan_h323 compiling. chan_h323


oh323

There is another H.323 channel implementation (in fact the first one for asterisk that came into existence), named Asterisk-oh323 which is actively developed by InAccess Networks and can be found at http://www.inaccessnetworks.com/projects/asterisk-oh323.

ooh323c

asterisk-ooh323c is a part of asterisk-addons package. It is yet another, new (as of June '05) channel driver based on open source H.323 stack (ooh323c) from Objective systems. This stack is developed in C and contains only the code necessary to set up H.323 signaling channels. All media processing is handled by Asterisk itself. This provides scalability for H.323 calls that will depend primarily on the capability of Asterisk to handle media streams. Users should see call volume handling that is similar in magnitude to what can be handled by SIP. Currently (30-Jun-2005) the channel driver is available on asterisk-addons cvs and also from Objective Systems website at http://www.obj-sys.com/open. Note: You need CVS-HEAD version of asterisk.

woomera

The Woomera protocol makes it possible to put your voice over ip system in one server/process and your pbx in another and connect them with a simple raw-linear-over-udp protocol. chan_woomera is an asterisk channel_driver designed to interface the Asterisk PBX with woomera. Currently (June '05) this code is working but considered beta. Woomera currently only supports H323 but it should soon support the OPAL VOIP abstraction layer which will allow it to speak many other protocols. The number of protocols supported by the Woomera server is irrelevant to chan_woomera which will support anything Woomera supports because of it's thin-client-like design.
With woomera you can connect asterisk to a H.323 server (openh323 code) which will do H.323 over IPv6. Apparently openh323 also has some SIP code in their CVS. If added to chan_woomera, you'd get SIP over IPv6 also.


Comparison of h323 and oh323

  • h323 performs better, but has no jitter buffer. This implementation uses the Asterisk RTP stack.
  • oh323 driver uses the RTP/RTCP stack and the adaptive jitter buffer implementation of OpenH323. oh323 does not use the codecs of OpenH323 but those of Asterisk.

User remarks

  • Using OH323 makes all these (stability) problems (with h323) go away, however at a cost of approximately 10-15 times the CPU usage in my situation: a G729 call coming from a Sipura and being rerouted with G.729 over H323 to a Quintum call proxy
  • Jeremy McNamara on performance and why he started chan_h323

Common problems

  • Compilation in channels/h323 subdirectory fails with a lot of syntax errors - you need to use exactly the version of PWLib and OpenH.323 mentioned in README.
  • While connecting with H.323 client you get no audio or garbled audio and messages like this on Asterisk console: rtp.c:489 ast_rtp_read: Unknown RTP codec 107 received. Try to disable Speex or some other codec on Asterisk or/and client side.
  • Compiling openh323 can require substantial memory resources, so make sure you have either enough RAM or sufficient SWAP (user report: 380 MB required)

Testing with Netmeeting

MS Neetmeeting is available on most Windows machines and thus a common tool to run the first h.323 test. Be sure to manually select a preferred audio codec in Netmeeting that is well supported by Asterisk, e.g. do not use g723.1 (which is the default) but A-Law or u-Law. Where bandwidth is a concern, use the installable GSM codec for Netmeeting which is available here: Netmeeting-GSM. Just download and start the instcodec.exe, select the GSM codecs and return to Netmeeting.

There is also a Netmeeting plugin for the free Open Source codec Speex, but it is a bit hard to set up: (Netmeeting Speex).

The next step is to edit h323.conf so that your netmeeting callers get dtmfmode=inband.

If you'd like to dial different extensions on Asterisk then you'll probably want to enter the Asterisk server's hostname (or IP address) as Gateway (not Gatekeeper!) in Netmeeting. After that just dial the extension. Without this Gateway setup you will probably want to dial the IP address of your Asterisk box.

Problems with chan_ooh323


chan_ooh323 with Siemens optiPoint 400 : if the RTP stream is closed after 30 seconds, it means chan_ooh323 didn't get a H.245 terminalCapabilitySetAck from the phone and timed out. This happens because the phone expects the dtmf item in the message and doesn't send the acknowledgment if the item isn't present. To work around the problem, use dtmfmode = h245signal in ooh323.conf.

allow=all in ooh323.conf won't work with asterisk-addons-1.4.0 or ealier (calls hang up just after being answered, see http://www.mail-archive.com/ooh323c-devel@lists.sourceforge.net/msg00385.html and the subsequent posts). You must have disallow=all, followed by allow=<codec> for each codec you want. Set that globally only. The codecs supported at the moment are ulaw, alaw, gsm, g723 and g729, and you must have the corresponding asterisk codecs installed.

See also



Go back to Asterisk


Comments

Comments Filter
222

333Facility Call Forward from h.323 to SIP

by Slavik, Tuesday 06 of November, 2007 [07:51:00 UTC]
Hello Everyone!

I have an Asterisk ver 1.2.24 with oh323 channel driver ver 0.7.3 (pwlib ver v1.8.7/Mimas_patch2 and Open H323 v1.15.6/Mimas_patch2, as mentioned in readme, installed).
Asterisk registered on open H323 gatekeeper (ver 2.2.2). I'm making a call from H323 openphone to SIP phone, then trying to forward this call to another sip phone, and it doesn't work. Direct call between any of this phones are OK. I have tryed facility call forward and H.450 - nothing. I need facility call forwarding.
Is there some specific options in oh323.conf or other things to make it's working?
222

333Facility Call Forward from h.323 to SIP

by Slavik, Tuesday 06 of November, 2007 [07:50:10 UTC]
Hello Everyone!

I have an Asterisk ver 1.2.24 with oh323 channel driver ver 0.7.3 (pwlib ver v1.8.7/Mimas_patch2 and Open H323 v1.15.6/Mimas_patch2, as mentioned in readme, installed).
Asterisk registered on open H323 gatekeeper (ver 2.2.2). I'm making a call from H323 openphone to SIP phone, then trying to forward this call to another sip phone, and it doesn't work. Direct call between any of this phones are OK. I have tryed facility call forward and H.450 - nothing. I need facility call forwarding.
Is there some specific options in oh323.conf or other things to make it's working?
222

333Can't compile H323 on Asterisk 1.4

by bigto2007, Sunday 05 of August, 2007 [05:09:30 UTC]
I am running Fedora 7 and would like to install the H323 channel with Asterisk 1.4 but openh323_v1_18_0 simply will not compile. I followed the README information in Asterisk but following successful compilation of pwlib_v1_10_3 the compile of openh323 failed due to missing compiler.h. I created a compiler.h file from some information I found online. This apparently solved a problem as the compile proceeds further before failing but it fails with several screens full of errors.
Prior to attempting the compilation I compiled only zaptel, libpri, iksemel and pwlib. Before I began I erased the distro specific pwlib, the kernels I have installed are 2.6.22.1-41.fc7 and 2.6.21.1-3194.fc7. the pwlib configure indicates OS kernel 2.6.22.1-41.fc7
I have made multiple attempts at compiling H323 following all the instructions in the Asterisk 1.4.9 README file and have tried pwlib_v1_10_0 as well but I no longer know how to proceed and am very frustrated as there seems to be little or no information available.
I am beginning to think that H323 is more trouble than it's worth, is there any practical help around or I am the only one having problems?
222

333Can't compile H323 on Asterisk 1.4

by bigto2007, Sunday 05 of August, 2007 [05:09:11 UTC]
I am running Fedora 7 and would like to install the H323 channel with Asterisk 1.4 but openh323_v1_18_0 simply will not compile. I followed the README information in Asterisk but following successful compilation of pwlib_v1_10_3 the compile of openh323 failed due to missing compiler.h. I created a compiler.h file from some information I found online. This apparently solved a problem as the compile proceeds further before failing but it fails with several screens full of errors.
Prior to attempting the compilation I compiled only zaptel, libpri, iksemel and pwlib. Before I began I erased the distro specific pwlib, the kernels I have installed are 2.6.22.1-41.fc7 and 2.6.21.1-3194.fc7. the pwlib configure indicates OS kernel 2.6.22.1-41.fc7
I have made multiple attempts at compiling H323 following all the instructions in the Asterisk 1.4.9 README file and have tried pwlib_v1_10_0 as well but I no longer know how to proceed and am very frustrated as there seems to be little or no information available.
I am beginning to think that H323 is more trouble than it's worth, is there any practical help around or I am the only one having problems?
222

333Can't compile H323 on Asterisk 1.4

by bigto2007, Sunday 05 of August, 2007 [05:07:30 UTC]
I am running Fedora 7 and would like to install the H323 channel with Asterisk 1.4 but openh323_v1_18_0 simply will not compile. I followed the README information in Asterisk but following successful compilation of pwlib_v1_10_3 the compile of openh323 failed due to missing compiler.h. I created a compiler.h file from some information I found online. This apparently solved a problem as the compile proceeds further before failing but it fails with several screens full of errors.
Prior to attempting the compilation I compiled only zaptel, libpri, iksemel and pwlib. Before I began I erased the distro specific pwlib, the kernels I have installed are 2.6.22.1-41.fc7 and 2.6.21.1-3194.fc7. the pwlib configure indicates OS kernel 2.6.22.1-41.fc7
I have made multiple attempts at compiling H323 following all the instructions in the Asterisk 1.4.9 README file and have tried pwlib_v1_10_0 as well but I no longer know how to proceed and am very frustrated as there seems to be little or no information available.
I am beginning to think that H323 is more trouble than it's worth, is there any practical help around or I am the only one having problems?
222

333H323 Gateway to SIP phone with Asterisk

by alntk, Tuesday 21 of March, 2006 [05:06:57 UTC]
Hi all,...

I have a H323 gateway (FXO ports to the PSTN) with some SIP IP Phones on a LAN, i also use Asterisk....
I would like to pass call from one IP Phone to the PSTN by the H323 gateway, or call from the PSTN to one SIP Phone....
I would like to have the configuration (maybe h323.conf or ooh323c.conf ?) for Asterisk can process the call....
Do i need to install any new software module to do that ?...
Thank's a lot, i searched a lot on the web without finding any revelant solution....
An other question a would prefer all the RTP traffic do not pass by the Asterisk, is it possible ?...
Best regards
222

333Asterisk and oh323 is not working...

by overseacalling, Wednesday 15 of February, 2006 [16:47:35 UTC]
Hello Everyone! ... I have a server with asterisk 1.0.0.8 and I have a quintum Tenor AXT800 gateway at another location. my server can never call to my gateway, when I tried to call I keep hearing the us-type of ring which I know it is a fake ringtone. And the calls never get connected because I setup my gateway to have a voice prompt if calls go through. I have tested my server from netmeeting as the instruction is here but does not work either.... can someone tell me what I have done wrong? .. I know that my gateway is working since I can called from other devices....

Asterisk
H323
Codec ... g729 and g723 installed.
Quintum AXT800
222

333Link is broken

by cristian, Friday 03 of June, 2005 [22:37:47 UTC]
InAccess Networks is broken link (:cry:)
Found but i dont kwon is correct this http://ftp.fredan.org/pub/gentoo.org/distfiles/