Functions

sl.c File Reference

SL :: module definitions. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../error.h"
#include "../../ut.h"
#include "../../script_cb.h"
#include "../../mem/mem.h"
#include "../../modules/tm/tm_load.h"
#include "sl_stats.h"
#include "sl_funcs.h"
#include "sl.h"
Include dependency graph for sl.c:

Go to the source code of this file.

Functions


Detailed Description

Module: SL :: The SER SL Module

Definition in file sl.c.


Function Documentation

int send_reply ( struct sip_msg msg,
int  code,
str reason 
)

Check if transation was created for respective SIP request and reply in stateful mode, otherwise send stateless reply

Parameters:
msg - SIP message structure
code - reply status code
reason - reply reason phrase
Returns:
1 for success and -1 for failure

Definition at line 246 of file sl.c.

References _str::len, and _str::s.

Referenced by rpc_send(), w_send_reply(), and xmlrpc_reply().

Here is the caller graph for this function:

static int w_sl_send_reply ( struct sip_msg msg,
char *  p1,
char *  p2 
) [static]

Warapper around sl_send_rply() which accepts parameters that include config variables

Definition at line 201 of file sl.c.

References get_int_fparam(), get_str_fparam(), _str::len, and _str::s.

Here is the call graph for this function: