Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Authentication Plugin - Change Username
Author Message
toffifee
Brekeke Junior Member


Joined: 19 Mar 2013
Posts: 6

PostPosted: Tue Mar 26, 2013 6:59 am    Post subject: Authentication Plugin - Change Username Reply with quote

1. Brekeke Product Name and Version: v3.1.7.0

2. Java version: 7

3. OS type and the version: Windows 8 x64

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

Hi,

I have again a problem with the authentication Plugin.

In the "lookup" method, I create a new UserRecord like this:

UserRecord record = new UserRecord() ;
record.username = 'testUser';

return record;

But when I look for the Registered Clients on the SIP Server web-interface, I still see the "old" username that has been provided as parameter in the lookup method.

Is this an intentional behavior? Or is this a bug?

What I want to achieve is to change the username in the authentication plugin.


Thanks.


Kind regards
Thomas
Back to top
View user's profile
ambrosio
Brekeke Master Guru


Joined: 27 Mar 2008
Posts: 215

PostPosted: Tue Mar 26, 2013 3:43 pm    Post subject: Reply with quote

Registered Clients and Auth-Users are different!

Auth users are user name in Digest authentication.
Registered clients are SIP-URI defined by REGISTER requests.

Let you refer to the RFC if you need to know more details.
http://www.ietf.org/rfc/rfc3261.txt
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1