[asterisk-users] SetVar (CDR var) from cli

Sebastian scgm at adinet.com.uy
Thu Mar 12 16:24:12 CDT 2009


No, I'm not using ForokCDR, I just have a bridged call and try to set the
CDR(userfield) and others on the channels, I look at the channes and I can
see the new value. But when I hangup the cdr record does not contain these
value, if I set it from dialplan works ok, but from cli or from ami is not
working.

Any idea??

Regards

Sebastian


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: jueves, 12 de marzo de 2009 05:57 p.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] SetVar (CDR var) from cli

On Thursday 12 March 2009 15:34:20 Sebastian wrote:
> I'm using 1.6.0.5 I'm trying to set CDR(userfield) for example from the
> cli, I look at the channel variables and I can see the new status, but que
> it hang-ups the CDR doesn't have this value.

Are you using ForkCDR()?  Only a single record would have the changed
userfield unless you specified the r (recursive) option.

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es 
Versión: 8.5.278 / Base de datos de virus: 270.11.10/1996 - Fecha de la
versión: 03/11/09 20:42:00




More information about the asterisk-users mailing list