<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Re: [asterisk-users] Quick One - PHP Script to restart Asterisk</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText2194 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><?php</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>execute "asterisk -rx
'restart when convienent";</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>?></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Not the exact syntax but should be enough
to get you going. </FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com on
behalf of Paul Hales<BR><B>Sent:</B> Fri 8/11/2006 3:51 AM<BR><B>To:</B>
Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] Quick One - PHP Script to restart Asterisk<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>We did this for a customer completely in the dialplan, with the
Asterisk<BR>internal database.<BR><BR>I don't have the coding here, but I know
it involved the read command,<BR>followed by putting the number keyed into the
internal database.<BR>(as something like
ah/mobile)<BR><BR>later,<BR><BR>PaulH<BR><BR>On Fri, 2006-08-11 at 12:56 +1000,
Corporate IT Solutions - Michael<BR>Dunne wrote:<BR>> I have spent the best
part of half the morning googling a solution to<BR>> this but nothing has
jumped out at me.<BR>><BR>> Is there a simple method of allowing dynamic
changes to the extensions<BR>> via a web interface without having to go the
@home method.<BR>><BR>> All I want is to make a webpage to select which
person gets the call<BR>> redirections after hours, then reload the
extensions/pbx_config.<BR>><BR>> Basically, a MySQL database will contain
the phone numbers of<BR>> individuals. Another table will have the "Time Of
Day" configuration in<BR>> it. The extensions.conf will have all the
configurations for the<BR>> extensions for after hours
redirection.<BR>><BR>> All I want is to dump out a new "timeofday.conf"
into /etc/asterisk with<BR>> the updated refereces, then a last command like
reload pbx_config.<BR>><BR>> A quick link with example code would be
nice.<BR>> _______________________________________________<BR>>
--Bandwidth and Colocation provided by Easynews.com --<BR>><BR>>
asterisk-users mailing list<BR>> To UNSUBSCRIBE or update options
visit:<BR>> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>><BR><BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></FONT></P></DIV>
</BODY>
</HTML>