VOXBEAM change and require new things about inbound outbound and P-Asserted-Identity

I getting these details from Voxbeam they need like these things and they block my outbound so guide me how I can resolve this issues.

INVITE sip:[email protected] should be INVITE sip:[email protected] you are missing the 1 as we only accept E164 numbers
From: “12245857428” sip:[email protected] should be From: “12245857428” sip:[email protected] you are missing the ‘+’ the From: needs to be in +E164 format
There is no P-Asserted-Identity: header please add one, for an example it should be P-Asserted-Identity: “12245857428” sip:[email protected]

they show my fault and solution but how i solve i am so upset.

Howdy, welcome to the forums!

You can manipulate these settings in several places in FreePBX; and if necessary, manually editing Asterisk dialplan itself via modifications to /etc/asterisk/extensions_custom.conf

But before getting under the hood like that, can you try checking in the FreePBX GUI some settings such as:

Connectivity → Trunks → your_PJSIP_trunk_name → pjsip Settings → Advanced → Send RPID/PAI and marking it “Send P-Asserted-Identity header”

…then let us know if that helps. You may need to combine with changing Outbound Caller ID settings, either on a per-Extension basis, or in the options under these areas:

Connectivity → Outbound Routes → your_route_name → Route Settings → Route CID

Connectivity → Trunks → your_PJSIP_trunk_name → Outbound Caller ID

And also:

Connectivity → Trunks → your_PJSIP_trunk_name → Dialed Number Manipulation Rules

…to add something like (+1)|[X.]

Lots of options! Please let us know how it goes. Posting a SIP trace would be helpful as well.

This is invalid pattern matching.

Agreed, thank you. To be more clear:

  1. in the first column prepend which is wrapped in parenthesis, place: +1
  2. in the second column prefix which has a pipe at the end, place nothing or possibly as it depends on your destination and telco: 00110
  3. in the third column match pattern which has a square bracket at the front, place: X.