Xingjun Chu wrote:
> 
> -----Original Message----- From: [email protected]
> [mailto:[email protected]] On Behalf Of Krzeminski,
> Damian (BL60:9D30) Sent: Wednesday, November 04, 2009 12:41 PM To:
> [email protected] Subject: Re: [sipX-dev] No name/phone
> information in Contact Information
> 
> Xingjun Chu wrote:
>> Hi,
>> 
>> The result from RESTFul API /my/contact-inforamtion doesn’t have name 
>> information such as family name, given name and avatar info.
>> 
>> Are those Info available from other rest call ?
>> 
>> I think it ‘s make sense to have those info in the contact-information
>>  REST API query result.
>> 
>> Regards
>> 
>> Jason
>> 
> 
> Make sense - we should add that, or just implement the user service that
>  would return those data. Please open a new improvement request in JIRA.
>  D.
> 
> [Chu, Xingjun [CAR:9D10:EXCH]]
> 
> Also does it make sense to have the result to support multiple format?
> 
> For example, if I want a XMPP vcard format, I can simple call
> 
> /sipxconfig/rest/my/contact-information?format=vcard
> 
> I am not sure what standard the current output follow so far. Doesn't
> seem like some standard compliant, it always needs to be converted if
> integration with other applications.
> 
> For example, right now I am working on synchronizing the user profile
> with openfire, I have to convert the format to xmpp vcard.
> 


I do not see a problem with adding VCARD support for some services
(phonebook and contact-info probably), but I doubt it'll happen in 4.2
(unless someone sends a good patch that is).

There is really no need for additional parameter though. You can select
format (currently JSON vs. XML only) by specifying "content_type" header.
D.

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to