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

libss7-commits at lists.digium.com libss7-commits at lists.digium.com
Sat Sep 9 12:47:06 MST 2006


Author: mattf
Date: Sat Sep  9 14:47:05 2006
New Revision: 45

URL: http://svn.digium.com/view/libss7?rev=3D45&view=3Drev
Log:
Lets make sure we use the right character for ST

Modified:
    trunk/isup.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?rev=3D45&r1=3D44&r2=3D4=
5&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/isup.c (original)
+++ trunk/isup.c Sat Sep  9 14:47:05 2006
@@ -166,7 +166,7 @@
 			return 8;
 		case '9':
 			return 9;
-		case '*':
+		case '#':
 			return '\0';
 		default:
 			return 0;
@@ -197,7 +197,7 @@
 		case 9:
 			return '9';
 		case 15:
-			return '*';
+			return '#';
 		default:
 			return 0;
 	}
@@ -684,7 +684,7 @@
 {
 	c->cic =3D cic;
 	if (calledpartynum && calledpartynum[0])
-		snprintf(c->called_party_num, sizeof(c->called_party_num), "%s*", called=
partynum);
+		snprintf(c->called_party_num, sizeof(c->called_party_num), "%s#", called=
partynum);
 =

 	if (callingpartynum && callingpartynum[0])
 		strncpy(c->calling_party_num, callingpartynum, sizeof(c->calling_party_n=
um));



More information about the libss7-commits mailing list