search for: citycable

Displaying 20 results from an estimated 27 matches for "citycable".

2009 Dec 12
1
code for [[.data.frame
Hello. I'm currently trying to wrap up data frames into OCaml via OCaml-R, and I'm having trouble with data frame subsetting: > # x#column 1;; > Erreur dans (function(x, i, exact) if (is.matrix(i)) as.matrix(x)[[i]] else .subset2(x, : > l'?l?ment 1 est vide ; > la partie de la liste d'arguments de 'is.matrix' en cours d'?valuation ?tait : > (i)
2009 Aug 03
1
Outbound calls drop after 15 to 30 seconds.
Hello. I've set up and configured an Asterisk server to make SIP phone calls to external classic phones. However, it happens that after 15 or 30 seconds, the phone call drops. The SIP session still seems valid, but no sound comes through any more. How would you go through to troubleshoot this issue? All the best, Guillaume Yziquel.
2009 Oct 21
1
ChannelStateDesc: Ring ?
Hello. I've experience a rather surprising behaviour of the AMI 1.1 > Event: Newstate^M > Privilege: call,all^M > Channel: SIP/XXXXXX-089c63b8^M > ChannelState: 4^M > ChannelStateDesc: Ring^M > CallerIDNum: XXXXXXXX^M > CallerIDName: YYYYYYYYY^M > Uniqueid: 1256089773.59^M Usually ChannelStateDesc gives me 'Ringing' but sometimes it only gives me
2009 Nov 14
1
Silently loading an R package.
Hello. I've been working an a binding between OCaml and R (i.e. calling R from OCaml, mostly). See below for a taste of it. I'm currently wondering how to load a given R package silently. I tried require(xts, quietly = TRUE) but I still get some ugly output. Is it possible to squeeze off this output on stdout? All the best, Guillaume Yziquel. > yziquel at seldon:~$
2009 Oct 15
2
2 IPs for an Asterisk server.
Hello. I've been setting up an Asterisk server, and I am now supposed to move it to a different network than the one it was set on. I'd like to give the server 2 IP address: -1- The first IP address is the IP it will have on the LAN, meaning that softphones will register to the Asterisk server using this 1st IP. -2- The second IP is the one that it will use to connect to the remote
2009 Nov 28
1
PROTECT and OCaml GC.
Hello. In the writing of my OCaml-R binding, I'm sort of confused when it comes to the use of the PROTECT and UNPROTECT macros. Basically, I have C stub functions that are in charge of calling R for everything. Here's a simple example: > CAMLprim value r_findvar (value symbol) { > /* The findVar function is defined in envir.c. It looks up a symbol > in an environment.
2009 Nov 17
0
Problem loading fAssets.
Hello. I'm using the fAssets package from the Debian distribution. I've been experiencing the following behaviour: > yziquel at seldon:~$ R > > R version 2.9.2 (2009-08-24) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > R est un logiciel libre livr? sans AUCUNE GARANTIE. > Vous pouvez le redistribuer sous certaines
2010 Feb 15
1
What symbols are loaded when require()ing?
Hello. I would need to know of a programmatic way to get a list of all the new symbols you get when require(9)ing a package/library. I'd like to know how to do that from within R, or with the C API. Pointers to relevant documentation are also welcome. All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/
2009 Aug 24
1
Bottlenecks with my asterisk setup.
Hello. I've been seting up a small VoIP setup, with roughly 5 persons, doing essentially some Meetme conferences. People have been experiencing some quality problems with the sound. Essentially delay, and some tolerable echo. I'd appreciate advice on how to troubleshoot this issue. What could be the most common reasons behind this? Please feel free to ask for more relevant details.
2009 Sep 03
1
Originate calls with AMI.
Hello. I've been trying to use the AMI to originate phone calls. I'm trying to call the SIP phone 'zoiper' with the SIP phone 'yziquel'. So, the AMI interaction is: > Action: originate > Channel: SIP/zoiper > Exten: yziquel > Priority: 1 > Timeout: 30 > Context: internal > > Response: Error > Message: Originate failed > > Event:
2009 Sep 04
1
Incremented UniqueId
Hi. I've been using the Asterisk Manager Interface to originate calls from Console/dsp. I get the following form the server. > Response: Success > Message: Originate successfully queued > Uniqueid: asterisk-3301-1252055630.26701 > > Event: Newchannel > Privilege: call,all > Channel: Console/dsp > State: Down > CallerIDNum: <unknown> > CallerIDName:
2009 Sep 20
0
Stop / Resume in Dialplan / AMI
Hello. I'd like to know if the two following functionalities are available in Asterisk. -1- A stop/wait/halt functionality in the Dialplan. Like: exten => myexten, n, Halt where execution of the dialplan would wait indefinitely. I guess a Wait would be OK, but I'd like this wait to wait indefinitely. -2- A Goto functionality from the AMI: You give the channel, and you can ask
2009 Sep 20
1
A in ACL of sip show peers.
Hello. >> ubuntu*CLI> sip show peers >> Name/username Host Dyn Nat ACL Port Status >> voipprovider xxx.xxx.xxx.xxx A 5060 Unmonitored I've ben trying to connect an asterisk server to a voip provider, and I'm currently wondering what the 'A' in the ACL field of the 'sip show peers' command might
2009 Nov 18
1
R_NilValue and segfault.
Hello. I've been trying to wrap up the R_NilValue into OCaml-R. I nevertheless get a segfault. As I gathered, R_NilValue is declared in Rinternals.h: > /* Special Values */ > LibExtern SEXP R_NilValue; /* The nil object */ > LibExtern SEXP R_UnboundValue; /* Unbound marker */ > LibExtern SEXP R_MissingArg; /* Missing argument marker */ So, in my r_data.c
2009 Nov 21
1
R strings, null-terminated or size delimited?
Hello. I've been looking at vecsexps for my binding. Concerning strings, I'm wondering: are they supposed to be null-delimited? Are they delimited by the info in the SEXPHEADER macro in Rinternals.h? Basically, what are the macros or functions to access the values of the vecsexps? I'm thinking of CHARSXPs and INTSXPs for the moment... All the best, -- Guillaume Yziquel
2010 Jan 28
1
Problem with R math library.
Hello. I've been working on my OCaml-R binding, and I quite pleased to see that it is functional, though far from being perfect or polished. You can find the gitweb webpage and the interface documentation at http://yziquel.homelinux.org/gitweb/?p=ocaml-r.git;a=tree http://yziquel.homelinux.org/topos/api/ocaml-r/index.html I'm having unexpected trouble with the math library, though.
2009 Nov 14
1
R_tryEval for OCaml-R.
Hello. I'm currently working on the OCaml-R binding allowing to call R code from Objective Caml. As Objective Caml is a functional language, I'd like the binding to be as 'functional' as possible. Specifically, this means that I'd like using the R_tryEval function and all related entry points in libR.so. I've had a look at R-exts.pdf, but R_tryEval is not documented.
2009 Oct 10
1
Help with OCaml bindings for R interpreter.
Hello. I've made out a Debian package out of Maxence Guesdon's OCaml/R bindings: http://yziquel.homelinux.org/topos/debian-ocamlr.html http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ The upstream software itself is on the following page: http://home.gna.org/ocaml-r/ This binding is dynamically linked to the /usr/lib/R/lib/libR.so and to the /usr/lib/libRmath.so libraries.
2009 Nov 26
0
Symbols, install, and eval.
Hello. I've got two values which are calls (i.e. LANGSXPs). The first one, x, is generated through the parser of gram.c. The second one, z, is built manually, by retrieving the symbols of "str" and of "lm" via the install function. The structure of x and y are shown at the bottom of this email. Evaluating x succeeds: > # R.Raw.eval_langsxp x;; > function
2009 Nov 16
0
OCaml-R and xts works!
Hi. I've managed to make a *very* simple wrapper around the xts library for R into OCaml. (Need to be downloaded from CRAN for OCaml users, but I expect other wrapping to be fairly similar...). The good, good, good thing (from my humble point of view) is that all loading is done statically: Loading the R interpreter is done statically. Loading the xts library is done statically... etc...