I have a setup that is working as expected, however one carrier requires a SIP header to modify the caller_id on the outbound call. Other carriers are 100% and don't require this.
In the dial plan I've added this line:
exten => _610XXXXXXXXXX,n,SIPAddHeader(P-ASSERTED-IDENTITY: <sip:${CALLERID(num)}@voip.carrier.com>)
It works on our standard outbound calls but when putting "Lyra AMD for Asterisk 2.0.3" between the calls it doesn't seem to forward so my caller_id is the DID associated with the server not what I'm adding to the P-ASSERTED-IDENTITY header.
I've read over the lyra_user_guide.pdf and don't see anything about passing the header on. I do see other headers but those are for ID's for AMD logging which are working properly:
exten => _610XXXXXXXXXX,n,SipAddHeader(X-Netborder-Cpa-Reference-ID: ${CALLERID(name)})
exten => _610XXXXXXXXXX,n,SipAddHeader(X-Netborder-Cpa-Campaign-Name: CARRIER-A)
Any clues or tips would be most helpful.