Call-ID PJSIP - GET or CHANGE

I need know if is possible I get Call-ID from PJSIP before on dial.

Or change this information.

Call-ID is a a unique, opaque, identifier, so there should be no valid reason to change it. I don’t believe that Asterisk provides access to the B leg value, if that’s what you were trying to say. It provides little or no read access to B leg headers.

Someone else asked a rather similar question recently, or was that you on the FreePBX forum?

It wasn’t me, I need the call-id to send a push

Lots of people seem to manage push to mobile phone without access to the Call-ID and the draft RFC doesn’t mention its use.

use the b option in Dial
there you can run dialplan code on the outgoing channel