aboutsummaryrefslogtreecommitdiffstats
path: root/configs/phoneprov.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'configs/phoneprov.conf.sample')
-rw-r--r--configs/phoneprov.conf.sample15
1 files changed, 10 insertions, 5 deletions
diff --git a/configs/phoneprov.conf.sample b/configs/phoneprov.conf.sample
index 3b82490c1..8f55fa88b 100644
--- a/configs/phoneprov.conf.sample
+++ b/configs/phoneprov.conf.sample
@@ -1,9 +1,14 @@
[general]
-;serveraddr=192.168.1.1 ; Address to send to the phone to use as server address.
-serveriface=eth0 ; Same as above, except an ethernet interface.
- ; Useful for when the interface uses DHCP.
- ; There is no default for either of the above, and only one should be set.
-serverport=5060 ; Port to send to the phone to use as server port. Default is 5060.
+; The default behavior of res_phoneprov will be to set the SERVER template variable to
+; the IP address that the phone uses to contact the provisioning server and the
+; SERVER_PORT variable to the bindport setting in sip.conf. Unless you have a very
+; unusual setup, you should not need to set serveraddr, serveriface, or serverport.
+
+;serveraddr=192.168.1.1 ; Override address to send to the phone to use as server address.
+;serveriface=eth0 ; Same as above, except an ethernet interface.
+ ; Useful for when the interface uses DHCP and the asterisk http
+ ; server listens on a different IP than chan_sip.
+;serverport=5060 ; Override port to send to the phone to use as server port.
default_profile=polycom ; The default profile to use if none specified in users.conf
; You can define profiles for different phones specifying what files to register