Is there any way to change the CDR logging parameters?

Hi every1, at my company we need to extract statistics of the number of calls that are received via the direct support external number, however the CDRs report only the internal extention in the destination field; anyone knows if there is any way to change this?

Thanx in advance.

asteriskguru.com/tutorials/c … _conf.html

This only works on cvs-head. (you will need to poke in the sources if you want this for stable asterisk version.)