search for: gotoiftim

Displaying 20 results from an estimated 166 matches for "gotoiftim".

Did you mean: gotoiftime
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 WAR...
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 => 333,1,Dial(${Person2})...
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)??? Wai...
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: GotoIfTime(9:00-17:00|mon-sat]|*|*?openwe...
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...
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 => 806,n(dark),noop(dark) exten => 806,n,hangup As coded, this is what happens when it executes:...
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...
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...
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)...
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 non...
2007 May 02
6
allowing call every 15mins
Hello all, I have a set up that answer my customer. and its working well, however, the number of call to technical dept is what i want to reduce. I want all call to get to voice prompt except that that enter when minutes is 15, 30, 45, 60(in multiples of 15 minutes). how can i achieve this and what application can i use to get this done. I will be glad, if someone can give me a hint on this.
2007 Apr 30
2
don't want call to get answered
...ming number and whenever any one calls those number call comes to my *box and it sends call to my agents in queue. but if no agent is available it still answer the call. Is there any why when my agents are not available I don't want call to get answered. Here is my dialplan: exten => xxxx,1,GotoIfTime(*|*|20|dec?ccagents,xxxx,6) exten => xxxx,2,GotoIfTime(10:00-16:00|*|26|dec?ccagents,xxxx,7) exten => xxxx,3,GotoIfTime(09:00-18:00|*|31|dec?ccagents,xxxx,7) exten => xxxx,4,GotoIfTime(12:00-16:00|*|1|jan?ccagents,xxxx,7) exten => xxxx,5,GotoIfTime(09:00-18:00|mon-fri,*,*?ccagents,xxxx...
2012 Dec 27
4
How do *you* test your changes to dialplans ruled by GotoIfTime?
...rs (made worse by being Monday this year) dialplan was broken by me misspelling the correct dialplan to go to. Then our Boxing Day dialplan was broken when I copied and pasted the correct dialplan from one similar extension number to the other, like this: ; Christmas ; exten => YYYY821192,n,GotoIfTime(9:30-14:00,*,25,dec?ivr-lightspeed-tech-early,s,1) exten => YYYY821192,n,GotoIfTime(8:00-17:00,*,24,dec?ivr-lightspeed-day,s,1) exten => YYYY821192,n,GotoIfTime(*,*,25,dec?ivr-lightspeed-after-hours,s,1) exten => YYYY821190,n,GotoIfTime(9:00-18:00,*,26,dec?ivr-lightspeed-day,s,1) the...
2008 Jul 30
0
RES: GotoIftime
Hello Nhadie, I had a very similar situation. My solution, even tough might not look very wise, solved my problem the way I needed. I repeated the GotoIftime command in the next line in my extensions.conf . Like this: GotoIfTime(22:00-23:59|*|30|jul?test,s,1) GotoIfTime(00:00-02:00|*|31|jul?test,s,1) Rgs, Marco Cordeiro -----Mensagem original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] E...
2008 Nov 06
0
Asterisk trunking
...CAUSE}) exten => _041.,n,Hangup exten => _051.,1,Dial(SIP/portech/${EXTEN}) exten => _051.,n(busy),Dial(ZAP/r1/${EXTEN} exten => _051.,n,Hangup exten => _070.,1,Dial(SIP/portech/${EXTEN}) exten => _070.,n(busy),Dial(ZAP/r1/${EXTEN} exten => _070.,n,Hangup exten => _5863160,1,GotoIfTime(17:00-07:30|mon-fri|*|*?frontdesk,closed,1) exten => _5863160,n,GotoIfTime(*|sat-sun|*|*?frontdesk,closed,1) exten => _5863160,n,Answer() exten => _5863160,n,Dial(SIP/60,7,rtk) exten => _5863160,n,Dial(SIP/64,15,rtk) exten => _5863160,n,Dial(SIP/64&SIP/63,120,rtk) exten => _5...
2009 Dec 17
6
Feature Request: GotoIfTimeWithOffset
Hi, When I was testing an IVR, I realized I miss a function I would call GotoIfTimeWithOffset. Today, this IVR is using function AEL GotoIfTime in several places. The problem is if it's 11pm at the moment I'm testing this IVR, I can't nicely test the 9am or 2pm branch. GotoIfTimeWithOffset would get 2 incoming arguments : - the first is a time range (just like GotoI...
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...
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: http://lists.digium.com/...
2004 Jul 01
3
R: execute a context from cron
> I want to have call forwarding (from the POTS) > turned on at the close of work and turned off > automatically by *. I would have a look at GotoIfTime: http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime That should be much easier than a cron job Regards -Manuel ___________________________________________________ Ticinocom SA - Via Stazione 5 - 6600 Muralto Tel 0844 007070 - Fax 0844 007071 http://www.ticinocom.com
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] WARNING[11387]: pbx.c:6249 get_range: Invalid d...