http://www.voip-info.org/wiki-NAT+and+VOIP
http://www.voip-info.org/wiki-Asterisk+SIP+NAT+solutions
Regards
Rob
On 03/09/06, Siqhamo Sifo <[EMAIL PROTECTED]> wrote:
I have ser sitting on my iptables nat box and my asterisk box on the lan
. Ser does forwarding so that any requests (register,invite,ack,...) to
the nat box at 5060 r sent to my asterisk box on the lan .I can register
from outside
to my asterisk box but there is only one way audio , reason being that
when the asterisk box sends a sip packet whith session description the sdp
part of the sip packet is not natted .I have tried the following :
if(src_ip==10.0.0.0/255.0.0.0){
force_rtp_proxy();
encode_contact("enc_prefix","wanip");
sdp_mangle_ip(" 10.0.0.0/255.0.0.0","wanip");
};
and it does not work because my ethernet dump shows that the contact in
sdp is
not mangled.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
