I have a trunk provider that requires PAI to be sent to do caller-id masquerade.
Now I added a second location to that PBX and inherited a second trunk.
Now calls are failing outbound because of the PAI from the first location being sent on all outbound calls.
exten => s,1,NoOp(Adding P-Asserted-Identity)
exten => s,n,SipAddHeader(P-Asserted-Identity: sip:##########@corpBALLS.net )
exten => s,n(done),MacroExit()
So I am wondering if there is a little critical thinking that can be done to match extension this.
All of my main location extensions are 1XXX 2XXX where my second location is 3XXX.