I somehow manage to know which contact answered the call, using How to know which contact answered using PJSIP_DIAL_CONTACTS?
Since he calls several contacts and in the cdr I only have answere status but not without which contact answered.
If you need that level of granularity then multiple contacts on a single endpoint is not really what should be used. It should be multiple endpoints so you can differentiate.
Thanks for clarifying.