<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've made a patch so you can call asterisk boxes
from behind NAT using H.323. It uses the same logic as SIP, to use it just put
nat=1 in h323.conf under the user's profile. The only issue is with MS's
internet sharing which tries to proxy any connections on port 1720. I suggest
you change port if you have this issue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not sure of the procedure for submitting this..
here's the diff</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>diff -r1.3
chan_h323.c<BR>234a235,236<BR>>
} else if (!strcasecmp(v->name, "nat"))
{<BR>>
user->nat = ast_true(v->value);<BR>499a502,509<BR>>
<BR>> /* Only apply it for the first
packet, we just need the correct ip/port
*/<BR>>
if(p->nat)<BR>>
{<BR>>
ast_rtp_setnat(p->rtp,p->nat);<BR>>
p->nat = 0;<BR>> }<BR>>
<BR>1033a1044<BR>>
p->nat = user->nat;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2> Adam
Hart</FONT></DIV></BODY></HTML>