BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

#include <sip_msg.h>

Public Member Functions

 PJ_DECL_LIST_MEMBER (struct pjsip_contact_hdr)
 

Data Fields

pjsip_hdr_e type
 
pj_str_t name
 
pj_str_t sname
 
pjsip_hdr_vptrvptr
 
int star
 
pjsip_uriuri
 
int q1000
 
pj_int32_t expires
 
pjsip_param other_param
 

Detailed Description

Contact header. In this library, contact header only contains single URI. If a message has multiple URI in the Contact header, the URI will be put in separate Contact headers.

Member Function Documentation

◆ PJ_DECL_LIST_MEMBER()

pjsip_contact_hdr::PJ_DECL_LIST_MEMBER ( struct pjsip_contact_hdr  )

List members.

Field Documentation

◆ type

pjsip_hdr_e pjsip_contact_hdr::type

Header type

◆ name

pj_str_t pjsip_contact_hdr::name

Header name.

◆ sname

pj_str_t pjsip_contact_hdr::sname

Header short name version.

◆ vptr

pjsip_hdr_vptr* pjsip_contact_hdr::vptr

Virtual function table.

◆ star

int pjsip_contact_hdr::star

The contact contains only a '*' character

◆ uri

pjsip_uri* pjsip_contact_hdr::uri

URI in the contact.

◆ q1000

int pjsip_contact_hdr::q1000

The "q" value times 1000 (to avoid float)

◆ expires

pj_int32_t pjsip_contact_hdr::expires

Expires parameter, otherwise -1 if not present.

◆ other_param

pjsip_param pjsip_contact_hdr::other_param

Other parameters, concatenated in a single string.


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.