I need a second set of eyes in create a voice class sip-profiles ;
Problem
Avaya >> INVITE w/User-to-User >>>> CUBE >>>>> ITSP
INVITE has non-standard User-to-User, need to copy that to P-Asserted-Identity
Solution
IOS 16.9.6
Support for Conditional Header Manipulation of SIP Headers
https://tblogbelgium.wordpress.com/2011/02/17/cube-conditional-sip-profiles/
SIP profiles one can store temporary variables (User-to-User) from an incoming SIP invite to be reused later.
!
voice service voip
sip
sip-profiles inbound
!
voice class sip-profiles 10
request INVITE peer-header sip User-to-User copy "(.*)" u01
request INVITE sip-header P-Asserted-Identity modify "$" "\u01"
!
dial-peer voice 10 voip
description Infinity-Outbound-Dial-Peer-PSTN
preference 1
destination-pattern ^90433832..$
session protocol sipv2
session target ipv4:10.10.10.10
voice-class sip profiles 10