I've discovered by doing some tests that the Cisco SPA50x (firmware SIP 7.4.4) were able to resynchronize their configuration files by sending them a SIP NOTIFY with event 'check-sync'.
The thing is, by default, if you send such a request, the phone answer with a 401 Unauthorized response. You can then send it another SIP NOTIFY, this time with a valid 'Authorization' header, and the phone will accept your request and answer you with a 200 OK, and resynchronize its configuration files. Now, the problem is that you need to wait at least 10 seconds (20 seconds seems to work for me) before sending the second request, else you receive another 401 Unauthorized, even if the content of the Authorization header either is right.
Now, my question is: is this a bug ? a feature ? Is there any more info about this ?
Tests were on a Cisco SPA508G with SIP firmware 7.4.4.
sorry for the long delay, I was kinda busy recently.
I've done some new tests with firmware 7.4.8 on a SPA508G. The results are the same; if the delay between the first SIP NOTIFY request, which return a 401 from the SPA, and the second NOTIFY, with an Authorization header in it, is too short (i.e. less than maybe 15 seconds; I know it does work fine when using 20 seconds as the delay), then the phone returns a 401 Unauthorized instead of a 200 OK,
Here's some trace (I've changed the domain names):
10:08:07.535635 IP (tos 0x0, ttl 64, id 39378, offset 0, flags [DF], proto UDP (17), length 407) demo-provd.example.com.37242 > 192.168.32.202.sip: SIP, length: 379 NOTIFY sip:firstname.lastname@example.org:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.32.104:37242;branch=z9hG4bK474783b419323237 Max-Forwards: 70 To: <4052> From: <192.168.32.104:37242>;tag=7cb9822 Call-ID: 531904491b682b6fc62682b7959a6cf6 CSeq: 1 NOTIFY Contact: <192.168.32.104:37242> Subscription-State: active Event: check-sync Content-Length: 0
Listen: https://smarturl.it/CCRS8E41 Follow us: https://twitter.com/CiscoChampion
Let’s face it: today’s work is hybrid. Making hybrid work requires more than collaboration tools and SaaS applications. It’s about connecting people, dispa...
Join David Bombal as he busts the myths around Cisco Designed while building out an SMB network right at his desk.
David, a CCIE, CCSI and an educator, has delivered training courses all around the globe across multiple Cisco topics. And he’s desig...
This Chat covers the intersection of technology and social impact from community to global levels. Learn how digital maturity accelerates SMB growth and profits that can fund social programs and enable sustainable business practices like remote work.
This Chat covers the intersection of technology and social impact from community to global levels. Learn how digital maturity accelerates SMB growth and profits that can fund social programs and enable sustainable business practices like remote work. We'l...