<div dir="ltr"><br><br><div class="gmail_quote">2008/10/16 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Oct 16, 2008 at 08:57:48AM +0200, Olivier wrote:<br>
> Hi,<br>
><br>
> Using Asterisk 1.4, I would like to send a couple of SIP notifies or various<br>
> scripts whenever Asterisk restart.<br>
> My concern is also deal with restart from CLI but I don't how Asterisk is<br>
> restarted when using CLI.<br>
<br>
</div>What do you really want to know? That chan_sip.so got loaded?</blockquote><div><br>No : for example, I would just reboot some SIP hardphones.<br>At the moment, some of them need to be restarted (whenever Asterisk restarts) to have hint subscriptions properly updated.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
The only sane way I can think of right now to do that is a log watcher.<br>
If you're using rsyslog or syslog-ng and you send asterisk messages to<br>
syslog, maybe implementing this on your own shouldn't be a problem.</blockquote><div>Sure, that's a possibility ... <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div class="Wj3C7c"><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><br>
</div></div></blockquote></div><br></div>