similar to: Realtime dialplan application versus REALTIME dialplan function

Displaying 20 results from an estimated 200 matches similar to: "Realtime dialplan application versus REALTIME dialplan function"

2009 May 14
2
Function to read a string as the variables as opposed to taking the string name as the variable
I am writing a custom function that uses an R-function from the reshape package: cast. However, my question could be applicable to any R function. Normally one writes the arguments directly into a function, e.g.: result=cast(table1, column1 + column2 + column3 ~ column4, mean) (1) I need to be able to write this statement as follows: result=cast(table1, string_with_columns ~
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi, set.seed(45) test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data apply(test1,2,function(x) sprintf("%.1f",median(x))) #columnA columnB # "44.5"? "10.2" par(mfrow=c(1,2)) lapply(test1,function(x) {b<-
2008 Oct 08
1
make func_realtime work like app_realtime (1.6)
Yell at me if you will, but I hate func_realtime - it's not very usable nor is it change-friendly (update your database and your dialplan completely breaks). I'm getting a new 1.6 box built out and working, and wanted to emulate the functionality of APP_realtime somehow, so I started digging around in the func_realtime source - here's what I came up with: For 1.6.0, look at line 86
2010 May 15
1
conditional calculations per row (loop versus apply)
Hi all, I'm hoping someone might help with a query about conditionally applying formulas to a dataframe. In essence I have 3 lookup tables (Table A, B & C) and a dataframe with a variable Type.Code, which identifies the Lookup Table to which each record belongs. The lookup tables reference different sensor types for which I need apply a different formula to values in Column3 in each row
2006 Apr 20
0
parsing arguments of a function
Hi, I have a simple problem writing a function that is to be called like Myfunction( Column1 = low, Column2 = high, Column3 = all, Column4 = all, data = mydata) {. contourplot(z ~ mydata$Column3* mydata$Column3) . } Where Column1 and Column1 are the names of the dataframe mydata. How do I parse the arguments to obtain both, name and value of the argument. I tried strsplit(Column1,
2010 Jan 09
1
Using HASH() and REALTIME_HASH()
Hi, I'm playing around with asterisk 1.6.2.0 and the first try was to replace my now non-functionning 'app-realtime' macro which emulated RealTime with REALTIME_HASH() There is very few documentation on the subject except for this bug report: https://issues.asterisk.org/view.php?id=13651#c94998 However when i try this syntax:
2009 Jul 07
2
How to separate the string?
Hi everyone, Hi want to separate the string(column1) for example column1 column2 column3 column4 column5 column6 bear b e a r cat c a t tiger t i g e r I know how to do this in excel where using MID function. Now I want to solve it using R. The list of strings is in
2009 Aug 03
2
Some SQL Challenges
Hi, Im trying to complete a list of jobs using SQL Querries and some "if else" commands but im stucked in some steps. Could any of you give me some help? -in COLUMN1 change the format 20JAN2000:00:00:00 to 20JAN2000 and exclude every row that date is different from 20. -extract the first character in COLUMN2 and creat COLUMN3 with that value ex: COL2,COL3 135,1 461,4 247,2 -in every
2012 Jun 12
4
How to index a matrix with different row-number for each column?
here's my question: suppose I have a matrix: mt<-matrix(1:12,ncol=6) now I have a vector vt<-c(1,2,2,2,1,2) which means I want to get: the 1st row for column1; the 2nd row for column2; the 2nd row for column3; the 2nd row for column4; ... that what I want is this vector: 1,4,6,8,9,12 Does anyone know how to do this fast? I know I can use for-loop to travel all columns,but
2003 Jul 02
0
Re: [Asterisk-Dev] ANNOUNCE: CLASS-like features for Asterisk
Yo all, As there has been some intrest, here's my updated version: I post it to "-dev" as well as "-users", as it may be of intrest to both. Inspired by the example in the tips & tricks-section of "http://www.junghanns.net/asterisk/", I built a more elaborate set of features. Currently, my implementation supports call- forward unconditional, on no answer
2010 Nov 21
0
How to configure a Linksys PAP2T ATA to connect an analog fax machine to Asterisk
I was having problems getting a Linksys PAP2T-NA to work with Pitney Bowes mailing station so it could use its modem to dial home and download postage/software updates. After scowering the web, I couldn't seem to find a definite how to article on what settings were needed. I finally came up some settings by combining the information from various places around the 'net. I have typed out
2005 May 23
0
spa-1001 not getting a dial tone on my pbx
hello my friend has the proxy set up his extention set up his password set up but he isn't getting a dial tone is there a second setting we need to put the address in? he is going to advenced settings line1 and in the proxy address box he is putting the info in below is the way he has it set up Sipura SPA Configuration Sipura Technology Inc Info System SIP Provisioning Regional Line 1 User 1
2003 Nov 27
1
Crash - What is happening here???
The following transfer led to a crash of asterisk, without leaving a core or any utterances in messages or debug file. It looks like the zombie which was created during the MASQ-transfer was not cleaned up... But why did it start a Dial??? And... why does Asterisk die when this happens?? Thanks!!! Michiel -- Zap/32-1 answered Zap/6-1 -- Stopped music on hold on Zap/6-1 -- Starting
2007 Oct 19
1
(no subject)
# Hello # I have a question regarding pairwise calculations of a matrix using a "for-loop." # Below I have a matrix "X" with 8 columns. These are Genotypic data so Column1 & Column2 is # a unit, Column3 & Column4 is a unit, Column5 & Column6 is a unit, and Coulmn7 & 8 is a unit. # I have a loop designed to calculate the number of times an individual in
2007 Oct 19
1
conduct pairwise column comparisons without comparing a column to itself
# Hello # I have a question regarding pairwise calculations of a matrix using a "for-loop." # Below I have a matrix "X" with 8 columns. These are genotypic data so Column1 & Column2 is # a unit, Column3 & Column4 is a unit, Column5 & Column6 is a unit, and Coulmn7 & 8 is a unit. # I have a loop designed to calculate the number of times an individual in
2015 Jun 02
4
Forward loop protection...
Ia had a server overload today because someone did a call forward to their own extension. To do a call forward I write a key called CFWD with the extensi?n number and number to dial . The main script tests if the key/value exists and dials the number stored in the database. What is an easy way to prevent dumb people from creating a loop? -- Telecomunicaciones Abiertas de M?xico S.A. de
2009 Aug 13
1
RealTime in dialplan - proper way?
Hello, So much keeps changing with the dialplan and Realtime lookups. Just downloaded the latest stable 1.6.1.2. The app_realtime, which was perfectly brilliant and did exactly what I needed, is gone; replaced with func_realtime. The REALTIME function is unacceptable: ; Get the conference number from the user exten => s,n(readconfno),Read(USER_CONFNO,conf-getconfno,0,3,20) ; See if
2003 Aug 31
2
DBSaveTree & DBLoadTree
Hi all, Has anyone already written something which allows saving and loading the internal DB settings? All users CFWD and speeldial settings are stored in the DB in my setup which makes it a pain to restart Asterisk.... Looking at showtree in db.c (why isn't that exposed in the CLI?) It shouldn't be too difficult, but I don't want to reinvent the wheel. On the same track, I am also
2014 Mar 27
1
SPA112 provisioning file questions
Hi all, I've got a provisioning file that I use to configure Cisco SPA112's. I'm wanting to get this file to do 3 things for me. I want to turn T.38 on, Call forwarding off, and Call waiting, off for both lines. but it's not working. This is what I'm using to enable T.38 for line 1. <FAX_Enable_T38_1_>Yes</FAX_Enable_T38_1_>
2005 Jul 13
5
chan_sccp new release
http://chan-sccp.berlios.de/ 20050713 ftp://ftp.berlios.de/pub/chan-sccp/chan_sccp-20050713.tar.bz2 I didn't have a spare 7960 to use this week, so maybe some line issue is still present. - fixed a memory leak on database updates (dnd, cfwd*) - fixed old memory leak on unload (now unload chan_sccp.so and load chan_sccp.so work. It does reload the config when asterisk is running) - socket