Displaying 20 results from an estimated 2000 matches similar to: "CDR Mysql adaptive Colum"
2008 Oct 29
1
codec not in channel variables
Hi,
I'm trying to access audionativeformat / other codec variables in the hangup handler of a call (with ${CHANNEL(audioreadformat)}), but I get no response. Also 'core show channel ...' doesn't list those variables. Are they always set by asterisk, or only in some scenarios? It's a simple SIP-SIP call with audio passing through asterisk, same codecs on both sides.
I see that
2010 Jun 21
1
Dialplan Gurus? Can Asterisk 1.4x CHANNEL function be used to retrieve info about OTHER channels?
Hi Everyone,
I want to know if a specific codec type is used at least one. For example, I
want to know if out of the 100 calls on the system if there is a 1 channel
that is running G.729 codec right now. If using dial-plan and I dial in, I
can use this to obtain information about CURRENT channel. But it won't allow
me to obtain information about OTHER channels and that is what I want to do.
I
2011 Apr 23
1
How to delete an entire row, if a specific colum has the value of "#VALUE!"
I am importing CSV data with thousands of rows, if any row contains an error
from excel, the whole program crashes, so i need to delete all rows with the
value of #VALUE!, all other values are non-numeric...
I've tried a bunch of strategies, but nothing seems to work.
Thanks ahead of time guys,
Best,
Cody
--
View this message in context:
2010 Aug 01
3
finding max value in a row and reporting colum name
Hi,
Hopefully someone can point me in the right direction on how I would go
about solving the following.
I have some data and need to find the column name of the maximum value in
each row.
This could be the data...
> a <- data.frame(x = rnorm(4), y = rnorm(4), z = rnorm(4))
> a
x y z
1 1.6534561 0.11523404 0.2261730
2 -1.2274320 -0.24096054 1.5096028
2008 Mar 22
2
counting values on one colum only
Hi all:
Can someone help me count the
number of rows with values in
colum "a" only. assume the name
of my dataframe is "weekly"
I was trying
i<- nrows(weekly$a)
i
but returns 7 when it should
be 4. Thanks
a b c d
27.000
27.000
1.569 0.013 160.000 27.000
1.632 0.013 146.000 27.000
1.830 0.015 70.000 27.000
2.475 0.019
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?,
I'm sure that there are many ways to do what you want; here's one:
> cbind(concept_df, category=
+ ifelse(apply(
+ sapply(chemical_df$chemical,
+ function(x) grepl(x, concept_df$concept)),
+ 1, any),
+ "chemical", ""))
concept category
1 butan
2007 May 29
2
summing up colum values for unique IDs when multiple ID's exist in data frame
I have data.frame's with IDs and multiple columns. B/c some of IDs showed up
more than once, I need sum up colum values to creat a new dataframe with
unique ids.
I hope there are some cheaper ways of doing it... Because the dataframe is
huge, it takes almost an hour to do the task. Thanks so much in advance!
Young
# ------------------------- examples are here and sum.dup.r is at the
2009 Feb 21
1
VoIP Information in CDRs
Hi,
I am trying to find a way to add the following info in CDRs (with
asterisk 1.4.23.1):
1. Codec used
2. RTP QoS statistics
3. RTP IP of remote host
4. For answered calls, the peer that requested to end the conversation
I have managed to get 1 and 2 for the caller, like that:
exten => h,1,Set(CDR(userfield)=RIP=${SIPCHANINFO(recvip)}
2020 Sep 25
0
PJSIP - Forcing codec preference?
Hi,
We're holding ourselves back from moving to PJSIP as we don't appear to have figured out how to force codec preference in a dial plan. The 'PJSIP Advanced Codec Negotiation' document (https://wiki.asterisk.org/wiki/display/AST/PJSIP+Advanced+Codec+Negotiation) appears to ultimately be what we're after, but we're not comfortable running Asterisk 18 in production just
2009 Feb 22
1
Filtering a data frame using a string for colum header
Hi all,
I was just radomly playing with R and got the following error when
trying to filter a data frame using a string:
> Angel <- c(7,8,6,9,10)
> Buffy <- c(8,9,4,9,10)
> Firefly <- c(9,9,10,10,10)
> DrHorrible <- c(10,9,9,10,10)
> my.df <- data.frame(Angel, Buffy, Firefly, DrHorrible)
> my.df["DrHorrible"]
DrHorrible
1 10
2 9
3
2006 Jan 22
0
Get colum types in auto form
Hi all,
I''m trying to build a routine that generates table rows with the appropriate
field types (text_area and text_field for now), and filters out the
''created_at'' and ''deleted_at''.
<% for column in Project.content_columns %>
<tr class="ListLine<%= cycle("0","1") %>">
<td><%=
2017 Aug 01
0
How to replace match words whith colum name of data frame?Hi--
Hi--
concept_df$NewCol <- "";
kw <- "acid|ph";
bb <- grepl(kw,concept_df$concept)
concept_df[dd,2] <- "chemical"
The is a bit late but it accomplish the same with base R.
Good luck--EK
PS.. my email doesn't accept reply
[[alternative HTML version deleted]]
2017 Jul 01
0
How to replace match words whith colum name of data frame?
I have two data frame. I want to use "chemical_df" to match "concept_df "
concept_df <- data.frame(concept=c("butan acid ", "nano diamond particl", "slurri
composit", "composit ph polis", " inorgan particl ", "grind liquid", "liquid formul", "nanoparticl", "size abras particl",
2017 Jul 30
0
How to replace match words whith colum name of data frame?
Try the stringr package.
This should work
chemical=c("basic", "alkalin", "alkali", "acid", " ph ", "hss")
chemical_match <- str_c(chemical, collapse = "|")
chemical_match
concept_df$match[str_detect(concept_df$concept, chemical_match)] <-
"chemical"
concept_df
> concept_df
concept match
2009 Dec 04
1
Converting a Matrix in a colum vector
Hi all,
Imagine I have a matrix G
with N rows
and M columns
So L=NxM is the number of different cells in my matrix.
I want to create a column vector F whose size will be F(L,1)
So the fisrt row in F is G(1,1)
Second row in F is G(1,2)
When we arrive to a point M
the element M+1 will be G(2, 1)
Element M+2 will be G(2,2) and so on.
I´m trying but allways error....
Easy Example:
G=
2 3 4
2008 Jul 18
1
only "T" becomes logical colum with read.table
Hello,
I am a biologist and I am dealing with files composed of columns with T or A
or C or G (example below)
Sometimes a column is composed of only "T"
and in that case, the columns becomes a logical column TRUE (example below)
I know that the argument "as.is" controls the turns off turning a column
into a factor, instead becoming a character
Is there something similar for
2006 Nov 29
2
db:migrate to add colum bombs...
Hi
I get the following when I try and run "rake db:migrate" (I"m running un
Ubuntu linux)
********** code **********
(in /<home hidden>)
== AddRpts: migrating
=========================================================
-- add_column("rpts", :integer, {:limit=>3})
rake aborted!
You have a nil object when you didn''t expect it!
You might have expected an
2007 Jul 23
2
ODBC Connection failed
Hi,
im trying to get an odbc connection to work. Its no problem if asterisk an
mysl running on one machine. When i try to set up an external DB it won't
connect. External connections to the db are possible (bind-address = 0.0.0.0
and the user asterisk is allowed to connect from each ip). The password in
the config is the right one i already double checked it.
Jul 23 12:31:54
2011 Jul 03
1
SIP Peer Name Variable
Hi,
Is there a variable that contains the Sip Peer name?
I was using ${CALLERID(num)} for outgoing calls, but when a call is being transferred, that variable contains something else.
I need a variable that is always set to the SIP Peer's name.
Thanks
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Jan 03
3
colums in ''shorewall show connections'' command
I do not understand some colums in the output to ''shorewall show
connections''
/root> shorewall show connections
Shorewall-2.0.2f Connections at firewall - Mon Jan 3 13:12:52 PST 2005
..
tcp 6 353296 ESTABLISHED src=112.129.244.121 dst=224.81.133.205 sport=3647
dport=443 src=224.81.133.205 dst=112.129.244.121 sport=443 dport=3647
[ASSURED] use=1
I would like to know