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

Jenkins2 asteriskteam at digium.com
Fri Dec 29 13:40:32 CST 2017


Jenkins2 has submitted this change and it was merged. ( 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(-)

Approvals:
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



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: merged
Gerrit-Change-Id: I453bcaf4b99404a5a3e345dbf093ac6c1afcfc72
Gerrit-Change-Number: 7752
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171229/a4dab071/attachment.html>


More information about the asterisk-code-review mailing list