Title: NAT=YES

Good morning

Does anyone have experience with NAT=YES?  I have the following configuration and am a bit confused as to why the Asterisk server initially sends out RTP to the remote host private IP and then switches to the public IP.

Configuration Info:
I have all users in SIP.CONF configured with NAT=YES
Asterisk has a public IP
Remote host is behind a firewall with NAT

When I sniff on the Asterisk public network, I see the following.

1. INVITE from remote host public IP to Asterisk public IP
2. 183 response from Asterisk public IP to remote host public IP
3. RTP from Asterisk public IP to the remote host private IP
4. RTP from remote host public IP to Asterisk public IP
5. RTP from Asterisk public IP to the remote host public IP

Is there a way to prevent step 3 from happening?  Or, is there a way to delay the invalid RTP from being sent from the Asterisk in step 3?

Does anyone know why the Asterisk sends RTP to remote host private IP?  I would expect NAT=YES to correct this issue.

Thanks,

Peter

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to