<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-03-14 13:08 GMT+01:00 Tzafrir Cohen <span dir="ltr"><<a target="_blank" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">On Tue, Mar 14, 2017 at 11:10:57AM +0100, Olivier wrote:<br>
> Hello,<br>
><br>
> After all these years installing from source, I'm giving Dahdi package<br>
> installation a try on a recent Stretch box.<br>
><br>
> Google over the web, I didn't find too many doc on this topic.<br>
><br>
> 1. Is this one [1] up-to-date ?<br>
<br>
</span>Not exactly.<br>
<span class="gmail-"><br>
> Reading Stretch I would say a single asterisk-dahdi would be enough to<br>
> install asterisk dahdi and libpri.<br>
<br>
</span>Almost. Except the kernel modules. For those:<br>
<br>
apt install dahdi-source<br>
# also install module-assistant, if it wasn't installed already<br>
m-a a-i dahdi<br>
# Should also install linux-headers-`uname -r`, IIRC<br>
<span class="gmail-"><br>
><br>
> 2. On my box, the following fails. What would you suggest ? Re-base<br>
> everything on Jessie ?<br>
> apt-get install linux-headers-`uname -r`<br>
<br>
</span>That should not happen. What is the output of uname -r #?<br></blockquote><div><br># uname -r <br>4.8.0-2-686-pae<br><br># apt-get install linux-headers-`uname -r`<br>...<br>E: Couldn't find any package by glob 'linux-headers-4.8.0-2-686-pae'<br><br># apt-cache show linux-headers-4.8<br>...<br>N: Couldn't find any package by glob 'linux-headers-4.8'<br>...<br><br># apt-cache show linux-headers-4.9<br>Package: linux-headers-4.9.0-2-686<br>Source: linux<br>...<br><br></div><div>It looks like linux-headers-4.8 are currently missing in Stretch repo though currently installed kernel is 4.8.<br></div><div>This issue seems quite independant from asterisk, anyway.<br><br><br></div><div>I started all over with a Jessie box.<br></div><div>Relating to [1], I could positively run:<br><span style="font-family:arial,helvetica,sans-serif"># m-a a-i dahdi<br>...<br><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">But # dahdi_genconf required a reboot to run OK.<br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Though this worries me as I need to script the whole install process, I can leave it aside at the moment.<br><br></span></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span class="gmail-"><br>
><br>
> 3. How is dahdi started-stopped in Stretch ? (I can't find any<br>
> /etc/init.d/dahdi file after apt-get install asterisk-dahdi).<br>
<br>
</span>Started: should be automatically at boot.</blockquote><div><br></div><div>Shall I find an /etc/init.d/dahdi file or equivalent ?<br></div><div>If positive which command produces this file ?<br></div><div>I would expect dahdi-linux or dahdi packages to install these file.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Waht hardware device do you<br>
have?<br></blockquote><div><br># dahdi_hardware <br>pci:0000:04:05.0 wctdm24xxp+ d161:8007 HA8-0000<br> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.<wbr>com</a><br>
<a value="+972507952406" href="tel:%2B972-50-7952406">+972-50-7952406</a> mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.<wbr>com</a><br>
<a target="_blank" rel="noreferrer" href="http://www.xorcom.com">http://www.xorcom.com</a><br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a target="_blank" rel="noreferrer" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a target="_blank" rel="noreferrer" href="https://community.asterisk.org/">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a target="_blank" rel="noreferrer" href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a target="_blank" rel="noreferrer" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</font></span></blockquote></div><br></div></div>