| 1 |
; |
| 2 |
; Configuration file for the res_stun_monitor module |
| 3 |
; |
| 4 |
; The res_stun_monitor module sends STUN requests to a configured STUN server |
| 5 |
; periodically. If the monitor detects a change in the external IP address or port |
| 6 |
; provided by the STUN server an event is sent out internally within Asterisk |
| 7 |
; to alert all listeners to that event of the change. |
| 8 |
|
| 9 |
; The current default listeners for the network change event include chan_iax. |
| 10 |
; Both of these channel drivers by default react to this event by renewing all |
| 11 |
; outbound registrations. This allows the endpoints Asterisk is registering with |
| 12 |
; to become aware of the address change and know the new location. |
| 13 |
; |
| 14 |
[general] |
| 15 |
; |
| 16 |
; ---- STUN Server configuration --- |
| 17 |
; Setting the 'stunaddr' option to a valid address enables the STUN monitor. |
| 18 |
; |
| 19 |
;stunaddr = mystunserver.com ; Address of the STUN server to query. |
| 20 |
; Valid form: |
| 21 |
; [(hostname | IP-address) [':' port]] |
| 22 |
; The port defaults to the standard STUN port (3478). |
| 23 |
; Set to an empty value to disable STUN monitoring. |
| 24 |
; Default is disabled. |
| 25 |
;stunrefresh = 30 ; Number of seconds between STUN refreshes. |
| 26 |
; Default is 30. |