Asterisk + libss7 [2nd]

Starting your asterisk :

1. copy source-asterisk/contrib/init.d/rc.redhat.asterisk into your /etc/init.d/asterisk
2. chmod +x /etc/init.d/asterisk
3. chkconfig --levels 345 asterisk on
4. service asterisk restart

Asterisk should start. check that with ps -ef | grep asterisk output will be something likt :

[X~]# ps -ef | grep asterisk
root 2239 1 0 Sep24 ? 00:00:00 /bin/sh /usr/sbin/safe_asterisk
root 13047 2239 42 Sep24 ? 1-12:43:56 /usr/sbin/asterisk -f -vvvg -c
root 28546 27340 0 09:37 pts/0 00:00:00 grep asterisk

now try to connect your asterisk box. :

[X~]# asterisk -r [ will give you CLI access to your asterisk box ]

--------------------------------------------------------------------

Checking your Dahdi:
[X~]#dahdi_hardware [ this will show your degium hardware ]
[X~]#dahdi_scan [ This will show your card status with details ]

sample output :

Without signal:

active=yes
alarms=RED <-- Watch this
description=T4XXP (PCI) Card 0 Span 3
name=TE4/0/3
manufacturer=Digium
devicetype=Wildcard TE420 (4th Gen)
location=Board ID Switch 0
basechan=63
totchans=31
irq=169
type=digital-E1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS

With proper Signal :

active=yes
alarms=OK <-- Watch this
description=T4XXP (PCI) Card 0 Span 3
name=TE4/0/3
manufacturer=Digium
devicetype=Wildcard TE420 (4th Gen)
location=Board ID Switch 0
basechan=63
totchans=31
irq=169
type=digital-E1
syncsrc=4
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS

Checking the ss7 link :

X*CLI> ss7 show linkset 1
SS7 linkset 1 status: Up

X*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
T4XXP (PCI) Card 0 Span 1 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 3 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 4 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)



[X ~]# cat /proc/dahdi/* [ Card and Signal ok ]
Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS

1 TE4/0/1/1 Clear (In use)
2 TE4/0/1/2 Clear (In use)
3 TE4/0/1/3 Clear (In use)
4 TE4/0/1/4 Clear (In use)
..........................


[X]# cat /proc/dahdi/* [ Problem ]
Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS RED

1 TE4/0/1/1 Clear RED
2 TE4/0/1/2 Clear RED
3 TE4/0/1/3 Clear RED
4 TE4/0/1/4 Clear RED
.....................


---------------------------------------------------
Make sure your Digium card is not sharing IRQ with any other devices:

1. Disable all [ I really mean all ] unnecessary devices like Sound card, ports. from Bios
2. cat /proc/interrupts [ this will show if your card share IRQ with other devices
---------------------------------------------------

Comments

  1. I am getting following output by the command : cat /proc/dahdi/1
    1 TE4/0/1/1 Clear (In use) RED
    2 TE4/0/1/2 Clear (In use) RED
    3 TE4/0/1/3 Clear (In use) RED
    4 TE4/0/1/4 Clear (In use) RED
    ...........
    Meant the dahdi configuration is okay or not??
    Note: I didn't connect the cable between E1 port to MUX yet.
    Plz advice... thanks

    ReplyDelete

Post a Comment

Popular posts from this blog

PureStorage //m20 Administration IP configuration.

Cisco Prime upgrade from 1.2.1.12 to 3.0 Step by Step.

ClearPass TACACS+ Cisco switch AAA Active directory