[asterisk-users] day night service toggle
Steve Edwards
asterisk.org at sedwards.com
Fri Nov 28 10:41:08 CST 2014
On Fri, 28 Nov 2014, A J Stiles wrote:
> And note that this really should be done by dialling separate numbers
> for "in" and "out", because toggle actions are annoying as hell in
> practice -- it's easier to remember two different numbers, than to
> remember what state you are currently in.
According to NANPA's 'Vertical Service Codes, Code Definitions'
(http://www.nanpa.com/number_resource_info/vsc_definitions.html), *72 and
*73 are for call forwarding activation and deactivation (respectively).
Of course, the OP could use execiftime() instead and just make sure to go
to lunch and return at the exact same time every day. The dialplan coding
is easier and no pesky codes to remember.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list