Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:06 2007

Asterisk developer's documentation :: Codename Pineapple


Chan_sip3 :: NAT support

Current state of affairs in chan_sip (the old channel)

NAT settings in chan_sip.c is settable per device or in the general section of sip.conf NAT support in the current chan_sip has these options:

Can RE-invite?
In addition to NAT handling, we do support remote RTP bridging with
Asterisk behind NAT - extern IP
For Asterisk behind NAT, talking with Internet endpoints we have

Suggestion for changes in chan_sip3.c:

For chan_sip3, I'm considering something like this:

Automatic NAT support
We will recognize the RFC 1918 networks (192.168.x.x, 10.x.x.x, 72.x.x.x) and automatically enable symmetric RTP for them.

If the Via header indicates proxy use (device not communicating with us directly) we will only enable symmetric RTP and NOT symmetric SIP.

Remote bridging
Remote bridging will happen

If the devices use STUN and publish a public IP, we just suppose that everything works as if there was no NAT at all.

STUN support in the SIP client
Asterisk need STUN support in the client to be able to have externip = stun

Settings in sip3.conf

Author:
OEJ

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen