asterisk configuration with DAHDI

أضف رد جديد
albahri2012
مشاركات: 8
اشترك في: 20 أكتوبر 2012, 12:56

asterisk configuration with DAHDI

مشاركة بواسطة albahri2012 »

first of all
a sequance of installation very important
libpri first
then dahdi
and finaly asterisk
if any body start with asterisk then install lib or dahdi it is work with soft phone but with card it doesn't.
so must follow the sequance
the important things the DIGIUM CARD configuration
1- add i module to modprobe.d /dadhi depen in the card (t1/e1)
2- go to cli run dahdi restart
if it is going well with out any error the digium card driver install currectly
else check what is the error that ppear
3- run dahdi_genconfig ( it will create configuration depend in operating system)
there are 2 files will be created /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf
4- make some modify to these files
this is the system.conf for E1
Note : i m using E1
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47

then this is chan_dahdi
group = 1
echocancel = yes
signalling = pri_cpe
switchtype = euroisdn
context=from-nec
channel => 1-15,17-31


group = 2
echocancel = yes
signalling = pri_cpe
switchtype = euroisdn
pridialplan=unknown
context = from-pstn
channel => 32-46,48-62
#include dahdi-channels.conf

onther file is there
dahdi-channels.conf

group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63


now ur card going well , if not please check sip.conf
ghamdan
مشاركات: 1
اشترك في: 08 سبتمبر 2013, 10:42

Re: asterisk configuration with DAHDI

مشاركة بواسطة ghamdan »

شكرا اخ عيسى على هذا الشرح الجميل
أضف رد جديد

العودة إلى ”Asterisk Realtime configuration“