[Serusers] select for canonical username (alias)?

Stefan Sayer stefan.sayer at iptego.com
Thu Apr 10 00:29:33 CEST 2008


Hi Martin,

Martin Hoffmann wrote:
> Stefan Sayer wrote:
>> is there a select to get the canonical username? or is 'canonical 
>> username' now a deprecated concept?
>>
>> I know there is the uid, but the problem is, with 36 characters uid is 
>> too long for my purpose (user id for voicebox).
> 
> Aren't you free to use whatever you like as a uid? Depending on context,
yes, I am. only that the uid is 32 characters long, and I would have 
liked to keep it shorter to avoid fragmentation with udp as transport.

> I would probably use the customer ID or the canonical phone number for
> it.
if the canonical username can change, the customer ID (uid) would be the 
natural thing to use, of course.

> 
> If in doubt, you can always define an attribute that stores whatever ID
> you want for your voicebox.
but that doesn't seem necessary.

Stefan

> 
> Regards,
> Martin,
> who doesn't really like the idea that attributes need to be defined in
> some table somewhere for the serctl tools to add them. But one can, of
> course, always write directly to the database.

-- 
Stefan Sayer
VoIP Services

stefan.sayer at iptego.com
www.iptego.com

iptego GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann



More information about the sr-users mailing list