Contact.info
From Yate Documentation
(Difference between revisions)
(Created page with "'''contact.info''' is emitted and handle by a module like jabberclient module. It is a asynchronous process. Info means the capability of the entity to which is beeing send. Q...") |
|||
Line 8: | Line 8: | ||
===Parameters=== | ===Parameters=== | ||
+ | '''id''' | ||
+ | ::: the id of the contact | ||
+ | '''contact''' | ||
+ | :::the contact data | ||
'''operation''' | '''operation''' | ||
− | ::: mandatory parameter | + | ::: mandatory parameter describing the operation to execute |
+ | |||
+ | Operation values: | ||
+ | |||
+ | ;queryinfo | ||
+ | ;queryitems | ||
+ | |||
+ | : A Vcard is requested for a contact info or items. | ||
+ | |||
+ | ;query | ||
+ | |||
+ | : A Vcard is created for a contact. | ||
+ | |||
+ | ;update | ||
+ | : The Vcard data of the contact will be update. Parameters that will be changed: | ||
+ | '''name.first''' | ||
+ | :::first name of the contact | ||
+ | '''name.last''' | ||
+ | :::last name of the contact | ||
+ | '''email''' | ||
+ | :::email of the contact | ||
+ | '''photo''' | ||
+ | :::photo of the contact | ||
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | *[[xmpp.iq]] |
Revision as of 13:42, 23 January 2013
contact.info is emitted and handle by a module like jabberclient module. It is a asynchronous process. Info means the capability of the entity to which is beeing send. Query - the VCARD of a user is requested. Process disco info/items responses. Return true if processed
Parameters
id
- the id of the contact
contact
- the contact data
operation
- mandatory parameter describing the operation to execute
Operation values:
- queryinfo
- queryitems
- A Vcard is requested for a contact info or items.
- query
- A Vcard is created for a contact.
- update
- The Vcard data of the contact will be update. Parameters that will be changed:
name.first
- first name of the contact
name.last
- last name of the contact
- email of the contact
photo
- photo of the contact
See also