<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'Lucida Grande','Lucida Sans
Unicode',Helvetica,Verdana,Arial,Tahoma,sans-serif; font-size:
12px; line-height: 17px;">
<p style="overflow: auto;">Hi,</p>
<p style="overflow: auto;">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.<br>
Unfortunately no luck to do it successfully. Any help would be
much be appreciated, here is the sample codes I already tried:</p>
<p style="overflow: auto;">On FreePBX GUI:<br>
1. I created a custom Trunk called AvayaPBXTrunk with custom
dial string OOH323/$OUTNUM$/Avaya<br>
2. Created an Outbound route called InternationalCall and
select AvayaPBXTrunk on the trunk sequence.<br>
3. Created an Extension 1000 with dial extension
OOH323/$OUTNUM$@Avaya</p>
<p style="overflow: auto;">On Asterisk CLI:<br>
1. Edit ooh323.conf with the following codes:<br>
[general]<br>
faststart=yes<br>
h245tunneling=yes<br>
gatekeeper=DISABLE<br>
bindaddr=127.0.0.1<br>
port=1720<br>
callerID="Asterisk PBX"<br>
progress_setup=8<br>
progress_alert=8<br>
disallow=all<br>
allow=all<br>
dtmfmode=inband<br>
faststart=yes<br>
callerid=asterisk<br>
context=default<br>
disallow=all<br>
allow=ulaw</p>
<p style="overflow: auto;">[Avaya]<br>
type=friend<br>
context=from-internal<br>
host=X.X.X.X 'IP Address of our Avaya PBX<br>
port=1720<br>
canreinvite=no<br>
disallow=all<br>
allow=ulaw<br>
dtmfmode=inband<br>
rtptimeout=60<br>
e164=50</p>
<p style="overflow: auto;">2. Edit sip_custom.conf with the
following code:</p>
<p style="overflow: auto;">[general]<br>
context=from-internal<br>
videosupport=yes<br>
allow=h261<br>
allow=h263<br>
allow=h263p<br>
bindaddr=127.0.0.1<br>
srvlookup=yes<br>
canreinvite=no</p>
<p style="overflow: auto;">Below also the log result during the
call:<br>
-- Executing [s@default:1] Playback("OOH323/(null)-b78bd818",
"vm-goodbye") in new stack<br>
--<span class="Apple-converted-space"> </span>Playing
'vm-goodbye.ulaw' (language 'en')<br>
-- Executing [s@default:2] Macro("OOH323/(null)-b78bd818",
"hangupcall") in new stack<br>
-- Executing [s@macro-hangupcall:1]
GotoIf("OOH323/(null)-b78bd818", "1?skiprg") in new stack<br>
-- Goto (macro-hangupcall,s,4)<br>
-- Executing [s@macro-hangupcall:4]
GotoIf("OOH323/(null)-b78bd818", "1?skipblkvm") in new stack<br>
-- Goto (macro-hangupcall,s,7)<br>
-- Executing [s@macro-hangupcall:7]
GotoIf("OOH323/(null)-b78bd818", "1?theend") in new stack<br>
-- Goto (macro-hangupcall,s,9)<br>
-- Executing [s@macro-hangupcall:9]
Hangup("OOH323/(null)-b78bd818", "") in new stack<br>
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on
'OOH323/(null)-b78bd818' in macro 'hangupcall'<br>
== Spawn extension (default, s, 2) exited non-zero on
'OOH323/(null)-b78bd818'<br>
-- Executing [h@default:1] Macro("OOH323/(null)-b78bd818",
"hangupcall,") in new stack<br>
-- Executing [s@macro-hangupcall:1]
GotoIf("OOH323/(null)-b78bd818", "1?skiprg") in new stack<br>
-- Goto (macro-hangupcall,s,4)<br>
-- Executing [s@macro-hangupcall:4]
GotoIf("OOH323/(null)-b78bd818", "1?skipblkvm") in new stack<br>
-- Goto (macro-hangupcall,s,7)<br>
-- Executing [s@macro-hangupcall:7]
GotoIf("OOH323/(null)-b78bd818", "1?theend") in new stack<br>
-- Goto (macro-hangupcall,s,9)<br>
-- Executing [s@macro-hangupcall:9]
Hangup("OOH323/(null)-b78bd818", "") in new stack<br>
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on
'OOH323/(null)-b78bd818' in macro 'hangupcall'<br>
== Spawn extension (default, h, 1) exited non-zero on
'OOH323/(null)-b78bd818'<br>
</p>
<p style="overflow: auto;">Regards,<br>
Malvin<br>
<br>
</p>
</span></span>
</body>
</html>