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 cmd AppendCDRUserField
- Asterisk billing
- Asterisk cdr csv
- Asterisk config cdr_mysql.conf
- Asterisk tips and tricks
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ