login | register
Sat 17 of May, 2008 [06:21 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.41s
  • Memory usage: 2.23MB
  • Database queries: 29
  • GZIP: Disabled
  • Server load: 0.54

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

Created by oej, Last modification by Younger on Mon 23 of Oct, 2006 [11:41 UTC]

Comments Filter

Asterisk1.4 and oh323

by Bruce on Thursday 27 of September, 2007 [16:46:48 UTC]
When I use Asterisk1.4, could not compile oh323 with it, pwlib and openh323 are successfully compiled. Did somebody try that successfully.

Give some tips.

Thanks

Select context for an incoming call

by Jeronimo Martinez on Friday 26 of January, 2007 [12:18:46 UTC]
Is there any way of sending an incoming call to an specific context depending on the ip which it came in?
This could be done with h323 module, isn't oh323 capable of doing this?

How to link Asterisks to a H323 gateway?

by inimd on Tuesday 23 of January, 2007 [17:33:47 UTC]
I just installed ooh323 0.73 in my asterisk box. oh323 commands can be found in asterisk CLI. But no calls can get through. Any one's help?

First problem, oh323.conf in etc/asterisk/ cannot be loaded with phpconfig. I need to restart amportal all the time. Does it mean I missed something during installation? What should I do?

Then my situation, what I need to do is:

SIP phones--->asterisk------>H323 soft switch for termination

The provider told me I can treat the soft switch as a gateway, gave me the IP, prefix and nothing else.

Then my oh323.conf

;
; Configuration file of OpenH323 channel driver
;

;-----------------------------------------
; General configuration options
; (ports, jitter, GK, ...)
;-----------------------------------------
general
;
; Address to bind to for incoming connections.
; Default is ALL.
;
listenAddress=0.0.0.0
;
; Port to listen to.
; Default value is 1720.
;
listenPort=1720
;
; Configure the TCP port range to be used by H.323
;
tcpStart=10000
tcpEnd=20000
;
; Configure the UDP port range to be used by H.323
Note
The port range used by RTP are configured from

; "rtp.conf"
;
udpStart=10000
udpEnd=20000
;
; Enable fast start (yes,no).
;
;fastStart=yes
fastStart=no
;
; Enable H.245 tunnelling (yes,no).
;
;h245Tunnelling=yes
h245Tunnelling=no

;
; Enable early H.245 messages in call SETUP message.
;
;h245inSetup=yes
h425inSetup=no
;
; Set jitter buffer (in milliseconds, 20...10000).
;
jitterMin=20
jitterMax=100
;

ipTos=none


outboundMax=100
inboundMax=100
simultaneousMax=100


; Set the bandwidth limit for H.323 connections.
; The value is in Kbps.
;
;bandwidthLimit=1024
;
; Set tracing options for the wrapper library and for the
; OpenH323 library.
; libTraceFile can be 'stdout' or a full path name to the tracefile.
; Only the trace info for OpenH323 is logged in libTraceFile.
;
wrapLibTraceLevel=3
libTraceLevel=3
libTraceFile=stdout
;

gatekeeper=DISABLE


gatekeeperTTL=600
;
; Set the mode for sending user-input (DTMF)
Valid values for this option are

; Q931 - Q.931 Keypad Information Element
; STRING - H.245 string
; TONE - H.245 tone
; RFC2833 - RFC2833
; INBAND -
;
userInputMode=TONE

amaFlags=default

accountCode=H323

language=en

musiconhold=default

context=voip-h323

;-----------------------------------------
; Configure H.323 aliases, prefixes and
; related ASTERISK's contexts
;-----------------------------------------
register
;
; Aliases/prefixes associated with the default context
; defined in section general.
;
;alias=asterisk
;alias=123
;
; Aliases/prefixes routed in "all-aliases" context.
;
context=all-aliases
;alias=ASTERISK
;alias=666
;
; Aliases/prefixes routed in "more-aliases" context.
;
;context=more-aliases
;alias=665
;
; Aliases/prefixes routed in "all-prefixes" context.
;
;context=all-prefixes
;gwprefix=00
;gwprefix=01
;
; Aliases/prefixes routed in "more-stuff" context.
;
;context=more-stuff
;alias=664
;gwprefix=02

codecs
codec=G711A
frames=20

Then I add a line to extensions.conf from-internal for testing

exten => _9999X.,1,Dial(OH323/${EXTEN}@xxx.xxx.xxx.xxx:1720)

Then the debug:

   — Executing Dial("SIP/9091-094537a8", "OH323/99998xxxxxx@xxx.xxx.xxx.xxx:1720") in new stack
   — H.323 call to 99998xxxxxx@xxx.xxx.xxx.xxx:1720 with codec(s) alaw
   — Outbound H.323 call to destination 99998xxxxxx@xxx.xxx.xxx.xxx:1720', channel 'OH323/99998xxxxxx@xxx.xxx.xxx.xxx:1720-3ee0f73'.
   — Called 99998xxxxxx@xxx.xxx.xxx.xxx:1720

Then nothing happened. Even with a reason 0, 5,8,...until I hungup

   — Hungup 'OH323/99998xxxxxx@xxx.xxx.xxx.xxx:1720'
 == Spawn extension (from-internal, 99998xxxxxx, 1) exited non-zero on 'SIP/9091-094537a8'


Asterisk H323 to Quintum DX

by rushan on Thursday 16 of March, 2006 [17:22:09 UTC]
Anyone got the correct oh323.conf to be able to link my asterisk to send calls to my Quintum DX gateway?

im trying to let my sip asterisk users to make calles from the asterisk and route the calls to the quintum that will originate the call

Any Help???

Rushan@mec.com.jo

by rushan on Thursday 16 of March, 2006 [17:21:53 UTC]
Anyone got the correct oh323.conf to be able to link my asterisk to send calls to my Quintum DX gateway?

im trying to let my sip asterisk users to make calles from the asterisk and route the calls to the quintum that will originate the call

Any Help???

Rushan@mec.com.jo
Edit

Re: uninstall?

by Anonymous on Monday 07 of February, 2005 [07:55:12 UTC]
it only installs 3 files:
$(DESTDIR)/etc/asterisk/oh323.conf
$(DESTDIR)/usr/local/lib/liboh323wrap_s.a
$(DESTDIR)/usr/lib/asterisk/modules/chan_oh323.so

I made a patch for my custom settings that included the following:


+++../Makefile 2005-02-01 16:20:02.142037782 -0800 @@ -38,9 +38,9 @@
#
# Install everything under this directory. If this is empty, then everything
# will be installed under /
#
-DESTDIR=
+DESTDIR=/opt/asterisk-oh323-0.6.5  
#
# Set PWLIBDIR variable to the directory containing the sources of
# PWlib library.


But then I had to add these symbolic links for Asterisk.
lrwxrwxrwx 1 root root 49 Feb 1 16:41 /etc/asterisk/oh323.conf -> /opt/asterisk-oh323-0.6.5/etc/asterisk/oh323.conf
lrwxrwxrwx 1 root root 64 Feb 1 16:43 /usr/lib/asterisk/modules/chan_oh323.so -> /opt/asterisk-oh323-0.6.5/usr/lib/asterisk/modules/chan_oh323.so

note, it doesn't seem to need a link to liboh323wrap_s.a
Edit

uninstall?

by Anonymous on Thursday 13 of January, 2005 [08:46:06 UTC]
I have had problems with asterisk-oh323. I've tryed to uninstall it but it seems like some traces of the module persist on asterisk and creates problems with chan_h323.

Anyone knows how to get rid of oh323?

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver