Is it safe to NOT load res_pjsip_mwi.so?

Hi, we are using asterisk 13 pjsip and we have created our own voicemail app to listen and erase messages.
We also have our own mwi notifications app. I would like to stop asterisk from sending mwi.
The only way I’ve found to stop asterisk from sending out MWI notification is to disable the res_pjsip_mwi.so module.

Is it safe to not load this module?

I have disabled it in my testing environment and it worked great.

If you don’t require MWI via SIP, then yes.

1 Like

Thanks a lot. I’m using this in pjsip_notify.conf and it’s still working with the module disabled:

[clear-mwi]
Event=>message-summary
Content-type=>application/simple-message-summary
Content=>Messages-Waiting: no
Content=>Message-Account: sip:asterisk@127.0.0.1
Content=>Voice-Message: 0/0 (0/0)
Content=>

[set-mwi]
Event=>message-summary
Content-type=>application/simple-message-summary
Content=>Messages-Waiting: yes
Content=>Message-Account: sip:asterisk@127.0.0.1
Content=>Voice-Message: 1/1 (1/1)
Content=>

1 Like