Displaying 20 results from an estimated 2000 matches similar to: "Possible bug with 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 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:
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)
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]
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
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
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
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
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
2006 Mar 25
4
Asterisk and "Commercial Unix"
Has anyone ever gotten * to work on commercial unixes such as HP-UX,
Solaris, AIX?
What about other architectures than x86?
--
.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/GIT> d-@ s+:+ a? C+++ BLHIS$ U+++ P+> L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+> h---- r+++ y++++
------END GEEK CODE BLOCK------
.
-------------- next part
2009 Aug 29
1
GoToIfTime : how to define sep 25th till oct 10th ?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 May 19
1
Asterisk real time extensions problem...
Hello everybody,
I have setup asterisk real time extensions and its
working pretty well. But the problem is when I am jumping between the
contexts using the Goto statement in the database. I am getting a error
= Parsing '/etc/asterisk/sip_notify.conf': Found
-- SIP Seeding peers from Astdb: 'ezzibpo4' at
ezzibpo4@210.211.246.47:5061 for 60
2005 Aug 01
1
Is this maillist down?
This is usually a very active list, but looking at my procmail log the last
message I have received arrived on:
>From asterisk-users-bounces@lists.digium.com Fri Jul 29 03:04:17 2005
Subject: Re: [Asterisk-Users] How can I use MySQL in the dialplan?
Since that message there has been a gaping silence, any idea what is up, as I
am sure seeing mail from everything else. Actually I
2005 Aug 22
1
Cut leading digit?
Using a spa3000 with asterisk cvs head, and the spa3k is config'ed with
a dialplan that essentially routes any call starting with an "8" to
asterisk. All other US 7 and 10 digit calls, 911, etc, route via the
spa3k's fxo port.
Is there a way in extensions.conf to:
- inspect the dialed exten number,
- if first digit is "8", drop the 8,
- continue through each
2005 Sep 13
1
SetCIDName question
Hi all,
I tried to set the calleridname of an incoming call to get different
incoming labels displayed for different incoming numbers.
This does work for hidden number-calls so I can set the displayed CIDName
on my cisco7960 from "CID withheld" to "abc CID withheld"
If the incoming CID isn't hidden it works to use SetCallerID but not to
change only the CIDName with