cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
590
Views
0
Helpful
1
Replies

IOS Profiles > Copy non-standard SIP value to P-Asserted-Identity

Jason Aarons
Level 6
Level 6

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

1 Reply 1

Chris Deren
Hall of Fame
Hall of Fame

Looks fine to me, have you tried testing it against Cisco's sip profile test tool?