cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1944
Views
0
Helpful
1
Replies
Highlighted
Beginner

ip nat service sip for non-default port

I'm trying to connect sip client to CUCM 7.1 from public IP address. When I use static translation on cisco internet router with default SIP port (5060), ALG (turned on by default) substitutes public address in sip register message to private address, and everything works fine.

When I do the same thing for non-default port (port is also changed in both sip client and CUCM) with command: ip nat service sip udp 40101, the ALG doesn't do address translation, and I can't register to CUCM (Error 404) because he doesn't understand the host part of sip URI (public address). Is this some IOS related issue, or am I doing something wrong?

debug ip nat sip: (using default port, ip nat service sip udp 5060)

*Mar 17 13:26:36.651: NAT: SIP: [1] processing REGISTER message
*Mar 17 13:26:36.651: NAT: SIP: [1] translated embedded address 1.1.1.1->10.0.0.1
*Mar 17 13:26:36.651: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:26:36.651: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:26:36.651: NAT: SIP: Trying to find expires parameter
*Mar 17 13:26:36.651: NAT: SIP: [1] register:1 door_created:0
*Mar 17 13:26:36.651: NAT: SIP: [1] translated embedded address 1.1.1.1->10.0.0.1
*Mar 17 13:26:36.651: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:26:36.651: NAT: SIP: [1] translated embedded address 1.1.1.1->10.0.0.1
*Mar 17 13:26:36.651: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:26:36.651: NAT: SIP: found Expires header, 3600 sec
*Mar 17 13:26:36.655: NAT: SIP: [0] processing SIP/2.0 100 Trying message
*Mar 17 13:26:36.655: NAT: SIP: [0] translated embedded address 10.0.0.1->1.1.1.1
*Mar 17 13:26:36.655: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:26:36.655: NAT: SIP: [0] translated embedded address 10.0.0.1->1.1.1.1
*Mar 17 13:26:36.655: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:26:36.655: NAT: SIP: [0] register:0 door_created:0

debug ip nat sip: (using non-default port, ip nat service sip udp 40101)

*Mar 17 13:44:17.975: NAT: SIP: [1] processing REGISTER message
*Mar 17 13:44:17.975: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:44:17.975: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:44:17.975: NAT: SIP: Trying to find expires parameter
*Mar 17 13:44:17.975: NAT: SIP: [1] register:1 door_created:0
*Mar 17 13:44:17.975: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:44:17.975: NAT: SIP: [1] register:0 door_created:0
*Mar 17 13:44:17.975: NAT: SIP: found Expires header, 3600 sec
*Mar 17 13:44:17.979: NAT: SIP: [0] processing SIP/2.0 100 Trying message
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:44:17.979: NAT: SIP: [0] processing SIP/2.0 404 Not Found message
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0
*Mar 17 13:44:17.979: NAT: SIP: [0] register:0 door_created:0

Everyone's tags (4)
1 REPLY 1

Re: ip nat service sip for non-default port

Hi Nikola

Those debugs look pretty conclusive - I would be raising a TAC case at this point.

Regards

Aaron

Please rate helpful posts..

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards