[asterisk-bugs] [JIRA] (ASTERISK-26548) res_pjsip_pubsub: Subscribe to MWI expires early

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Nov 8 08:45:10 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26548:
-----------------------------------

    Assignee: Carl Fortin  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

I don't believe this is a bug in Asterisk. Each of the NOTIFY messages are for different subscriptions. The phone appears to have set up multiple subscriptions, or blindly accepts the NOTIFY of subscriptions from before it was started. What would normally happen is that if the phone receives a NOTIFY for a subscription it no longer knows about it would respond back with a response that would cause the subscription to get terminated.

>From the side of Asterisk it's just doing what it should - sending a NOTIFY message for each subscription it has and getting a 200 OK back.

Do any of these logs show a case where we sent a NOTIFY (or you expected us to) and we didn't?

> res_pjsip_pubsub: Subscribe to MWI expires early
> ------------------------------------------------
>
>                 Key: ASTERISK-26548
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26548
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_mwi
>    Affects Versions: 14.1.0
>         Environment: Asterisk Realtime 14.1 PJSIP Driver
> mysql Ver 14.14
> pjproject 2.5.5
> spandsp 0.0.6
> jansson 2.7
> CentOS 6.6 64 bits on Vmware
> Phones : Cisco SPA514G FW: 7.5.7
> ATA : Audiocodes MP124
> T1 : Mediatrix 3532 ISDN 
> CPU : Quadcore Intel(R) Xeon(R) CPU E5-2650
> RAM : 8 GB
> HDD : 35 GB
>            Reporter: Carl Fortin
>            Assignee: Carl Fortin
>            Severity: Minor
>         Attachments: CLI_OUTPUT.txt, debug_log_mwi_subscription-state.txt, myDebugLog_3419.txt, my_verbose_Log.txt, Sip_MWI_Notify.pcap, Subscribe_cisco.pcap
>
>
> We are using the mailboxes in the AOR table so our Cisco phones can subscribe to Message Waiting Indications.
> Once in a while the light would not be on even with new messages, so I did a trace with wireshark and found something weird.
> The phone boots and subscribe sucessfully to MWI with a voicemail subscribe interval of 86400.
> If I look at my wireshark trace I can see that asterisk sends a sollicited notify 5 times. Is this normal?
> I have also noticed that the Subscription state is going from 83544 seconds to 432 seconds and it expires in the last notify.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list