Displaying 2 results from an estimated 2 matches for "cdruserfield".
2007 Jan 02
1
Double quotes in CDRUserField?
Question: I'm trying to put a double quote into the CDRUserField. What
I end up with is a pair of double quotes. Example:
exten => s,n,SetCDRUserField(data)
exten => s,n,AppendCDRUserField(")
exten => s,n,AppendCDRUserField(moredata)
My record will look like this:
data""moredata
What I want is:
data"moredata
The wiki mentions...
2007 Jul 12
0
No subject
...struct ast_channel *dst)
{
manager_event(EVENT_FLAG_CALL, "Dial",
"Source: %s\r\n"
"Destination: %s\r\n"
"CallerID: %s\r\n"
"CallerIDName: %s\r\n"
"SrcUniqueID: %s\r\n"
"DestUniqueID: %s\r\n"
"CDRUserfield: %s\r\n",
src->name, dst->name, src->cid.cid_num ? src->cid.cid_num : "<unknown>",
src->cid.cid_name ? src->cid.cid_name : "<unknown>", src->uniqueid,
dst->uniqueid,
(dst->cdr)?(dst->cdr->userfield):"&quo...