search for: pami

Displaying 10 results from an estimated 10 matches for "pami".

Did you mean: pam
2016 Aug 05
2
¿Qué hace as.numeric()?
Hola Mauricio, Para hacer alguna prueba más, yo lo único que echo de menos es que nos pudieras dar un "ejemplo reproducible" y para esto no hay nada mejor que nos pases una parte representativa del conjunto de datos. Además de lo ya expuesto, se pueden utilizar otras alternativas de lectura del fichero a la de "read.table()", por ejemplo la que ofrece "fread()" del
2016 Aug 05
2
¿Qué hace as.numeric()?
Muchas gracias, Fernando y Javier. > pami$PP <- as.numeric(as.character(pami$PP)) Warning message: NAs introduced by coercion Y entonces los datos que antes convertía en labels(pami$PP) (v.g. 753,2256 a 61343 o 62,7688 ? a 17390, que me pa eran enteros del 1 al n de clases como decía Fernando), los convertía en NA.- Luego de probar tam...
2016 Aug 04
2
¿Qué hace as.numeric()?
...ero podría estar en conflicto con otro parámetro, sin que yo lo sepa. No adjunto un pequeño recorte del archivo, porque al ser solo una parte, el problema no aparece... Y siendo más de 4,5 millones de registros, no es posible compartirlo con la lista y nomás abrirlo con un bloc de notas es molesto: pami <- read.table("Export.csv", header=T, sep=";", dec =",", # colClasses=c("Factor", "int", "int", "Factor", rep("numeric", 2), # rep("int", 4), rep("Facto...
2023 Apr 10
1
Setting PJSIP header from AMI
Hello, We are moving from an older asterisk/SIP to a newer (18+) asterisk/PJSIP and trying to figure out how to add [identity] header when originating a call from AMI/PAMI. In the older version we would just set a variable like this: $action = new OriginateAction("SIP/...."); $action->setVariable('__SIPADDHEADER51',"Identity: $identity"); // $identity contains generated by 3rd party header Is there anything similar for $...
2014 Apr 03
1
PAGI
Hi, Anybody using PAGI scripts, http://marcelog.github.io/articles/pagi_tutorial_create_voip_telephony_application_for_asterisk_with_agi_and_php.html Would like to know the feasibility to build a IVR solutions. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Aug 03
2
¿Qué hace as.numeric()?
...sus datos. En concreto lo que me pasa es que logro levantarlo, tal que para un caso concreto del data.table obtengo un valor: 753,2256 que parece un número pero es un factor. De hecho: $ PP : Factor w/ 69878 levels "-3134,0938","10,117423882342",..: 33138 35010 Pero cuando: > pami$PP <- as.numeric(pami$PP) y busco el mismo registro (la misma fila), resulta que PP a "mutado" a 61343 al trasnformarla. $ PP: num 33138 35010 36793 40112 44828 ... Y esto me pasa ?en vari ?o? s ?casos (? filas ?)? ?al menos para dos variables. De hecho, en la misma ?observación tengo...
2016 Aug 10
2
Replacement for phpagi?
Anyone know a good replacement for phpagi? Unfortunately development stalled long ago and it has not been updated. What is the best solution for AMI and AGI on PHP? Thanks. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161
2014 Nov 18
2
AGI and AMI in PHP -- What's current?
I'm writing some code that needs to access AMI in PHP. (I'll probably be doing AGI later as well.) I'm looking at phpagi (2.20), but it hasn't been updated since 2010 and appears to be a bit behind current Asterisk -- No event handler for event 'fullybooted'. What PHP framework/library are you using -- and why? -- Thanks in advance,
2016 Aug 03
3
¿Qué hace as.numeric()?
Tranquilo que no te han hackeado tu "R"... Simplemente que al importar tu CSV, no has indicado que los decimales son las ",". Y ese campo lo importa como un character (un string). Y cuando lo conviertes a numeric, el resultado es un tanto impredecible. Si utilizas read.table para importar, simplemente incluye el parámetro "dec" de esta forma "read.table(..... ,
2013 Oct 08
3
Facter incorrectly detecting Virtual status on Windows VM
Ran into a problem with Facter on a Windows 2008 R2 system running on a proxmox server. Facter reports the machine as being physical. This is due to the WMI query used in the virtual.rb file is being return "Bochs" as the Manufacturer and Model. Adding an additional "When" statement to the Ruby file (virtual.rb) corrected the check coming back as physical. -- You