[Asterisk-Users] Am I missing somthing?

Thilo Salmon salmon at netzquadrat.de
Wed Oct 29 10:13:40 MST 2003


On Wed, 2003-10-29 at 10:14, WipeOut wrote:
> Should the following setup work?
> 
> SIP UA---NAT---Internet---NAT---SIP UA
> 
> If both UA's support STUN and report the external IP address in the SIP 
> packet..
> 
> I am trying to get away from using canreinvite=no so that traffic can go 
> directly between the UA's and not via the central server but I can't 
> seem to get it to work..

It depends on the type of NAT you are using. If both NATs happen to be
symmetric STUN is no solution. Perhaps you can configure the NATs and
endpoints in a way to accept RTP streams (such as forward incoming UDP
on port 5004 on the NAT to a Grandstream which is configured to expect
traffic on 5004 only).

As for non symmetric NATs STUN should work.

Thilo






More information about the asterisk-users mailing list