Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SIP trunk throutgh internet with public IP address not private IP address

Hello:

i am configuring a sip trunk between callmanager and asterisk, there are an ASA firewall and internet between both systems, so nat is configured. The problem is that callmanager send its private IP address to the asterisk, then rtp packet from asterisk to callmanager are sent to the private ip address and then ip packets don't reach callmanager and Cisco IP phones through internet and voice is only one way.

how can i configure callmanager to send its public IP addres instead of its private ip addres for calls via the SIP trunk.

2 REPLIES
New Member

Re: SIP trunk throutgh internet with public IP address not priva

Use the ASA to inspect the packets. You won't have to tell either asterisk or call manager it is supposed to work through NAT:

class-map global-class

match default-inspection-traffic

class-map sip-port

match port udp eq sip

!

!

policy-map global-policy

class global-class

inspect pptp

inspect icmp

inspect ftp

inspect h323 h225

inspect h323 ras

inspect netbios

inspect rsh

inspect rtsp

inspect skinny

inspect esmtp

inspect sqlnet

inspect sunrpc

inspect tftp

inspect xdmcp

class sip-port

inspect sip

!

New Member

Re: SIP trunk throutgh internet with public IP address not priva

Hello Rolf:

i have configured the ASA Firewall as you tell me and it works.

thank you very much.

298
Views
0
Helpful
2
Replies
CreatePlease login to create content