Outbound call's using pjsip trunk with authentication omits internal extension in clid and src fields in CDR

Howdy,

I’m migration from a freepbx 12 and asterisk 11, so far so good, expect one thing important for me.

When performing outbound call’s via a pjsip trunk that has autentication, the CDR information for clid and src fields, instead of having the 33 for clid and 33 for src as the internal extension that performed the call, i have outbound cid of the trunk on both fields.

What is need to make this have the normal behavior?
I have another trunk that doesn’t need authentication, and it works as expected.

Thanks in advanced,