summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2014-10-01 12:27:05 +0000
committerKinsey Moore <kmoore@digium.com>2014-10-01 12:27:05 +0000
commite3da76a352e90aacd52baf61d6450544debdf4cd (patch)
tree810ee813b0a4b785c28eea91ffbd9b07663f667d /configs
parentac095304e6ad65b38c1e15e49ffe2ed09f15ce17 (diff)
PJSIP: Handle defaults properly
This updates the code behind PJSIP configuration options with custom handlers to deal with the assigned default values properly where it makes sense and adjusting the default value where it doesn't. Before applying this patch, there were several cases where the default value for an option would prevent that config section from loading properly. Reported by: Thomas Thompson Review: https://reviewboard.asterisk.org/r/4019/ ........ Merged revisions 424263 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/pjsip.conf.sample10
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index 0377b71d4..7edff2d39 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -490,7 +490,7 @@
;aors= ; AoR s to be used with the endpoint (default: "")
;auth= ; Authentication Object s associated with the endpoint (default: "")
;callerid= ; CallerID information for the endpoint (default: "")
-;callerid_privacy= ; Default privacy level (default: "")
+;callerid_privacy=allowed ; Default privacy level (default: "allowed")
;callerid_tag= ; Internal id_tag for the endpoint (default: "")
;context=default ; Dialplan context for inbound sessions (default:
; "default")
@@ -596,10 +596,10 @@
; this endpoint (default: "")
;from_domain= ; Domain to user in From header for requests to this endpoint
; (default: "")
-;dtls_verify= ; Verify that the provided peer certificate is valid (default:
- ; "")
-;dtls_rekey= ; Interval at which to renegotiate the TLS session and rekey
- ; the SRTP session (default: "")
+;dtls_verify=no ; Verify that the provided peer certificate is valid (default:
+ ; "no")
+;dtls_rekey=0 ; Interval at which to renegotiate the TLS session and rekey
+ ; the SRTP session (default: "0")
;dtls_cert_file= ; Path to certificate file to present to peer (default:
; "")
;dtls_private_key= ; Path to private key for certificate file (default: