Asterisk with Avaya CM on H323 trunk


#1

Hi,

I need to resolve problem the following problem. I try to install an Asterisk with Avaya CM3.0 connected via H323 trunk. It is work when I used veri old version of asterisk 0.7.x (installed from debian package with asterisk.oh323). Now I compile the last version 1.2.7.1 and the 0.7.3 OH323 driver, but unfortunately the H323 trunk doesn’t work with CM, but work well with other Avaya PBX (IP office).

When I call from Asterisk (a sip extension) to a CM IP extension, the extension rings but I allway give ‘reason 8 (Transport failure)’ in the Asterisk CLI.
If I call from CM to Asterisk sip, the Sip extension rings, but no voice.

Please help who use Astersik with Avaya Definity or Communication Manager.
All solution will be good not only OH323 driver.

Regards
Sunseretes


#2

I have done debug what can help to find the problem:

oh323.conf
;
; Configuration file of OpenH323 channel driver
;

;-----------------------------------------
; General configuration options
; (ports, jitter, GK, …)
;-----------------------------------------
[general]

listenAddress=172.16.31.64

listenPort=1720

connectPort=1720

tcpStart=10000
tcpEnd=20000

udpStart=10000
udpEnd=20000

fastStart=yes
;
; Enable H.245 tunnelling (yes,no).
;
h245Tunnelling=no
;
; Enable early H.245 messages in call SETUP message.
;
h245inSetup=yes
;
; Enable in-band-DTMF detection.
; (Note: Netmeeting uses in-band DTMFs)
;
inBandDTMF=yes
;
; Enable silence suppression.
;
silenceSuppression=no

jitterMin=2
jitterMax=200
;

ipTos=none

outboundMax=2
inboundMax=2
simultaneousMax=2

bandwidthLimit=192

wrapLibTraceLevel=1
libTraceLevel=1
libTraceFile=stdout
;

;
;gatekeeper=172.16.31.64
gatekeeper=DISABLE
;
; Set the gatekeeper password
;
;gatekeeperPassword=secret
;
; Set the gatekeeper registration timeout
;
gatekeeperTTL=1600
;

;
userInputMode=Q931
;
; AMA flags (default, omit, billing, documentation)
;
amaFlags=default
;

context=from-pstn

[register]
;

;

;
context=all-prefixes

;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)
; G726 - G.726(32k)
; G72616K - G.726(16k)
; G72624K - G.726(24k)
; G72632K - G.726(32k)
; G72640K - G.726(40k)
; 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=G711A
frames=20
;codec=G711u
;frames=20
;codec=GSM0610
;frames=4
;codec=G7231
;frames=2
;codec=G72316K3
;frames=2
;codec=G729
;frames=2

CLI debug:

*CLI> – Executing Dial(“SIP/6002-cebb”, “OH323/4002@192.168.30.173”) in new stack
– H.323 call to 4002@192.168.30.173 with codec(s) ulaw
– Outbound H.323 call to destination ‘4002@192.168.30.173’, channel ‘OH323/4002@192.168.30.173-6b45453e’.
– Called 4002@192.168.30.173
0:15.661 H225 Caller:81a7100 H323TCP Could not connect to 192.168.30.173:10320 (local port=5001) - Connection timed out(110)
0:15.712 H225 Caller:81a7100 H225 Connect of H245 failed: Connection timed out
0:15.751 H323 Cleaner H323 Connection ip$localhost/29143 terminated.
– H.323 call ‘ip$localhost/29143-6b45453e’ cleared, reason 8 (Transport failure)
– Hungup ‘OH323/4002@192.168.30.173-6b45453e’
== Everyone is busy/congested at this time (1:0/0/1)

Regards
Janos


#3

The problem was caused by Faststart option, because it doesn’t work correctly in 0.6.7 and 0.7.3 OH323 driver.

You can found soution in the folowing link

skylab.inaccessnetworks.com/man … .php?id=90

After recompileing the driver works with avaya CM.

regards
Janos