similar to: switch statement.

Displaying 20 results from an estimated 90000 matches similar to: "switch statement."

2005 Jun 04
1
How to quickly replace ',' with '|' in dialplans?
Finally I decided to rewrite my dialplans according to the right sintax, that is exten => someexten,priority,application(arg1,arg2,...) should be exten => someexten,priority,application,arg1|arg2... Isn't there anybody skilled enough in regular expressions that could write a quick Search 'n' Replace vi command, please? TIA, Alex
2011 Mar 20
0
switch statement in extensions.conf
So I have two asterisk servers, one acting as a frontend and another acting as a backend interface to a PRI. All I want is for the backend to send all calls from the DAHDI interface to the frontend. Seems like switch would do that by placing this on the backend server: switch => IAX2/frontend1/inbound_context 'frontend1' is already defined with proper username/secret combos in
2005 Jun 01
2
Realtime+IAX2 and RSA
Anyone had Realtime working with IAX2 and RSA authentication to connect two PBXs, please? It seems that inkeys/outkey fields are not read at all and the following warning is logged when dialing: Jun 2 02:41:36 WARNING[6299] chan_iax2.c: I don't know how to authenticate ******** to XXX.XXX.XXX.XXX Using iax.conf it perfectly works. Maybe a bug in Realtime? TIA, Alex
2008 Jul 04
1
kriging problem(?)
Hei, I have two spatial datasets Sa and Sb, both with lat-lon coordinates and from same geographic area, but from different localities within the area (independent samples). Sa is biotoc data, Sb is some environmental parameter (fertility). I 'know' that Sb affects Sa, but wonder on which scale. I tried different interpolations by creating different grids of Sb (e.g. 20x20 and 100x100
2008 Jul 01
1
Users can't delete an email (Totally Random effect)
Hello all... Found a weird one here. I tried to search the web but I'm not having luck so I thought I'd hit the mailing list. We have noticed off and on all school year that every so often a user gets an email that they just can't delete using Thunderbird or Outlook over IMAP (we do not support Pop3 anymore.) Essentially the user clicks the email and takes it to the trash.
2016 Jun 30
0
Calling C implementations of rnorm and friends
Luis, C_rnorm is a symbol but it's not exported. This means that you *can* do this by using stats:::C_rnorm. That said, it's not exported, which means that it's not supported to do this. So your package likely would not be allowed on CRAN, for example. Best, ~G On Jun 30, 2016 2:08 PM, "Luis Usier" <luis.henrique.usier at gmail.com> wrote: > Hi all, > >
2003 Jun 13
2
Asterisk asterisk => statement
As I understand it (and my understanding is obviously incorrect) the switch => statement sells the Asterisk box to resolve (aka lookup) extensions by querying the remote Asterisk server defined in the switch => statement. The switch => statement is used to centralize dialplans. I've not used the switch => statement yet, I'm just trying to understand the ramifications of using
2016 Jun 30
2
Calling C implementations of rnorm and friends
Hi all, Looking at the body for the function rnorm, I see that the body of the function is: .Call(C_rnorm, n, mean, sd) I want to implement functions that generate normal (and other) random variables. Now, I understand that I can perfectly well just call the R wrapper for these functions and that will be almost indistinguishable for most purposes, but for whatever reason I wanted to try and
2016 Jul 01
0
Calling C implementations of rnorm and friends
On Fri, Jul 1, 2016 at 6:13 AM, Luis Usier <luis.henrique.usier at gmail.com> wrote: > Gabriel, > > Thanks for that! I guess I really should have figured that one out sooner, > huh? > > I understand why that wouldn't be CRAN-compliant. But then, what *is* the > proper way to do it? Is there any way I can call unexported functions from > another package and have it
1999 Oct 12
0
Client not cleared from browslist with browse list sync
Hello everybody, I use 2 samba servers. Server A (SA) is connected to networks n1 and n2. It is the wins server and the domain controller with domain logons and used as password server. Server B (SB) is connected to networks n2 and n3. As diagram it looks like this: +---n2-----(SA)----n1--+ | (SB) | +-------n3---+ Server B's smb.conf has: ... time server = yes domain master = no local
1997 May 12
1
R-alpha: Hypergeometric Distribution
A cut and paste typo has crept in and is rendering all values returned for the hypergeometric distribution incorrect. The problem is in src/main/arithmetic.c in the function "math4". The lines PROTECT(sy = allocVector(REALSXP, n)); a = REAL(sa); b = REAL(sb); c = REAL(sc); d = REAL(sc); /* <-- change this line */ y = REAL(sy); should
2004 Dec 02
3
fallthrough extension.
Hi all, I'm trying to sort out my dial plan. What I'm wanting is something like the following - a bit simplified but hopefully you'll get the idea. 1) match internal extensions: dial them 2) anything else: send out zap 1 is easy :) it's 2 that's giving me problems. I had hoped that the 'i' extension would act as a catchall extension but it seems to only do that from
2016 Jul 01
2
Calling C implementations of rnorm and friends
Gabriel, Thanks for that! I guess I really should have figured that one out sooner, huh? I understand why that wouldn't be CRAN-compliant. But then, what *is* the proper way to do it? Is there any way I can call unexported functions from another package and have it accepted by CRAN? Also, if I instead re-write the random variable generating functions, do you have any idea of where the
2016 Jul 01
1
Calling C implementations of rnorm and friends
Well, For this particular use case why not just transform the parameters at the R level and then call the existing function? Is there not a closed form mapping? ~G On Jul 1, 2016 2:50 PM, "Joshua Ulrich" <josh.m.ulrich at gmail.com> wrote: > On Fri, Jul 1, 2016 at 6:13 AM, Luis Usier > <luis.henrique.usier at gmail.com> wrote: > > Gabriel, > > > >
2007 Jul 30
0
Trouble getting sound from a call
Having some issues with getting sound from a call. I have 4 systems. 3 main systems which handle calls for our 3 locations. The 4th system is the central voice mail system. When an inbound call gets passed to someones voice mail its done with an IAX2 connection. The same happens after hours when we have our night mode set. If you dial the main number after hours you are passed straight to the
2011 Jun 26
3
Overlapping areas under normal distributions
Hi everyone. My problem: I've 4 distributions: A, B, C and D: #A mA=16.6 sA=3.0 #B mB=18.9 sB=3.2 #C mC=20.3 sC=2.1 #D mD=24 sD=0.8 ###Graphiques ensembles plot(function(x) dnorm(x,mA,sA),0,40,col="orange",ylim=c(0,0.5)) plot(function(x) dnorm(x,mB,sB),0,40,add=T,col="green") plot(function(x) dnorm(x,mC,sC),0,40,add=T,col="blue")
2003 Jul 04
3
switch => priority in the dialplan.. (probably an issue for Mark)
Hi, It seems that the "switch" parameter has a priority in the dialplan that is higher than the wildcard extensions.. This I am finding to be a problem.. My setup.. UA1--[AST1]--{IAX}--[AST2]--UA2 | | PSTN1 PSTN2 I use switch on AST1 to connect to AST2... As you can see I have PSTN connections on both and also the IAX connection is not permanent.. I
2009 Mar 26
1
IAX problem through intermediate asterisk box
I'm having a problem with IAX running through an intermediate asterisk box. Perhaps a small diagram will explain the situation better: *A ------- [cloud (public internet)] ------- *B --------[cloud (private network)]----------- *C Asterisk server's A, B, and C, are all connected together with IAX All asterisk servers are 1.6.0.6 Server A and B are geographically close, but connected over
2006 May 23
3
AGI ?
Hi All, I have been attempting to get an AGI LCRdialout script to work. Basically what I need to have happen is when someone dials out a number the script check to see if it is local if so, go out the ZAP channel. If the ZAP channel is busy, go out the IAX channels, if IAX is all busy, go out the SIP channels. Here is a sample of what I have in my script. #!/usr/bin/perl use strict; use
2009 Apr 01
0
IAX2 transfer=force
Hi, I posted this on the Asterisk forum months back with no real answer() so i'll try here :o) Details: There is 3 asterisk boxes called X, Y and Z.. all boxes peer with each other via IAX2 and have dialplans setup... etc etc There will be asterisk based clients connecting via IAX2, and for example i'll call them A, B and C The clients only peer directly with one of the X, Y or Z