[Telepathy] Display names from SIP headers as aliases?

mikhail.zabaluev at nokia.com mikhail.zabaluev at nokia.com
Fri May 11 06:19:12 PDT 2007


>-----Original Message-----
>From: telepathy-bounces at lists.freedesktop.org 
>[mailto:telepathy-bounces at lists.freedesktop.org] On Behalf Of 
>ext Simon McVittie
>Sent: Friday, May 11, 2007 4:11 PM
>To: telepathy at lists.freedesktop.org
>Subject: Re: [Telepathy] Display names from SIP headers as aliases?
>> as sent and received with SIP protocol messages. Just as in 
>RFC2822 messages, SIP addressing headers From: and To: may 
>include a human-friendly name along with the address URI.
>Is this commonly done by other SIP clients, and do other SIP clients
>usually fill it in with something useful? If so, then this 
>sounds like a
>nice feature.

Yes, it's not imposible and I've seen it done.

>> If the Aliasing interface is used for that, it may 
>necessitate caching display names along with contact handles 
>for the lifetime of a Connection. That's the only 
>implementation concern I have with the current API.
>The display name should be cached as qdata on the contact handle -
>that's what we do in Gabble. This means if the contact handle loses all
>its references (so clients are no longer able to query its 
>alias), then the
>display name is freed too.

Thank you, sounds like it's very cheap to add it.

More information about the Telepathy mailing list