https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r282269 | dvossel | 2010-08-13 15:03:56 -0500 (Fri, 13 Aug 2010) | 4 lines res_stun_monitor for monitoring network changes behind a NAT device Review: https://reviewboard.asterisk.org/r/854 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 lines
949 B
Text
23 lines
949 B
Text
;
|
|
; Configuration file for the res_stun_monitor module
|
|
;
|
|
; The res_stun_monitor module sends STUN requests to a configured STUN server
|
|
; periodically. If the monitor detects a change in the external ip or port
|
|
; provided by the STUN server an event is sent out internally within Asterisk
|
|
; to alert all listeners to that event of the change.
|
|
|
|
; The current default listeners for the netork change event include chan_sip
|
|
; and chan_iax. Both of these channel drivers by default react to this event
|
|
; by renewing all outbound registrations. This allows the endpoints Asterisk
|
|
; is registering with to become aware of the address change and know the new
|
|
; location.
|
|
;
|
|
[general]
|
|
;
|
|
; ---- STUN Server configuration ---
|
|
; Setting the 'stunaddr' option to a valid address enables the stun monitor.
|
|
;
|
|
; stunaddr = mystunserver.com ; address of the stun server to query.
|
|
; stunrefresh = 30 ; number of seconds between stun refreshes. default is 30
|
|
;
|