[Asterisk-Users] execute a context from cron
Chad Scott
chad at idworld.net
Thu Jul 1 09:13:58 MST 2004
Why don't you include a context on a schedule?
I have a support queue included only at certain times, such as monday
through friday, 6a to 6p. All other times I include a context that
sends that extension straight to voicemail.
Check out http://www.voip-info.org/wiki-Asterisk+tips+openhours
On Jul 1, 2004, at 6:46 AM, Michael George wrote:
> I want to have call forwarding (from the POTS) turned on at the close
> of work
> and turned off automatically by *.
>
> I can create a context that should do just that, but I need a way to
> have that
> context spontaneously executed at a specific time.
>
> I figured that one way to do it would be to have cron run "asterisk
> -rx<some
> command>" if there were some command that would tell asterisk to go to
> a
> specific context,extension,priority, but I cannot find that command.
>
> Does such a command exist? Or is there a better way to do this that I
> have
> overlooked?
>
> Thank you!
>
> --
> -M
>
> There are 10 kinds of people in this world:
> Those who can count in binary and those who cannot.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list