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 on CUBE

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

  • IP Telephony
Everyone's tags (2)
2 REPLIES

Problems modifying Outgoing SIP INVITE Header on CUBE

Can you check with this.

request INVITE sip-header Remote-Party-ID modify ";privacy=off" ";privacy=full"

request REINVITE sip-header Remote-Party-ID modify ";privacy=off" ";privacy=full"

Rate all the helpful post.

Thanks

Manish

Problems modifying Outgoing SIP INVITE Header on CUBE

Here is the test output from the above config.

INVITE sip:2444@10.0.0.2:5060 SIP/2.0

Via: SIP/2.0/UDP 10.0.2.3:5060;branch=z9hG4bK9DB8

Remote-Party-ID: <6060>;party=calling;screen=no;privacy=full

From: <6060>;tag=2E45A4-204

To: <2444>

Date: Tue, 07 Jan 2014 15:36:01 GMT

Call-ID: 2C178B76-76E811E3-803DF6FE-E0662A1D@10.0.2.3

Rate all the helpful post.

Thanks

Manish

653
Views
0
Helpful
2
Replies
This widget could not be displayed.