cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1386
Views
0
Helpful
2
Replies

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

raulhersan
Level 1
Level 1

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 2

rversluis
Level 1
Level 1

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

!

Hello Rolf:

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

thank you very much.