Name

SetCDRUserField() — Sets the Call Detail Record user field

Synopsis

SetCDRUserField(value)

Sets the CDR user field to the specified value. The CDR user field is an extra field that you can use for data not stored anywhere else in the record. CDR records can be used for billing purposes or for storing other arbitrary data about a particular call.

exten => 123,1,SetCDRUserField(testing)
exten => 123,2,Playback(tt-monkeys)

Note

This application has been deprecated in favor of the CDR() function.

exten => 123,1,Set(CDR(userfield)=54321)

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.