|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
Home --> Documentations --> PJSIP Reference
RPID/Rich Presence Extensions to PIDF (RFC 4480).
More...
Detailed Description
This file provides tools for managing subset of RPID elements into PIDF document.
Enumeration Type Documentation
This enumeration describes subset of standard activities as described by RFC 4880, RPID: Rich Presence Extensions to the Presence Information Data Format (PIDF).
- Enumerator:
| PJRPID_ACTIVITY_UNKNOWN |
Activity is unknown. The activity would then be conceived in the "note" field.
|
| PJRPID_ACTIVITY_AWAY |
The person is away
|
| PJRPID_ACTIVITY_BUSY |
The person is busy
|
This enumeration describes types of RPID element.
- Enumerator:
| PJRPID_ELEMENT_TYPE_PERSON |
RPID <person> element
|
Function Documentation
Duplicate RPID element.
- Parameters:
-
| pool | Pool. |
| dst | Destination structure. |
| src | Source structure. |
Add RPID element information into existing PIDF document. This will also add the appropriate XML namespace attributes into the presence's XML node, if the attributes are not already present, and also a <note> element to the first <tuple> element of the PIDF document.
- Parameters:
-
| pres | The PIDF presence document. |
| pool | Pool. |
| options | Currently unused, and must be zero. |
| elem | RPID element information to be added into the PIDF document. |
- Returns:
- PJ_SUCCESS on success.
Get RPID element information from PIDF document, if any.
- Parameters:
-
| pres | The PIDF document containing RPID elements. |
| pool | Pool to duplicate the information. |
| elem | Structure to receive the element information. |
- Returns:
- PJ_SUCCESS if the document does contain RPID element and the information has been parsed successfully.
PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.
|
|