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) {

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to