Asterisk MWI light - Turning off

I understand that Asterisk Monitors voicemail boxes and sends a SIP NOTIFY messages when a new voicemail arrives.

How does asterisk know when to turn the MWI light off? Is this part of voicemailmain() ?

I am having a problem with an mwi light just turning off after ~20 min.

Thanks,

Ding

bump