[Home]

Summary:ASTERISK-20706: reduce CLI spamming of "Extension Changed" device state messages
Reporter:Alec Davis (alecdavis)Labels:
Date Opened:2012-11-20 02:08:15.000-0600Date Closed:2012-11-20 11:59:23.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:
Versions:11.0.1 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-25002 [patch] - Demote "Extension Changed" messages in Asterisk CLI
Environment:Attachments:( 0) ast20706.diff.txt
Description:We have 503 sip subscriptions with expiry set to 300 seconds.

Asterisk 11 follows RFC3265 that states that after every subscribe or resubscribe a notify should be sent.

In Asterisk 1.8 only changes would be sent. Thus only when a device state changed was anything emitted to the console.

Comments:By: Alec Davis (alecdavis) 2012-11-20 02:12:08.295-0600

added ast20706.diff.txt

Only print to console when device state isn't forced.

'Forced' happens on every subscribe or resubscribe

By: Alec Davis (alecdavis) 2012-11-20 03:00:41.684-0600

Introduced with http://svnview.digium.com/svn/asterisk?view=revision&revision=370979

By: Matt Jordan (mjordan) 2012-11-20 06:44:42.227-0600

Sounds good to me.  Do you want to commit it?

By: Alec Davis (alecdavis) 2012-11-20 11:16:25.331-0600

One more thought, do we need the message any more?