[asterisk-bugs] [Asterisk 0016725]: [patch] Add support for configurable peer username in digest authentication
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 29 12:28:20 CST 2010
The following issue requires your FEEDBACK.
======================================================================
https://issues.asterisk.org/view.php?id=16725
======================================================================
Reported By: pbertera
Assigned To: oej
======================================================================
Project: Asterisk
Issue ID: 16725
Category: Channels/chan_sip/NewFeature
Reproducibility: N/A
Severity: feature
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-01-28 07:31 CST
Last Modified: 2010-01-29 12:28 CST
======================================================================
Summary: [patch] Add support for configurable peer username
in digest authentication
Description:
This patch add the ability to create different peers with same digest
credentials.
I added a new peer parameter "challengeuser" that defines the username
used during digest authentication.
this way you can define multiple peer with same digest credentials.
The peer definition in sip.conf:
[pietro](sip-client-base)
challengeuser=myauthuser
secret=XXXXX
qualify=yes
nat=yes
This is the authenticated INVITE matching the peer pietro: the dighest
fields is generated using challengeuser parameter.
Via: SIP/2.0/UDP 172.20.101.110;rport;branch=z9hG4bKxzadkqei
Max-Forwards: 70
To: <sip:01234567 at domain.it>
From: "Pietro" <sip:pietro at domain.it>;tag=vtrqd
Call-ID: uxgmnxznrqtgjqb at bertuccia
CSeq: 184 INVITE
Contact: <sip:pietro at 172.20.101.110>
Content-Type: application/sdp
Authorization: Digest
username="myauthuser",realm="domain.it",nonce="1bc80fe1",uri="sip:03384007825 at xsec.it",response="f5687eb90387b69013a217e2a15821ef",algorithm=MD5
Allow:
INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Supported: replaces,norefersub,100rel
User-Agent: Twinkle/1.4.2
Content-Length: 312
======================================================================
----------------------------------------------------------------------
(0117381) lmadsen (administrator) - 2010-01-29 12:28
https://issues.asterisk.org/view.php?id=16725#c117381
----------------------------------------------------------------------
Switched to feedback while waiting on the reporter.
Issue History
Date Modified Username Field Change
======================================================================
2010-01-29 12:28 lmadsen Note Added: 0117381
2010-01-29 12:28 lmadsen Status assigned => feedback
======================================================================
More information about the asterisk-bugs
mailing list