Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

 SipTransaction ()
void fromPj (pjsip_transaction &tsx)

Data Fields

pjsip_role_e role
string method
int statusCode
string statusText
pjsip_tsx_state_e state
SipTxData lastTx
void * pjTransaction

Detailed Description

This structure describes SIP transaction object. It corresponds to the pjsip_transaction structure in PJSIP library.

Constructor & Destructor Documentation

◆ SipTransaction()

pj::SipTransaction::SipTransaction ( )

Default constructor.

Member Function Documentation

◆ fromPj()

void pj::SipTransaction::fromPj ( pjsip_transaction tsx)

Construct from PJSIP's pjsip_transaction

Field Documentation

◆ role

pjsip_role_e pj::SipTransaction::role

Role (UAS or UAC)

◆ method

string pj::SipTransaction::method

The method.

◆ statusCode

int pj::SipTransaction::statusCode

Last status code seen.

◆ statusText

string pj::SipTransaction::statusText

Last reason phrase.

◆ state

pjsip_tsx_state_e pj::SipTransaction::state


◆ lastTx

SipTxData pj::SipTransaction::lastTx

Msg kept for retrans.

◆ pjTransaction

void* pj::SipTransaction::pjTransaction

The documentation for this struct was generated from the following file:
  • siptypes.hpp


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