[asterisk-users] includes with time and timezone.

2020-06-15 Thread John T. Bittner
Hello,

I cannot find much on examples but I did find one in Russian that shows this to 
use + or - the time difference from GMT.
I have been testing and it does not work.

1st question do includes work with timezone

include =>  day,08:00-17:00,mon-fri,*,*,[+5]
Not sure on the formatting, is it correct ? ... I tried without the brackets... 
that also doesn't work.

If not supported in includes

What is the formatting for timezone in gotoiftime.

GotoIfTime(times,weekdays,mdays,months,[timezone]?[labeliftrue:[labeliffalse]])


Any helps is much appreciated.

Thanks

John Bittner
CTO
[xaccellogoemail]
380 US Highway 46, Suite 500
Totowa, NJ 07512
Phone: 201.806.2602 x2405
Fax:   201.806.2604
Cell:   973.390.1090
www.xaccel.net

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential
and privileged information which should not be shared or forwarded. Any 
unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender 
by reply e-mail and destroy all copies of the e-mail.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] includes with time and timezone.

2020-06-15 Thread Antony Stone
On Monday 15 June 2020 at 23:30:28, John T. Bittner wrote:

> Hello,
> 
> I cannot find much on examples but I did find one in Russian that shows
> this to use + or - the time difference from GMT. I have been testing and
> it does not work.
> 
> 1st question do includes work with timezone
> 
> include =>  day,08:00-17:00,mon-fri,*,*,[+5]

Omit the square brackets.

> What is the formatting for timezone in gotoiftime.
> 
> GotoIfTime(times,weekdays,mdays,months,[timezone]?[labeliftrue:[labeliffals
> e]])

The square brackets simply identify optional items - they are not included in 
themselves.  This is a fairly common convention in software documentation, I 
think.

So, just as you would not put a [ after the ? sign, you do not put [ ] around 
the timezone.


Regards,


Antony.

-- 
If I needed my own advice, I wouldn't give it to others.

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users