summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2012-04-28 20:24:45 +0000
committerJoshua Colp <jcolp@digium.com>2012-04-28 20:24:45 +0000
commitae1502be33e92b1c7460264dfa40c362a6abd791 (patch)
treec77c954074147b64c5f550be04ed405329320c83 /configs
parent19097a4b62860092f1dc70a42f07103c0586aed1 (diff)
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
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 129ec4249..e8c67db53 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -273,6 +273,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Default: 100
;qualifypeers=1 ; Number of peers in a group to be qualified at the same time
; Default: 1
+;keepalive=60 ; Interval at which keepalive packets should be sent to a peer
+ ; Valid options are yes (60 seconds), no, or the number of seconds.
+ ; Default: 0
;notifymimetype=text/plain ; Allow overriding of mime type in MWI NOTIFY
;buggymwi=no ; Cisco SIP firmware doesn't support the MWI RFC
; fully. Enable this option to not get error messages
@@ -1194,6 +1197,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; host
; port
; qualify
+; keepalive
; defaultip
; defaultuser
; rtptimeout