steve at vanwambeck.net
2014-Apr-16 21:25 UTC
[asterisk-users] DAHDI loading issue on Asterisk
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Hi all,</div> <div style="font-size:12pt;MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-bidi-font-size: 6.0pt; mso-ansi-language: EN-GB" lang=EN-GB>I have a fresh install of Asterisk 11.8.1 and am putting a Digium TE435 4 T1 card in it for ISDN PRI. I can get the card to be recognised by the DAHDI utilities but when I put in the file "chan_dahdi.conf" with either the generated file from samples with what seem to be appropriate settings or with the basic config as outlined on the DAHDI install guide the Asterisk "core show help" display is missing all the "dahdi" and "pri" commands.<BR><BR>If I remove the "chan_dahdi.conf" file and restart Asterisk the commands magically reappear. I have gone back and checked on menuselect but don't see anything obvious that I have missed to support this function. <BR><BR>I have run out of ideas on how to integrate this. The documentation makes it sound pretty simple but I have been fighting this for a week now with no success.</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-bidi-font-size: 6.0pt; mso-ansi-language: EN-GB" lang=EN-GB><o:p> </o:p></SPAN></div> <div style="font-size:12pt;MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-bidi-font-size: 6.0pt; mso-ansi-language: EN-GB" lang=EN-GB>I am not seeing any parse errors from the module reload command:<BR><BR>asteriskpbx*CLI> module reload <a href="http://chan_dahdi.so">chan_dahdi.so</a><BR>asteriskpbx*CLI><BR><BR>The truncated output from "core show help" is:<BR><BR>core stop when convenient Shut down Asterisk at empty call volume<BR>core waitfullybooted Wait for Asterisk to be fully booted<BR>data get Data API get<BR>data show providers Show data providers<BR>... ....<BR>resencestate change Change a custom presence state<BR>presencestate list List currently know custom presence states<BR>realtime destroy Delete a row from a RealTime database<BR>realtime load Used to print out RealTime variables.<BR><BR>I can restart the asteriskpbx process without the "chan_dahdi.conf" file and all the dahdi and pri commands are present. The "chan_dahdi.conf" file I am loading is a basic file from the DAHDI instructions. Even the sample file will not correctly load up either.<BR><BR>asteriskpbx@asteriskpbx:/etc/asterisk$ cat chan_dahdi.conf<BR>[trunkgroups]<BR><BR>[channels]<BR>usecallerid = yes<BR>hidecallerid = no<BR>callwaiting = yes<BR>usecallingpres = yes<BR>callwaitingcallerid = yes<BR>threewaycalling = yes<BR>transfer = yes<BR>canpark = yes<BR>cancallforward = yes<BR>callreturn = yes<BR>echocancel = yes<BR>echocancelwhenbridged = yes<BR>relaxdtmf = yes<BR>rxgain = 0.0<BR>txgain = 0.0<BR>group = 1<BR>callgroup = 1<BR>pickupgroup = 1<BR>immediate = no<BR>switchtype = 5ess<BR>signalling = pri_cpe<BR>context = incoming<BR>echocancel = yes<BR>channel = 1-23</SPAN></div> <div style="font-size:12pt;MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-bidi-font-size: 6.0pt; mso-ansi-language: EN-GB" lang=EN-GB></SPAN><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 16pt; mso-bidi-font-size: 11.0pt"><o:p></o:p></SPAN> </div> <div><FONT face="Courier New">Any suggestions on what I am missing would be greatly appreciated.</FONT></div> <div><FONT face="Courier New">Steve VanWambeck<o:p></o:p></FONT></div></span></body></html>
Try starting Asterisk with the -f option. It will NOT fork into the background so you will see all messages on startup (including any that might not end up in the log file). Search for DAHDI errors which will likely be there. Also, if you configure everything and start DAHDI but don't start Asterisk and run "dahdi_tool", is it showing you the circuits in an "OK" state? Josh On Wed, Apr 16, 2014 at 5:25 PM, <steve at vanwambeck.net> wrote:> Hi all, > I have a fresh install of Asterisk 11.8.1 and am putting a Digium TE435 4 > T1 card in it for ISDN PRI. I can get the card to be recognised by the > DAHDI utilities but when I put in the file "chan_dahdi.conf" with either > the generated file from samples with what seem to be appropriate settings > or with the basic config as outlined on the DAHDI install guide the > Asterisk "core show help" display is missing all the "dahdi" and "pri" > commands. > > If I remove the "chan_dahdi.conf" file and restart Asterisk the commands > magically reappear. I have gone back and checked on menuselect but don't > see anything obvious that I have missed to support this function. > > I have run out of ideas on how to integrate this. The documentation makes > it sound pretty simple but I have been fighting this for a week now with no > success. > I am not seeing any parse errors from the module reload command: > > asteriskpbx*CLI> module reload chan_dahdi.so > asteriskpbx*CLI> > > The truncated output from "core show help" is: > > core stop when convenient Shut down Asterisk at empty call volume > core waitfullybooted Wait for Asterisk to be fully booted > data get Data API get > data show providers Show data providers > ... .... > resencestate change Change a custom presence state > presencestate list List currently know custom presence states > realtime destroy Delete a row from a RealTime database > realtime load Used to print out RealTime variables. > > I can restart the asteriskpbx process without the "chan_dahdi.conf" file > and all the dahdi and pri commands are present. The "chan_dahdi.conf" file > I am loading is a basic file from the DAHDI instructions. Even the sample > file will not correctly load up either. > > asteriskpbx at asteriskpbx:/etc/asterisk$ cat chan_dahdi.conf > [trunkgroups] > > [channels] > usecallerid = yes > hidecallerid = no > callwaiting = yes > usecallingpres = yes > callwaitingcallerid = yes > threewaycalling = yes > transfer = yes > canpark = yes > cancallforward = yes > callreturn = yes > echocancel = yes > echocancelwhenbridged = yes > relaxdtmf = yes > rxgain = 0.0 > txgain = 0.0 > group = 1 > callgroup = 1 > pickupgroup = 1 > immediate = no > switchtype = 5ess > signalling = pri_cpe > context = incoming > echocancel = yes > channel = 1-23 > > Any suggestions on what I am missing would be greatly appreciated. > Steve VanWambeck > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140416/1adf5bc7/attachment.html>