Asterisk shabbat mode?
geoffrey mendelson
geoffreymendelson at gmail.com
Sun Jan 17 07:01:57 IST 2010
On Jan 17, 2010, at 2:29 AM, Tzafrir Cohen wrote:
> On Sat, Jan 16, 2010 at 08:05:51PM +0200, ik wrote:
>> You can use libhdate with some AGI and set variable to calculate
>> shabat per
>> place and day.
>
> This is relatively quite expensive. Maybe a qeekly cron to update a
> relevant GotoIfTime line in the dialplan?
Actually I'm quite happy with picking up the phone and entering an
extension number that puts the system into shabbat mode, and doing the
opposite motzi shabbat. What I am looking for is a way of setting a
presistent variable, so that it knows it is in shabbat mode, and I can
easily check it in a dial plan.
I'll take the chance that if there is a power glitch, the system will
reboot in normal mode.
I'm hoping there is something like this for night mode, not everyone
wants it to happen automatically. After all what happens on the night
that the receptionist stays late because there is a meeting? Does
someone have to edit the dial plan?
Thanks, Geoff.
--
geoffrey mendelson N3OWJ/4X1GM
Jerusalem Israel geoffreymendelson at gmail.com
New word I coined 12/13/09, "Sub-Wikipedia" adj, describing knowledge
or understanding, as in he has a sub-wikipedia understanding of the
situation. i.e possessing less facts or information than can be found
in the Wikipedia.
More information about the Linux-il
mailing list