From: Olle Johansson Date: Mon, 26 Jun 2006 08:25:33 +0000 (+0000) Subject: Separate private options so we don't request bug report on those... X-Git-Tag: 1.4.0-beta1~768 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9863bb982c25dcc60561432c15bc676b7961ba6b;p=thirdparty%2Fasterisk.git Separate private options so we don't request bug report on those... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35988 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9ed63027bb..b2afd12eae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1614,8 +1614,12 @@ static unsigned int parse_sip_options(struct sip_pvt *pvt, const char *supported 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)