[libss7-commits] mattf: trunk r126 - in /trunk: isup.c isup.h

SVN commits to the libss7 project libss7-commits at lists.digium.com
Fri Oct 19 11:22:29 CDT 2007


Author: mattf
Date: Fri Oct 19 11:22:28 2007
New Revision: 126

URL: http://svn.digium.com/view/libss7?view=rev&rev=126
Log:
Add support for JIP (Juridiction Information Parameter) #11031

Modified:
    trunk/isup.c
    trunk/isup.h

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=126&r1=125&r2=126
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri Oct 19 11:22:28 2007
@@ -981,6 +981,19 @@
 
 	return 3;
 }
+static FUNC_DUMP(jip_dump)
+{
+	char numbuf[64] = "";
+	
+	isup_get_number(numbuf, &parm[0], len , 0);
+	ss7_message(ss7, "\t\t\tJIP: %s\n", numbuf);
+	return len;
+}
+
+static FUNC_RECV(jip_receive)
+{ 
+	return len;
+}
 
 static FUNC_DUMP(hop_counter_dump)
 {
@@ -1311,6 +1324,7 @@
 	{ISUP_PARM_ORIG_LINE_INFO, "Originating line information", originating_line_information_dump, originating_line_information_receive, originating_line_information_transmit},
 	{ISUP_PARM_REDIRECTION_INFO, "Redirection Information", redirection_info_dump, redirection_info_receive, redirection_info_transmit},
 	{ISUP_PARM_ORIGINAL_CALLED_NUM, "Original called number", original_called_num_dump, original_called_num_receive, original_called_num_transmit},
+	{ISUP_PARM_JIP, "Jurisdiction Information Parameter", jip_dump, jip_receive, NULL},
 };
 
 static char * param2str(int parm)

Modified: trunk/isup.h
URL: http://svn.digium.com/view/libss7/trunk/isup.h?view=diff&rev=126&r1=125&r2=126
==============================================================================
--- trunk/isup.h (original)
+++ trunk/isup.h Fri Oct 19 11:22:28 2007
@@ -105,6 +105,7 @@
 #define ISUP_PARM_ORIG_LINE_INFO 0xea
 #define ISUP_PARM_REDIRECTION_INFO 0x13
 #define ISUP_PARM_ORIGINAL_CALLED_NUM 0x28
+#define ISUP_PARM_JIP 0xc4
 
 
 /* ISUP Parameter Pseudo-type */




More information about the libss7-commits mailing list