[Home]

Summary:ASTERISK-21959: SPAMMY = NOTICE[24695]: chan_sip.c:27899 handle_request_subscribe: Received SIP subscribe for peer without mailbox:
Reporter:David Brillert (aragon)Labels:
Date Opened:2013-06-25 22:50:22Date Closed:2013-06-28 06:51:40
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:11.4.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:This notice is really spammy and really annoying and it eats drive space for no good reason in /var/log/asterisk/messages

NOTICE[24695]: chan_sip.c:27899 handle_request_subscribe: Received SIP subscribe for peer without mailbox:

Can it be downgraded to a warning or something so it stops spamming the CLI and writing to /var/log/asterisk/messages ?
Comments:By: David Woolley (davidw) 2013-06-28 05:11:15.910-0500

This appears to be a feature request without a patch, and therefore liable to be closed.  In any case, the symptom generally results from misconfigured phones.

By: Matt Jordan (mjordan) 2013-06-28 06:51:32.738-0500

Changing it to a WARNING would be an upgrade, not a downgrade. Here are the other options:

* ERROR - not appropriate, since the system isn't likely to explode anytime soon
* WARNING - not really appropriate either. The fact that the phone isn't subscribing isn't harmful to Asterisk, and a major piece of functionality in Asterisk (MWI) will still work with this phone not configured correctly. Also, still spammy for the default log filters.
* VERBOSE - not really appropriate. Verbose is typically used to show execution.
* DEBUG - not appropriate, since these are messages typically reserved for debugging.

So, NOTICE it is. There are two options here:
# Fix the phone
# Change your logging filters so that NOTICE messages aren't sent to /var/log/asterisk/messages