[svn-commits] rmudgett: branch rmudgett/mcid r1533 - /team/rmudgett/mcid/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 17 10:41:51 CDT 2010


Author: rmudgett
Date: Wed Mar 17 10:41:47 2010
New Revision: 1533

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1533
Log:
Create MCID message encode/decode and add rosetest test cases.

Modified:
    team/rmudgett/mcid/rose.c
    team/rmudgett/mcid/rose.h
    team/rmudgett/mcid/rosetest.c

Modified: team/rmudgett/mcid/rose.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/mcid/rose.c?view=diff&rev=1533&r1=1532&r2=1533
==============================================================================
--- team/rmudgett/mcid/rose.c (original)
+++ team/rmudgett/mcid/rose.c Wed Mar 17 10:41:47 2010
@@ -531,6 +531,16 @@
 			rose_enc_etsi_CCNR_T_Request_ARG,		rose_enc_etsi_CCNR_T_Request_RES,
 			rose_dec_etsi_CCNR_T_Request_ARG,		rose_dec_etsi_CCNR_T_Request_RES
 	},
+
+	/*
+	 * localValue's from MCID-Operations
+	 * {ccitt identified-organization etsi(0) 130 operations-and-errors(1)}
+	 */
+	{
+		ROSE_ETSI_MCIDRequest,						NULL, 3,
+			NULL,									NULL,
+			NULL,									NULL
+	},
 /* *INDENT-ON* */
 };
 
@@ -1390,6 +1400,8 @@
 		{ ROSE_ETSI_CCBS_T_Request,                 "ROSE_ETSI_CCBS_T_Request" },
 
 		{ ROSE_ETSI_CCNR_T_Request,                 "ROSE_ETSI_CCNR_T_Request" },
+
+		{ ROSE_ETSI_MCIDRequest,                    "ROSE_ETSI_MCIDRequest" },
 
 		{ ROSE_QSIG_CallingName,                    "ROSE_QSIG_CallingName" },
 		{ ROSE_QSIG_CalledName,                     "ROSE_QSIG_CalledName" },

Modified: team/rmudgett/mcid/rose.h
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/mcid/rose.h?view=diff&rev=1533&r1=1532&r2=1533
==============================================================================
--- team/rmudgett/mcid/rose.h (original)
+++ team/rmudgett/mcid/rose.h Wed Mar 17 10:41:47 2010
@@ -133,6 +133,9 @@
 
 	/* ETSI CCNR-private-networks-Operations-and-Errors */
 	ROSE_ETSI_CCNR_T_Request,               /*!< Invoke/Result */
+
+	/* ETSI MCID-Operations */
+	ROSE_ETSI_MCIDRequest,                  /*!< Invoke/Result */
 
 	/* Q.SIG Name-Operations */
 	ROSE_QSIG_CallingName,                  /*!< Invoke only */

Modified: team/rmudgett/mcid/rosetest.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/mcid/rosetest.c?view=diff&rev=1533&r1=1532&r2=1533
==============================================================================
--- team/rmudgett/mcid/rosetest.c (original)
+++ team/rmudgett/mcid/rosetest.c Wed Mar 17 10:41:47 2010
@@ -1388,6 +1388,13 @@
 		.component.result.operation = ROSE_ETSI_CCNR_T_Request,
 		.component.result.invoke_id = 53,
 		.component.result.args.etsi.CCNR_T_Request.retention_supported = 1,
+	},
+
+	/* MCID */
+	{
+		.type = ROSE_COMP_TYPE_INVOKE,
+		.component.invoke.operation = ROSE_ETSI_MCIDRequest,
+		.component.invoke.invoke_id = 54,
 	},
 /* *INDENT-ON* */
 };




More information about the svn-commits mailing list