Hi
I’ve got a Snom 370 subscribing to 52 Polycom IP-320 phones for BLF using Asterisk 1.4.26.1. The problem is the subscriptions take a long time to authorise and sometimes don’t authorise at all. The Snom sends the subscriptions rapidly and keeps trying until it eventually authorises. The sip debug shows the following and it would appear to be similar to the bug 15102 but it’s got do do with subscriptions and not registration. Any help in trying to diagnose this problem would be greatly appreciated.
<------------>
[Aug 27 20:15:01] VERBOSE[2831] logger.c: Scheduling destruction of SIP dialog ‘3c2674851e88-l1b2vfgtud57’ in 6400 ms (Method: SUBSCRIBE)
[Aug 27 20:15:01] VERBOSE[2831] logger.c:
<— SIP read from 192.168.253.163:5060 —>
SUBSCRIBE sip:365@192.168.253.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.253.163:5060;branch=z9hG4bK-1p2bnwuxi7z2;rport
From: sip:300@192.168.253.2;tag=qn0r41avhf
To: sip:365@192.168.253.2
Call-ID: 3c26747f7900-iowmpqokc3qq
CSeq: 101 SUBSCRIBE
Max-Forwards: 70
Contact: sip:300@192.168.253.163:5060;reg-id=1
Event: dialog
Accept: application/dialog-info+xml
User-Agent: snom370/7.3.14
Authorization: Digest username=“300”,realm=“asterisk”,nonce=“65ceaa3a”,uri="sip:365@192.168.253.2",response=“c5ca231d34a8e80557121047b32fb334”,algorithm=MD5
Expires: 3600
Content-Length: 0
<------------->
[Aug 27 20:15:01] VERBOSE[2831] logger.c: — (14 headers 0 lines) —
[Aug 27 20:15:01] VERBOSE[2831] logger.c: Ignoring this SUBSCRIBE request
[Aug 27 20:15:01] VERBOSE[2831] logger.c: Found peer ‘300’
[Aug 27 20:15:01] NOTICE[2831] chan_sip.c: Correct auth, but based on stale nonce received from ‘sip:365@192.168.253.2’
[Aug 27 20:15:01] VERBOSE[2831] logger.c:
<— Transmitting (no NAT) to 192.168.253.163:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.253.163:5060;branch=z9hG4bK-1p2bnwuxi7z2;received=192.168.253.163;rport=5060
From: sip:300@192.168.253.2;tag=qn0r41avhf
To: sip:365@192.168.253.2;tag=as7e22d510
Call-ID: 3c26747f7900-iowmpqokc3qq
CSeq: 101 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce=“5f526889”, stale=true
Content-Length: 0