BLOG | DOCUMENTATION | TRAC

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

Referenced by pjsip_target_set_init().

◆ q1000

int pjsip_target::q1000

q-value multiplied by 1000

Referenced by pjsip_target_set_init().

◆ code

pjsip_status_code pjsip_target::code

Last status code received

◆ reason

pj_str_t pjsip_target::reason

Last reason phrase received

Referenced by pjsip_target_set_init().


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.