Displaying 20 results from an estimated 600 matches similar to: "GotoIfTime Function"
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',
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 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 !!
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
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:
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
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
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]
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
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
2004 Apr 30
2
Playing with time ranges...
Playing with time ranges - using the examples found in one of the
asterisk cook books... (pdf - page 17)
; After Hours
include => night_menu|00:00-08:00|Tue-Fri|*|*
include => night_menu|17:00-24:00|Mon-Thu|*|*
this gives...
... pbx.c:2962 get_timerange: 24:00 isn't a valid end time....
-- Including context 'night_menu|17:00-24:00|Mon-Thu|*|*' in context
'default'
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:
2008 Jan 05
1
G729A Install Problems
I have downloaded and unpacked tarballs
codec_g729a_v33_nocona.tar.gz.1
/pub/register/x86-64/register
/pub/register/x86-64/asthostid
When I run the utility register of asking me for the license number. I get
the following.
[root at fc7234153 modules]# /root/register
Digium Product Registration - Version 3.0.0
Copyright (C) 2004-2007, Digium, Inc.
Use the '-l' option to see license
2007 Dec 29
1
Not Able To tar zxvf zaptel-*.tar.gz
I figured it out. The ftp site was not named well and corrected. The other
problem I have it after the extraction and make; it was suppose to go under
/etc but that did not happen. I am trying to figure out why.
On 12/28/07, broadband Voice <broadbandvoice at gmail.com> wrote:
>
> I successfully downloaded the Asterisk package from Digium but not able
> tar zxvf zaptel-*.tar.gz.
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
2006 Oct 19
0
RE gotoiftime and Macro question
Thank you all very much: it solved my problem.
exten => 554,3,GotoIfTime(08:30-14:30|mon-wed|*|*?novm,567,1)
...
[novm]
exten => _X.,1,Macro(exten-vm,novm,${EXTEN})
...
The remaining dialplan is not "my" specific,
is the standard dial plan provided by FreePbx, which I integrate in
...._custom.conf file
thanks,
Andrea
Chi ricevesse questa mail per errore e' gentilmente