Displaying 20 results from an estimated 500 matches similar to: "AGI MySql"
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
2006 Feb 03
0
varion card
I've been using it in a test environment with no problems. However, I
haven't used it in production yet. I'm doing some voice broadcasting
with a PRI and so far I'm content with the performance.
-MC
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Akpome
Akpoguma
Sent: Friday, February 03,
2006 May 25
1
playback windows recorded sound
I downloaded recordPad and recorded a wav file and tried playback on
asterisk got the same error as before -- WARNING [1225991360]
Format.wav.c:132 check_header:unexpected header size 18--
when I recorded in gsm format on my laptop asterisk did playback well
I used sox to resample the recorded wav file on the asterisk machine into
wav again and asterisk playback worked well.
The sound
2007 Jun 13
3
WAV file best sound quality
Hi,I have been using wav files with sample rate of 8khz and 8 bits and I find the sound quality really poor.What is the best sound quality I can achieve on Asterisk?Responses would be appreciated.Rgds,Akpome
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
2004 Dec 10
1
subset bug?
I ran into a problem with "subset" while working at home that I am not sure is a bug or not. I defined a custom function to take a data frame of tree positions, sizes, and types (containing the columns TRT, COMP, PLOT, X, Y, DBH and CON) and wanted to make a stem map of the plot using different symbols and colors to represent the different types of tree stems. I copied a bit of the
2005 Dec 25
0
CentOS-announce Digest, Vol 10, Issue 11
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2003 Nov 16
2
prevent conversion to factors in aggregate?
I've been trying to figure out how to prevent a column that is the result of
an aggregate function call so that I can use it in further calculations. For
example, I would like to aggregate the expf for the data.frame by sp
(character) and dbh (double d=rounded to integer) using the command:
> st2 <- aggregate( ntrs$expf, by=list(sp=ntrs$sp,dbh=ntrs$dbh), sum )
> st2$expf <- st2$x
2011 Jul 22
1
3d plotting with cloud and wireframe
Hi,
I'm trying to plot an equation in two variables to get a feel
for sensitivity to its parameters. I've run expand.grid to get made-up
vectors of the combinations of the two independent variables, and am trying
to plot the output of the dependent, M, against both the dependent in a 3d
space.
t <- 0:100
DBH <- 10:100
TxDBH<-expand.grid(t,DBH)
time<-TxDBH[,1]
2008 Aug 29
1
nls() fails on a simple exponential fit, when lm() gets it right?
Dear R-help,
Here's a simple example of nonlinear curve fitting where nls seems to get
the answer wrong on a very simple exponential fit (my R version 2.7.2).
Look at this code below for a very basic curve fit using nls to fit to (a)
a logarithmic and (b) an exponential curve. I did the fits using
self-start functions and I compared the results with a more simple fit
using a straight lm()
2012 Oct 03
1
Difficulties in trying to do a mixed effects model using the lmer function
Dear people of the help list
I am drying to analyze my data using the 'lmer' function and I keep having problems.
This is the model:
> fm1<-lmer(dbh~spec+scheme+(1|Plot),data=d, REML=FALSE).
I analyse tree size (dbh) of 3 different species (spec) and 3 planting schemes (scheme). I have 5 plots, which I hope to model as a random factor. (However, the subsequent output is based on
2007 Dec 12
1
How to plot the grid figure using R?
Now I have the forest plot data with x, y locations, and I measured the DBH for every indivicuals.
The data looks like that:
x=runif(100,0,100)
y=runif(100,0,100)
dbh=runif(100,1,100)
rdata=data.frame(x,y,dbh)
> rdata[1:5,]
x y dbh
1 99.5354145 1.412844 34.10112
2 0.8259361 87.737036 39.12914
3 6.5678613 65.699032 22.55990
4 67.2987881 72.053877 45.83978
5 2.2491372
2013 Apr 06
1
Plotting a curve for a Holling Type III Functional Response
Hey,
So I have a scatter plot and I am trying to plot a curve to fit the data
based on a Holling Type III functional response. My function is this:
nll2<-function(a,b) {
conefun<-(a*DBH^2)/(b^2+DBH^2)
nlls2<-dnbinom(x=cones ,size=DBH, mu=conefun,log=TRUE)
-sum(nlls)
}
and my plot is this:
plot (DBH,cones)
DBH is on the x-axis and cones is on the y-axis. How do I get the curve
2006 Apr 01
0
CEBA:2005-1224-1 CentOS 4 i386 dbh - bugfix update (Extras Only)
CentOS Errata and Bugfix Advisory 2005:1224-1
CentOS 4 i386 dbh - Bugfix Update (Extras Only)
This CEBA is for the Extras repository only, and not for the main CentOS
repository.
-------------------
The following upstream changes have been rolled into dbh:
* Thu Dec 22 2005 Kevin Fenzi <kevin@tummy.com> - 1:1.0.24-3.fc4
- Bump release to fix tagging issue
* Thu Dec 22 2005 Kevin Fenzi
2006 Apr 01
0
CEBA:2005-1224-1 CentOS 4 x86_64 dbh - bugfix update (Extras Only)
CentOS Errata and Bugfix Advisory 2005:1224-1
CentOS 4 x86_64 dbh - Bugfix Update (Extras Only)
This CEBA is for the Extras repository only, and not for the main CentOS
repository.
-------------------
The following upstream changes have been rolled into dbh:
* Thu Dec 22 2005 Kevin Fenzi <kevin@tummy.com> - 1:1.0.24-3.fc4
- Bump release to fix tagging issue
* Thu Dec 22 2005 Kevin Fenzi
2007 Jul 31
2
choosing between Poisson regression models: no interactions vs. interactions
R gurus,
I'm working on data analysis for a small project. My response
variable is total vines per tree (median = 0, mean = 1.65, min = 0,
max = 24). My predictors are two categorical variables (four sites
and four species) and one continuous (tree diameter at breast height
(DBH)). The main question I'm attempting to answer is whether or not
the species identity of a tree has
2006 Apr 07
1
Validate_presence_of error in nested object is not displayed
Hi,
I have a contact object . This contact has a address object
>>Contact
class Contact < ActiveRecord::Base
has_one :address
validates_presence_of :first_name ,:last_name
end
.>>> Address
class Address < ActiveRecord::Base
belongs_to :contact
validates_presence_of :address
end
Addres has the following fields ; address, phone, fax, email
In the contacts_controller I
2011 Jun 23
3
help- subtitles for multiple charts
Hello, I have a problem with my script. I don'y know how to apply subtitles.
I have 9 charts per page (for combination of 3 blocks and 3 treatments). I
want to have subtitles for this interaction (e.g. Block A Trt 1, Block A Trt
2, ...)
MBE$bt<- interaction(MBE$Block,MBE$trt)
par(mfrow=c(3,3))
for(i in unique(MBE$bt)){
ss <- MBE$bt==i
plot(MBE$Year[ss], MBE$DBH[ss])
2011 Aug 16
2
Filtering a table
Hello, I have a big table with 3 columns and 103918 rows. This is the example,
time species dbh
5 1 4.9377297
575 1 11.64127213
575 1 109.8182438
575 1 8.029809521
5 1 24.32501874
575 1 4.895992119
575 1 11.40567637
575 1 2.795090562
575 1 21.79281837
575 1 52.57476174
575 1 27.7290919
575 1 3.23262083
575 2 19.30612651
575 1
2003 Sep 09
1
tree mortality risk model using glm()
Dear all,
I've used glm(family=binomial(link="logit")) several times, but now I think
that a log link is more appropriate.
I want to fit a model for probability of tree fall (TF)), with tree
diameter (dbh) and soil moisure (soil) as predictors. A large number of
trees have been checked every second year whether they stand up (0) or have
fallen (1).
I assume that the tree fall
2013 Mar 07
1
HELP:Custom function didn't work
hi,guys-
I have a mysql database which stores host informations,so I wrote a
function to get some values.
- Here is the function rb(this function should return the type I defined
in the database):
#hosttype.rb
require "mysql"
module Puppet::Parser::Functions
newfunction(:hosttype, :type => :rvalue, :doc => "Gets host type from
db.") do |args|