Name

CALLERID — Gets or sets Caller ID data on the channel

Synopsis

CALLERID(datatype[,optional-CID])

CALLERID() parses the Caller ID string within the current channel and returns all or part, as specified by datatype. The allowable datatypes are all, name, num, ani, dnid, or rdnis. Optionally, an alternative Caller ID may be specified if you wish to parse that string instead of the Caller ID set on the channel.

This function may be both read and set.