[OpenSIPS-Users] Rebooting a Linksys through OpenSIPS
Matti Zemack
Matti.Zemack at rtcfactory.com
Wed May 13 16:25:54 CEST 2009
Hi again,
First of all; Thanks Bogdan!
Your tip works (theoretically) fine.
But, I just can't find a way of calculating the PAP2s authentication.
Not much seems to be documented.
Does anyone have any hints regarding Linksys authentication (for a
reboot at least).
I've tried calculating using
http://en.wikipedia.org/wiki/Digest_access_authentication , and
basically sticking to RFC2069, as I don't believe I have have nonceCount
& clientNonce.
By the way; how should the digestURI look? (I've tried the combinations
that came to my mind...)
Best regards,
Matti Zemack, Stockholm, Sweden
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: den 12 maj 2009 10:33
To: Matti Zemack
Cc: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS
Hi Matti,
Well, it should be possible - you do a 2 steps interaction with the
Linkys :
- first send the NOTIFY via the t_uac_dlg MI command and get from the
result the auth challenge (in the MI command response you do have access
to the SIP reply)
- generate a new NOTIFY request including the Authorize header
calculated based on the received challenge.
Regards,
Bogdan
Matti Zemack wrote:
>
> Hi all,
>
> I'm still dipping my toes in deep waters with OpenSips 1.5...
>
> And I've come across a small problem. I would like to reboot Linksys
> ATA (PAP2 etc...) using OpenSIPS.
>
> Can this maybe be done?
>
> Basically I use XML-RPC FIFO to send the SIP command. The problem is
> that Linksys replies with 401 challenge. Can I, or is it at all
> possible to reply to this challenge using OpenSIPS?
>
More information about the Users
mailing list