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

Richard Mudgett asteriskteam at digium.com
Wed Dec 27 21:15:17 CST 2017


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


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/52/7752/1

diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index b72cb14..e290fa0 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -67,8 +67,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/7752
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I453bcaf4b99404a5a3e345dbf093ac6c1afcfc72
Gerrit-Change-Number: 7752
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/a8786b01/attachment.html>


More information about the asterisk-code-review mailing list