CAS Signalling and Avaya

I have an E1 Link coming into an Avaya Box. It has a DS1 Card. Along with an analog card. My objective is to replace thsi entire Avaya box with an asterisk setup. I am trying to set up CAS signalling on my single E1/T1 digium card. I installed things in the following order

  1. libpri-1.4.11
  2. dahdi-linux-complete-2.4.0+2.4
  3. openr2-1.3.0.tar
  4. asterisk-1.6.2
    My system.com is as follows

/etc/dahdi/system.conf

loadzone = in
defaultzone = in
span = 1,0,0,cas,hdb3
bchan = 1-15,17-31
dchan = 16

when i do a service dahdi restart i get the following error

Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
wct4xxp: OK
wcte12xp: OK
wct1xxp: OK
wcte11xp: OK
wctdm24xxp: OK
wcfxo: OK
wctdm: OK
wcb4xxp: OK
wctc4xxp: OK
xpp_usb: OK

Running dahdi_cfg: DAHDI_CHANCONFIG failed on channel 16: Invalid argument (22)
Selected signaling not supported
Possible causes:
dchan is being used on a BRI span (use hardhdlc)
Signaling is being assigned to channel 16 of an E1 CAS span
FAILED

My configuration of the DS1 card in Avaya is as follows

                            DS1 CIRCUIT PACK

        Location: 01A12                           Name: New Link
        Bit Rate: 2.048                    Line Coding: hdb3

  Signaling Mode: CAS

    Interconnect: CO                  Country Protocol: 1

Interface Companding: alaw CRC? n
Idle Code: 00001111

  Slip Detection? n                 Near-end CSU Type: other

Echo Cancellation? n

===============================================================================================

Can someone help me with my chand_dahdi.conf and system.conf.

Regards

Hi Arshana
I think you should remove dchan and just let bchan=> 1-30
So , Please find my working setup below for same usage with Avaya in France
/etc/asterisk/chan_dahdi.conf :

Tell me if it works . Here i don’t have caller id and so on with this conf

regards
[channels]
language=fr
context=default

switchtype=euroisdn
signalling=fxs_ks
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
channel => 1-30

/etc/dahdi/system.conf :
loadzone=fr
defaultzone=fr
span=1,1,0,cas,hdb3
fxsks=1-30

Display ds1 03a17
DS1 CIRCUIT PACK

        Location: 03A17                           Name: DS1 ASTERISK TR
        Bit Rate: 2.048                    Line Coding: hdb3

  Signaling Mode: CAS

    Interconnect: pbx                 Country Protocol: 12

Interface Companding: alaw CRC? n
Idle Code: 01010100

  Slip Detection? n                 Near-end CSU Type: other
  • station are VRUFD

display station 24210 Page 1 of 3
STATION

Extension: 24210 Lock Messages? n BCC: 0
Type: VRUFD Security Code: TN: 1
Port: 03A1701 Coverage Path 1: COR: 2
Name: IVR1 Coverage Path 2: COS: 1
Hunt-to Station: Tests? y

STATION OPTIONS
Loss Group: 4
Off Premises Station? y
R Balance Network? n

display station 24210 Page 1 of 3
STATION

Extension: 24210 Lock Messages? n BCC: 0
Type: VRUFD Security Code: TN: 1
Port: 03A1701 Coverage Path 1: COR: 2
Name: IVR1 Coverage Path 2: COS: 1
Hunt-to Station: Tests? y

STATION OPTIONS
Loss Group: 4
Off Premises Station? y
R Balance Network? n

display station 24210 Page 2 of 3
STATION
FEATURE OPTIONS
LWC Reception: spe
LWC Activation? y Coverage Msg Retrieval? y
LWC Log External Calls? n Auto Answer: none
CDR Privacy? n Data Restriction? n
Redirect Notification? y Call Waiting Indication? y
Per Button Ring Control? n Att. Call Waiting Indication? y
Distinctive Audible Alert? y
Switchhook Flash? y Adjunct Supervision? y
Ignore Rotary Digits? n
H.320 Conversion? n Per Station CPN - Send Calling Number? y
Service Link Mode: as-needed
Multimedia Mode: basic Audible Message Waiting? n
MWI Served User Type:
AUDIX Name:
Coverage After Forwarding? s
Multimedia Early Answer? n

Emergency Location Ext: 24210

display station 24210 Page 3 of 3
STATION
SITE DATA
Room: Headset? n
Jack: Speaker? n
Cable: Mounting: d
Floor: Cord Length: 0
Building: Set Color:

ABBREVIATED DIALING
List1: List2: List3:

HOT LINE DESTINATION
Abbreviated Dialing List Number (From above 1, 2 or 3):
Dial Code:

 Line Appearance: call-appr