Avaya & Asterisk FreePBX Integration Problem

Hi,

I’m currently testing my FreePbx Box to work with our Avaya PBX to allow dialing outgoing international call and FreePBX extensions to avaya PBX Extensions calling.
Unfortunately no luck to do it successfully. Any help would be much be appreciated, here is the sample codes I already tried:

On FreePBX GUI:

  1. I created a custom Trunk called AvayaPBXTrunk with custom dial string OOH323/$OUTNUM$/Avaya
  2. Created an Outbound route called InternationalCall and select AvayaPBXTrunk on the trunk sequence.
  3. Created an Extension 1000 with dial extension OOH323/[email protected]

On Asterisk CLI:

  1. Edit ooh323.conf with the following codes:
    [general]
    faststart=yes
    h245tunneling=yes
    gatekeeper=DISABLE
    bindaddr=127.0.0.1
    port=1720
    callerID="Asterisk PBX"
    progress_setup=8
    progress_alert=8
    disallow=all
    allow=all
    dtmfmode=inband
    faststart=yes
    callerid=asterisk
    context=default
    disallow=all
    allow=ulaw

[Avaya]
type=friend
context=from-internal
host=X.X.X.X 'IP Address of our Avaya PBX
port=1720
canreinvite=no
disallow=all
allow=ulaw
dtmfmode=inband
rtptimeout=60
e164=50

  1. Edit sip_custom.conf with the following code:

[general]
context=from-internal
videosupport=yes
allow=h261
allow=h263
allow=h263p
bindaddr=127.0.0.1
srvlookup=yes
canreinvite=no

Below also the log result during the call:
– Executing [[email protected]:1] Playback(“OOH323/(null)-b78bd818”, “vm-goodbye”) in new stack
– <OOH323/(null)-b78bd818> Playing ‘vm-goodbye.ulaw’ (language ‘en’)
– Executing [[email protected]:2] Macro(“OOH323/(null)-b78bd818”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“OOH323/(null)-b78bd818”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“OOH323/(null)-b78bd818”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“OOH323/(null)-b78bd818”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“OOH323/(null)-b78bd818”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘OOH323/(null)-b78bd818’ in macro ‘hangupcall’
== Spawn extension (default, s, 2) exited non-zero on ‘OOH323/(null)-b78bd818’
– Executing [[email protected]:1] Macro(“OOH323/(null)-b78bd818”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“OOH323/(null)-b78bd818”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“OOH323/(null)-b78bd818”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“OOH323/(null)-b78bd818”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“OOH323/(null)-b78bd818”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘OOH323/(null)-b78bd818’ in macro ‘hangupcall’
== Spawn extension (default, h, 1) exited non-zero on ‘OOH323/(null)-b78bd818’