[asterisk-users] GotoIfTime days query

2011-12-23 Thread Ishfaq Malik
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 -- _ -- Bandwidth

Re: [asterisk-users] GotoIfTime days query

2011-12-23 Thread virendra bhati
Hi , make variable and then put in funtion GotoIf() like set(day=mon|wed|fri) GotoIfTime(*,$day,1,jan?happynewyears,s,1); On Fri, Dec 23, 2011 at 3:03 PM, Ishfaq Malik i...@pack-net.co.uk wrote: Hi I'm using 1.8. Is there a way you can specify staggered days in a single GotoIfTime command

Re: [asterisk-users] GotoIfTime days query

2011-12-23 Thread Ishfaq Malik
So pipes can be used as a secondary delimiter? On Fri, 2011-12-23 at 15:08 +0530, virendra bhati wrote: Hi , make variable and then put in funtion GotoIf() like set(day=mon|wed|fri) GotoIfTime(*,$day,1,jan?happynewyears,s,1); On Fri, Dec 23, 2011 at 3:03 PM, Ishfaq Malik

Re: [asterisk-users] GotoIfTime days query

2011-12-23 Thread virendra bhati
Hi, It will not work... On Fri, Dec 23, 2011 at 3:18 PM, Ishfaq Malik i...@pack-net.co.uk wrote: So pipes can be used as a secondary delimiter? On Fri, 2011-12-23 at 15:08 +0530, virendra bhati wrote: Hi , make variable and then put in funtion GotoIf() like set(day=mon|wed|fri)

[asterisk-users] GoToIfTime problem

2010-07-30 Thread Jonas Kellens
Hello list, how come when the time is 12:31:18, the GoToIfTime-statement evaluates to true ?? [Jul 30 12:31:18] -- Executing [...@macro-hours:42] GotoIfTime(SIP/TELin-0067, 9:00-12:30|fri|*|*?exit) in new stack [Jul 30 12:31:18] -- Goto (macro-hours,s,58) The macro jumps to

Re: [asterisk-users] GoToIfTime problem

2010-07-30 Thread Doug Lytle
Jonas Kellens wrote: Hello list, how come when the time is 12:31:18, the GoToIfTime-statement evaluates to true ?? As noted in the Wiki: Times before Asterisk 1.6.2 are only accurate down to the 2-minute interval. So 12:01 is treated the same as 12:00. Starting with 1.6.2, times are

Re: [asterisk-users] GotoIfTime problem

2010-07-04 Thread Zhang Shukun
Thank you very much! Lesher 2010/7/2 Tilghman Lesher tles...@digium.com: On Thursday 01 July 2010 21:59:21 Zhang Shukun wrote: 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  ,

Re: [asterisk-users] GotoIfTime problem

2010-07-02 Thread Tilghman Lesher
On Thursday 01 July 2010 21:59:21 Zhang Shukun wrote: 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

[asterisk-users] GotoIfTime problem

2010-07-01 Thread Zhang Shukun
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

Re: [asterisk-users] GoToIfTime issue

2010-01-27 Thread Tilghman Lesher
On Wednesday 27 January 2010 01:48:47 Zhang Shukun wrote: how does the system recognize them. i mean queue_name is not an configure option in agent.conf The name between the square brackets in queues.conf is the queue_name. -- Tilghman Lesher Digium, Inc. | Senior Software Developer

Re: [asterisk-users] GoToIfTime issue

2010-01-26 Thread Zhang Shukun
2010/1/22 Tilghman Lesher tles...@digium.com: On Friday 22 January 2010 04:06:29 Zhang Shukun wrote: 2010/1/22 Randy R randulo2...@gmail.com: On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten = 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) but what should i

Re: [asterisk-users] GoToIfTime issue

2010-01-24 Thread Zhang Shukun
2010/1/22 Tilghman Lesher tles...@digium.com: On Friday 22 January 2010 04:06:29 Zhang Shukun wrote: 2010/1/22 Randy R randulo2...@gmail.com: On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten = 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) but what should i

Re: [asterisk-users] GoToIfTime issue

2010-01-24 Thread Tilghman Lesher
On Sunday 24 January 2010 20:52:55 Zhang Shukun wrote: 2010/1/22 Tilghman Lesher tles...@digium.com: On Friday 22 January 2010 04:06:29 Zhang Shukun wrote: 2010/1/22 Randy R randulo2...@gmail.com: On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten =

[asterisk-users] GoToIfTime issue

2010-01-22 Thread Zhang Shukun
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 [...@95040:1] GotoIfTime(SIP/1001-0099, 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

Re: [asterisk-users] GoToIfTime issue

2010-01-22 Thread Randy R
On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten = 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) but what should i do. if i want to set seperate weekdays,like mon,wed. not continuous weekday like mon-fri. I couldn't find any reference to multiple, non-contiguous

Re: [asterisk-users] GoToIfTime issue

2010-01-22 Thread Zhang Shukun
2010/1/22 Randy R randulo2...@gmail.com: On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten = 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) but what should i do. if i want to set seperate weekdays,like mon,wed. not continuous weekday like mon-fri. I couldn't find

Re: [asterisk-users] GoToIfTime issue

2010-01-22 Thread Tilghman Lesher
On Friday 22 January 2010 04:06:29 Zhang Shukun wrote: 2010/1/22 Randy R randulo2...@gmail.com: On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun bit...@gmail.com wrote: exten = 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) but what should i do. if i want to set seperate weekdays,like

[asterisk-users] GotoIfTime problem - possible bug

2009-11-23 Thread Nic Colledge
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

Re: [asterisk-users] GotoIfTime problem - possible bug

2009-11-23 Thread Tilghman Lesher
On Monday 23 November 2009 12:11:02 pm Nic Colledge wrote: 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

Re: [asterisk-users] GotoIfTime problem - possible bug

2009-11-23 Thread David Backeberg
On Mon, Nov 23, 2009 at 1:11 PM, Nic Colledge n...@njcolledge.net wrote: 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

Re: [asterisk-users] GotoIfTime problem - possible bug

2009-11-23 Thread Nic Colledge
Discussion Subject: Re: [asterisk-users] GotoIfTime problem - possible bug On Monday 23 November 2009 12:11:02 pm Nic Colledge wrote: 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

[asterisk-users] GoToIfTime : how to define sep 25th till oct 10th ?

2009-08-29 Thread jonas kellens
Hi list, quick question : With GoToIfTime, how to define a period of holiday that starts at the end of the month and ends at the beginning of the next month ?? Like September 25th till October 10th when incoming calls need to go to the voicemail... Greetingz, Jonas.

Re: [asterisk-users] GoToIfTime : how to define sep 25th till oct 10th ?

2009-08-29 Thread David Backeberg
On Sat, Aug 29, 2009 at 3:19 PM, jonas kellensjonas.kell...@telenet.be wrote: With GoToIfTime, how to define a period of holiday that starts at the end of the month and ends at the beginning of the next month ?? Like September 25th till October 10th when incoming calls need to go to the

Re: [asterisk-users] GoToIfTime : how to define sep 25th till oct 10th ?

2009-08-29 Thread MeetMeCall
GotoIfTime is about using the proper ranges of times, days of the week and months and the months in the year. Check voip-info.org GotoIfTime part. I think you need one line per month. The examples are clear. Success. Erik de Wild Tripple-o Your Asterisk migration partner The Netherlands

[asterisk-users] GotoIfTime and timezone specification

2008-09-22 Thread Klaus Darilion
Hi! Is it possible to specify the timezone in the GotoIfTime application? E.g. I want to route the call if it is 9:00-10:00 in Austria/Vienna or 10:00 - 11:00 in New York. This is needed for example if the time based routing for the office in New York is done on an Asterisk server running

[asterisk-users] GotoIftime

2008-07-30 Thread Nhadie
Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which looks like an invalid entry for the time. is it

[asterisk-users] GotoIftime

2008-07-30 Thread Nhadie
Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which looks like an invalid entry for the time. is it

Re: [asterisk-users] GotoIftime

2008-07-30 Thread Doug Lytle
Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) GotoIfTime(22:00-23:59|*|30-31|jul?test,s,1) GotoIfTime(00:00-02:00|*|30-31|jul?test,s,1) Doug --

Re: [asterisk-users] GotoIftime

2008-07-30 Thread Ira
At 01:36 PM 7/30/2008, you wrote: Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) GotoIfTime(22:00-23:59|*|30-31|jul?test,s,1)

Re: [asterisk-users] GotoIftime

2008-07-30 Thread John Millican
Ira wrote: At 01:36 PM 7/30/2008, you wrote: Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) GotoIfTime(22:00-23:59|*|30-31|jul?test,s,1)

Re: [asterisk-users] GotoIftime

2008-07-30 Thread Tilghman Lesher
On Wednesday 30 July 2008 14:46:55 Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which

Re: [asterisk-users] GotoIftime

2008-07-30 Thread Nhadie
cool. thanks for all your reply John Millican wrote: Ira wrote: At 01:36 PM 7/30/2008, you wrote: Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1)

Re: [asterisk-users] GotoIftime

2008-07-30 Thread Tilghman Lesher
On Wednesday 30 July 2008 16:19:52 John Millican wrote: Ira wrote: At 01:36 PM 7/30/2008, you wrote: Nhadie wrote: Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this:

Re: [asterisk-users] GotoIfTime Function

2008-06-27 Thread Benoit Plessis
I would say you have two choices for that: opt 1, let the carrier provider do the ring and then answer, using Wait() or WaitForRing() opt 2, do it yourself using PlayTones() or Progess() broadband Voice a écrit : Finally did it but only one more problem, I want it to ring

Re: [asterisk-users] GotoIfTime Function

2008-06-26 Thread broadband Voice
Finally did it but only one more problem, I want it to ring once before going to the context or playing the background message. [day_menu] exten = s,1,Answer() exten = s,2,Background(welcome-message) exten = s,3,Dial(SIP/5960,200,rt) ; week day goes to Philadelphia Office [weekend__menu]

Re: [asterisk-users] GotoIfTime Function

2008-06-24 Thread broadband Voice
I googled some information on voip.org. Its my fault though and implemented the sample implementation without creating the context an the include statements. On Mon, Jun 23, 2008 at 10:33 PM, Eric ManxPower Wieling [EMAIL PROTECTED] wrote: If any docs were the cause of this (very important)

[asterisk-users] GotoIfTime Function

2008-06-23 Thread broadband Voice
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 =

Re: [asterisk-users] GotoIfTime Function

2008-06-23 Thread Steve Edwards
On Mon, 23 Jun 2008, broadband Voice wrote: 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

Re: [asterisk-users] GotoIfTime Function

2008-06-23 Thread broadband Voice
fc7234153*CLI dialplan show open There is no existence of 'open' context I was under the impression that this was part of the Asterisk default libraries. I will create the context then and also add the include files. On Mon, Jun 23, 2008 at 8:19 PM, Steve Edwards [EMAIL PROTECTED] wrote: On

Re: [asterisk-users] GotoIfTime Function

2008-06-23 Thread Eric ManxPower Wieling
If any docs were the cause of this (very important) misconception, maybe the docs could be reworded. Do you remember what caused you to think that context was created automatically? broadband Voice wrote: fc7234153*CLI dialplan show open There is no existence of 'open' context I was under

[asterisk-users] GoToIfTime problem

2008-04-24 Thread Lee Jenkins
I'm having a problem at a custom site where GotoIfTime doesn't seem to be working for some reason. I had putty running and logging CLI output and below is the call data: -- Executing Answer(Zap/3-1, ) in new stack -- Executing Ringing(Zap/3-1, ) in new stack -- Executing Wait(Zap/3-1, 0) in

Re: [asterisk-users] GoToIfTime problem

2008-04-24 Thread Michiel van Baak
On 15:43, Thu 24 Apr 08, Lee Jenkins wrote: I'm having a problem at a custom site where GotoIfTime doesn't seem to be working for some reason. I had putty running and logging CLI output and below is the call data: -- Executing Answer(Zap/3-1, ) in new stack -- Executing

Re: [asterisk-users] GoToIfTime problem

2008-04-24 Thread Lee Jenkins
Lee Jenkins wrote: I'm having a problem at a custom site where GotoIfTime doesn't seem to be working for some reason. I had putty running and logging CLI output and below is the call data: -- Executing Answer(Zap/3-1, ) in new stack -- Executing Ringing(Zap/3-1, ) in new stack --

Re: [asterisk-users] GoToIfTime problem

2008-04-24 Thread Doug Lytle
Lee Jenkins wrote: -- Executing GotoIfTime(Zap/3-1, 08:30-17:00|mon-fri|*|*|?daytime_ivr|s|1) Too many pipes. Mine is: GotoIfTime(00:00-07:50|mon-fri|*|*?auto-paging,s,1) Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety,

Re: [asterisk-users] Gotoiftime help

2007-12-29 Thread Doug Lytle
troxlinux wrote: hello list, I am trying to arm an ivr for schedule of office and outside of office I've just tested a simple include. It worked fine. My simple test: [sip-utilities] include = test1|16:50-16:55|mon-sat|*|* include = test2|16:56-16:59|mon-sat|*|* [test1] exten =

Re: [asterisk-users] Gotoiftime help

2007-12-27 Thread Doug Lytle
troxlinux wrote: Verbosity is at least 20 -- Executing [EMAIL PROTECTED]:1] Answer(SIP/sipurafxo-b77038e8, ) in new stack -- Executing [EMAIL PROTECTED]:5] BackGround(SIP/sipurafxo-b77038e8, Well that didn't help any. I'll be working on my system this weekend and I'll see if I

[asterisk-users] Gotoiftime help

2007-12-26 Thread troxlinux
hello list, I am trying to arm an ivr for schedule of office and outside of office [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no [in] include =scheduleofservice|08:00-18:00|mon-fri|*|* include =outsideofschedule|18:00-23:59|*|*|* include

Re: [asterisk-users] Gotoiftime help

2007-12-26 Thread Doug Lytle
troxlinux wrote: [in] include =scheduleofservice|08:00-18:00|mon-fri|*|* include =outsideofschedule|18:00-23:59|*|*|* include =outsideofschedule|00:00-07:59|*|*|* include =outsideofschedule|*|sat-sun|*|* I've read that you can use time limits within include, but personally have never

Re: [asterisk-users] Gotoiftime help

2007-12-26 Thread troxlinux
Verbosity is at least 20 -- Executing [EMAIL PROTECTED]:1] Answer(SIP/sipurafxo-b77038e8, ) in new stack -- Executing [EMAIL PROTECTED]:5] BackGround(SIP/sipurafxo-b77038e8, intron) in new stack -- SIP/sipurafxo-b77038e8 Playing 'introm' (language 'es') == Begin MixMonitor Recording

[asterisk-users] gotoiftime and blocking calls

2006-11-22 Thread Tom Vile
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 =

Re: [asterisk-users] gotoiftime and blocking calls

2006-11-22 Thread Alberto Pastore
Tom Vile ha scritto: 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 =

[asterisk-users] gotoiftime and Macro question

2006-10-18 Thread asterisk
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

Re: [asterisk-users] gotoiftime and Macro question

2006-10-18 Thread Conrad Wood
On Wed, 2006-10-18 at 13:39 +0200, [EMAIL PROTECTED] wrote: 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))

Re: [asterisk-users] gotoiftime and Macro question

2006-10-18 Thread Mojo with Horan Company, LLC
You don't run a function in the GotoIfTime application, you point to another context/extension/priority to jump to that DOES have the applications you need, as Conrad exampled. Moj [EMAIL PROTECTED] wrote: Is there a way to run a macro in a GotoIfTime statement ?? from the wiki documentation

[asterisk-users] GotoIfTime - much slowdown with 90 conditions?

2006-10-09 Thread Mike Dent
Hi, I wonder if anybody can share their experience of this. I am designing a system with 90 GotoIfTime conditions to check through for a match. Bascially each month day will be split in to 3 time ranges and a month has 31 days in, so this gives a possible 90+ combinations, nearer the end of the

Re: [asterisk-users] GotoIfTime - much slowdown with 90 conditions?

2006-10-09 Thread Doug Lytle
Mike Dent wrote: I'm guessing myself it won't be a big deal but I just want to check before I commit too much. Don't know... Why don't you bench it and let us know. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither

[Asterisk-Users] gotoiftime with list of time range

2006-03-02 Thread Vincent Régnard
Hi, The documentation for GoToIfTime(times,days_of_week,...) says times is a list of one or more time ranges. I cannot actually see how I can set the list of time ranges for this application. In fact I think I cannot put more than one time range to specify morning and afternoon hours.

[Asterisk-Users] gotoiftime

2005-08-27 Thread Damon Estep
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

Re: [Asterisk-Users] gotoiftime

2005-08-27 Thread Joseph
I think you are looking for something like this (from my dial plan): ... [incoming] ; First, let's do the holidays exten = 888,1,GotoIfTime(*|*|1|jan?holiday,s,1) exten = 888,2,GotoIfTime(*|*|1|jul?holiday,s,1) exten = 888,3,GotoIfTime(*|*|1|aug?holiday,s,1) exten =

[Asterisk-Users] GotoIfTime Discrete weekdays (Mon,Wed,Fri)

2005-02-18 Thread Ronald Hartmann
Good Day list, Does anyone know if there is a way to get GotoIfTime to accept individual weekdays instead of a range? Example Dr. Office is closed on Thursday and Sunday. Ron ___ Asterisk-Users mailing list

Re: [Asterisk-Users] GotoIfTime Discrete weekdays (Mon,Wed,Fri)

2005-02-18 Thread Andrew Furey
Does anyone know if there is a way to get GotoIfTime to accept individual weekdays instead of a range? Example Dr. Office is closed on Thursday and Sunday. Think the easiest option would be to use two statements: exten = s,1,GotoIfTime(*|thu|*|*?closed,s,1) exten =

[Asterisk-Users] gotoiftime - different hours

2005-01-14 Thread Asterisk
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

Re: [Asterisk-Users] gotoiftime - different hours

2005-01-14 Thread Christopher L. Wade
Asterisk wrote: 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

Re: [Asterisk-Users] gotoiftime - different hours

2005-01-14 Thread Asterisk
- New functionality for GotoIfTime -- I want to add extra functionality to the gotoiftime function: Basically I want to be able to specify multiple days / times such as GotoIfTime([9:00-17:00|mon-fri][9:00-13:00|sat]|*|*?open,s,1) - open 9-5 mon-fri, 9-1 on sat or

[Asterisk-Users] GotoIfTime help

2003-12-19 Thread Osvaldo Mundim
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 =

Re: [Asterisk-Users] GotoIfTime help

2003-12-19 Thread Lubomir Christov
about GotoIfTime you have: show application GotoIfTime -= Info about application 'GotoIfTime' =- [Synopsis]: Conditional goto on current time [Description]: GotoIfTime(times|weekdays|mdays|months?[[context|]extension|]pri): If the current time matches the specified time, then branch to the

Re: [Asterisk-Users] GotoIfTime help

2003-12-19 Thread Philipp von Klitzing
Hi! gotoif usually takes a priority as label, not an extension! See below. Never tried if you can also use the notation context,extension,priority instead of just priority, but it might work. Just try it. I need to forward an extension to an other depending on the current time but I could not

Re: [Asterisk-Users] GotoIfTime help

2003-12-19 Thread Osvaldo Mundim
All right... Its working now. thank you very much! regards Oz On Dec 19, 2003, at 3:02 PM, Philipp von Klitzing wrote: Hi! gotoif usually takes a priority as label, not an extension! See below. Never tried if you can also use the notation context,extension,priority instead of just priority,

[Asterisk-Users] gotoiftime error

2003-07-01 Thread Paulo Mannheimer
Hi folks, There was a bug with the GotoIfTime built-in command, under certain circumstances a variable contained garbage, screwing up correct time identification. Im submitting now a patch to Mark so this can be fixed. PauloHM

Re: [Asterisk-Users] gotoiftime error

2003-07-01 Thread Tilghman Lesher
On Tuesday 01 July 2003 09:08 am, Paulo Mannheimer wrote: 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. What exactly

RE: [Asterisk-Users] gotoiftime error

2003-07-01 Thread Paulo Mannheimer
on the bitfield logic. PauloHM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tilghman Lesher Sent: July 01, 2003 1:24 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] gotoiftime error On Tuesday 01 July 2003 09:08 am, Paulo Mannheimer wrote: Hi folks

Re: [Asterisk-Users] gotoiftime error

2003-07-01 Thread Tilghman Lesher
On Tuesday 01 July 2003 12:13 pm, Paulo Mannheimer wrote: Sure, here it goes. As you may notice, a local instance of the variable ast_include is used in function pbx_builtin_gotoiftime As the local variable is not initialized to zero, its minmask bitfields contain garbage, thus sometimes