pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

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

pjsua_buddy_info Struct Reference
[PJSUA-API Buddy, Presence, and Instant Messaging]

#include <pjsua.h>


Detailed Description

This structure describes buddy info, which can be retrieved by calling pjsua_buddy_get_info().

Python:
This structure in Python is py_pjsua.Buddy_Info.

Data Fields

pjsua_buddy_id id
pj_str_t uri
pj_str_t contact
pjsua_buddy_status status
pj_str_t status_text
pj_bool_t monitor_pres
pjsip_evsub_state sub_state
pj_str_t sub_term_reason
pjrpid_element rpid
char buf_ [512]

Field Documentation

The full URI of the buddy, as specified in the configuration.

Buddy's Contact, only available when presence subscription has been established to the buddy.

Text to describe buddy's online status.

Flag to indicate that we should monitor the presence information for this buddy (normally yes, unless explicitly disabled).

If monitor_pres is enabled, this specifies the last state of the presence subscription. If presence subscription session is currently active, the value will be PJSIP_EVSUB_STATE_ACTIVE. If presence subscription request has been rejected, the value will be PJSIP_EVSUB_STATE_TERMINATED, and the termination reason will be specified in sub_term_reason.

Specifies the last presence subscription terminatino reason. If presence subscription is currently active, the value will be empty.

Extended RPID information about the person.

Internal buffer.


The documentation for this struct was generated from the following file:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
(C)2003-2008 Benny Prijono