[libss7-commits] mattf: trunk r125 - /trunk/isup.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Mon Oct 15 19:29:40 CDT 2007


Author: mattf
Date: Mon Oct 15 19:29:39 2007
New Revision: 125

URL: http://svn.digium.com/view/libss7?view=rev&rev=125
Log:
Take some mostly unimportant data out

Modified:
    trunk/isup.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=125&r1=124&r2=125
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Mon Oct 15 19:29:39 2007
@@ -457,7 +457,6 @@
 	int oddeven = (parm[0] >> 7) & 0x1;
 	char numbuf[64] = "";
 
-	ss7_message(ss7, "\t\t\tOdd/even: %x\n", (parm[0] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNature of address: %x\n", parm[0] & 0x7f);
 	ss7_message(ss7, "\t\t\tNI: %x\n", (parm[1] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNumbering plan: %x\n", (parm[1] >> 4) & 0x7);
@@ -706,7 +705,6 @@
 	int oddeven = (parm[0] >> 7) & 0x1;
 	char numbuf[64] = "";
 
-	ss7_message(ss7, "\t\t\tOdd/even: %x\n", (parm[0] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNature of address: %x\n", parm[0] & 0x7f);
 	ss7_message(ss7, "\t\t\tNI: %x\n", (parm[1] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNumbering plan: %x\n", (parm[1] >> 4) & 0x7);
@@ -940,8 +938,7 @@
 		default:
 			name = "Unknown to Asterisk ";
 	}
-	ss7_message(ss7, "\t\t\tLine info code: %s\n", name);
-	ss7_message(ss7, "\t\t\tValue: %d\n", parm[0]);
+	ss7_message(ss7, "\t\t\tLine info code: %s (%d)\n", name, parm[0]);
 
 	return 1;
 }
@@ -1018,7 +1015,6 @@
 	int oddeven = (parm[0] >> 7) & 0x1;
 	char numbuf[64] = "";
 
-	ss7_message(ss7, "\t\t\tOdd/even: %x\n", (parm[0] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNature of address: %x\n", parm[0] & 0x7f);
 	ss7_message(ss7, "\t\t\tNumbering plan: %x\n", (parm[1] >> 4) & 0x7);
 
@@ -1258,7 +1254,6 @@
 	int oddeven = (parm[0] >> 7) & 0x1;
 	char numbuf[64] = "";
 
-	ss7_message(ss7, "\t\t\tOdd/even: %x\n", (parm[0] >> 7) & 0x1);
 	ss7_message(ss7, "\t\t\tNature of address: %x\n", parm[0] & 0x7f);
 	ss7_message(ss7, "\t\t\tNumbering plan: %x\n", (parm[1] >> 4) & 0x7);
 	ss7_message(ss7, "\t\t\tPresentation: %x\n", (parm[1] >> 2) & 0x3);




More information about the libss7-commits mailing list