Displaying 20 results from an estimated 900 matches similar to: "GotoIfTime help"
2020 Oct 05
2
S4 - inheritance changed by order of setClassUnion and setAs()
Dear colleagues,
there is a behaviour with S4 (virtual) classes that I find very hard to understand: Depending on the position
of setAs(), the tree of inheritance changes.
This is my baseline example that defines the classes "grandma", "mother", "daughter" and a virtual
class "mr_x". For a new instance if "daughter", "mr_x" is betweeen
2017 Nov 15
2
R6 object that is a list of referenced object
Dear community,
I am having a class, let's say Person,
Person <- R6Class("Person",
public = list(
idPerson = NULL,
name = NULL,
age = NULL,
initialize = function(idPerson = NA, name = NA, age = NA) {
self$idPerson <- idPerson
2015 Aug 10
2
webrtc no audio
hello,
i'm facing strange problem
asterisk13.5 + chan_sip wss transport + SIPML5 1.5.230
person1 to person3 are behind different NATs
audio devices double checked
call from person1(chrome) to person2(chrome) works
call from person1(chrome) to person 3(chrome) - no audio on both side
(RTP flowing only in one direction)
call from person2(chrome) to person 3(chrome) - no audio on both side
2017 Nov 16
0
R6 object that is a list of referenced object
See below.
On Wed, 15 Nov 2017, Cristina Pascual wrote:
> Dear community,
>
> I am having a class, let's say Person,
>
> Person <- R6Class("Person",
> public = list(
> idPerson = NULL,
> name = NULL,
> age = NULL,
> initialize =
2004 Jun 06
4
Request help writing a function
I have been wrestling with this function for quite a while, and am not making headway.
1) I want to apply a function to the following columns of a dataframe:
myfunction. <- apply(ph5028[,c(83:107)],2,function(x) ...
2) Within each of the above columns there is a single numeric code, 1, 2 or 3 or an NA.
3) My goal is to determine the percent of time each person used a 2 code. So if a person
2006 Aug 12
1
has and belongs to many different?
Is there such a thing? I am thinking of an application that has
something like this:
1. person has many things - there is a ''persons'' table
2. the things he has are stored in a table that is something like this
person_id, thing_table_name, thing_id
For example, it may map to
person1, books, 23 #Person 1 owns book 23
person1, books, 25 #Person 1 owns book 25
2017 Oct 18
1
conformal predictions
Dear community,
I want to use conformal prediction to measure how good are my svm-regression predictions (having used library e1071).
I have gone through the conformal package documentation. But I'm pretty newer and need some more and detailed examples.
Can anybody help me?
Thanks in advance,
[[alternative HTML version deleted]]
2006 Aug 15
2
How to access attribute in a self-referential many-to-many relationship
Hello List,
I created a self-referential many-to-many relationship (as described
in the book Rails recipe #18), where I have a model that has
many-to-many relationships with itself. In this case, it''s person who
can become friends. The join table looks like this:
mysql> select * from friends_people;
+-----------+-----------+-----------+
| person_id | friend_id | confirmed |
2004 Jun 08
2
Recoding a multiple response question into a series of 1, 0 variables
Hello R folks.
1) The question that generated the data, which I call Qx:
Which of the following 5 items have you performed in the past month? (multipe response)
2) How the data is coded in my current dataframe:
The first item that a person selected is coded under a field called Qxfirst; the second selected under Qxsecond, etc. For the first Person, the NAs mean that that person only selected
2006 Jul 28
2
has_many :through with multiple paths
Hi all.
I am currently thinking about how to do the following:
I have the following models.
Team
Person
Team has various positions (manager, programmer etc.) I would like each
one of those positions to reference one or more Person records. A single
Person record could be on 6 different teams at the same time in
different roles. the same person could even be on the same team multiple
times
2007 Dec 27
2
Help with lm and multiple linear regression? (Plain Text version)
(Apologies the previous version was sent as rich text)
Hello,
I'm new to R, but I've read the intro to R and successfully connected it to an instance of mysql. I'm trying to perform multiple linear regression, but I'm having trouble using the lm function. To start, I have read in a simply y matrix of values(dependent variable) and x matrix of independent variables. It says both
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',
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]
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