Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Bronze

Problems modifying Outgoing SIP INVITE Header

Our SIP provider has asked us to modify our outgoing SIP header INVITE messages to allow them to block CLI.

The section of the current SIP Header we need to modify looks like this;

Remote-Party-ID: "Test" <sip:+44xxxxxxxxxx@10.x.x.x>;party=calling;screen=no;privacy=off

We need to change privacy=off to privacy=full

I've created the following SIP profile but this does not change the SIP header, never had to modify SIP headers before so this is probably where the problem is;

voice class sip-profiles 1

request INVITE sip-header Remote-Party-ID modify "Remote-Party-ID:(.*>).*" "Remote-Party-ID:(.*>);party=calling;screen=no;privacy=full"

request REINVITE sip-header Remote-Party-ID modify "Remote-Party-ID:(.*>).*" "Remote-Party-ID:(.*>);party=calling;screen=no;privacy=full"

I have then applied this SIP profile to a dial-peer;

dial-peer voice 555 voip

description ** TEST **

max-conn 200

destination-pattern +44xxxxxxxxxx

max-bandwidth 18000

session protocol sipv2

session target ipv4:10.x.x.x:5060

voice-class sip asserted-id pai

voice-class sip profiles 1

dtmf-relay rtp-nte

If anyone out there has any experience of doing this I would really appreciate some assistance with this issue

1 REPLY
Silver

Problems modifying Outgoing SIP INVITE Header

Guessing you want to selectively do this vs globally, but this doc should help for either.

http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/FeatTP.pdf

522
Views
0
Helpful
1
Replies