I am running
Asterisk 11.10.0
CentOS release 6.5 (Final)
2.6.32-431.1.2.0.1.el6.i686 - 32 Bit
I added the following to my dialplan.
exten => _[0-9].,n,SipAddHeader(P-Asserted-Identity: ${PAI_HEADER})
exten => _[0-9].,n,SipAddHeader(Privacy: id)
I expected to get in my outgoing headers
P-Asserted-Identity: sip:xxxxxxxxxx@xx.xx.xx.xx
privacy:id
but instead I get
privacy: id
P-Asserted-Identity: sip:xxxxxxxxxx@xx.xx.xx.xx
Note the order is wrong and there is a space inserted, Also privacy is not set, caller-id information is displayed.
I find many references to this with Asterisk 1.8 but not much information for Asterisk 11.
Tim