[asterisk-users] Double quotes in CDRUserField?
Michael Collins
mcollins at fcnetwork.com
Tue Jan 2 17:30:16 MST 2007
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 using a backslash in order to 'quote the character' as
it says. However, this example:
exten => s,n,SetCDRUserField(data)
exten => s,n,AppendCDRUserField(\")
exten => s,n,AppendCDRUserField(moredata)
Yields the same results:
data""moredata
Is there something that I'm missing?
Thanks,
MC
P.S. I'm using CSV for my CDR's
More information about the asterisk-users
mailing list