<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=13076126#comment-13076126">Asterisk Packages</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~pabelanger">Paul Belanger</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>Odd, I could not reproduce this. I'll try again on a clean machine.</p>
</div>
<div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
<strong>In reply to a comment by <a href="/wiki/display/~wilson"
class="url fn confluence-userlink" data-username="wilson"
>Wilson Chu</a>:</strong><br/>
<p>I installed it to Amazon EC2 with Ubuntu 10.04 LTS server AMI. Asterisk-1.8 was installed fine, but asterisk-dahdi failed with:</p>
<p>Setting up dahdi-dkms (1:2.2.1+dfsg-1ubuntu2) ...<br/>
Loading new dahdi-2.2.1+dfsg-1ubuntu2 DKMS files...<br/>
First Installation: checking all kernels...<br/>
Building only for 2.6.32-312-ec2<br/>
Building for architecture i686<br/>
Module build for the currently running kernel was skipped since the<br/>
kernel source for this kernel does not seem to be installed.</p>
<p>The fix was to get the correct linux-headers for the current kernel first:</p>
<p>sudo apt-get remove asterisk-dahdi<br/>
sudo apt-get remove dahdi-dkms<br/>
sudo apt-get install linux-headers-`uname -r`<br/>
sudo apt-get install dahdi-dkms<br/>
sudo apt-get install asterisk-dahdi</p>
<p>It took a while to build the modules.</p>
<p>After that, it works great with micro instance(get elastic IP and set externaddr= and nat= in sip.conf)</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;">
<a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=13076126#comment-13076126">View Online</a>
|
<a id="reply-13076126" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?replyToComment=13076126#comment-13076126">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>