BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

 SipRxData ()
 
void fromPj (pjsip_rx_data &rdata)
 

Data Fields

string info
 
string wholeMsg
 
SocketAddress srcAddress
 
void * pjRxData
 

Detailed Description

This structure describes an incoming SIP message. It corresponds to the pjsip_rx_data structure in PJSIP library.

Constructor & Destructor Documentation

◆ SipRxData()

pj::SipRxData::SipRxData ( )

Default constructor.

Member Function Documentation

◆ fromPj()

void pj::SipRxData::fromPj ( pjsip_rx_data rdata)

Construct from PJSIP's pjsip_rx_data

Field Documentation

◆ info

string pj::SipRxData::info

A short info string describing the request, which normally contains the request method and its CSeq.

◆ wholeMsg

string pj::SipRxData::wholeMsg

The whole message data as a string, containing both the header section and message body section.

◆ srcAddress

SocketAddress pj::SipRxData::srcAddress

Source address of the message.

◆ pjRxData

void* pj::SipRxData::pjRxData

Pointer to original pjsip_rx_data. Only valid when the struct is constructed from PJSIP's pjsip_rx_data.


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.