Você está na página 1de 3

6/16/2015

KnowledgeArticle

HowtoInstallandConfigurea
DigiumTE13xSingleSpanT1/E1
Card
ProductFamily AsteriskCards
Answer

HowtoInstallandConfigureaDigiumTE13xSingleSpanT1/E1Card
ThefollowingarticlewillinstructyouonhowtoinstallaDigiumTE133orTE134intoyour
AsteriskorSwitchvoxsystem.
HardwareInstallation:
Note:TheTE134cardisa32bit33MHzcardkeyedforuniversal3.3voltor5.0volt
operationandworksinanyPCI2.2(orgreater)compliantslot.TheTE133cardiskeyedfor
aPCIExpress1lane(x1)slotandwillworkinanyPCIerevision1.0compliantslot,
includinglanelengthsx4,x8,andx16.
1. Powerdownyourcomputerandunplugitfromitspowersource.
2. Attachastaticstraptoyourwristandopenthecase.
3. RemovethebracketplaceholderandinsertthecardintoaPCIorPCIExpressslot.
Makesurethecardissecurelyseatedintheslot.
4. Screwthecardbracketsecurelyintothecase.Ifavailable,usethescrewthatwas
previouslyholdingthebracketplaceholder(fromStep3).
5. Replacethecovertoyourcomputer.
6. PlugtheT1orE1equipmentcableintotheRJ45port.
T1/E1Selection:
TheTE130SeriescardscanbeconfiguredforeitherT1orE1mode.TheT1/E1modemay
bespecifiedinthedriversusingeitherthedefault_linemode=t1ordefault_linemode=e1
moduleparameterwhenthedriversareloaded.Thiswillsetthemodeforthespanonthe
card.
T1Mode(RecommendedMethod)Includethefollowingin/etc/modprobe.d/dahdi.conf:
optionswcte13xpdefault_linemode=t1
T1Mode(AlternateMethod):
#modprobewcte13xpdefault_linemode=t1
E1Mode(RecommendedMethod)Includethefollowingin/etc/modprobe.d/dahdi.conf:
optionswcte13xpdefault_linemode=e1
E1Mode(AlternateMethod):
#modprobewcte13xpdefault_linemode=e1
SoftwareInstallation:
DigiumhardwarerequiresdriversandlibrariesthatarenotintegratedwiththeLinuxkernel.
DigiumhardwareisonlysupportedunderLinux.DigiumrecommendsCentOS,Debian,
RedHat,andUbuntudistributionsofLinux.However,manyotherdistributionsare
supportedbyDigiumTechnicalSupport.
Digiumssoftware,includingdriversandapplicationsoftware,maybeobtainedfrom
Digiumsdownloadserverat:
http://kb.digium.com/articles/FAQ/HowtoInstallandConfigureaDigiumTE13xSingleSpanT1E1Card/p

1/3

6/16/2015

KnowledgeArticle

http://downloads.digium.com

ForanintroductiontoAsterisk,Digiumstelephonysoftware,includingadditional
informationonitsconfiguration,setup,andfeatures,pleasereferto:
http://www.asterisk.org

ForthelatestinformationonsettingupandconfiguringDAHDIdriversforyourDigium
hardwareproduct,pleaserefertothelatestreleaseofthismanualwhichisavailablefrom
theproductspecificdocumentation
sectionat:
http://www.digium.com
ToinstallyourTE130Seriescard,youwillneed:
Linux2.6kernelheaders
Developmentlibrariesandheadersforncurses
Developmentlibrariesandheadersforzlibandopenssl
Developmentlibrariesandheadersfornewt
GCCandstandardsoftwarebuildtools
ItisrecommendedthatyouusethemostrecentversionoftheAsterisk,DAHDI,andlibpri
softwareforthebestresults.Ifyouhavepreviouslyinstalledanyofthese,Digium
recommendsthatyouupgradetothelatestversionofeach.
libpriandDAHDIInstallation:
1. AfterthemachinehasbootedtoLinux,loginasrootandexecutethefollowing
commandtolistthedevicesdetectedbythePCIbus.
#lspcin
2. ConfirmthattheoutputlistsadevicewithDigium'sPCIvendorIDwhichis"d161".
ThePCIdeviceIDshowimmediatelyafter"d161:"willbepopulatedwithoneof
theidentifierslistedbelow:
TE133:800A
TE134:800B
ADigiumTE130Series(TE133/TE134)cardidentifiershouldbelisted.Ifa
matchingcardidentifierisnotlisted,thenyourmachineisnotPCI2.2(orhigher)
orPCIExpresscompatible,andthecardwillnotworkwithyourmotherboard.
Forfurtherverification,thescreenoutputfromlspcishouldbesimilartothe
following:
3:00.0Networkcontroller:Digium,Inc.WildcardTE133singlespan
T1/E1/J1card(PCIExpress)(rev01)
Note:Theoutputfromlspvimayormaynotstate"Unknowndevice".Ifitdoes,this
doesnotindicateaproblem.
3. Downloadthelatestversionoflibpri(1.4orlater).Substitutetheversionoflibpri
fortheX.Xinthecommandlinebelow.libpriisavailablefordownloadfrom:
http://downloads.digium.com/pub/telephony/libpri
#wgethttp://downloads.digium.com/pub/telephony/libpri/libpri
X.X.current.tar.gz
4. Expandthedownloadedfile,compileitscontentsandinstallthelibraries.
SubstitutetheversionoflibprifortheX.XandX.X.Xinthecommandlinesbelow.
#tarzxvflibpriX.Xcurrent.tar.gz
#cdlibpriX.X.X/
#make
#makeinstall
Note:ThereisnocoorelationbetweentheversioningoflibpriandAsterisk.The
http://kb.digium.com/articles/FAQ/HowtoInstallandConfigureaDigiumTE13xSingleSpanT1E1Card/p

2/3

6/16/2015

KnowledgeArticle

libpri1.4branchwillfunctionwiththeAsterisk1.8branch.
5. DownloadthelatestDAHDIdriverswithtools(version2.7orlater).DAHDIis
availablefordownloadfrom:http://downloads.digium.com/pub/telephony/dahdi
linuxcomplete/
#wgethttp://downloads.digium.com/pub/telephony/dahdilinux
complete/dahdilinuxcompletecurrent.tar.gz
6. Expandthedownloadedfile,compileitscontentsandinstallthedriversandtools.
SubstitutetheversionofDAHDIfortheX.X.Xinthecommandlinesbelow.
#tarzxvfdahdilinuxcompletecurrent.tar.gz
#cddahdilinuxcompleteX.X.X+X.X.X
#make
#makeinstall
#makeconfig
Note:Executing'makeconfig'willinstallaninitscriptandsymlinkswhichallow
youtostartandstopDAHDIasaservice.
AsteriskInstallation:
1. DownloadthelatestreleaseversionofAsterisk(1.8.0orlater).Substitutethe
versionofAsteriskfortheX.Xinthecommandbelow.Asteriskisavailablefor
downloadfrom:http://downloads.digium.com/pub/telephony/asterisk/
#wgethttp://downloads.digium.com/pub/telephony/asterisk/asteriskX.X
current.tar.gz
2. Expandthedownloadedfile,compileitscontentsandinstalltheapplication.
SubstitutetheversionofAsteriskfortheX.XandX.X.Xinthecommandlines
below.
#tarzxvfasteriskX.Xcurrent.tar.gz
#cdasteriskX.X.X/
#./configure
#makemenuselect
#make
#makeinstall
3. IfthisisthefirstAsteriskinstallationonthissystem,youshouldinstallthesample
configurationfiles.Todothis,run:
#makesamples
Note:Runningthiscommandwilloverwrite,aftermakingabackupcopy,any
olderAsteriskconfigurationfilesthatyouhaveinthe/etc/asteriskdirectory.
Ifyourinstallationhasfailed,itmaybebecauseyouaremissingoneormoreof
thebuilddependencies,thekernelheaders,orthedevelopmenttools.Please
contactyourresellerwherethecardwaspurchased,orcallDigiumTechnical
Supportat1.256.428.6161forassistance.
4. CompleteinstructionsforinstallingAsteriskareavailableatwww.asterisk.org.

http://kb.digium.com/articles/FAQ/HowtoInstallandConfigureaDigiumTE13xSingleSpanT1E1Card/p

3/3

Você também pode gostar