[Home]

Summary:ASTERISK-17223: [regression] Snom BLF subscription does not work
Reporter:Tan Tuerel (thsgmbh)Labels:
Date Opened:2011-01-11 06:59:48.000-0600Date Closed:2011-01-12 15:24:20.000-0600
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) snom_subscription_failed_with_401.txt
Description:Since Asterisk Branch 1.6.2 SVN Revision 300298, our SNOM phones cannot subscribe any more to device state changes via xml dialog-info. After sending the subscribe request, the asterisk servers answers with 401 unauthenticated!?!

I have attached a asterisk/sip debug file...

A possible reason could be a change in chan_sip.c (svn rev. 300298): "Don't authenticate SUBSCRIBE re-transmissions" !??

But even with NEW subscribe requests and correct authentication values in the snom sip header, asterisk ALWAYS sends an 401 unauth message back to the phone.
Comments:By: Tan Tuerel (thsgmbh) 2011-01-11 07:42:32.000-0600

Verified:

1.6.2 SVN Revision 300165 OK
1.6.2 SVN Revision 300298 NOT OK (401 unauthenticated)

By: Digium Subversion (svnbot) 2011-01-12 15:05:04.000-0600

Repository: asterisk
Revision: 301682

U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r301682 | twilson | 2011-01-12 15:05:03 -0600 (Wed, 12 Jan 2011) | 9 lines

Don't reject all SUBSCRIBE auth requests

When merging another SUBSCRIBE fix from 1.4, some braces were put in
the wrong place. This patch fixes that.

(closes issue ASTERISK-17223)
Reported by: thsgmbh


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=301682

By: Digium Subversion (svnbot) 2011-01-12 15:19:49.000-0600

Repository: asterisk
Revision: 301683

_U  branches/1.8/
U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r301683 | twilson | 2011-01-12 15:19:49 -0600 (Wed, 12 Jan 2011) | 15 lines

Merged revisions 301682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
 r301682 | twilson | 2011-01-12 15:05:02 -0600 (Wed, 12 Jan 2011) | 9 lines
 
 Don't reject all SUBSCRIBE auth requests
 
 When merging another SUBSCRIBE fix from 1.4, some braces were put in
 the wrong place. This patch fixes that.
 
 (closes issue ASTERISK-17223)
 Reported by: thsgmbh
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=301683

By: Digium Subversion (svnbot) 2011-01-12 15:24:19.000-0600

Repository: asterisk
Revision: 301684

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r301684 | twilson | 2011-01-12 15:24:19 -0600 (Wed, 12 Jan 2011) | 22 lines

Merged revisions 301683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
 r301683 | twilson | 2011-01-12 15:19:48 -0600 (Wed, 12 Jan 2011) | 15 lines
 
 Merged revisions 301682 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.6.2
 
 ........
   r301682 | twilson | 2011-01-12 15:05:02 -0600 (Wed, 12 Jan 2011) | 9 lines
   
   Don't reject all SUBSCRIBE auth requests
   
   When merging another SUBSCRIBE fix from 1.4, some braces were put in
   the wrong place. This patch fixes that.
   
   (closes issue ASTERISK-17223)
   Reported by: thsgmbh
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=301684