[Asterisk-cvs] asterisk/channels chan_sip.c,1.640,1.641

markster at lists.digium.com markster at lists.digium.com
Thu Jan 27 21:47:09 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14324/channels

Modified Files:
	chan_sip.c 
Log Message:
Handle oddly sent 'A' to 'D' (bug #3445)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.640
retrieving revision 1.641
diff -u -d -r1.640 -r1.641
--- chan_sip.c	27 Jan 2005 04:46:31 -0000	1.640
+++ chan_sip.c	28 Jan 2005 03:49:08 -0000	1.641
@@ -6413,6 +6413,8 @@
 					event = 10;
 				else if (buf[0] == '#')
 					event = 11;
+				else if ((buf[0] >= 'A') && (buf[0] <= 'D'))
+					event = 12 + buf[0] - 'A';
 				else
 					event = atoi(buf);
 				if (event < 10) {




More information about the svn-commits mailing list