[asterisk-bugs] [Asterisk 0018075]: [patch] Asterisk fails to recognize SUBSCRIBE retransmissions and tries to re-authenticate them, which breaks presence on polyco

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 10 15:36:38 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18075 
====================================================================== 
Reported By:                mdu113
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18075
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2327 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1005/ 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 289177 
Request Review:              
====================================================================== 
Date Submitted:             2010-09-29 16:16 CDT
Last Modified:              2010-11-10 15:36 CST
====================================================================== 
Summary:                    [patch] Asterisk fails to recognize SUBSCRIBE
retransmissions and tries to re-authenticate them, which breaks presence on
polyco
Description: 
Here's what happens from asterisk point of view:
-> SUBSCRIBE
<- 401 Unauthorized
-> SUBSCRIBE with auth
<- 200 OK (lost)
<- NOTIFY
-> 200 OK for NOTIFY
-> SUBSCRIBE with auth retransmission
<- 401 Unauthorized
At this point polycom phone received 2 "401 Unauthorized" in a row and it
completely gives up on resubscribing to this hint until reboot. While
polycom behavior is questionable, I believe asterisk should recognize
retransmission and resubmit 200OK in this case
====================================================================== 

---------------------------------------------------------------------- 
 (0128756) mdu113 (reporter) - 2010-11-10 15:36
 https://issues.asterisk.org/view.php?id=18075#c128756 
---------------------------------------------------------------------- 
ramonpeek, polycom retransmits subscribe (just tested) in ~500ms.

the attached patch did fix the problem described. now i'm waiting for the
discussion at https://reviewboard.asterisk.org/r/1005/ to get somewhere

Thanks for the patch 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-10 15:36 mdu113         Note Added: 0128756                          
======================================================================




More information about the asterisk-bugs mailing list