12-05-2006 10:13 AM - edited 03-14-2019 07:05 PM
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.
12-05-2006 09:34 PM
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
!
12-07-2006 04:02 AM
Hello Rolf:
i have configured the ASA Firewall as you tell me and it works.
thank you very much.
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