Displaying 20 results from an estimated 1000 matches similar to: "Newbie: Help Please - Model Validation Error"
2007 Sep 13
2
FW: Problems with two trunks
Update on this:
I found that by changing insecure = very to insecure = invite, adding
the second trunk no longer stopped calls working.
I've read the documentation on this switch and still don't see how it
applies/is meant to get used.
Anyway, with this change in place, the following may help:
asterisk*CLI> sip show registry
Host Username
2004 Dec 29
2
So what if I can't dial out ... or in ... Asterisk just blows my mind!
I subscribed to this list for about two months before I began posting, so I've
got a buttload of email to sift through ... I'm doing this BEFORE I flood the
list with my inane questions ...
But here goes:
I read a reply from one guy to another about recording. The message included
this context from extensions.conf:
[recordings]
exten => 500,1,Festival('Please record your
2007 Sep 13
1
Problems with two trunks
Hi,
I am attempting to setup an asterisk server, current specs:
CentOS release 5 (Final)
Asterisk 1.4.11
Asterisk-gui checked out from SVN last week
I started with a fairly basic setup involving one VOIP provider who
provided one dial in number, and a couple of handsets. Config files are
below. It was pretty much totally built by Asterisk-gui, except for the
fact I had to add
2005 Jan 10
2
Festival Woes
Asterisk v1.0 is running on RH 9. I installed festival RPM
(festival-1.4.2-16.i386.rpm) and edited the festival.scm file to add:
(define (tts_textasterisk string mode)
"(tts_textasterisk STRING MODE)
Apply tts to STRING. This function is specifically designed for
use in server mode so a single function call may synthesize the string.
This function name may be added to the server safe
2005 Oct 17
1
astcc missing to bill random calls?
Hello list,
I just came into a strange problem wth astcc. the trouble is astcc.agi does
not bill some calls. The calls are logged in the cdr-csv/Master.csv file,
but with a duration of 0, billsec of 0, an empty dstchannel, and with a
lastapp field of "hangup". I suppose that astcc.agi was not able to get the
answeredime variable from the SIP channel...
I have added a few functions to
2003 Feb 06
2
Broadcast message with smbclient -M
Hello,
Is there a way to broadcast a message with smbclient -M?
Also, is there some utility out there with user interface where I can select
which machines should receive the message and then send it out?
Thanks,
Tomas
2017 Nov 09
1
weighted average grouped by variables
Hello,
Using base R only, the following seems to do what you want.
with(mydf, ave(speed, date_time, type, FUN = weighted.mean, w = n_vehicles))
Hope this helps,
Rui Barradas
Em 09-11-2017 13:16, Massimo Bressan escreveu:
> Hello
>
> an update about my question: I worked out the following solution (with the package "dplyr")
>
> library(dplyr)
>
> mydf%>%
>
2011 Feb 11
2
dialplan announcements
Hey all,
I tried to do some searching but I found snippets and I am having trouble
putting it all together.
I want to have an option off the IVR that plays back the announcement for
the day. At the end of the message, I want the caller to get kicked back to
the previous menu.
The conditions are that I want the recorder to dial a feature code that
prompts him to record the message. He
2006 Jun 15
3
Can I call MySql statements directly??
Hi All.
I have a mysql statement that I would really really like to call from my
Ruby program which goes like this:
SELECT a, b, DAYOFWEEK(date_time) as DOW,
HOUR(date_time) at hr,
AVG(x/y)
FROM records;
This is possible by creating a 3-dimentional array of a, b, date_time
containing x/y, and then finding averages and putting it into a
4-dimensional array of a, b, dow,
2017 Nov 09
1
weighted average grouped by variables
Dear Massimo,
It seems straightforward to use weighted.mean() in a dplyr context
library(dplyr)
mydf %>%
group_by(date_time, type) %>%
summarise(vel = weighted.mean(speed, n_vehicles))
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
2006 Feb 08
1
Possible AGI Bug in Asterisk?
Dear All,
I seem to have stumbled across an AGI problem;
I have written an AGI Script (bottom of this email);
The script does the following;
Makes a CDR entry when called
Records the call
Updates the CDR
Finds a corresponding DNIS from the SMDR table (captured via a serial
port logger)
Matches up the record and updates the CDR.
The script works perfectly in my test lab and has been doing so
2010 Mar 17
2
How can I return rows from a data frame with maximum value by factor?
Hi,
I'm new to R and new to this forum. I'm struggling with trying to extract
certain rows of data from my data.frame. The data.frame has eleven columns.
Among those columns are "FISH_ID" and "DATE_TIME". FISH_ID is a factor. For
each of my 21 unique FISH_IDs (levels) I have a few to a few thousand rows,
each row with a unique DATE_TIME value. I would like to obtain,
2009 Oct 06
1
ggplot2 applying a function based on facet
Look at the bottom of the message for my question
#here is a little function that I wrote
USGS <- function(input="discharge", days=7){
library(chron)
library(gsubfn)
#021973269 is the Waynesboro Gauge on the Savannah River Proper (SRS)
#02102908 is the Flat Creek Gauge (ftbrfcms)
#02133500 is the Drowning Creek (ftbrbmcm)
#02341800 is the Upatoi Creek Near Columbus (ftbn)
#02342500 is
2017 Nov 09
0
weighted average grouped by variables
Hello
an update about my question: I worked out the following solution (with the package "dplyr")
library(dplyr)
mydf%>%
mutate(speed_vehicles=n_vehicles*mydf$speed) %>%
group_by(date_time,type) %>%
summarise(
sum_n_times_speed=sum(speed_vehicles),
n_vehicles=sum(n_vehicles),
vel=sum(speed_vehicles)/sum(n_vehicles)
)
In fact I was hoping to manage everything in a
2017 Nov 09
4
weighted average grouped by variables
hi all
I have this dataframe (created as a reproducible example)
mydf<-structure(list(date_time = structure(c(1508238000, 1508238000, 1508238000, 1508238000, 1508238000, 1508238000, 1508238000), class = c("POSIXct", "POSIXt"), tzone = ""),
direction = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L), .Label = c("A", "B"), class =
2006 May 03
1
How would you go about calling a list of numbers and 'speaking' a message?
Hello
I have been asked by a client to process a list of telephone numbers.
Asterisk should call each number in turn and if the recipient of the call
answers, play a message - eg from a wav.
How would I go about doing that?
Angus
2004 Dec 20
1
[Asterisk-Dev] RE: [Asterisk-biz] Asterisktraining andcertification :: AstriconTraining
Here here, a bit of documentation online would cut down considerably the
traffic on this list asking how to questions.
Cmon sokal, put the questions and training material online.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rich
Adamson
Sent: Monday, December 20, 2004 4:18 PM
To: Asterisk Developers
2017 Nov 11
0
weighted average grouped by variables
> On 9 Nov 2017, at 14:58, PIKAL Petr <petr.pikal at precheza.cz> wrote:
>
> Hi
>
> Thanks for working example.
>
> you could use split/ lapply approach, however it is probably not much better than dplyr method.
>
> sapply(split(mydf, mydf$type), function(speed, n_vehicles) sum(mydf$speed*mydf$n_vehicles)/sum(mydf$n_vehicles))
> gives you averages
>
The
2008 Mar 17
0
arules - getting transaction data in
Hi All
Hoping someone can help me with the "transactions" object. I am struggling
to get my data in. I know the answer is in the help somewhere I'm sure, I
just cannot find it. Essentially, I have data in this format (though I can
change it if it particularly unsuitable)
Transaction_id, store , salesman, date_time , items
1 , waterfront, john ,
2010 Oct 27
1
Fill in missing times in a timeseries with NA
Hi,
I have a irregularly spaced time series dataset, which reads in from a .csv.
I need to convert this to a regularly spaced time series by filling in
missing rows of data with NAs.
So my data, called NtuMot, looks like this (I've removed some of the
additional rows for simplicity)....
ELEID date_time height slope
1 2009-06-24 00:00:00