BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <sip_msg.h>

Public Member Functions

 PJ_DECL_LIST_MEMBER (struct pjsip_via_hdr)
 

Data Fields

pjsip_hdr_e type
 
pj_str_t name
 
pj_str_t sname
 
pjsip_hdr_vptrvptr
 
pj_str_t transport
 
pjsip_host_port sent_by
 
int ttl_param
 
int rport_param
 
pj_str_t maddr_param
 
pj_str_t recvd_param
 
pj_str_t branch_param
 
pjsip_param other_param
 
pj_str_t comment
 

Detailed Description

SIP Via header. In this implementation, Via header can only have one element in each header. If a message arrives with multiple elements in a single Via, then they will be split up into multiple Via headers.

Member Function Documentation

◆ PJ_DECL_LIST_MEMBER()

pjsip_via_hdr::PJ_DECL_LIST_MEMBER ( struct pjsip_via_hdr  )

List members.

Field Documentation

◆ type

pjsip_hdr_e pjsip_via_hdr::type

Header type

◆ name

pj_str_t pjsip_via_hdr::name

Header name.

◆ sname

pj_str_t pjsip_via_hdr::sname

Header short name version.

◆ vptr

pjsip_hdr_vptr* pjsip_via_hdr::vptr

Virtual function table.

◆ transport

pj_str_t pjsip_via_hdr::transport

Transport type.

◆ sent_by

pjsip_host_port pjsip_via_hdr::sent_by

Host and optional port

◆ ttl_param

int pjsip_via_hdr::ttl_param

TTL parameter, or -1 if it's not specified.

◆ rport_param

int pjsip_via_hdr::rport_param

"rport" parameter, 0 to specify without port number, -1 means doesn't exist.

◆ maddr_param

pj_str_t pjsip_via_hdr::maddr_param

"maddr" parameter.

◆ recvd_param

pj_str_t pjsip_via_hdr::recvd_param

"received" parameter.

◆ branch_param

pj_str_t pjsip_via_hdr::branch_param

"branch" parameter.

◆ other_param

pjsip_param pjsip_via_hdr::other_param

Other parameters, concatenated as single string.

◆ comment

pj_str_t pjsip_via_hdr::comment

Comment.


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.