[PATCH] Set PID for CIMD2

"Arne K. Haaje" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Eurobate ASA
Message-ID <[email protected]>
Attached is a small patch the lets CIMD2 set the PID if requested.

Please vote and include it if OK.
-- 
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer
--------------------------------------------------------------------
    Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
                    http://www.eurobate.no/
smsc_cimd2.diff (text/x-diff, 495 B)
--- smsc_cimd2.c	2004-03-28 11:22:18.000000000 +0200
+++ /home/arne/src/c/kannel-snapshot/gw/smsc/smsc_cimd2.c	2004-06-10 13:49:22.000000000 +0200
@@ -1442,6 +1442,10 @@
 	/* Use binfo to set the tariff class */
 	if (octstr_len(msg->sms.binfo))
 		packet_add_parm(packet, P_INT, P_TARIFF_CLASS, msg->sms.binfo, conn);
+		
+	/* Set the protocol identifier if requested */
+	if (msg->sms.pid > 0)
+		packet_add_int_parm(packet, P_PROTOCOL_IDENTIFIER, msg->sms.pid, conn);
 
     truncated = 0;
userguide.xml.diff (text/x-diff, 340 B)
--- userguide.xml	2004-06-09 12:06:33.000000000 +0200
+++ /home/arne/src/c/kannel-snapshot/doc/userguide/userguide.xml	2004-06-10 14:27:29.000000000 +0200
@@ -3965,7 +3965,7 @@
    <row>
     <entry></entry>
     <entry>n</entry>
-    <entry>n</entry>
+    <entry>y</entry>
     <entry>y</entry>
     <entry>n</entry>
     <entry>y</entry>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.