[Asterisk-code-review] func channel.c: Update MASTER CHANNEL documentation (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Wed Dec 27 21:14:49 CST 2017


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/7750


Change subject: func_channel.c: Update MASTER_CHANNEL documentation
......................................................................

func_channel.c: Update MASTER_CHANNEL documentation

Be more explicit in what is meant by the master channel to eliminate
misunderstanding.

ASTERISK-23133

Change-Id: I453bcaf4b99404a5a3e345dbf093ac6c1afcfc72
---
M funcs/func_channel.c
1 file changed, 5 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/50/7750/1

diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 3005d31..793ea3f 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -69,8 +69,11 @@
 			Gets or sets variables on the master channel
 		</synopsis>
 		<description>
-			<para>Allows access to the channel which created the current channel, if any.  If the channel is already
-			a master channel, then accesses local channel variables.</para>
+			<para>Allows access to the oldest channel associated with the current
+			channel if it still exists.  If the channel is the master channel or
+			the master channel no longer exists then access local channel variables
+			instead.  In other words, the master channel is the channel identified by
+			the channel's linkedid.</para>
 		</description>
 	</function>
 	<function name="CHANNEL" language="en_US">

-- 
To view, visit https://gerrit.asterisk.org/7750
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I453bcaf4b99404a5a3e345dbf093ac6c1afcfc72
Gerrit-Change-Number: 7750
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171227/a5f360bb/attachment.html>


More information about the asterisk-code-review mailing list