I am trying to set up an h323 trunk between our Avaya s8700 and Asterisk 1.4.x. I have been able to establish calls in both directions over this new trunk, but the majority of the time multiple connections over that trunk drop all calls. Does anyone have any ideas what the problem might be?
I have appended my Avaya and Asterisk configs as well as output from the Avaya trace operation.
Here are a series of trace’s taken by the Avaya PBX:
-------------------------------------------------------------------------------------
This shows extension 4022 on Avaya calling 6699 on Asterisk over trunk group 2. 10 seconds later extension 4001
on Avaya calls 6699, after hearing 10 seconds of silence both calls go to a quick busy signal.
list trace tac 892
16:17:18 dial 6699 route:UDP|AAR
16:17:18 term trunk-group 2 cid 0x1bf9
16:17:18 dial 6699 route:UDP|AAR
16:17:18 route-pattern 202 preference 1 cid 0x1bf9
16:17:18 seize trunk-group 2 member 4 cid 0x1bf9
16:17:18 Calling Number & Name 5416835700 4022 Eric Oto
16:17:19 Proceed trunk-group 2 member 4 cid 0x1bf9
16:17:19 G711MU ss:off ps:20 rn:12/1 10.1.1.6:13252 10.1.35.12:2872
16:17:19 xoip: fax:Relay modem:off tty:US uid:0x50013 cid:0x1bf9
16:17:19 active trunk-group 2 member 4 cid 0x1bf9
VOIP data from: 10.1.35.12:2872
16:17:30 Jitter:0 0 0 0 0 0 0 0 0 0: Buff:8 WC:3 Avg:0
16:17:30 Pkloss:0 0 0 * * * * 0 0 0: Oofo:0 WC:0 Avg:0
VOIP data from: 10.1.35.12:2872
16:17:40 Jitter:0 0 0 0 0 0 0 0 0 0: Buff:8 WC:4 Avg:0
16:17:40 Pkloss:* 0 0 0 0 * * * * 0: Oofo:0 WC:0 Avg:0
16:17:47 denial event 1220: Recovery on timer expiry D1=0x8b3d D2=0x550f66
16:17:47 idle trunk-group 2 member 4 cid 0x1bf9
16:17:53 idle station 4022 cid 0x1bf9
-----------------------------------------------------------------------------------
This trace shows extension 4001 call x6699. I heard 10 seconds of silence then fast-busy.
list trace station 4001
16:43:19 tone-receiver 01C0105 cid 0x1c71
16:43:19 active station 4001 cid 0x1c71
16:43:21 dial 6699 route:UDP|AAR
16:43:21 term trunk-group 2 cid 0x1c71
16:43:21 dial 6699 route:UDP|AAR
16:43:21 route-pattern 202 preference 1 cid 0x1c71
16:43:21 seize trunk-group 2 member 2 cid 0x1c71
16:43:21 Calling Number & Name 5416835700 4001 Jeff Hoc
16:43:31 denial event 1220: Recovery on timer expiry D1=0x8bd9 D2=0x66
16:43:31 idle trunk-group 2 member 2 cid 0x1c71
16:43:35 idle station 4001 cid 0x1c71
-----------------------------------------------------------------------------------
This trace shows x6601 on Asterisk calling x4001 on Avaya. The call was sucessfully transfered to voicemail.
list trace station 4001
16:49:50 Calling party trunk-group 2 member 1 cid 0x1c8e
16:49:50 Calling Number & Name 6601 NO-CPName
16:49:50 dial 4001
16:49:50 ring station 4001 cid 0x1c8e
16:49:50 G711MU ss:off ps:20 rn:12/1 10.1.1.6:13694 10.1.35.12:2104
16:49:50 xoip: fax:Relay modem:off tty:US uid:0x50010 cid:0x1c8e
VOIP data from: 10.1.35.12:2104
16:50:01 Jitter:0 0 0 0 0 0 0 0 0 0: Buff:12 WC:0 Avg:0
16:50:01 Pkloss:* * * * * * * * * *: Oofo:0 WC:0 Avg:0
16:50:05 no answer station 4001 cid 0x1c8e
16:50:05 coverage-path 301 point 1 cid 0x1c8e
16:50:10 active station 3022 cid 0x1c8e
16:50:10 conference station 3022 cid 0x1c8e
VOIP data from: 10.1.35.12:2104
16:50:11 Jitter:0 0 0 0 0 0 0 0 0 0: Buff:8 WC:5 Avg:0
16:50:11 Pkloss:0 0 * * * * * * * *: Oofo:0 WC:0 Avg:0
-----------------------------------------------------------------------------------
The trace shows extension x4001 calling x6699. The call went through sucessfully.
list trace station 4001
16:52:35 tone-receiver 01E0101 cid 0x1c9d
16:52:35 active station 4001 cid 0x1c9d
16:52:36 dial 6699 route:UDP|AAR
16:52:36 term trunk-group 2 cid 0x1c9d
16:52:36 dial 6699 route:UDP|AAR
16:52:36 route-pattern 202 preference 1 cid 0x1c9d
16:52:36 seize trunk-group 2 member 1 cid 0x1c9d
16:52:36 Calling Number & Name 5416835700 4001 Jeff Hoc
16:52:36 Proceed trunk-group 2 member 1 cid 0x1c9d
16:52:36 G711MU ss:off ps:20 rn:12/1 10.1.1.6:17504 10.1.35.12:2108
16:52:36 xoip: fax:Relay modem:off tty:US uid:0x50010 cid:0x1c9d
16:52:36 active trunk-group 2 member 1 cid 0x1c9d
VOIP data from: 10.1.35.12:2108
16:52:47 Jitter:0 0 0 0 0 0 0 0 0 0: Buff:8 WC:0 Avg:0
16:52:47 Pkloss:0 0 * * * * 0 0 0 0: Oofo:0 WC:0 Avg:0
16:52:54 idle station 4001 cid 0x1c9d
Here is my Asterisk ooh323.conf:
[general]
port=1720
bindaddr=10.1.1.6
progress_setup=8
progress_alert=8
faststart=yes
h245tunneling=yes
gatekeeper=DISABLE
disallow=all
allow=ulaw
dtmfmode=inband
context=default
[Avaya]
type=peer
context=default
host=10.1.35.11
port=1720
disallow=all
allow=ulaw
canreinvite=no
dtmfmode=inband
Here is my extensions.conf(the part that contains the demo anyway):
[local]
include=>default
[default]
include=>demo
include=>internal
include=>external
[demo]
exten => _6699,1,answer()
exten => _6699,2,wait(1)
exten => _6699,3,playback(tt-weasels)
exten => _6699,4,wait(4)
exten => _6699,5,goto(2)
Here is my Avaya Trunk configuration:
change trunk-group 2 Page 1 of 22
TRUNK GROUP
Group Number: 2 Group Type: isdn CDR Reports: y
Group Name: Tie to Asterisk COR: 61 TN: 1 TAC: 892
Direction: two-way Outgoing Display? n Carrier Medium: IP
Dial Access? y Busy Threshold: 255 Night Service:
Queue Length: 0
Service Type: tie Auth Code? n TestCall ITC: rest
Far End Test Line No:
TestCall BCC: 4
TRUNK PARAMETERS
Codeset to Send Display: 6 Codeset to Send National IEs: 6
Max Message Size to Send: 260 Charge Advice: none
Supplementary Service Protocol: a Digit Handling (in/out): enbloc/enbloc
Trunk Hunt: cyclical QSIG Value-Added? n
Digital Loss Group: 18
Incoming Calling Number - Delete: Insert: Format:
Bit Rate: 1200 Synchronization: async Duplex: full
Disconnect Supervision - In? y Out? y
Answer Supervision Timeout: 0
change trunk-group 2 Page 2 of 22
TRUNK FEATURES
ACA Assignment? n Measured: none Wideband Support? n
Internal Alert? n Maintenance Tests? y
Data Restriction? n NCA-TSC Trunk Member:
Send Name: y Send Calling Number: y
Used for DCS? n
Suppress # Outpulsing? n Format: private
Outgoing Channel ID Encoding: preferred UUI IE Treatment: service-provider
Replace Restricted Numbers? n
Replace Unavailable Numbers? n
Send Connected Number: n
Network Call Redirection: none Hold/Unhold Notifications? y
Send UUI IE? y Modify Tandem Calling Number? n
Send UCID? n
Send Codeset 6/7 LAI IE? y
SBS? n Network (Japan) Needs Connect Before Disconnect? n
change trunk-group 2 Page 6 of 22
TRUNK GROUP
Administered Members (min/max): 1/4
GROUP MEMBER ASSIGNMENTS Total Administered Members: 4
Port Code Sfx Name Night Sig Grp
1: T00016 2
2: T00017 2
3: T00018 2
4: T00019 2
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
Here is the Avaya Signal Group configuration:
change signaling-group 2 Page 1 of 1
SIGNALING GROUP
Group Number: 2 Group Type: h.323
Remote Office? n Max number of NCA TSC: 0
SBS? n Max number of CA TSC: 0
Trunk Group for NCA TSC: 2
Trunk Group for Channel Selection: 2
Supplementary Service Protocol: b Network Call Transfer? n
T303 Timer(sec): 10
Near-end Node Name: CLAN2 Far-end Node Name: asterisk01
Near-end Listen Port: 1720 Far-end Listen Port: 1720
Far-end Network Region: 12
LRQ Required? n Calls Share IP Signaling Connection? y
RRQ Required? n
Media Encryption? n Bypass If IP Threshold Exceeded? n
DTMF over IP: out-of-band Direct IP-IP Audio Connections? y
IP Audio Hairpinning? y
Interworking Message: PROGress
Here is the Avaya IP Network Region configuration:
change ip-network-region 12 Page 1 of 19
IP NETWORK REGION
Region: 12
Location: 1 Home Domain:
Name: IP Trunk to Asterisk
Intra-region IP-IP Direct Audio: no
AUDIO PARAMETERS Inter-region IP-IP Direct Audio: no
Codec Set: 1 IP Audio Hairpinning? n
UDP Port Min: 2048
UDP Port Max: 3028 RTCP Reporting Enabled? y
RTCP MONITOR SERVER PARAMETERS
DIFFSERV/TOS PARAMETERS Use Default Server Parameters? y
Call Control PHB Value: 34
Audio PHB Value: 46
802.1P/Q PARAMETERS
Call Control 802.1p Priority: 7
Audio 802.1p Priority: 6 AUDIO RESOURCE RESERVATION PARAMETERS
H.323 IP ENDPOINTS RSVP Enabled? n
H.323 Link Bounce Recovery? y
Idle Traffic Interval (sec): 20
Keep-Alive Interval (sec): 5
Keep-Alive Count: 5
change ip-network-region 12 Page 3 of 19
Inter Network Region Connection Management
src dst codec direct Dynamic CAC
rgn rgn set WAN WAN-BW-limits Intervening-regions Gateway
12 1 7 y :NoLimit
12 2 7 n 1: : :
12 3
12 4
12 5
12 6
12 7
12 8
12 9
12 10
12 11
12 12 1
12 13
12 14
12 15