Here is 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
;
; Port to connect to.
; (Used only when we don't have a gatekeeper)
; Default value is 1720.
;
connectPort=1720
;
; Enable fast start (yes,no).
;
fastStart=yes
;
; Enable H.245 tunnelling (yes,no).
;
h245Tunnelling=yes
;
; Enable early H.245 messages in call SETUP message.
;
h245inSetup=yes
;
; Enable in-band-DTMF detection.
; (Note: Netmeeting uses in-band DTMFs)
;
inBandDTMF=no
;
; Enable silence suppression.
;
silenceSuppression=no
;
; Set jitter buffer (in milliseconds, 20...10000).
;
jitterMin=20
jitterMax=100
;
; Set IP Type-of-Service byte for RTP channels.
; Valid values for this option are:
; lowdelay, throughput, reliability, mincost, none
;
ipTos=none
;
; Set the maximum number of inbound/outbound H.323 connections.
;
outboundMax=50
inboundMax=10
;
; Set tracing options for the H.323 wrapper library.
; libTraceFile can be 'stdout' or a full path name to a logfile
;
libTraceLevel=3
;libTraceFile=stdout
libTraceFile=/var/log/asterisk/oh323.log
;
; Disable gatekeeper or specify a gatekeeper.
; Valid values for this option are:
; DISABLE,
; DISCOVER,
; <gatekeeper's DNS name>,
; <gatekeeper's ip>,
; GKID:<gatekeeper's id>
;
gatekeeper=80.86.166.196
;gatekeeper=DISABLE
;
; Set the gatekeeper password
;
;gatekeeperPassword=secret
;
; Set the mode for sending user-input
; Valid values for this option are:
; Q931 - Q.931 Keypad Information Element
; STRING - H.245 string
; TONE - H.245 tone
; RFC2833 - RFC2833
;
userInputMode=Q931
;
; AMA flags (default, omit, billing, documentation)
;
amaFlags=default
;
; Account code
;
accountCode=H323
;
; Set the default context of H.323 calls.
;
context=voipout
;-----------------------------------------
; Configure H.323 aliases, prefixes and
; related ASTERISK's contexts
;-----------------------------------------
[register]
alias=BER-BER-GW-1
;
; 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
;-----------------------------------------
; Specify and configure CODEC related
; options
;-----------------------------------------
[codecs]
;
; Define the codec list of the channel driver.
; Every "codec" option may have a "frames" option
; associated with it.
; Valid values for the "codec" option are:
; G711U - G.711 u-Law
; G711A - G.711 A-Law
; G7231 - G.723.1(6.3k)
; G72316K3 - G.723.1(6.3k)
; G72315K3 - G.723.1(5.3k)
; G7231A6K3 - G.723.1A(6.3k)
; G7231A6K3 - G.723.1A(6.3k)
; G728 - G.728
; G729 - G.729
; G729A - G.729A
; G729B - G.729B
; G729AB - G.729AB
; GSM0610 - GSM 0610
; MSGSM - Microsoft GSM Audio Capability
; LPC10 - LPC-10
; Number of frames in RTP packet (if not specified) is 1.
;
;codec=G729A
;frames=20
;codec=GSM0610
;frames=4
;codec=G7231
;frames=20
;codec=G72316K3
;codec=G72315K3
;codec=G7231A6K3
;codec=G7231A5K3
codec=G711A
;codec=G711U