!
voice service voip
sip
asserted-id pai
!
voice class sip-profiles 1
request INVITE sip-header P-Asserted-Identity modify "<sip:(.*)@.*>" "tel:\1"
!
dial-peer voice 811 voip
voice-class sip profiles 1
!
dial-peer voice 8112 voip
voice-class sip profiles 1
The SIP profile should be applied to your outbound dial peers. Although this shows some flexibility of the CUBE to make this adjustment, it would not have been required if it had not changed the PAI in the first place!
Update: Our application developer informed me that some service providers my require the tel: format. Qwest only supports tel URI but XO supports SIP URI as examples. So having the ability to do either is a good thing.
For more information on PAI check out the IETF website and RFC 3325
great info - having to tweak PAI for peering with Verizon.
ReplyDelete