Summary:ASTERISK-23004: Documentation: improve documentation of pjsip endpoints behind NAT
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2013-12-15 19:11:20.000-0600Date Closed:2013-12-20 11:25:03.000-0600
Status:Closed/CompleteComponents:Channels/chan_pjsip Documentation
Versions:SVN 12.0.0-beta2 Frequency of
Description:Today, the only documentation for how to set up a PJSIP endpoint behind a NAT is in the pjsip.conf.sample file:

; UDP transport behind NAT

And that's about it.

Since many endpoints will be behind a NAT, we should have a sample endpoint that shows the in total, both in the sample config file as well as on the Asterisk wiki.
Comments:By: xrobau (xrobau) 2013-12-17 21:31:49.390-0600

Also - the option is 'local_net', not 'localnet'.

By: Rusty Newton (rnewton) 2013-12-19 08:55:08.625-0600

Yup the conf file and wiki pages need to be updated to reflect the change to snake case for all the options.

By: Rusty Newton (rnewton) 2013-12-19 18:20:32.760-0600

Changes to pjsip.conf.sample up on https://reviewboard.asterisk.org/r/3086/

Also, added a new wiki page at https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip+to+work+through+NAT.

I think both the conf and wiki could use more work and detail for NAT. I'll try to go back later on and make it better, but any help is very welcome!