[svn-commits] rmudgett: branch rmudgett/misdn_facility r182797 - in /team/rmudgett/misdn_fa...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 17 17:45:17 CDT 2009


Author: rmudgett
Date: Tue Mar 17 17:45:14 2009
New Revision: 182797

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=182797
Log:
Merged revisions 182796 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/team/group/issue8824

................
  r182796 | rmudgett | 2009-03-17 17:36:55 -0500 (Tue, 17 Mar 2009) | 11 lines
  
  Merged revisions 182762 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/trunk
  
  ........
    r182762 | russell | 2009-03-17 16:28:04 -0500 (Tue, 17 Mar 2009) | 4 lines
    
    Add support for the "name" option in the CHANNEL() function.
    
    Review: http://reviewboard.digium.com/r/199/
  ........
................

Modified:
    team/rmudgett/misdn_facility/   (props changed)
    team/rmudgett/misdn_facility/CHANGES
    team/rmudgett/misdn_facility/funcs/func_channel.c

Propchange: team/rmudgett/misdn_facility/
------------------------------------------------------------------------------
    automerge = *

Propchange: team/rmudgett/misdn_facility/
------------------------------------------------------------------------------
--- misdn-facility (original)
+++ misdn-facility Tue Mar 17 17:45:14 2009
@@ -1,1 +1,1 @@
-/team/group/issue8824:1-182789
+/team/group/issue8824:1-182796

Propchange: team/rmudgett/misdn_facility/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Mar 17 17:45:14 2009
@@ -1,1 +1,1 @@
-/trunk:1-182740
+/trunk:1-182795

Modified: team/rmudgett/misdn_facility/CHANGES
URL: http://svn.digium.com/svn-view/asterisk/team/rmudgett/misdn_facility/CHANGES?view=diff&rev=182797&r1=182796&r2=182797
==============================================================================
--- team/rmudgett/misdn_facility/CHANGES (original)
+++ team/rmudgett/misdn_facility/CHANGES Tue Mar 17 17:45:14 2009
@@ -12,11 +12,15 @@
 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.6.3  -------------
 ------------------------------------------------------------------------------
 
-*Applications
+Applications
 ------------
  * Added progress option to the app_dial D() option.  When progress DTMF is
    present, those values are sent immediatly upon receiving a PROGRESS message
    regardless if the call has been answered or not.
+
+Functions
+---------
+ * The CHANNEL() function now supports the "name" option.
 
 ------------------------------------------------------------------------------
 --- Functionality changes for COLP feature -----------------------------------

Modified: team/rmudgett/misdn_facility/funcs/func_channel.c
URL: http://svn.digium.com/svn-view/asterisk/team/rmudgett/misdn_facility/funcs/func_channel.c?view=diff&rev=182797&r1=182796&r2=182797
==============================================================================
--- team/rmudgett/misdn_facility/funcs/func_channel.c (original)
+++ team/rmudgett/misdn_facility/funcs/func_channel.c Tue Mar 17 17:45:14 2009
@@ -82,6 +82,9 @@
 					</enum>
 					<enum name="musicclass">
 						<para>R/W class (from musiconhold.conf) for hold music.</para>
+					</enum>
+					<enum name="name">
+						<para>The name of the channel</para>
 					</enum>
 					<enum name="parkinglot">
 						<para>R/W parkinglot for parking.</para>
@@ -249,7 +252,9 @@
 		locked_copy_string(chan, buf, chan->language, len);
 	else if (!strcasecmp(data, "musicclass"))
 		locked_copy_string(chan, buf, chan->musicclass, len);
-	else if (!strcasecmp(data, "parkinglot"))
+	else if (!strcasecmp(data, "name")) {
+		locked_copy_string(chan, buf, chan->name, len);
+	} else if (!strcasecmp(data, "parkinglot"))
 		locked_copy_string(chan, buf, chan->parkinglot, len);
 	else if (!strcasecmp(data, "state"))
 		locked_copy_string(chan, buf, ast_state2str(chan->_state), len);




More information about the svn-commits mailing list