[asterisk-users] Quick One - PHP Script to restart Asterisk
Paul Hales
pdhales at optusnet.com.au
Fri Aug 11 00:51:14 MST 2006
We did this for a customer completely in the dialplan, with the Asterisk
internal database.
I don't have the coding here, but I know it involved the read command,
followed by putting the number keyed into the internal database.
(as something like ah/mobile)
later,
PaulH
On Fri, 2006-08-11 at 12:56 +1000, Corporate IT Solutions - Michael
Dunne wrote:
> I have spent the best part of half the morning googling a solution to
> this but nothing has jumped out at me.
>
> Is there a simple method of allowing dynamic changes to the extensions
> via a web interface without having to go the @home method.
>
> All I want is to make a webpage to select which person gets the call
> redirections after hours, then reload the extensions/pbx_config.
>
> Basically, a MySQL database will contain the phone numbers of
> individuals. Another table will have the "Time Of Day" configuration in
> it. The extensions.conf will have all the configurations for the
> extensions for after hours redirection.
>
> All I want is to dump out a new "timeofday.conf" into /etc/asterisk with
> the updated refereces, then a last command like reload pbx_config.
>
> A quick link with example code would be nice.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list