From 1dc9fa52316a02a4e83b7123bb90898f16d50b72 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Tue, 27 Nov 2007 23:56:45 +0000
Subject: [PATCH] Document that the channel is not locked when the
 send_digit_begin and end callbacks get called.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 include/asterisk/channel.h | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 6b864ecf8e..2e9a79bffc 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -251,10 +251,18 @@ struct ast_channel_tech {
 
 	int (* const devicestate)(void *data);	/*!< Devicestate call back */
 
-	/*! \brief Start sending a literal DTMF digit */
+	/*! 
+	 * \brief Start sending a literal DTMF digit 
+	 *
+	 * \note The channel is not locked when this function gets called. 
+	 */
 	int (* const send_digit_begin)(struct ast_channel *chan, char digit);
 
-	/*! \brief Stop sending a literal DTMF digit */
+	/*! 
+	 * \brief Stop sending a literal DTMF digit 
+	 *
+	 * \note The channel is not locked when this function gets called. 
+	 */
 	int (* const send_digit_end)(struct ast_channel *chan, char digit, unsigned int duration);
 
 	/*! \brief Call a given phone number (address, etc), but don't
-- 
GitLab