cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1624
Views
0
Helpful
2
Replies

SIP To: Header Manipulation with CUBE SIP Profiles??

mark.stephens
Level 1
Level 1

Hi,

I have a CUBE gateway connecting to an ITSP and am sending the folloing to: information

To: <sip:07855540000@8.1.2.1> (IP Address and number changed for security purposes!!!)

The ITSP is expecting the format +447855540000 in all To: headers.

How do I achieve this using SIP profiles? I have tried but nothing seems to change!!!

Many thanks in advance for any assistance!!

Mark

2 Replies 2

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

You might be better off using a voice translation rule to achive this..

voice class sip-profiles 1

request INVITE sip-header From modify "<0>" "<>"

or

voice class sip-profiles 1

request INVITE sip-header From modify "<0>" "<>

The first is generic, the second is more specific to include the ip address of your originating CUBE

You then need to apply this to the dial-peer facing your ITSP

dial-peer xx voip

voice-class sip profile 1

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Hi Mark.
For outgoing calls you can use translation rule/profile
eg

voice translation-rule 1
rule 1 /^00/ /+/

voice translation-orofile E164
translate called 1

and apply it to outgoing dialpeer

HTH.
Regards

Carlo

Sent from Cisco Technical Support iPhone App

Please rate all helpful posts "The more you help the more you learn"