[asterisk-users] Other apps checking Day/Night
Anthony Francis
anthonyf at rockynet.com
Fri Oct 12 15:47:41 CDT 2007
If you are going the external app method why not fire a script that
updates a DB?
Lacy Moore wrote:
> I guess it all depends on how you put your system on night mode. If
> you use asterisk's database, and manually put it in night mode every
> day, my guess is that you dial an extension which puts it in
> nightmode. You could include as part of this the system command to
> touch a file, and then on your webserver check for existance of that
> file.
>
> That may be opening up more holes than needed between your web server
> and asterisk. As Tilghman suggested, func_odbc.conf may be better.
> You could then set and unset by writing it directly to your store's
> database.
>
>
> On 10/12/07, *C. Duncan Hudson* <asterisk at dunc-it.com
> <mailto:asterisk at dunc-it.com>> wrote:
>
> I'm fairly new to Asterisk, so please bear with me if this is silly
> question. I'd like to run a script on my server that would take the
> "Call now to order" banner off my website automatically when I put my
> phone system on night. I can handle the webserver side of things,
> but I
> don't know where to begin on the Asterisk side of things - can a
> simple
> script be run to check the value of the day/night condition, or is
> that
> value written somewhere that I could check or poll? Any help / ideas
> are really appreciated. Thanks in advance,
>
> Dunc
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
> Lacy Moore
> Somewhere I wish I wasn't
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Thank you and have a wonderful day,
Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com
More information about the asterisk-users
mailing list