09-27-2013 04:16 AM - last edited on 03-25-2019 08:25 PM by ciscomoderator
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
09-27-2013 04:30 AM
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>" "<>">0>
or
voice class sip-profiles 1
request INVITE sip-header From modify "<0>" "<>>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"
09-27-2013 04:45 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide