[Asterisk-cvs] asterisk/channels chan_sip.c,1.888,1.889

markster markster
Thu Oct 13 16:48:56 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
Display proper error for matching domain registers (bug #5412)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.888
retrieving revision 1.889
diff -u -d -r1.888 -r1.889
--- chan_sip.c	13 Oct 2005 20:17:21 -0000	1.888
+++ chan_sip.c	13 Oct 2005 20:43:33 -0000	1.889
@@ -6393,6 +6393,8 @@
 		case -3:
 			/* URI not found */
 			transmit_response(p, "404 Not found", &p->initreq);
+			/* Set res back to -2 because we don't want to return an invalid domain message. That check already happened up above. */
+			res = -2;
 			break;
 		}
 		if (option_debug > 1) {




More information about the svn-commits mailing list