We are using Asterisk 13.1-cert2 and PJSIP, with Nextiva as the SIP Trunk provider.Incoming calls are working, but dialing out is not working. The carrier says that there are 2 reasons why dialing out is not working :

1) If you look at the SIP trace below, the carrier is indicating that the reason for not working is because the "Contact:" line has a cryptic-randomized number in there, instead of the actual contact.

Right now it sends: Contact: <sip:ec89dc3e-90df-4fbd-99bd-f5b225f8da3d@107.207.90.90:5060>But it should be sending: Contact: <sip:7143861212@107.207.90.90:5060>

2) We are unable to send the X-P-Asserted-Identity, because while the dialplan runs PJSIP_HEADER without error, the option doesn't make it into the SIP packet.