orig_transaction.c File Reference

#include <string.h>
#include <osp/osp.h>
#include "../../dset.h"
#include "../../usr_avp.h"
#include "../../mem/mem.h"
#include "../auth/api.h"
#include "orig_transaction.h"
#include "destination.h"
#include "osptoolkit.h"
#include "sipheader.h"
#include "usage.h"

Include dependency graph for orig_transaction.c:

Go to the source code of this file.

Functions

int ospCheckRoute (struct sip_msg *msg, char *ignore1, char *ignore2)
int ospCheckTranslation (struct sip_msg *msg, char *ignore1, char *ignore2)
static int ospLoadRoutes (OSPTTRANHANDLE transaction, int destcount, char *source, char *sourcedev, char *origcalled, time_t authtime)
int ospPrepareAllRoutes (struct sip_msg *msg, char *ignore1, char *ignore2)
static int ospPrepareDestination (struct sip_msg *msg, int isfirst, int type, int format)
int ospPrepareRoute (struct sip_msg *msg, char *ignore1, char *ignore2)
int ospRequestRouting (struct sip_msg *msg, char *ignore1, char *ignore2)
static int ospSetRpid (struct sip_msg *msg, osp_dest *dest)

Variables

char * _osp_device_ip
char * _osp_device_port
int _osp_max_dests
OSPTPROVHANDLE _osp_provider
int _osp_redir_uri
int_str _osp_snid_avpname
unsigned short _osp_snid_avptype
auth_api_t osp_auth
const int OSP_BRANCH_ROUTE = 0
const str OSP_CALLING_NAME = {"_osp_calling_translated_", 24}
const int OSP_FIRST_ROUTE = 1
const int OSP_MAIN_ROUTE = 1
const int OSP_NEXT_ROUTE = 0


Function Documentation

int ospCheckRoute ( struct sip_msg msg,
char *  ignore1,
char *  ignore2 
)

int ospCheckTranslation ( struct sip_msg msg,
char *  ignore1,
char *  ignore2 
)

static int ospLoadRoutes ( OSPTTRANHANDLE  transaction,
int  destcount,
char *  source,
char *  sourcedev,
char *  origcalled,
time_t  authtime 
) [static]

int ospPrepareAllRoutes ( struct sip_msg msg,
char *  ignore1,
char *  ignore2 
)

static int ospPrepareDestination ( struct sip_msg msg,
int  isfirst,
int  type,
int  format 
) [static]

int ospPrepareRoute ( struct sip_msg msg,
char *  ignore1,
char *  ignore2 
)

int ospRequestRouting ( struct sip_msg msg,
char *  ignore1,
char *  ignore2 
)

static int ospSetRpid ( struct sip_msg msg,
osp_dest dest 
) [static]


Variable Documentation

Definition at line 44 of file globals.c.

Definition at line 45 of file globals.c.

Definition at line 57 of file globals.c.

OSPTPROVHANDLE _osp_provider

Definition at line 67 of file globals.c.

Definition at line 59 of file globals.c.

Definition at line 64 of file globals.c.

unsigned short _osp_snid_avptype

Definition at line 65 of file globals.c.

Definition at line 75 of file osp_mod.c.

const int OSP_BRANCH_ROUTE = 0

Definition at line 55 of file orig_transaction.c.

Referenced by ospPrepareDestination(), and ospPrepareRoute().

const str OSP_CALLING_NAME = {"_osp_calling_translated_", 24}

Definition at line 56 of file orig_transaction.c.

const int OSP_FIRST_ROUTE = 1

Definition at line 52 of file orig_transaction.c.

Referenced by ospPrepareAllRoutes(), ospPrepareDestination(), and ospPrepareRoute().

const int OSP_MAIN_ROUTE = 1

Definition at line 54 of file orig_transaction.c.

Referenced by ospPrepareAllRoutes(), and ospPrepareDestination().

const int OSP_NEXT_ROUTE = 0

Definition at line 53 of file orig_transaction.c.

Referenced by ospPrepareAllRoutes().


Generated on Thu May 24 00:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6