Re: [asterisk-users] Time variables in system application

2010-06-02 Thread khalid touati
thank you Barry, you're right, it is also working. well, happy that i have a bunch of choices that work (after wrong output). thanks for all! 2010/6/2 Barry Miller > On Wed, Jun 02, 2010 at 10:26:12AM -0400, khalid touati wrote: > > Hi Guys, > > for people who may have the same issue: > > i was

Re: [asterisk-users] Time variables in system application

2010-06-02 Thread Barry Miller
On Wed, Jun 02, 2010 at 10:26:12AM -0400, khalid touati wrote: > Hi Guys, > for people who may have the same issue: > i was just not using STRFTIME the right way, after consulting docs, i'm > using it like this: > exten => > ,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},Americ

Re: [asterisk-users] Time variables in system application

2010-06-02 Thread khalid touati
to keep a > > reasonable time. > > > > -Original Message- > > From: asterisk-users-boun...@lists.digium.com > > <mailto:asterisk-users-boun...@lists.digium.com> > > [mailto:asterisk-users-boun...@lists.digium.com > > &

Re: [asterisk-users] Time variables in system application

2010-06-02 Thread Roderick A. Anderson
t; [mailto:asterisk-users-boun...@lists.digium.com > <mailto:asterisk-users-boun...@lists.digium.com>] On Behalf Of Tilghman > Lesher > Sent: Tuesday, April 13, 2010 2:58 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [aste

Re: [asterisk-users] Time variables in system application

2010-06-02 Thread khalid touati
5.3 box at least daily to keep a reasonable > time. > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tilghman > Lesher > Sent: Tuesday, April 13, 2010 2:58 PM > To: Asterisk Users Mailing List

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Danny Nicholas
om] On Behalf Of Tilghman Lesher Sent: Tuesday, April 13, 2010 2:58 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Time variables in system application On Tuesday 13 April 2010 14:00:36 Danny Nicholas wrote: > Just what I thought - guess that'

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Tilghman Lesher
On Tuesday 13 April 2010 14:00:36 Danny Nicholas wrote: > Just what I thought - guess that's the X'th time I wuz wrong today. The only difference between what I think you're calling the system time (output of date) and Asterisk is that Asterisk uses a different (internal) library to convert the ep

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread khalid touati
ailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tilghman > Lesher > Sent: Tuesday, April 13, 2010 1:58 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Time variables in system application > > On Tuesday 13 April 2010 13:27:30 Dann

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Danny Nicholas
Subject: Re: [asterisk-users] Time variables in system application i believe not only today :D, but thank u anyway for the spirit of helping people!! 2010/4/13 Danny Nicholas Just what I thought - guess that's the X'th time I wuz wrong today. -Original Message- From: aste

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Danny Nicholas
List - Non-Commercial Discussion Subject: Re: [asterisk-users] Time variables in system application On Tuesday 13 April 2010 13:27:30 Danny Nicholas wrote: > You are apparently in U.S. Central Time zone.Asterisk uses the hardware > clock What makes you think Asterisk uses th

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Tilghman Lesher
On Tuesday 13 April 2010 13:27:30 Danny Nicholas wrote: > You are apparently in U.S. Central Time zone.Asterisk uses the hardware > clock What makes you think Asterisk uses the hardware clock? -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread khalid touati
t; > *From:* asterisk-users-boun...@lists.digium.com [mailto: > asterisk-users-boun...@lists.digium.com] *On Behalf Of *khalid touati > *Sent:* Tuesday, April 13, 2010 1:08 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] Time variables in

Re: [asterisk-users] Time variables in system application

2010-04-13 Thread Danny Nicholas
ers-boun...@lists.digium.com] On Behalf Of khalid touati Sent: Tuesday, April 13, 2010 1:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Time variables in system application Hi Guys, i have a weird thing here: when using time variables (%F & %T) in

[asterisk-users] Time variables in system application

2010-04-13 Thread khalid touati
Hi Guys, i have a weird thing here: when using time variables (%F & %T) in a shell script, out of dial plan (particularly system() app); it displays the right time (same as output of date), but when same variables are used in system() application it displays a wrong time/date (ahead of 6 hours). I