<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Tahoma","sans-serif";
        color:#0037E6;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span 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>Claude Hayn<br><b>Sent:</b> Wednesday, July 27, 2011 1:42 PM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> Re: [asterisk-users] Lightning and thunder (Claude Hayn<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Thank you all for your replies.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>I am just starting to use message boards and really appreciate the fact that people jump in an effort to help. &nbsp;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>As I'm learning, I'm hopeful to be able to help other folks down the road.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Judging by the responses I should have provided more details, including the fact that I&#8217;m a novice.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>This implementation is quite old (and they will not spring for anything new).<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>The UPS is not capable of writing to anything so that would not help.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>The office manager freaks out each time and starts randomly rebooting devices in no particular order including the UPS, PBX, Asterisk Gateway, firewall and router.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>I suspect the overall issue is related to the reboot timing difference between the PBX and asterisk box.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Kevin, thank you for your reply.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>I'm not sure where to look, but would like to address the cause.&nbsp; Would you have any specific ideas as to what to look at/for?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Someone mentioned that the Asterisk Gateway might need to be the clock.&nbsp; Does this make sense?&nbsp; Could this be considered a cause?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Robert, thank you for your answer.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Given my limited ability to discern issues/causes this is along the lines of what I had in mind.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>I was thinking that something that would reboot the Asterisk Gateway approximately 5 min. after power returned, giving the old/tired PBX time to fully reboot would solve the issue.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>I was further trying to understand how to keep this from perpetually rebooting the asterisk Gateway every 5 min. and how to have it happen automatically just once after a power outage.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>My understanding is that your concept would work once if the flag was thrown.&nbsp; I'm not sure how to address the fact that I would not know the power outage occurred so that reboot would be automatic the second time.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Again, thank you all for responding,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#0037E6'>Claude<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>My wild guess is that the &#8220;old/tired PBX&#8221; is actually looking at the T1 before the Asterisk system is ready. If you can sneak in in the wee hours to simulate a power failure and bring one up at a time, you may be able to determine a power-up sequence that will work. Then you may be able to find a cost-justified solution that would delay power to one of the devices after a power failure.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>--Don</span><span lang=EN style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Don Kelly</span><span lang=EN style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>PCF Corp<br>People Come First<br>651 842-1000<br>651 842-1001 fax</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p></div></body></html>