similar to: GoToIfTime : how to define sep 25th till oct 10th ?

Displaying 20 results from an estimated 4000 matches similar to: "GoToIfTime : how to define sep 25th till oct 10th ?"

2009 Aug 31
0
asterisk-users Digest, Vol 61, Issue 85
Topic 6: RE:unable to execute command hi there i tried to execute the command as suggest like exten => 1987,1,Playback(posix-restarting) exten => 1987,2,wait(1) exten => 1987,3,System(/usr/bin/python /home/docas/Desktop/mess1.py) exten=> 1987,4,Hangup it still doesn't work,now it does it give unable to execute command but it doesn't reach the system command it just
2009 Apr 26
1
file.c:655 ast_openstream_full: File /tmp/winkel-gesloten.alaw does not exist in any format
part of extensions.conf: exten => 11,1,Answer() exten => 11,n,NoOp(CallerID : ${CALLERID(all)}) exten => 11,n,Playback(/tmp/welkom-tcs.alaw) exten => 11,n,GoToIfTime(09:00-17:59|mon-fri|*|*?open,s,1) ; wordt doorgerouteerd naar context open, maar indien gesloten : exten => 11,n,NoOp(Oproep tijdens winkel gesloten) exten => 11,n,Playback(/tmp/winkel-gesloten.alaw) exten =>
2010 Jun 29
1
Problem with GoToIfTime
Hello list, why is it that GoToIfTime thinks a date of **|*|29-*|jun *is not valid ?? [Jun 29 14:06:34] -- Executing [s at macro-vac:10] *GotoIfTime*("SIP/testcorp-00000036", "**|*|29-*|jun*?onvac") in new stack [Jun 29 14:06:34] WARNING[3076]: pbx.c:4127 get_range: Invalid end day '*', assuming none [Jun 29 14:06:34] -- Executing [s at macro-vac:11]
2010 Jul 02
3
GotoIfTime problem
hi, all recently, i face a GotoIfTime problem GotoIfTime("08:00:00-07:00:00,mon-sun,*,*?95040263008,start") as you can see the section is 08:00:00-07:00:00 , which is the begin time is later than the end time what's this refers then? in my test , my system time is 10:57:00, but this check will pass, although i guess i will not. is begin time later than the end time means
2005 Aug 27
2
gotoiftime
Does anyone know if gotoiftime can take any subset of 7 days for the days of the week or only a contiguous range? I want to use gotoiftime to change dialplan behavior on Monday, wedneday and Friday -- Executing GotoIfTime("Zap/8-1", "09:00-20:00|MON WED FRI|?21") in new stack Aug 27 19:27:25 WARNING[2676]: pbx.c:3729 get_dow: Invalid day 'MON WED FRI',
2005 Jan 14
1
gotoiftime - different hours
If I have different opening hours on different days, can I accomodate that in a single gotoiftime, or will I need to filter them out one by one ? For example, our hours are Mon-Fri 9:00-17:00 and Sat 09:00-13:00 can this be done something like GotoIfTime([9:00-17:00|mon-fri][9:00-13:00|sat]|*|*?open,s,1) or something like that, or do I have to do:
2006 Jan 07
1
Possible bug with GotoIfTime
Running a fairly recent subversion release of Asterisk, I'm running into a problem using labels (as opposed to priorities) with this application. Here is the dialplan segment: ; isolate gotoiftime bug with labels ;exten => 806,1,GotoIfTime(8:00-20:00,*,*,*?2:4) exten => 806,1,GotoIfTime(8:00-20:00,*,*,*?light:dark) exten => 806,n(light),noop(light) exten => 806,n,hangup exten
2003 Dec 19
2
GotoIfTime help
Hey All, I need to forward an extension to an other depending on the current time but I could not get it done with GotoIfTime. What I'm trying to do is ring on the extension 1 if time is between 8:00AM and 2:00PM and on extension 2 if is between 2:01PM 11:00PM. exten => 111,1,GotoIfTime(8:00-14:00|*|*|1-12?333) exten => 111,2,Dial(${Person1}) exten => 111,3,Dial(Hangup) exten
2006 Nov 22
1
gotoiftime and blocking calls
I am trying to use the Gotoiftime CMD to not allow calls to be placed between the hours of 12am-5am, except if you know the PIN number to dial out and if the call is for 911. What is the best way to implement this solutions? I have the gotoiftime like so: exten => s,1,GotoIfTime(5:00-11:59|mon-fri|*|*?custom-blacklist,s,1) and using Read for the PIN like so: exten => s,3,Read(Secret,,3)
2006 Oct 18
2
gotoiftime and Macro question
Is there a way to run a macro in a GotoIfTime statement ?? from the wiki documentation it seems not, but...... I would like to do something like this: ......... 554,3,GotoIfTime(08:30-14:30|mon-wed|*|*?Macro(exten-vm,novm,567)) it does not work, as expected from documentation any workaround to call an extension WITHOUT vm (also if vm for that extension is present...) as a consequence of a Time
2008 Jun 24
1
GotoIfTime Function
I am trying to use the GotoIfTime function and get a busy signal. What I am trying to accomplish is to have the system tell callers that we are closed after 5:00pm. Here is the code below. ; If we're open, then go to the open context ; We're open from 9am to 6pm Monday through Friday exten => 3200,1,GotoIfTime(09:00-17:59,mon-fri,*,*?open,3200,1) ; ; We're also late on Tuesday and
2010 Jan 22
1
GoToIfTime issue
hi , all what's wrong with this command? exten => 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) as i got the error: -- Executing [222 at 95040:1] GotoIfTime("SIP/1001-00000099", "11:00-14:00|mon|wed|*|*?1:3|1") in new stack [Jan 20 11:21:11] WARNING[16804]: pbx.c:4118 get_range: Invalid day 'wed', assuming none but what should i do. if i want to set
2010 Apr 13
2
SNOM M9 base station A to base station B
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <small><font face="Helvetica, Arial, sans-serif">Hello,<br> <br> I have a question concerning SNOM M9 base station.<br> <br> If my customer places a SNOM M9 base
2006 Feb 16
1
Playing sound File using GotoifTime function
I want to play a sound file using GotoifTime function. 1) What should be the appropriate format of this type of sound file? 2) Is there any method to copy this file into the destination directory using the browser of a PC other than the asterisk PC (currently i am using cp to copy the file in /var/lib/asterisk/sounds on asterisk PC)??? Waiting for ur kind reply !!
2012 Dec 27
4
How do *you* test your changes to dialplans ruled by GotoIfTime?
This past holiday weekend has resulted in some real groaners when it comes to bugs in our dialplan, making obvious the need for some changes in our procedures. First, our hours of operation for Christmas Eve, Christmas, Boxing Day and New Year's Eve had changed with little to no notice. Okay, fine, whatever, I fix. Our Christmas Eve hours (made worse by being Monday this year) dialplan
2009 Sep 07
2
features.conf : feature map ==> getting feature to work
Hi there, I need some help with a 'custom' feature. I have following feature defined in features.conf : [applicationmap] opnemencallee => #3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m In my dialplan : [from-HostAst] exten => s,1,Set(__DYNAMIC_FEATURES=opnemencallee) exten => s,n,Dial(SIP/grandstream,30) I want the callee to be able to press #3 to be able
2003 Jul 01
1
gotoiftime error
Hi folks, There was a bug with the GotoIfTime built-in command, under certain circumstances a variable contained garbage, screwing up correct time identification. I'm submitting now a patch to Mark so this can be fixed. PauloHM -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Nov 23
2
GotoIfTime problem - possible bug
Hi, I'm currently doing some testing against asterisk 1.6.1.7-rc2 (keep meaning to upgrade) and am having a problem with the GotoIfTime dial plan function. The asterisk book says that day of week field can include the ampersand (&) to combine multiple days / day ranges but this gives me an error. For example mon&wed gives the error (in the asterisk console): [Nov 23 18:04:27]
2011 Dec 23
1
GotoIfTime days query
Hi I'm using 1.8. Is there a way you can specify staggered days in a single GotoIfTime command e.g. mon|wed|fri? Thanks in Advance Ish -- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062
2010 Mar 01
2
Is answer() necessary ?
Hello list, is it necessary to properly answer() an incoming call ? I don't want to answer a call because the caller has to pay even if the attached SIP-phones do not answer the phone call. Because I answer() the incoming call, the caller has to pay for 60 seconds of 'ringtone'. On the other hand, sometimes an incoming call is send to a macro where the caller is given the