Functions

ring.h File Reference

SIP-utils :: Module with several utiltity functions related to SIP messages handling

More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file ring.h.


Function Documentation

int ring_filter ( struct sip_msg msg,
unsigned int  flags,
void *  bar 
)
Parameters:
msg SIP message
flags unused
bar unused
Returns:
1 on success, -1 on failure

Definition at line 342 of file ring.c.

References hdr_field::body, contains(), conv183(), sip_msg::first_line, _str::len, and _str::s.

Here is the call graph for this function:

int ring_fixup ( void **  param,
int  param_no 
)
Parameters:
param unused
param_no unused
Returns:
0

Definition at line 375 of file ring.c.

int ring_insert_callid ( struct sip_msg msg,
char *  unused1,
char *  unused2 
)

Inserts callid of message into hashtable. Any 183 messages with this callid that occur in the next ring_timeout seconds, will be converted to 180.

Parameters:
msg SIP message
unused1 unused
unused2 unused
Returns:
1 on success, -1 otherwise

Definition at line 90 of file ring.c.

References hdr_field::body, contains(), and insert().

Here is the call graph for this function: