I’m working on a typical hotdesk solution. A user logs into a phone and that phone should subscribe to the mailbox(es) associated with that user. I’m using realtime sip peers via ODBC. My problem is that asterisk doesn’t know when the peer’s mailbox changes so the MWI status is outdated/wrong.
I had it working by executing the “sip reload” command. (Can someone tell me if this safe to do?) This seemed to nudge asterisk into updating realtime. I could see the correct mailboxes showing with “sip show subscriptions”. All was well until I discovered today that running “sip reload” introduces a nasty deadlock in the application. Asterisk stops receiving phone calls and running “sip reload” yields: Previous sip reload not yet done.
I can produce the deadlock reliably and don’t want to risk it in production. I don’t have the time to investigate it further right now so does anyone have any solutions to my MWI problem? I could try switching over to static config files and hope the deadlock goes away or I could subscribe to an external SIP server for each mailbox, but that seems like a bit of a kludge.
I’m using Asterisk certified/13.8-cert1, along with some el cheapo Grandstream GXP2130 phones.
Thanks so much for reading!