|
|
|
[
Permlink
| « Hide
]
M. Ranganathan - 2008-07-01 20:27
How do I access the credentials of the caller from sipxconfig? How will that result in the transfer leg being authenticated as the caller ( perhaps Scott can elaborate on this ).
We need to authenticate the REFER as user who initiated the call.
SipService.sendRefer now takes User parameter. This patch does not actually use the credential informaton yet, it's just passing it to the SipService. Damian, please review attached patch and apply. You should apply patches for both 2670 AND 2671 and test both together. Thanks!
Please review merged.xml for correct operation.
I have everything ready to be checked in but need to wait till new version of jain-sip (1.2.74) is ready to be installed on all build machines.
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13216
XCF-2671 pass user credentials to send refer method We need to authenticate the REFER as user who initiated the call. SipService.sendRefer now takes User parameter. This patch does not actually use the credential informaton yet, it's just passing it to the SipService. ------------------------------------------------------------------------ http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13217 XCF-2671 pass correct user credentials when authentication is required New version of jain-sip (1.2.74) library has an updated AccountManager interface that passes clientTransaction to AccountManager.getCredentials method. sipXconfig now stores credentials data in TransactionApplicationData, which allows it to provide authentication info associated with the user that initiated the transaction. This issue is resolved. Verified using the following build :
sipxproxy 3.11.5-013228 2008-08-07T14:21:08 oem-centos5 sipxconfig 3.11.5-013228 2008-08-07T14:43:41 oem-centos5 In the current implementation, the click-to-dial function is authenticating as the user actually executing the call as seen below: Proxy-Authorization: Digest response=\"5df015d790f815b514a225ab5bd8e0b6\",username=\"300\",nonce=\"11be5bef34ca6728da286fbd85 d05ae148ad4159\",realm=\"qantom.int\",uri=\"sip:300@xxx.xxx.x.xxx\" Where username=300 instead of "~~id~config" which was used before. Hence closing this issue. Thanks, Chaitra |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||