Asterisk cmd SetCDRUserField

Note: This function is depricated. It has been replaced by Set(CDR(userfield)=Value) in latest SVN.

Synopsis

SetCDRUserField(Value)

Documentation


SetCDRUserField sets the CDR, Call Data Record, user field to a value, that could be from a variable. CDR records are used for billing.

Note : If using cdr_mysql addon make sure to set userfield=1 to in cdr_mysql.conf. If using cdr_csv, edit cdr_csv.c and (re)compile to enable the user field. This command has no effect if the user field is not enabled.

Return value

Always returns 0

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Note: This function is depricated. It has been replaced by Set(CDR(userfield)=Value) in latest SVN.

Synopsis

SetCDRUserField(Value)

Documentation


SetCDRUserField sets the CDR, Call Data Record, user field to a value, that could be from a variable. CDR records are used for billing.

Note : If using cdr_mysql addon make sure to set userfield=1 to in cdr_mysql.conf. If using cdr_csv, edit cdr_csv.c and (re)compile to enable the user field. This command has no effect if the user field is not enabled.

Return value

Always returns 0

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Fri 12 of Oct, 2007 (07:01 UTC) by chandave
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+