[libpri-commits] rmudgett: branch rmudgett/mcid r1561 - /team/rmudgett/mcid/pri_facility.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Thu Mar 18 17:42:40 CDT 2010


Author: rmudgett
Date: Thu Mar 18 17:42:36 2010
New Revision: 1561

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1561
Log:
Send the MCIDRequest using the right message type.

Modified:
    team/rmudgett/mcid/pri_facility.c

Modified: team/rmudgett/mcid/pri_facility.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/mcid/pri_facility.c?view=diff&rev=1561&r1=1560&r2=1561
==============================================================================
--- team/rmudgett/mcid/pri_facility.c (original)
+++ team/rmudgett/mcid/pri_facility.c Thu Mar 18 17:42:36 2010
@@ -3608,7 +3608,7 @@
 static unsigned char *enc_etsi_mcid_req(struct pri *ctrl, unsigned char *pos,
 	unsigned char *end, q931_call *call)
 {
-	struct rose_msg_result msg;
+	struct rose_msg_invoke msg;
 
 	pos = facility_encode_header(ctrl, pos, end, NULL);
 	if (!pos) {
@@ -3619,7 +3619,7 @@
 	msg.invoke_id = get_invokeid(ctrl);
 	msg.operation = ROSE_ETSI_MCIDRequest;
 
-	pos = rose_encode_result(ctrl, pos, end, &msg);
+	pos = rose_encode_invoke(ctrl, pos, end, &msg);
 
 	return pos;
 }




More information about the libpri-commits mailing list