diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9ed63027bbb6b6e79afc4bf4693681cf8146fb65..b2afd12eae26b35b07daf043cea2922d72debb0a 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)