cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
568
Views
10
Helpful
5
Replies

inbound SIP call Invalid host and invalid URL with NATed CME

tato386
Level 6
Level 6

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

5 Replies 5

Nadeem Ahmed
Cisco Employee
Cisco Employee

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.

Br, Nadeem Please rate all useful post.

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

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.

Br, Nadeem Please rate all useful post.

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

Sure Deigo,

Br,
nadeem

Br, Nadeem Please rate all useful post.