pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJSIP Reference

pjsip_cfg_t Struct Reference
[PJSIP Configurations/Settings]

#include <sip_config.h>

Data Fields

struct {
   pj_bool_t   allow_port_in_fromto_hdr
   pj_bool_t   disable_rport
endpt
struct {
   unsigned   max_count
   unsigned   t1
   unsigned   t2
   unsigned   t4
   unsigned   td
tsx
struct {
   pj_bool_t   check_contact
   pj_bool_t   add_xuid_param
regc

Detailed Description

This structure describes PJSIP run-time configurations/settings. Application may use pjsip_cfg() function to modify the settings before creating the stack.


Field Documentation

Specify port number should be allowed to appear in To and From header. Note that RFC 3261 disallow this, see Table 1 in section 19.1.1 of the RFC. Default is PJSIP_ALLOW_PORT_IN_FROMTO_HDR.

Disable rport in request.

struct { ... } pjsip_cfg_t::endpt

Global settings.

Maximum number of transactions. The value is initialized with PJSIP_MAX_TSX_COUNT

unsigned pjsip_cfg_t::t1

Transaction T1 timeout, in msec. Default value is PJSIP_T1_TIMEOUT

unsigned pjsip_cfg_t::t2

Transaction T2 timeout, in msec. Default value is PJSIP_T2_TIMEOUT

unsigned pjsip_cfg_t::t4

Transaction completed timer for non-INVITE, in msec. Default value is PJSIP_T4_TIMEOUT

unsigned pjsip_cfg_t::td

Transaction completed timer for INVITE, in msec. Default value is PJSIP_TD_TIMEOUT.

struct { ... } pjsip_cfg_t::tsx

Transaction layer settings.

Specify whether client registration should check for its registered contact in Contact header of successful REGISTER response to determine whether registration has been successful. This setting may be disabled if non-compliant registrar is unable to return correct Contact header.

Default is PJSIP_REGISTER_CLIENT_CHECK_CONTACT

Specify whether client registration should add "x-uid" extension parameter in all Contact URIs that it registers to assist the matching of Contact URIs in the 200/OK REGISTER response, in case the registrar is unable to return exact Contact URI in the 200/OK response.

Default is PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM.

struct { ... } pjsip_cfg_t::regc

Client registration settings.


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.