{"id":105,"date":"2016-06-03T17:55:04","date_gmt":"2016-06-03T17:55:04","guid":{"rendered":"http:\/\/symbioticindia.in\/docu\/?p=105"},"modified":"2016-06-03T17:55:04","modified_gmt":"2016-06-03T17:55:04","slug":"configuring-digium-cards-with-asterisk-goautodial-vicidial-vicidialnow-freepbx","status":"publish","type":"post","link":"http:\/\/symbioticindia.in\/docu\/2016\/06\/03\/configuring-digium-cards-with-asterisk-goautodial-vicidial-vicidialnow-freepbx\/","title":{"rendered":"Configuring Digium cards with Asterisk , goautodial , vicidial , vicidialnow , freepbx"},"content":{"rendered":"<div class=\"adsense-aside\"><\/div>\n<div class=\"article-header\">\n<h1 class=\"title entry-title\"><\/h1>\n<\/div>\n<div class=\"article-content entry-content\">\n<div dir=\"ltr\">\n<div><i>How to configure the Digium PRI cards in Asterisk or vicidial or Goautodial or vicidialnow or Freepbx<\/i><\/div>\n<div class=\"separator\"><a href=\"http:\/\/2.bp.blogspot.com\/-sXzLt2dnGj0\/VV7-nUjS7BI\/AAAAAAAAAS0\/5nGVzg-LOjE\/s1600\/digium_TE235_TE435_asterisk_vicidial%2B_goautodial.PNG\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-sXzLt2dnGj0\/VV7-nUjS7BI\/AAAAAAAAAS0\/5nGVzg-LOjE\/s320\/digium_TE235_TE435_asterisk_vicidial%2B_goautodial.PNG\" width=\"320\" height=\"204\" border=\"0\" \/><\/a><\/div>\n<p><i>Below are the list of digium cards to which you need to follow this blog<\/i><br \/>\n<i><br \/>\n<\/i><i>1. TE 121, TE 101<\/i><br \/>\n<i>2. TE 205, TE 210, TE 207 ,TE212<\/i><br \/>\n<i>3. TE 405, TE 407, TE 410, TE412<\/i><br \/>\n<i><br \/>\n<\/i><i>For the latest cards like \u00a0TE 13X, TE23X , TE43X , TE 82X follow below links<\/i><br \/>\n<i>TE 13X \u00a0<a href=\"http:\/\/striker24x7.blogspot.in\/2013\/12\/how-to-configure-digium-te133-and-te134.html\">ClickHere<\/a><\/i><br \/>\n<i>TE 23X7 TE43X \u00a0<a href=\"http:\/\/striker24x7.blogspot.in\/2014\/08\/configuring-digium-te235-and-te435-card.html\">ClickHere<\/a><\/i><br \/>\n<i>TE 82X <a href=\"http:\/\/striker24x7.blogspot.in\/2014\/08\/configuring-digium-te235-and-te435-card.html\">ClickHere<\/a><\/i><\/p>\n<p><i>****************************<\/i><br \/>\n<i>If you are using the precompiled iso of asteirsk software like ( trixbox , elastix , pbxinaflash , goautodial , vicibox,) then the Dhadi driver will be by default installed ,<\/i><br \/>\n<i>If not follow the below link to install the dahdi driver<\/i><br \/>\n<a href=\"http:\/\/striker24x7.blogspot.in\/2013\/05\/steps-to-reinstall-or-upgrade-dahdi.html\"><i>ClickHere<\/i><\/a><br \/>\n<i>****************************<\/i><br \/>\n<i><br \/>\n<\/i><i>****************************<\/i><br \/>\n<i>Step 1: E1\/T1 mode<\/i><br \/>\n<i>****************************<\/i><\/p>\n<div><i>First you need to check whether card is in E1 or T1 mode. Take card outside and check for the E1\/T1 changeover jumper in the card, if your PRI line is E1 then you need close the jumper , if T1 then it should be open. then insert the card into the server.<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 2: Card detected by server<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Make sure card is detected by server , type the following command in Linux shell<\/i><\/div>\n<div>lspci<\/div>\n<div><\/div>\n<div><i>you should get the below output if the card is detected<\/i><\/div>\n<div><\/div>\n<div>0e:08.0 Ethernet controller: Digium, Inc. Wildcard TE121 single-span T1\/E1\/J1 card (PCI-Express) (rev 11)<\/div>\n<div><\/div>\n<div><i>If not detected try in another slots\u00a0<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 3: configuring the card<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Once the card is detected type the below commands to autoconfigure the card<\/i><\/div>\n<div><\/div>\n<div>dahdi_genconf -v<\/div>\n<div><\/div>\n<div><i>the above command will show the below results<\/i><\/div>\n<div><\/div>\n<div>Default parameters from \/etc\/dahdi\/genconf_parameters<\/div>\n<div>Generating \/etc\/dahdi\/system.conf<\/div>\n<div>Generating \/etc\/asterisk\/dahdi-channels.conf<\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 4: enabling the channels\u00a0<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>you need to enable the dahdi-channels.conf in asterisk conf files.<\/i><\/div>\n<div><i>open the file \u00a0\/etc\/asterisk\/chan_dahdi.conf \u00a0using vi editor as shown below<\/i><\/div>\n<div><\/div>\n<div>vi \/etc\/asterisk\/chan_dahdi.conf<\/div>\n<div><\/div>\n<div><i>go to last line \u00a0and press o \u00a0and then add the below line<\/i><\/div>\n<div><\/div>\n<div>#include dahdi-channels.conf<\/div>\n<div><\/div>\n<div><i>save it and exit \u00a0ie: :wq<\/i><\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 5: \u00a0Dahdi driver reloading<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Run the below command in asterisk cli<\/i><\/div>\n<div><i>to go to Asterisk cli type the below command<\/i><\/div>\n<div>asterisk -vvvvvvr<\/div>\n<div><\/div>\n<div><i>and then type the blow commands in asterisk cli<\/i><\/div>\n<div>module unload chan_dahdi.so<\/div>\n<div>module load chan_dahdi.so<\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 6; config confirmation<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>To make sure all the configuration is perfect ,type the below command<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>type \u00a0dahdi_cfg -vv \u00a0in linux console<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>it should display below output<\/i><\/div>\n<div>[root@localhost~]# dahdi_cfg -vvvv<\/div>\n<div>DAHDI Tools Version &#8211; 2.4.1<\/div>\n<div>DAHDI Version: 2.4.1.2<\/div>\n<div>Echo Canceller(s): MG2<\/div>\n<div>Configuration<\/div>\n<div>======================<\/div>\n<div>SPAN 1: CCS\/HDB3 Build-out: 0 db (CSU)\/0-133 feet (DSX-1)<\/div>\n<div>31 channels to configure.<\/div>\n<div>Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)<\/div>\n<div>Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)<\/div>\n<div>Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03) &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/div>\n<div>\u00a0Channel 30: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 30)<\/div>\n<div>Channel 31: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 31)<\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 6-a : card and line status<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>type the below command in asterisk cli to check the card and pri line status<\/i><\/div>\n<div><\/div>\n<div>dahdi show status<\/div>\n<div>dahdi show channels<\/div>\n<div>pri show spans<\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Step 7: Dialplan to dial via PRI<\/i><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>If you are using Vicidial or Goautodial use the below dialplan to dial via PRI<\/i><\/div>\n<div><\/div>\n<div>exten =&gt; _9X.,1,AGI(agi:\/\/127.0.0.1:4577\/call_log)<\/div>\n<div>exten =&gt; _9X.,2,Dial(DAHDI\/g0\/${EXTEN:1},,Tto)<\/div>\n<div>exten =&gt; _9X.,3,Hangup()<\/div>\n<div><\/div>\n<div><i>If your using Freepbx\/ elastix\/ piaf\/ asterisknow<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>Create a Dahdi trunk, \u00a0with channel name as \u00a0g0, and then create outbound routes<\/i><\/div>\n<div><i>\u00a0<\/i><\/div>\n<div><i>If your using Plain asterisk you can use the below dialplan<\/i><\/div>\n<div><\/div>\n<div>exten =&gt; _9X.,1,Dial(DAHDI\/g0\/${EXTEN:1})<\/div>\n<div>exten =&gt; _9X.,2,Hangup<\/div>\n<div><\/div>\n<div><i>****************************<\/i><\/div>\n<div><i>Troubleshooting<br \/>\n****************************<\/i><\/div>\n<div><\/div>\n<ul>\n<li><i>if you have CRC issue then enable or disable the crc from the below file<\/i><\/li>\n<\/ul>\n<div><i>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0vi \/etc\/dahdi\/system.conf<\/i><\/div>\n<div><i>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0just remove \u00a0,crc4 \u00a0 and save and then reload the asterisk<\/i><\/div>\n<div>\n<ul>\n<li><i>Make sure you have proper cable check the below link for the cable patching<\/i><\/li>\n<\/ul>\n<\/div>\n<h3 class=\"post-title entry-title\">PRI Cable connection with Asterisk PRI card<\/h3>\n<div class=\"post-header\"><\/div>\n<div id=\"post-body-8108313059282157939\" class=\"post-body entry-content\">\n<div dir=\"ltr\">\n<div class=\"separator\"><a href=\"http:\/\/1.bp.blogspot.com\/-YQ9Q6tT87zQ\/TppW7Vk-djI\/AAAAAAAAAAM\/Z2frAAqHOG8\/s1600\/pri+cable+connection.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-YQ9Q6tT87zQ\/TppW7Vk-djI\/AAAAAAAAAAM\/Z2frAAqHOG8\/s400\/pri+cable+connection.jpg\" width=\"400\" height=\"220\" border=\"0\" \/><\/a><\/div>\n<div class=\"separator\"><\/div>\n<div class=\"separator\"><strong>Service Provider\u00a0\u00a0&#8212;&#8212;&#8211;&gt; Asterisk card<\/strong><\/div>\n<div class=\"separator\"><\/div>\n<div class=\"separator\">\u00a0 \u00a0 cable 1\u00a0\u00a0 \u00a0&#8212;&#8212;&#8212; &gt;\u00a0cable\u00a0 4<\/div>\n<div class=\"separator\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cable 2 \u00a0\u00a0\u00a0&#8212;&#8212;&#8211;&gt;\u00a0\u00a0 cable 5<\/div>\n<div class=\"separator\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0cable 4\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212; &gt;\u00a0 cable\u00a0 1<\/div>\n<div class=\"separator\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0cable 5\u00a0 \u00a0&#8212;&#8212;&#8212; &gt;\u00a0 cable\u00a0 2<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to configure the Digium PRI cards in Asterisk or vicidial or Goautodial or vicidialnow or Freepbx Below are the list of digium cards to which you need\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,22],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-pri-card"],"_links":{"self":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":1,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":106,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/105\/revisions\/106"}],"wp:attachment":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}