ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

asterisk: Unsolicited MWI NOTIFY is broken

Open cruzccl opened this issue 7 years ago • 1 comments

Once a user-terminal-extension relationship is made, module res_pjsip_mwi.so needs to be reloaded in order to make unsolicited MWI NOTIFY work.

Besides, once unsolicited MWI is working, changing a user extension breaks again until res_pjsip_mwi.so is reloaded.

Asterisk reloads res_pjsip_mwi.so when a contact is modified, but this never happens in IvozProvider as registers are kept in KamUsers.

This means that unsolicited MWI are broken for new relationships and extension changes until res_pjsip_mwi.so is (manually) reloaded or Asterisk is restarted.

cruzccl avatar Jan 18 '18 15:01 cruzccl

After analyzing the Asterisk code related to unsolicited MWI, it seems that the module needs to be rewriten to work in IvozProvider, as Asterisk is not a registrar server and the trigger to update endpoint-voicemail relationship is never triggered.

In the future unsolicited MWI will be disabled and #14 will be implemented.

Until that point, res_pjsip_mwi.so module must be reloaded to have the relationship updated.

cruzccl avatar Feb 27 '18 16:02 cruzccl