Home --> Documentations --> PJSIP Reference

pj::CallOpParam Struct Reference

#include <call.hpp>

Public Member Functions

 CallOpParam (bool useDefaultCallSetting=false)

Data Fields

CallSetting opt
pjsip_status_code statusCode
string reason
unsigned options
SipTxOption txOption
SdpSession sdp

Detailed Description

Constructor & Destructor Documentation

◆ CallOpParam()

pj::CallOpParam::CallOpParam ( bool  useDefaultCallSetting = false)

Default constructor initializes with zero/empty values. Setting useDefaultCallSetting to true will initialize opt with default call setting values.

Field Documentation

◆ opt

CallSetting pj::CallOpParam::opt

The call setting.

◆ statusCode

pjsip_status_code pj::CallOpParam::statusCode

Status code.

◆ reason

string pj::CallOpParam::reason

Reason phrase.

◆ options

unsigned pj::CallOpParam::options


◆ txOption

SipTxOption pj::CallOpParam::txOption

List of headers etc to be added to outgoing response message. Note that this message data will be persistent in all next answers/responses for this INVITE request.

◆ sdp

SdpSession pj::CallOpParam::sdp

SDP answer. Currently only used for Call::answer().

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.