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
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
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
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)
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
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
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 ,
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
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
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
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
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
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 =
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
--
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)
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)
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
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)
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:
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
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]
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)
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 =
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
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
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
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
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
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
--
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,
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 =
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
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
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
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
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 =
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 =
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
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))
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
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
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
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.
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
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 =
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
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 =
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
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
- 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
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 =
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
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
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,
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
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
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
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
72 matches
Mail list logo