[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.44,1.510.2.45

russell at lists.digium.com russell at lists.digium.com
Sat Jan 29 01:14:17 CST 2005


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
handle INFO A through D (bug #3445)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.44
retrieving revision 1.510.2.45
diff -u -d -r1.510.2.44 -r1.510.2.45
--- chan_sip.c	29 Jan 2005 07:06:57 -0000	1.510.2.44
+++ chan_sip.c	29 Jan 2005 07:16:08 -0000	1.510.2.45
@@ -6090,6 +6090,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