Asterisk oh323 channels

oh323 channel

The first H.323 implementation for Asterisk. The H.323 channel driver included in
Asterisk CVS source is based on this source code.

Both versions have continued independent development, so there are two drivers, one in the Asterisk distribution and one available on the InAccess Networks web site:

http://www.inaccessnetworks.com/projects/asterisk-oh323

To use OH323 you will need to compile third party software packages like PWLib and OpenH323. Recent version of OH323 compile everything into a big static module that need no dynamic libs loaded. Look at www.oinko.net for a detailed step-by-step instruction list on how to compile.

Dial syntax

Without gatekeeper:
<exten> and <port> are optional

Dial(OH323/[<exten>@]<host>[:<port>])

With gatekeeper:

Dial(OH323/<exten>)

The second option is valid only in the case where a gatekeeper is used. OH323 supports only one gatekeeper (or none, but not multiple gatekeepers). OH323 itself only acts as H.323 Gateway.
NOTE: OpenH323 library v1.12.0 has a bug in the parsing of the destination host. When this version is used then the above syntax should be:

OH323/h323:<exten>@<host>:<port>

Installation guides


Installing oh323 7.3 on Asterisk 1.2.13

I installed oh323 7.3 with asterisk 1.2.13 on redhat linux 7.3 and 9.0 successfully. But I failed on FC5(pwlib does not compile). Here is what I did:
  1. Download Asterisk 1.2.13 from http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.13.tar.gz
  2. Download oh323 7.3 from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/download/asterisk-oh323-0.7.3.tar.gz
  3. Download patched pwlib from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/Libraries/pwlib-Mimas_patch2-src-tar.gz
  4. Download patched openh323 from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/Libraries/openh323-Mimas_patch2-src-tar.gz
  5. Compile asterisk and install.
  6. Compile pwlib with "./configure && make opt"
  7. Set environment variable "PWLIBDIR" to path of pwlib source.
  8. Compile openh323 with "./configure && make clean && make opt"
  9. Modify Makefile of oh323. Change "PWLIBDIR", "OPENH323DIR", "ASTERISKINCDIR" to the path of the source code(Remember to append "/include" in ASTERISKINCDIR).
  10. Compile oh323 with "make && make install".
  11. By default oh323 wrapper will be installed in "/usr/local/lib", which is defined as OH323WRAPLIBDIR in Makefile. Add the path to /etc/ld.so.conf and run "ldconfig".
  12. END

See also



Go back to Asterisk

oh323 channel

The first H.323 implementation for Asterisk. The H.323 channel driver included in
Asterisk CVS source is based on this source code.

Both versions have continued independent development, so there are two drivers, one in the Asterisk distribution and one available on the InAccess Networks web site:

http://www.inaccessnetworks.com/projects/asterisk-oh323

To use OH323 you will need to compile third party software packages like PWLib and OpenH323. Recent version of OH323 compile everything into a big static module that need no dynamic libs loaded. Look at www.oinko.net for a detailed step-by-step instruction list on how to compile.

Dial syntax

Without gatekeeper:
<exten> and <port> are optional

Dial(OH323/[<exten>@]<host>[:<port>])

With gatekeeper:

Dial(OH323/<exten>)

The second option is valid only in the case where a gatekeeper is used. OH323 supports only one gatekeeper (or none, but not multiple gatekeepers). OH323 itself only acts as H.323 Gateway.
NOTE: OpenH323 library v1.12.0 has a bug in the parsing of the destination host. When this version is used then the above syntax should be:

OH323/h323:<exten>@<host>:<port>

Installation guides


Installing oh323 7.3 on Asterisk 1.2.13

I installed oh323 7.3 with asterisk 1.2.13 on redhat linux 7.3 and 9.0 successfully. But I failed on FC5(pwlib does not compile). Here is what I did:
  1. Download Asterisk 1.2.13 from http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.13.tar.gz
  2. Download oh323 7.3 from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/download/asterisk-oh323-0.7.3.tar.gz
  3. Download patched pwlib from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/Libraries/pwlib-Mimas_patch2-src-tar.gz
  4. Download patched openh323 from http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/Libraries/openh323-Mimas_patch2-src-tar.gz
  5. Compile asterisk and install.
  6. Compile pwlib with "./configure && make opt"
  7. Set environment variable "PWLIBDIR" to path of pwlib source.
  8. Compile openh323 with "./configure && make clean && make opt"
  9. Modify Makefile of oh323. Change "PWLIBDIR", "OPENH323DIR", "ASTERISKINCDIR" to the path of the source code(Remember to append "/include" in ASTERISKINCDIR).
  10. Compile oh323 with "make && make install".
  11. By default oh323 wrapper will be installed in "/usr/local/lib", which is defined as OH323WRAPLIBDIR in Makefile. Add the path to /etc/ld.so.conf and run "ldconfig".
  12. END

See also



Go back to Asterisk

Created by: oej, Last modification: Mon 23 of Oct, 2006 (11:41 UTC) by Younger
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+