[asterisk-commits] trunk r14110 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Mar 22 01:00:35 MST 2006


Author: oej
Date: Wed Mar 22 02:00:32 2006
New Revision: 14110

URL: http://svn.digium.com/view/asterisk?rev=14110&view=rev
Log:
Issue #6759, generate warning when refusing connection requiring unsupported SIP extensions

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=14110&r1=14109&r2=14110&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Mar 22 02:00:32 2006
@@ -10418,6 +10418,7 @@
 		if (required_profile) { 	/* They require something */
 			/* At this point we support no extensions, so fail */
 			transmit_response_with_unsupported(p, "420 Bad extension", req, required);
+			ast_log(LOG_WARNING,"Received SIP INVITE with unsupported required extension: %s\n", required);
 			if (!p->lastinvite)
 				ast_set_flag(p, SIP_NEEDDESTROY);	
 			return -1;



More information about the asterisk-commits mailing list