Add support for lightweight NAT keepalive.
authorJoshua Colp <jcolp@digium.com>
Sat, 28 Apr 2012 20:24:45 +0000 (20:24 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 28 Apr 2012 20:24:45 +0000 (20:24 +0000)
commitae1502be33e92b1c7460264dfa40c362a6abd791
treec77c954074147b64c5f550be04ed405329320c83
parent19097a4b62860092f1dc70a42f07103c0586aed1
Add support for lightweight NAT keepalive.

If enabled using the keepalive option in sip.conf a small packet will be sent
at a regular interval to keep the NAT mapping open. This is lightweight as the
remote side does not need to parse and handle a SIP message.

(closes issue AST-783)
Review: https://reviewboard.asterisk.org/r/1756/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@364500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_sip.c
channels/sip/include/sip.h
configs/sip.conf.sample