[Asterisk-Users] CID name & number contain unwanted quotes in CDR

Technical Support support at ocg.ca
Tue Dec 13 11:12:38 MST 2005


On a recent install of ast 1.2 (b1) I noticed something strange in the CDR
records (in mysql).  The caller  ID name and number contained extra quotes
for calls outbound (inbound was fine).
 
Below is an example of the extensions.conf excerpt, and an excerpt from my
sql.  Can anyone explain how to avoid the extra quotes in the CDR record?
 
EXTENSIONS.CONF:
[globals]
MYNAME="Bob & Steve"
MYNUMBER="123456789"
exten => _123,1,Set(CALLERID(name)=${MYNAME})                              
exten => _123,2,Set(CALLERID(number)=${MYNUMBER})    

MYSQL CDR:
|          |           |             | "1111111111"   | 2222222222 |
menuhome           | ""Bob & Steve"" <"1234567898">         | SIP/290-0334
| IAX2/UNLIMITEL4-4  | Dial               | IAX2/UNLIMITEL4/2222222222|60|r
| 2005-12-13 12:47:03 |      482 |     465 | ANSWERED    |        3 |
 
 
Notice the ""Bob & Steve"" ? Any ideas?
 
Thanks,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051213/900ba76b/attachment.htm


More information about the asterisk-users mailing list