[svn-commits] mmichelson: branch group/CCSS r221590 - in /team/group/CCSS: apps/ include/as...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 1 10:48:02 CDT 2009


Author: mmichelson
Date: Thu Oct  1 10:47:58 2009
New Revision: 221590

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=221590
Log:
Baby steps. Moving to have a dialable name
stored on a tree item so that when recall time comes,
we can dial the appropriately-named interface. See
the comment in ccss.h for a bit clearer explanation.


Modified:
    team/group/CCSS/apps/app_dial.c
    team/group/CCSS/include/asterisk/ccss.h

Modified: team/group/CCSS/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/apps/app_dial.c?view=diff&rev=221590&r1=221589&r2=221590
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Thu Oct  1 10:47:58 2009
@@ -1610,6 +1610,13 @@
 	 */
 	char nested_dial;
 	/*!
+	 * When nested dials occur (i.e. dialing local channels), the invocation
+	 * of the Local channel may have modifiers like /n or /b on the channel name.
+	 * This needs to be preserved as the dialable name on an extension tree item
+	 * which may be created for the local channel.
+	 */
+	char *current_extension_dialable_name;
+	/*!
 	 * Reference-counted "tree" of interfaces.
 	 */
 	struct ast_cc_interface_tree *interface_tree;

Modified: team/group/CCSS/include/asterisk/ccss.h
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/include/asterisk/ccss.h?view=diff&rev=221590&r1=221589&r2=221590
==============================================================================
--- team/group/CCSS/include/asterisk/ccss.h (original)
+++ team/group/CCSS/include/asterisk/ccss.h Thu Oct  1 10:47:58 2009
@@ -439,6 +439,16 @@
 	 * representing dialplan extensions. 
 	 */
 	enum ast_cc_service_type service_offered;
+	/*!
+	 * Name that should be used to recall specified interface
+	 *
+	 * When issuing a CC recall, some technologies will require
+	 * that a name other than the device name is dialed. For instance,
+	 * with SIP, a specific URI will be used which chan_sip will be able
+	 * to recognize as being a CC recall. Similarly, ISDN will need a specific
+	 * dial string to know that the call is a recall.
+	 */
+	char *dialable_name;
 	AST_LIST_ENTRY(ast_cc_tree_item) next;
 };
 




More information about the svn-commits mailing list