| « vncunused problem with Windows on Xen 3.4.1 | Manually installing CSI apps on the NMT » |
Fixing CDR records for anonymous calls with Asterisk
Yesterday I was faced with an Asterisk problem logging src CDR records as anonymous, when dialing anonymously from a Snom SIP phone. In this particular situation it was OK to use anonymous as callerid, but not in the CDR records.
Using something like Set(CDR(src)=12345678) doesn't work since most of the CDR records are read-only. Also using Set(CALLERID(num)=12345678) also doesn't give you the expected result for the src CDR record.
However if you set the ANI callerid you will get the expected result, like this: Set(CALLERID(ANI)=12345678).
Trackback address for this post
1 comment
Comment from: Claus Lavdal [Visitor] · http://mergeit.dk
will not you show how we have handled the whole anonymous phone call.
*redirecting to dedicated trunk
*CallerID set correctly on the internal dialing
*and handle cdr
*redirecting to dedicated trunk
*CallerID set correctly on the internal dialing
*and handle cdr
2009-11-05 @ 09:03