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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jun 26 01:25:34 MST 2006


Author: oej
Date: Mon Jun 26 03:25:33 2006
New Revision: 35988

URL: http://svn.digium.com/view/asterisk?rev=35988&view=rev
Log:
Separate private options so we don't request bug report on those...

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=35988&r1=35987&r2=35988&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun 26 03:25:33 2006
@@ -1614,8 +1614,12 @@
 				break;
 			}
 		}
-		if (!found && option_debug > 2 && sipdebug)
-			ast_log(LOG_DEBUG, "Found no match for SIP option: %s (Please file bug report!)\n", next);
+		if (!found && option_debug > 2 && sipdebug) {
+			if (!strncasecmp(next, "x-", 2))
+				ast_log(LOG_DEBUG, "Found private SIP option, not supported: %s\n", next);
+			else
+				ast_log(LOG_DEBUG, "Found no match for SIP option: %s (Please file bug report!)\n", next);
+		}
 	}
 
 	if (pvt)



More information about the asterisk-commits mailing list