[asterisk-bugs] [JIRA] Commented: (ASTERISK-20119) Peer MWI subscriptions erroneously removed when another SIP dialog is destroyed

alexr1 (JIRA) noreply at issues.asterisk.org
Tue Jul 17 13:35:21 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194939#comment-194939 ] 

alexr1 commented on ASTERISK-20119:
-----------------------------------

This does not fix the issue for me (Asterisk 1.8.11).

I am using the Unsolicited Notify patch from https://issues.asterisk.org/jira/browse/ASTERISK-18042

My phone does not subscribe to MWI, but Asterisk sends notifies anyway. Everything works perfectly within 32 seconds of a REGISTER or INVITE from my phone. I can send unsolicited notifies to asterisk from my PC and it will pass it onto the phone. As soon as the 32 seconds is up, it doesn't work anymore - but the next time the phone registers, it receives the most recent unsolicited notify that was cached by the event queue/cache thing.

It seems the Event Queueing function requires a subscription (or at least an active dialog). Can it not create new dialogs for the purpose of sending an MWI instantly?
Is it possible that I could just slip in a ast_event_check_subscriber(host_event_type, AST_EVENT_IE_END) before I queue an event so that I could ALSO send an MWI directly after receiving the unsolicited notify?

> Peer MWI subscriptions erroneously removed when another SIP dialog is destroyed
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20119
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20119
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.14.0
>         Environment: Asterisk 1.8.14.0
>            Reporter: Misha Vodsedalek
>         Attachments: 20119.patch
>
>
> A peer MWI subscription gets cancelled when another SIP dialog (unrelated to the MWI subscription) gets destroyed. The MWI light on phones that rely only on subscription messages stops working (e.g., Nortel 1100 and 1200 series phones with SIP firmware).
> The problem is caused by an incorrect check if the dialog that is being destroyed is related to the MWI subscription.
> The same issue exists in Asterisk 1.6 as well as Asterisk 10.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list