[asterisk-scf-commits] asterisk-scf/release/slice.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jun 7 17:41:53 CDT 2011


branch "master" has been updated
       via  00b74e2a2f13a5cb8f5308badf97cc3d37bd0365 (commit)
      from  2563dc534c1c1dd977606e06baf9334b4317bd73 (commit)

Summary of changes:
 .../ISDNPartyIdentificationIf.ice                  |  108 +++++++++++
 .../PartyIdentificationIf.ice                      |  186 ++++++++++++++++++++
 2 files changed, 294 insertions(+), 0 deletions(-)
 create mode 100644 AsteriskSCF/SessionCommunications/ISDNPartyIdentificationIf.ice
 create mode 100644 AsteriskSCF/SessionCommunications/PartyIdentificationIf.ice


- Log -----------------------------------------------------------------
commit 00b74e2a2f13a5cb8f5308badf97cc3d37bd0365
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Jun 7 19:44:18 2011 -0300

    Add slice files for party identification.

diff --git a/AsteriskSCF/SessionCommunications/ISDNPartyIdentificationIf.ice b/AsteriskSCF/SessionCommunications/ISDNPartyIdentificationIf.ice
new file mode 100644
index 0000000..82fb0fe
--- /dev/null
+++ b/AsteriskSCF/SessionCommunications/ISDNPartyIdentificationIf.ice
@@ -0,0 +1,108 @@
+/*
+ * Asterisk SCF -- An open-source communications framework.
+ *
+ * Copyright (C) 2011, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk SCF project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE.txt file
+ * at the top of the source tree.
+ */
+
+#pragma once
+
+#include <AsteriskSCF/SessionCommunications/PartyIdentificationIf.ice>
+
+module AsteriskSCF
+{
+
+module SessionCommunications
+{
+
+module PartyIdentification
+{
+
+["suppress"]
+module V1
+{
+    /**
+     * ISDN derived class for name part of party identification
+     */
+    unsliceable class IsdnName extends Name
+    {
+	/**
+	 * Q.931 Presentation-indicator
+	 */
+	int presentation;
+
+	/**
+	 * Q.931 Screening-indicator
+	 */
+	int screening;
+    };
+
+    /**
+     * ISDN derived class for number part of party identification
+     */
+    unsliceable class IsdnNumber extends Number
+    {
+	/**
+	 * Q.931 Presentation-indicator
+	 */
+	int presentation;
+
+	/**
+	 * Q.931 Screening-indicator
+	 */
+	int screening;
+
+	/**
+	 * Q.931 Type-of-number
+	 */
+	int type_of_number;
+
+	/**
+	 * Q.931 Numbering-plan
+	 */
+	int numbering_plan;
+    };
+
+    /**
+     * ISDN derived class for combined identity
+     */
+    unsliceable class IsdnId extends Id
+    {
+	/**
+	 * Subaddress, if present
+	 */
+	Number subaddress;
+    };
+
+    /**
+     * ISDN derived class for calling party information
+     */
+    unsliceable class IsdnCaller extends Caller
+    {
+	/**
+	 * ANI identity information
+	 */
+	Id ani;
+
+	/**
+	 * ANI2 value
+	 */
+	int ani2;
+    };
+
+}; /* End of module V1 */
+
+}; /* End of module PartyIdentification */
+
+}; /* End of module SessionCommunications */
+
+}; /* End of module AsteriskSCF */
diff --git a/AsteriskSCF/SessionCommunications/PartyIdentificationIf.ice b/AsteriskSCF/SessionCommunications/PartyIdentificationIf.ice
new file mode 100644
index 0000000..7046ec2
--- /dev/null
+++ b/AsteriskSCF/SessionCommunications/PartyIdentificationIf.ice
@@ -0,0 +1,186 @@
+/*
+ * Asterisk SCF -- An open-source communications framework.
+ *
+ * Copyright (C) 2011, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk SCF project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE.txt file
+ * at the top of the source tree.
+ */
+
+#pragma once
+
+module AsteriskSCF
+{
+
+module SessionCommunications
+{
+
+module PartyIdentification
+{
+
+["suppress"]
+module V1
+{
+    /**
+     * String representation of the version of this interface
+     */
+    const string Version = "V1";
+
+    /**
+     * Base class for name part of party identification
+     */
+    unsliceable class Name
+    {
+	/**
+	 * String representation of the name
+	 */
+	string partyName;
+    };
+
+    /**
+     * Base class for number part of party identification
+     */
+    unsliceable class Number
+    {
+	/**
+	 * String representation of the number
+	 */
+	string partyNumber;
+    };
+
+    /**
+     * Base class for combined identity of name and number
+     */
+    unsliceable class Id
+    {
+	/**
+	 * Name of the party
+	 */
+	Name partyName;
+
+	/**
+	 * Number of the party
+	 */
+	Number partyNumber;
+    };
+
+    /**
+     * A sequence of identities
+     */
+    sequence<Id> IdSeq;
+
+    /**
+     * Base class for dialed party information
+     */
+    unsliceable class Dialed
+    {
+	/**
+	 * Number that was dialed
+	 */
+	Number partyNumber;
+    };
+
+    /**
+     * Base class for calling party information
+     */
+    unsliceable class Caller
+    {
+	/**
+	 * Identities of the caller
+	 */
+	IdSeq ids;
+    };
+
+    /**
+     * Derived class for connected line information, currently exactly like Caller
+     */
+    unsliceable class ConnectedLine extends Caller
+    {
+    };
+
+    /**
+     * Base class for redirecting information
+     */
+    unsliceable class Redirecting
+    {
+	/**
+	 * Party identification information for who the session is being redirected away from
+	 */
+	Id from;
+
+	/**
+	 * Party identification information for who the session is being redirected to
+	 */
+	Id to;
+
+	/**
+	 * Number of times the session has been redirected
+	 */
+	int count;
+    };
+
+    /**
+     * Interface for party identification retrieval and setting
+     */
+    interface IdentificationManager
+    {
+	/**
+	 * Method which retrieves caller party identification information
+	 *
+	 * @return Concrete class containing caller party information
+	 *
+	 * @see Caller
+	 */
+	idempotent Caller getCaller();
+
+	/**
+	 * Method which retrieves dialed party identification information
+	 *
+	 * @return Concrete class containing dialed party information
+	 *
+	 * @see Dialed
+	 */
+	idempotent Dialed getDialed();
+
+	/**
+	 * Method which retrieves redirecting party identification information
+	 *
+	 * @return Concrete class containing redirecting party information
+	 *
+	 * @see Redirecting
+	 */
+	idempotent Redirecting getRedirecting();
+
+	/**
+	 * Method which updates connected line party information
+	 *
+	 * @param party Connected line party information
+	 *
+	 * @see ConnectedLine
+	 */
+	void updateConnectedLine(ConnectedLine party);
+
+	/**
+	 * Method which updates redirecting party information
+	 *
+	 * @param party Redirecting party information
+	 *
+	 * @see Redirecting
+	 */
+	void updateRedirecting(Redirecting party);
+    };
+
+}; /* End of module V1 */
+
+}; /* End of module PartyIdentification */
+
+}; /* End of module SessionCommunications */
+
+}; /* End of module AsteriskSCF */

-----------------------------------------------------------------------


-- 
asterisk-scf/release/slice.git



More information about the asterisk-scf-commits mailing list