Custom PAI

Trying to get PAI setup on FreePBX 17 to allow forwarded calls to show forwarded callers ID instead of the trunk ID. I have tried many options following others in the forum for adding a correct macro into the extensions_custom.conf file but never seeing it get passed when I run sngrep and look at the call. Is there another setting I am missing somewhere?

If you configure the trunk to allow any CID, then FreePBX will use the forwarded caller’s CID when forwarding. You should not need any custom dialplan for this, but you may need to discuss it with your SIP provider, especially if you are in the US, because they are generally rejecting unknown/unverified CID now.

Figured it out. Needed the proper macro setup in extensions_custom.conf to the PAI info in the outgoing calls and make sure it was blank in the From User section under advanced in the trunk configuration.