Get the pick up call extension

The following is my situation :
A call is call to extension 3111, the call is pick up by extension 3222.
In the call log only show the dst is 3111. Can I get the information from the call log that extension 3222 was picked up the call ?

You should be using channel event logging.

Thanks for your help.
May I know how to enable it and how to use it ?

Howdy,

Channel Event Logging (CEL), has some wiki pages here:
wiki.asterisk.org/wiki/pages/vi … Id=5242932

that describe it pretty well. It’s a much more fine-grained alternative to Asterisk’s CDR capabilities.