From 62c64c3bd1938280cf671afd6708d6026c0b8e49 Mon Sep 17 00:00:00 2001
From: Rusty Newton <rnewton@digium.com>
Date: Mon, 20 Jul 2015 12:39:48 -0500
Subject: [PATCH] Documentation: A couple of trivial fixes in sip.conf.sample
 and func_cdr.c

 * In sip.conf.sample fix sentence where we said that WS or WSS are supported
   transports for use in an outbound register definition. They are not
   supported in that case.
 * In func_cdr.c made it clear that the Disable option for CDR_PROP can be used
   to enable CDR on a channel.

ASTERISK-24867 #close
Reported by: Rusty Newton

ASTERISK-24853 #close
Reported by: PSDK

Change-Id: I3d698bc6302b9d00a0a995b5c4ad9a42d69b48ca
---
 configs/samples/sip.conf.sample | 2 +-
 funcs/func_cdr.c                | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/samples/sip.conf.sample b/configs/samples/sip.conf.sample
index a34b5fa3e0..44d2d4352f 100644
--- a/configs/samples/sip.conf.sample
+++ b/configs/samples/sip.conf.sample
@@ -802,7 +802,7 @@ srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
 ;
 ;register => tls://username:xxxxxx@sip-tls-proxy.example.org
 ;
-;    The 'transport' part defaults to 'udp' but may also be 'tcp', 'tls', 'ws', or 'wss'.
+;    The 'transport' part defaults to 'udp' but may also be 'tcp' or 'tls'.
 ;    Using 'udp://' explicitly is also useful in case the username part
 ;    contains a '/' ('user/name').
 
diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index ca54b1e429..95d047eb24 100644
--- a/funcs/func_cdr.c
+++ b/funcs/func_cdr.c
@@ -180,7 +180,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 						<para>Write-Only</para>
 					</enum>
 					<enum name="disable">
-						<para>Disable CDRs for this channel.</para>
+						<para>Setting to 1 will disable CDRs for this channel.
+						Setting to 0 will enable CDRs for this channel.</para>
 						<para>Write-Only</para>
 					</enum>
 				</enumlist>
-- 
GitLab