Asterisk Avaya

Business PBX Solutions
Provider Solution Details
Bicom VoIP Become an ITSP Now!
  • Become a serious competitor in VoIP Immediately
  • FULL Consultancy, Installation, Training & Support
  • Sell Hosted IP PBXs, Biz Lines, Call Centre
  • Turnkey Provisioning at your data center
Details
3CX Software PBX for Windows
  • Windows Software Solution
  • Easy to Install and Manage
  • Auto Configures Phones & Trunks
  • Android, iOS, Windows & Mac clients
Details
VoIP Hardware Solutions
Provider Solution Details
VoIP Hardware Zycoo UC Solutions
  • Modular Design IP PBX for SMB
  • Remote office Centralized Management solution
  • 3rd party app integration, Enterprise Billing, Android & iOS client
Details
Yeastar Communications Solutions
  • Cost-effective IP-PBX Solution for SMB
  • FXS, FXO, GSM, BRI and PRI VoIP Gateways
  • Rich features and reliable performance
Details

Asterisk and Lucent Definity Integration release 6+


A quick and dirty explanation on how to integrate Asterisk with a Lucent Definity System via a PRI-ISDN connection.

This was initially done on a release 6 g3si, connecting to a stock Asterisk 0.7.0 system with Zaptel hardware.

On the Lucent you need an available TN464 circuit pack hooked up directly to the Zaptel hardware via crossover to a 120A2 CSU module, or use your own direct crossover cable. I recommend the csu if you have it.

On my system the TN464 circuit pack was installed at 01B15, replace as necessary.

T1 (24 channels)


1) After hooking up the Asterisk and Lucent hardware.

  • change ds1 01b15
  • framing mode: d4
  • line coding: b8zs
  • set the signaling mode to isdn-pri
  • set the connect: Network
  • Set protocol version to B (national)
  • Interface Companding: mulaw
  • near-end csu type: Other (for the crossover)

2) Add a new Trunk group.

  • add trunk-group next
  • direction: 2 way
  • service-type: tie
  • queue: 23
  • Tac: 7 (or an appropriate access code for your dialplan)

3) Add a signalling group to the Lucent

  • add signaling-group next
  • set the primary d-channel to the 24 line of your card, i.e 01B1524

4) Add the appropriate ports to the Trunk specification

  • add ports 01b1501 through 01b1523 with signaling-group set to the one previously defined.

5) Add the trunk to your dialplan

  • change dialplan

6) Configure Caller ID on the trunk

  • on rev 6 - change isdn pub

Now configure the Asterisk box


1) In zaptel.conf specify the channels i.e

span=1,1,0,d4,b8zs
bchan=1-23
dchan=24
defaultzone=us

2) zapata.conf

switchtype = national
overlapdial = yes
signalling = pri_net
channel => 1-23

Restart Asterisk and enjoy!
(:biggrin:)

Several important changes to note, protocol B is equivalent to national (set the switchtype to national)
Protocol A is equivalent to ni1 (national one)
5ESS switchtype does work with my revision Definity, but National is proving to be less troublesome.

If anyone has questions you can reach me at mab (at) pipeline (dot) com

E1 (32 channels):

At Avaya

1) After hooking up the Asterisk and Lucent hardware.

  • change ds1 01b15
  • line coding: hdb3
  • set the signaling mode to isdn-pri
  • set the connect: line-side
  • Set protocol version to B (national)
  • CRC: Y
  • Interface Companding: mulaw
  • near-end csu type: Other (for the crossover)

3) Add a signalling group to the Lucent

  • add signaling-group next
  • set the primary d-channel to the 16 line of your card, i.e 01B1516

4) Add the appropriate ports to the Trunk specification

  • add ports 01b1501 through 01b1515 and 01b1517 to 31 with signaling-group set to the one previously defined.

The rest of the configuration is the same.
At Asterisk:

1) In zaptel.conf specify the channels i.e

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
defaultzone=us

2) zapata.conf

switchtype = national
overlapdial = yes
signalling = pri_net
group = 1
channel => 1-15
channel => 17-31

Using the Avaya in DS1FD stations mode:

Use this mode if you want to transfer the call back into your Avaya switch (using Asterisk as an IVR)

The DS1 should be configured:

B8ZS
ESF
Robbed Bit
120A CSU

24 DS1FD stations...
I didn't try to get it working with E1 mode.

zaptel.conf (2 TE110P cards in T1 mode)
loadzone=us
defaultzone=us

span=1,0,0,esf,b8zs #card 1 TE100P
fxsks=1-24
span=2,0,0,esf,b8zs #card 2 TE100P
fxsks=25-48


zapata.conf (you may want to change some options)
[trunkgroups]

[channels]

language=en
usecallerid=no
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=yes
signalling=fxs_ks
switchtype=national
prilocaldialplan=unknown
context=from-avaya
group=1
channel => 1-48



Asterisk and Lucent Definity Integration release 6+


A quick and dirty explanation on how to integrate Asterisk with a Lucent Definity System via a PRI-ISDN connection.

This was initially done on a release 6 g3si, connecting to a stock Asterisk 0.7.0 system with Zaptel hardware.

On the Lucent you need an available TN464 circuit pack hooked up directly to the Zaptel hardware via crossover to a 120A2 CSU module, or use your own direct crossover cable. I recommend the csu if you have it.

On my system the TN464 circuit pack was installed at 01B15, replace as necessary.

T1 (24 channels)


1) After hooking up the Asterisk and Lucent hardware.

  • change ds1 01b15
  • framing mode: d4
  • line coding: b8zs
  • set the signaling mode to isdn-pri
  • set the connect: Network
  • Set protocol version to B (national)
  • Interface Companding: mulaw
  • near-end csu type: Other (for the crossover)

2) Add a new Trunk group.

  • add trunk-group next
  • direction: 2 way
  • service-type: tie
  • queue: 23
  • Tac: 7 (or an appropriate access code for your dialplan)

3) Add a signalling group to the Lucent

  • add signaling-group next
  • set the primary d-channel to the 24 line of your card, i.e 01B1524

4) Add the appropriate ports to the Trunk specification

  • add ports 01b1501 through 01b1523 with signaling-group set to the one previously defined.

5) Add the trunk to your dialplan

  • change dialplan

6) Configure Caller ID on the trunk

  • on rev 6 - change isdn pub

Now configure the Asterisk box


1) In zaptel.conf specify the channels i.e

span=1,1,0,d4,b8zs
bchan=1-23
dchan=24
defaultzone=us

2) zapata.conf

switchtype = national
overlapdial = yes
signalling = pri_net
channel => 1-23

Restart Asterisk and enjoy!
(:biggrin:)

Several important changes to note, protocol B is equivalent to national (set the switchtype to national)
Protocol A is equivalent to ni1 (national one)
5ESS switchtype does work with my revision Definity, but National is proving to be less troublesome.

If anyone has questions you can reach me at mab (at) pipeline (dot) com

E1 (32 channels):

At Avaya

1) After hooking up the Asterisk and Lucent hardware.

  • change ds1 01b15
  • line coding: hdb3
  • set the signaling mode to isdn-pri
  • set the connect: line-side
  • Set protocol version to B (national)
  • CRC: Y
  • Interface Companding: mulaw
  • near-end csu type: Other (for the crossover)

3) Add a signalling group to the Lucent

  • add signaling-group next
  • set the primary d-channel to the 16 line of your card, i.e 01B1516

4) Add the appropriate ports to the Trunk specification

  • add ports 01b1501 through 01b1515 and 01b1517 to 31 with signaling-group set to the one previously defined.

The rest of the configuration is the same.
At Asterisk:

1) In zaptel.conf specify the channels i.e

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
defaultzone=us

2) zapata.conf

switchtype = national
overlapdial = yes
signalling = pri_net
group = 1
channel => 1-15
channel => 17-31

Using the Avaya in DS1FD stations mode:

Use this mode if you want to transfer the call back into your Avaya switch (using Asterisk as an IVR)

The DS1 should be configured:

B8ZS
ESF
Robbed Bit
120A CSU

24 DS1FD stations...
I didn't try to get it working with E1 mode.

zaptel.conf (2 TE110P cards in T1 mode)
loadzone=us
defaultzone=us

span=1,0,0,esf,b8zs #card 1 TE100P
fxsks=1-24
span=2,0,0,esf,b8zs #card 2 TE100P
fxsks=25-48


zapata.conf (you may want to change some options)
[trunkgroups]

[channels]

language=en
usecallerid=no
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=yes
signalling=fxs_ks
switchtype=national
prilocaldialplan=unknown
context=from-avaya
group=1
channel => 1-48



Created by: mbranton, Last modification: Sun 28 of Nov, 2010 (10:58 UTC) by shyju
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+