[svn-commits] mattf: trunk r169 - /trunk/isup.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 16 11:40:08 CDT 2008


Author: mattf
Date: Fri May 16 11:40:08 2008
New Revision: 169

URL: http://svn.digium.com/view/libss7?view=rev&rev=169
Log:
Add dump for optional backward call indicator

Modified:
    trunk/isup.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=169&r1=168&r2=169
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri May 16 11:40:08 2008
@@ -651,6 +651,16 @@
 
 static FUNC_DUMP(opt_backward_call_ind_dump)
 {
+	unsigned char a, b, c, d;
+	a = parm[0] & 1;
+	b = (parm[0] >> 1) & 1;
+	c = (parm[0] >> 2) & 1;
+	d = (parm[0] >> 3) & 1;
+
+	ss7_message("\t\t\tIn-band information indicator: %d\n", a);
+	ss7_message("\t\t\tCall diversion may occur indicator: %d\n", b);
+	ss7_message("\t\t\tSimple segmentation indicator: %d\n", c);
+	ss7_message("\t\t\tMLPP user indicator: %d\n", d);
 	return 1;
 }
 




More information about the svn-commits mailing list