[asterisk-commits] oej: branch 1.2 r58052 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 6 13:33:22 MST 2007


Author: oej
Date: Tue Mar  6 14:33:21 2007
New Revision: 58052

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58052
Log:
Change error message to proper message

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=58052&r1=58051&r2=58052
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Mar  6 14:33:21 2007
@@ -11341,7 +11341,7 @@
 	}
 
 	if (!e && (p->method == SIP_INVITE || p->method == SIP_SUBSCRIBE || p->method == SIP_REGISTER)) {
-		transmit_response(p, "503 Server error", req);
+		transmit_response(p, "400 Bad request", req);
 		ast_set_flag(p, SIP_NEEDDESTROY);
 		return -1;
 	}



More information about the asterisk-commits mailing list