[Asterisk-Dev] Feature request: auto-guessing NAT status based
on From: IP address
Mark Spencer
markster at digium.com
Thu Apr 17 08:58:57 MST 2003
> For instance: Adding the ;received= to the Via is a "MUST" in the RFC but
> this code is currently conditioned by nat=1.
Originally we *did* always put ;received= but we had some SIP devices
which *could not handle* the ;received= on it and would cause them to
fail.
> Always including the "received=" thing on the Via also helps clients with
> STUN to work properly. For clients with STUN (eg ATA186) they will
> automatically fudge their SDP to announce the correct public
> address. Asterisk doesn't need to know that they are NATted at all.
Right, but see above.
> But note - received= should not be added if the address is the same at
> the address in the Via already.
Hrm, that might be reasonable :) If there are no objections, I'll do it
that way.
Mark
More information about the asterisk-dev
mailing list