Forums Read-only archive

Authentication Plugin - Change Username

2 posts · Brekeke SIP Server Forum

toffifee Original post
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
ambrosio
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