BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::AccountMwiConfig Struct Reference

#include <account.hpp>

Inheritance diagram for pj::AccountMwiConfig:
pj::PersistentObject

Public Member Functions

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

Data Fields

bool enabled
 
unsigned expirationSec
 

Detailed Description

Account MWI (Message Waiting Indication) settings. This will be specified in AccountConfig.

Member Function Documentation

◆ readObject()

virtual void pj::AccountMwiConfig::readObject ( const ContainerNode node)
throw (Error
)
virtual

Read this object from a container node.

Parameters
nodeContainer to read values from.

Implements pj::PersistentObject.

◆ writeObject()

virtual void pj::AccountMwiConfig::writeObject ( ContainerNode node) const
throw (Error
)
virtual

Write this object to a container node.

Parameters
nodeContainer to write values to.

Implements pj::PersistentObject.

Field Documentation

◆ enabled

bool pj::AccountMwiConfig::enabled

Subscribe to message waiting indication events (RFC 3842).

See also UaConfig.mwiUnsolicitedEnabled setting.

Default: FALSE

◆ expirationSec

unsigned pj::AccountMwiConfig::expirationSec

Specify the default expiration time (in seconds) for Message Waiting Indication (RFC 3842) event subscription. This must not be zero.

Default: PJSIP_MWI_DEFAULT_EXPIRES (3600)


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.