<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=SV link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That didnt work either, do i have to set some permissions?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>/ralf<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Olivier<br>
<b>Sent:</b> den 26 januari 2009 09:52<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] Start asterisk on boot<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>2009/1/26 Ralf Träskman <<a
href="mailto:ralf@adlibris.com">ralf@adlibris.com</a>><o:p></o:p></p>
<div>
<div>
<p>Hi<o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span lang=EN-US>We runs asterisk 1.6 on a ubuntu 8.04 server.</span><o:p></o:p></p>
<p><span lang=EN-US>How can I get asterisk to start at boot?</span><o:p></o:p></p>
<p><span lang=EN-US>I have created an file named asterisk in /etc/event.d and
put in this</span><o:p></o:p></p>
<p><span lang=EN-US> </span><o:p></o:p></p>
<p><span lang=EN-US><br>
</span><span lang=EN-US style='font-family:"Courier New"'> # This service maintains Asterisk from the point the system is
</span><span lang=EN-US><br>
</span><span lang=EN-US style='font-family:"Courier New"'> # started until it is shut down again.
</span><span lang=EN-US><br>
<br>
</span><span lang=EN-US style='font-family:"Courier New"'> description "Asterisk daemon"
</span><span lang=EN-US><br>
<br>
</span><span lang=EN-US style='font-family:"Courier New"'> start on runlevel-2
</span><span lang=EN-US><br>
</span><span lang=EN-US style='font-family:"Courier New"'> stop on shutdown
</span><span lang=EN-US><br>
<br>
</span><span lang=EN-US style='font-family:"Courier New"'> respawn
</span><span lang=EN-US><br>
</span><span lang=EN-US style='font-family:"Courier New"'> exec //usr/sbin/asterisk –f</span><o:p></o:p></p>
<p><span lang=EN-US style='font-family:"Courier New"'> </span><o:p></o:p></p>
<p><span lang=EN-US style='font-family:"Courier New"'>But it doesn't work.</span><o:p></o:p></p>
<p><span lang=EN-US style='font-family:"Courier New"'> </span><o:p></o:p></p>
<p><span lang=EN-US style='font-family:"Courier New"'>Regards</span><o:p></o:p></p>
<p><span lang=EN-US style='font-family:"Courier New"'>/ralf </span><o:p></o:p></p>
<p><span lang=EN-US> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal><br>
1. Copy relevant file from contrib directory into /etc/init.d directory (while
renaming it asterisk)<br>
2. Then "sudo update-rc.d asterisk defaults" and it's done<o:p></o:p></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>
<div>
<div>
<p><span lang=EN-US style='font-size:10.0pt;color:navy'>________________________________________________</span><a
name="11f1214d2d7ba5d9_OLE_LINK2"></a><o:p></o:p></p>
<p><a name="11f1214d2d7ba5d9_OLE_LINK1"></a><span lang=EN-GB style='font-size:
7.5pt;color:navy'>Ralf Träskman, IT<br>
AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden<br>
Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99<br>
<a href="mailto:ralf@adlibris.com" target="_blank">ralf@adlibris.com</a> <a
href="http://www.adlibris.com/" target="_blank">www.adlibris.com</a> <br>
</span><span lang=EN-GB style='font-size:15.0pt;font-family:Webdings;
color:green'>P</span><span lang=EN-GB style='font-family:"Comic Sans MS";
color:green'> </span><b><span lang=EN-GB style='font-size:8.0pt;color:green'>Please
consider the environment before printing this e-mail</span></b><o:p></o:p></p>
<p><span lang=EN-US> </span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>