Home --> Documentations --> PJSIP Reference

#include <publish.h>

Data Fields

void * token
pj_status_t status
int code
pj_str_t reason
unsigned expiration

Detailed Description

Structure to hold parameters when calling application's callback. The application's callback is called when the client publication process has finished.

Field Documentation

◆ pubc

pjsip_publishc* pjsip_publishc_cbparam::pubc

Client publication structure.

◆ token

void* pjsip_publishc_cbparam::token

Arbitrary token.

◆ status

pj_status_t pjsip_publishc_cbparam::status

Error status.

◆ code

int pjsip_publishc_cbparam::code

SIP status code received.

◆ reason

pj_str_t pjsip_publishc_cbparam::reason

SIP reason phrase received.

◆ rdata

pjsip_rx_data* pjsip_publishc_cbparam::rdata

The complete received response.

◆ expiration

unsigned pjsip_publishc_cbparam::expiration

Next expiration interval. If the value is PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED, it means the session will not renew itself.

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.