Functions | Variables

sst.c File Reference

SST :: CoreModules: SIP Session Timers module. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../../modules/sl/sl.h"
#include "sst_handlers.h"
Include dependency graph for sst.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file sst.c.


Function Documentation

static MODULE_VERSION int mod_init ( void   )  [static]

This function is called only once.

Bind to the dialog module and setup the callbacks. Also initialize the shared memory to store our interninal information in.

Returns:
0 to continue to load the Kamailio, -1 to stop the loading and abort Kamailio.

Definition at line 159 of file sst.c.

References _str::len, _str::s, sl_load_api(), sst_dialog_created_CB(), sst_flag, sst_handler_init(), sst_minSE, sst_reject, timeout_avp, and timeout_spec.

Here is the call graph for this function:


Variable Documentation

struct dlg_binds* dlg_binds = &dialog_st

Most importantly the register_dlgcb function.

Definition at line 102 of file sst.c.

Referenced by setup_dialog_callbacks().

unsigned int sst_minSE = 90

(in seconds) If the passed in value is 0, then this proxy will except any value from the UAC as its min-SE value. If the value is NOT set then the default will be asserted.

Definition at line 86 of file sst.c.

Referenced by mod_init().

unsigned int sst_reject = 1

Default is YES.

Definition at line 92 of file sst.c.

Referenced by mod_init(), sst_dialog_created_CB(), and sst_handler_init().