Home --> Documentations --> PJSIP Reference

pjsip_auth_srv_init_param Struct Reference

#include <sip_auth.h>

Data Fields

const pj_str_trealm
unsigned options

Detailed Description

This structure describes initialization settings of server authorization session.

Field Documentation

◆ realm

const pj_str_t* pjsip_auth_srv_init_param::realm

Realm to be served by the server.

◆ lookup2

pjsip_auth_lookup_cred2* pjsip_auth_srv_init_param::lookup2

Account lookup function.

◆ options

unsigned pjsip_auth_srv_init_param::options

Options, bitmask of:

  • PJSIP_AUTH_SRV_IS_PROXY: to specify that the server will authorize clients as a proxy server (instead of as UAS), which means that Proxy-Authenticate will be used instead of WWW-Authenticate.

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


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