Authentication Plugin - Change Username

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
toffifee
Posts: 6
Joined: Tue Mar 19, 2013 4:46 am

Authentication Plugin - Change Username

Post by toffifee »

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
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by 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
Post Reply