Displaying 20 results from an estimated 3000 matches similar to: "asterisk captures sound device"
2005 Aug 16
2
Registration with Asterisk server
Dear Asterisk community,
sorry if I'm so stupid, but I couldn't register myself with Asterisk.
I created the [sip-incoming] context in the sip.conf:
[sip-incoming]
type = peer
username = elzhov
port = 5062 ; my kphone listens port 5062
host = 127.0.0.1
Then run Asterisk, and checked peers that are known for Asterisk:
*CLI> sip show peers
Name/username
2004 Jan 21
2
derivative of atan(x) and similar functions
Dear R experts.
'D()' function recognizes some of the analitical functions, such as
sin, cos, etc. But I'd like to take analytical derivatives from asin,
atan etc. functions. Are there any R packages providing that features?
Thanks.
--
Timur.
2003 Aug 01
2
'format' problem
Dear R experts,
format(12345678, digits = 2)
gives
[1] "1.2e+07"
while
format(1234567, digits = 2)
gives
[1] "1234567"
but I'd like the last number to be represented as "1.2e+06" string too.
Where am I wrong?
Thanks,
Timur.
2003 Feb 10
1
Zero rows/cols in the hessian matrix
Dear R experts!
I try to minimize a function with external C fitting function.
I get the hessian matrix. Here it is:
[,1] [,2] [,3] [,4]
[1,] 1.8816631 0 0.8859803 0
[2,] 0.0000000 0 0.0000000 0
[3,] 0.8859803 0 0.4859983 0
[4,] 0.0000000 0 0.0000000 0
Second and fourth rows/columns have zero values only. That's OK,
because that ones related
2002 Dec 06
2
Fitting 2D vs. 2D data with nls()
Dear R-experts!
I have y(x) data, dim(y) == dim(x) == c(2000, 2)
I'd like to fit them with nls:
fit.result <- nls ( y ~ f(x, p1, p2, p3),
start = list(p1 = ... , p2 = .. , p3 = ..)
)
Actually I want to fit y[,1] ~ x[,1] and y[,2] ~ x[,2]
*simulaneously*, with the same parameters set {p1, p2, p3}.
I tried to feed R tha above formula, R errors with:
2003 Jan 17
1
Arguments of R- and C-side of internal functions
Dear R experts,
I looked at the body of, say, `optim' function and found
the call to the `.Internal', C optim function. It looks
like this:
.Internal(optim(par, fn1, gr1, method, con, lower, upper))
On the other hand, the C prototype of optim is:
SEXP do_optim(SEXP call, SEXP op, SEXP args, SEXP rho);
So, I guess that all the list of parameters passing in R are assigned
to
2003 Nov 12
1
problem with x11 and PS devices on different machines
Dear R help,
I run R at home and the work, I have Debian Linux on both machines and
the same 'r-base-core' deb packages installed. So I tried to run the
same R script, which plots graph in x11 device and then dump it to eps
file (x11 and eps you'll find attached). On the home machine there are
some stranges in x11 plot as well as in eps file. On the work machine
all the ok, despite
2004 Mar 15
8
Simple numeric "as.is" question
I am reading a list of numbers from my clipboard, and have been
successful, except I can't make a histogram as R doesn't recognize my
variable as numeric. I know I need to use "as.is", but the specifics
escape me.
I have used x<-read.table("clipboard", header=F) to import from a txt
file. How do make this numeric? Thanks, J.
2004 Nov 09
4
R code debugging
Dear useRs,
it's quite difficult for me to find `Error:'s in my R code, because R does
say about error itself, but say nothing about its location, say, string
number and file with an error (which may be `source'd from another file).
Are there any option for turning of the similar feature, or R can not do
such a thing at all?
Thanks.
--
WBR,
Timur.
2004 Feb 03
5
lm coefficients
Dear R experts,
Excuse me if my question will be stupid...
I'd like to fit data with x^2 polynomial:
d <- read.table(file = "Oleg.dat", head = TRUE)
d
X T
3720.00 4.113
3715.00 4.123
3710.00 4.132
...
out <- lm(T ~ poly(X, 4), data = d)
out
Call:
lm(formula = T ~ poly(X, 2), data = d)
Coefficients:
(Intercept) poly(X, 2)1 poly(X, 2)2
2003 Oct 30
2
'nls' and its arguments
Dear R experts!
I'd to fit data by 'nls' with me-supplied function 'fcn'.
1) I'd like 'fcn' to accept arbitrary arguments, i.e. I defined it
as f(...) {<body>}. (Ok, that's not actually impotant).
2) Second, I would NOT like to supply every parameter in the formula.
To illustrate this, let's look at the last example of 'nls' help
2005 Jul 25
1
Voicemail: could not stop recording
Dear friends,
please excuse me if my question will be trivial.
I've installed and started Asterisk (stable 1.0.7, but with CVS HEAD
I experienced just the same problem), and changed a bit sip.conf:
[general]
; ...
dtmfmode = inband
disallow = all
allow = ulaw
allow = alaw
allow = gsm
run kphone, and call the 1235 extension. According to sample
extensions.conf, Asterisk would
2004 May 21
2
.First() in R 1.9.0
Dear R experts,
I just upgraded R from 1.8.1 to 1.9.0 version. My .First()
function in ~/.Rprofile contains x11() and par() functions.
.First <- function() {
x11(display = "", 8.0, 5.0)
par(las = 1, ...)
## ...
}
And, R claims now, on startup:
[hello messages skiped ...]
Error in .First() : couldn't find function "x11"
>
I commented
2005 Jul 21
0
kphone & Asterisk CVS HEAD: no audio
Dear Asterisk experts,
I've just downloaded Asterisk CVS version (since I'd like to manage
its configuration from RealTime).
Next, I have kphone on the same Linux host, and VmWare virtual
machine with Windows and X-Lite IP phone inside.
I successfully tested the demo's with X-Lite, but failed to hear
something with kphone (v4.1.1). There were NO problem with this
kphone and stable
2008 Apr 24
1
Calling R functions with multiple arguments from C
Hi,
I'm writing a C function that has to call a R function with multiple
arguments. I've read the relevant section in Writing R Extensions, and
searched the R site, mailing lists as well as rseek. I managed to call
the function, but I'm now having trouble creating the argument list.
I tried to create a pairlist of the arguments and send it to the R
function. The R function however
2005 Jun 17
6
Console ALSA Sound
Hi
... probably one of those RTFM kind of questions (while I'd be happy to know
where a good reference "FM" is :-) )
Has anyone an idea on how to disable the console sound driver. My problem is
that a running asterisk is muting my speakers.
Thank you in advance for your help
Conrad
2009 Jun 18
1
ogg_stream_reset() question
Hi Ogg experts!
My current work is catenating packets from several ogg files to the
one long stream, so I'd like to create stream once, and then reset it
just before reading codec headers from every new file. However, after
calling
ogg_stream_reset_serialno(ogg_stream_state *os, int serialno),
bos page is not pushed in stream since it calls
ogg_stream_reset(ogg_stream_state *os),
which
2016 Aug 16
2
pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On 16-08-16 04:38, George Joseph wrote:
>
>
> On Mon, Aug 15, 2016 at 1:24 PM, Jonas Kellens
> <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> wrote:
>
> Hello
>
> using pjproject 2.5.5
> using asterisk-certified-13.8-cert1
>
>
> IIRC there were API changes in pjproject 2.5 that aren't accounted for
> in
2007 May 01
2
Autoattendant press 1 collides with extension numbers...
So I have whose autoattendant is colliding with their extensions...
Quick fix anyone?
Second someone presses say a person's extension (101) ... Autoattendant
sends them to the first context...
[companyx-main-aa]
exten => s,1,Background(companyx/companyx-main)
exten => s,2,Background(silence/10)
exten => s,3,Background(companyx/companyx-main)
exten => s,4,Background(silence/10)
2002 Dec 20
1
GetRNGstate() crashes with 'Segmentation fault'
Dear R-masters,
I tried to compile this simpel C-code:
//-----------------
#include<R.h>
int main()
{
GetRNGstate();
return 0;
}
//-----------------
Compiling:
~> gcc -o a a.c -I/usr/lib/R/include/ -L/usr/lib/R/bin/ -lR
~> ldd a
libR.so => /usr/lib/libR.so (0x40018000)
libc.so.6 => /lib/libc.so.6 (0x401a8000)
libblas.so.2 =>