BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::AccountCallConfig Struct Reference

#include <account.hpp>

Inheritance diagram for pj::AccountCallConfig:
pj::PersistentObject

Public Member Functions

virtual void readObject (const ContainerNode &node) PJSUA2_THROW(Error)
 
virtual void writeObject (ContainerNode &node) const PJSUA2_THROW(Error)
 
- Public Member Functions inherited from pj::PersistentObject
virtual ~PersistentObject ()
 

Data Fields

pjsua_call_hold_type holdType
 
pjsua_100rel_use prackUse
 
pjsua_sip_timer_use timerUse
 
unsigned timerMinSESec
 
unsigned timerSessExpiresSec
 

Detailed Description

Account's call settings. This will be specified in AccountConfig.

Member Function Documentation

◆ readObject()

virtual void pj::AccountCallConfig::readObject ( const ContainerNode node)
virtual

Read this object from a container node.

Parameters
nodeContainer to read values from.

Implements pj::PersistentObject.

◆ writeObject()

virtual void pj::AccountCallConfig::writeObject ( ContainerNode node) const
virtual

Write this object to a container node.

Parameters
nodeContainer to write values to.

Implements pj::PersistentObject.

Field Documentation

◆ holdType

pjsua_call_hold_type pj::AccountCallConfig::holdType

Specify how to offer call hold to remote peer. Please see the documentation on pjsua_call_hold_type for more info.

Default: PJSUA_CALL_HOLD_TYPE_DEFAULT

◆ prackUse

pjsua_100rel_use pj::AccountCallConfig::prackUse

Specify how support for reliable provisional response (100rel/ PRACK) should be used for all sessions in this account. See the documentation of pjsua_100rel_use enumeration for more info.

Default: PJSUA_100REL_NOT_USED

◆ timerUse

pjsua_sip_timer_use pj::AccountCallConfig::timerUse

Specify the usage of Session Timers for all sessions. See the pjsua_sip_timer_use for possible values.

Default: PJSUA_SIP_TIMER_OPTIONAL

◆ timerMinSESec

unsigned pj::AccountCallConfig::timerMinSESec

Specify minimum Session Timer expiration period, in seconds. Must not be lower than 90. Default is 90.

◆ timerSessExpiresSec

unsigned pj::AccountCallConfig::timerSessExpiresSec

Specify Session Timer expiration period, in seconds. Must not be lower than timerMinSE. Default is 1800.


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

 


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