11-24-2015 03:41 PM - edited 03-17-2019 05:00 AM
It looks like there are many posts referecing this issue but no clear fix. I am not using a CUBE nor do I have SIP ALG capability. I am trying to use something like this but having no luck.
!
voice class sip-profiles 1
request INVITE sip-header To modify "<sip:18005551212@x.x.x.x>" "<sip:18005551212@192.168.1.1"
!
dial-peer voice 3001 voip
voice-class sip profiles 1
Am I doing it wrong or is it more complicated and I need to do more configuration work?
Thanks,
Diego
11-24-2015 05:20 PM
Diego
Try this this will work. this is tested in my lab. but one thing i am sure how connection and topology is it works in sip enviornment what exactly your requirement apart from conversion of TO header . but any ways apply this profile with rule it going to convert the which you are looking for.
voice class sip-profiles 1
request INVITE sip-header To modify "<sip:(18005551212)@(.*)>" "<sip:18005551212@192.168.1.1>"
Br,
Nadeem Ahmed
PS: Please rate all useful post.
11-25-2015 09:10 AM
Nadeem,
After implementing this, I do not see the SIP messages being modified. They still look the same as before I did the profile and modified the dial-peer. Is it possible that this works only for outbound SIP connections?
I am trying to modify incoming SIP messages as we do not make outbound calls with this service provider.
Thanks,
Diego
11-25-2015 09:33 AM
Can you please post me the show run and can you please apply this sip-profile on global level and see .
Please turn on the debug with ccsip messages and post the same.
Br,
Nadeem
PS:Please rate all useful post.
11-25-2015 03:14 PM
Nadeem,
Thank you very much for your help and suggestions but I have decided to take a different approach. I switched our firewall to an ASA5515 and enabled the SIP inspection feature and it seems to be working well without having to modify anything on the CME.
I will post back if I need more help.
Again, thank you very much.
Rgds,
Diego
11-25-2015 03:25 PM
Sure Deigo,
Br,
nadeem
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