BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

#include <pjsua.h>

Data Fields

pjsua_acc_id id
 
pj_bool_t is_default
 
pj_str_t acc_uri
 
pj_bool_t has_registration
 
int expires
 
pjsip_status_code status
 
pj_status_t reg_last_err
 
pj_str_t status_text
 
pj_bool_t online_status
 
pj_str_t online_status_text
 
pjrpid_element rpid
 
char buf_ [PJ_ERR_MSG_SIZE]
 

Detailed Description

Account info. Application can query account info by calling pjsua_acc_get_info().

Field Documentation

◆ id

pjsua_acc_id pjsua_acc_info::id

The account ID.

◆ is_default

pj_bool_t pjsua_acc_info::is_default

Flag to indicate whether this is the default account.

◆ acc_uri

pj_str_t pjsua_acc_info::acc_uri

Account URI

◆ has_registration

pj_bool_t pjsua_acc_info::has_registration

Flag to tell whether this account has registration setting (reg_uri is not empty).

◆ expires

int pjsua_acc_info::expires

An up to date expiration interval for account registration session.

◆ status

pjsip_status_code pjsua_acc_info::status

Last registration status code. If status code is zero, the account is currently not registered. Any other value indicates the SIP status code of the registration.

◆ reg_last_err

pj_status_t pjsua_acc_info::reg_last_err

Last registration error code. When the status field contains a SIP status code that indicates a registration failure, last registration error code contains the error code that causes the failure. In any other case, its value is zero.

◆ status_text

pj_str_t pjsua_acc_info::status_text

String describing the registration status.

◆ online_status

pj_bool_t pjsua_acc_info::online_status

Presence online status for this account.

◆ online_status_text

pj_str_t pjsua_acc_info::online_status_text

Presence online status text.

◆ rpid

pjrpid_element pjsua_acc_info::rpid

Extended RPID online status information.

◆ buf_

char pjsua_acc_info::buf_[PJ_ERR_MSG_SIZE]

Buffer that is used internally to store the status text.


The documentation for this struct was generated from the following file:
  • pjsua-lib/pjsua.h

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.