I asked this over at the FreePBX community, but I thought I would ask it here to get a wider audience. Apologies to people who read both boards.
My Asterisk subscribes to external MWI notifications with a line in SIP_gen_custom like this:
mwi => 1234:firstname.lastname@example.org:5010/301
This works for an hour, until the subscription expires. Then the VOIP provider sends a notification that includes this:
Asterisk replies with a Bad Event like this:
Status-Line: SIP/2.0 489 Bad event
After that, Asterisk does not re-subscribe and does not receive MWI notifications until I do a reload or a restart.
Has anyone run into this before? Anyone have any ideas on how to solve it? This looks similar to this post which never got an answer.
I can’t find anything else about this on any Asterisk sites, I’m stumped. Need help from someone smarter than I am.