Woof!
On Wed, 15 Oct 2008 16:34:07 -0400, <[EMAIL PROTECTED]> wrote:
> Changed the Expires value of the SUBSCRIBE from 1 to 4.
I understand the interests of keeping a patch small, but all throughout
the code are comments like:
// If "1 second subscriptions" is set (needed for some versions
// of Snom phones), use a 1-second subscription. Otherwise, use
// a 0-second subscription, so we get just one NOTIFY.
subscribe.setExpiresField(mOneSecondSubscription ? 4 : 0);
I'd like at least to see the comments change from "1 second" to "4
seconds", and it would be even nicer if the method variable would change
as well as "mOneSecondSubscription" is no longer a good descriptive name
for what is going on. In addition, it mentions this is a workaround for
Snom phones, and now this is an additional workaround for Polycom phones
that should be documented here.
Super bonus points for changing the config from:
#define CONFIG_SETTING_1_SEC \
"PICKUP_1_SEC_SUBSCRIBE"
to something more descriptive of what it now does, although I understand
the issues with changing that touches way more than it should!
--Woof!
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev