BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <sip_util.h>

Public Member Functions

 PJ_DECL_LIST_MEMBER (struct pjsip_target)
 

Data Fields

pjsip_uriuri
 
int q1000
 
pjsip_status_code code
 
pj_str_t reason
 

Detailed Description

This structure describes a target, which can be chained together to form a target set. Each target contains an URI, priority (as q-value), and the last status code and reason phrase received from the target, if the target has been contacted. If the target has not been contacted, the status code field will be zero.

Member Function Documentation

◆ PJ_DECL_LIST_MEMBER()

pjsip_target::PJ_DECL_LIST_MEMBER ( struct pjsip_target  )

Standard list element

Field Documentation

◆ uri

pjsip_uri* pjsip_target::uri

The target URI

◆ q1000

int pjsip_target::q1000

q-value multiplied by 1000

◆ code

pjsip_status_code pjsip_target::code

Last status code received

◆ reason

pj_str_t pjsip_target::reason

Last reason phrase received


The documentation for this struct was generated from the following file:
  • sip_util.h

 


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