Hi, we just noticed a strange CDR problem. We are using individual phone numbers for all our SIP phones. During dialout we do a database lookup in order to set the correct callerid (e.g. phone has number 100 but in external calls this should be displayed as CID -20). This works like a charm and the CDRs look correct. When we start a call using TAPI (e.g. AstTapi) the call setup is a bit different: I start the call, my phone (100) rings, I fetch the call and Asterisk dials the intended number. In the LOG I can see that the callerID is again set correctly to 20. But the CDR now does not show from 20 to 1234567 but from 100 to 1234567 ignoring the Set(CALLERID(number)=20) completly. Bug? Feature? Kind regards, JP -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3104 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060321/4c06e072/smime.bin