#include <osp/osp.h>#include "../../parser/msg_parser.h"


Go to the source code of this file.
Functions | |
| void | ospRecordOrigTransaction (struct sip_msg *msg, unsigned long long transid, char *uac, char *from, char *to, time_t authtime, unsigned destinationCount) |
| void | ospRecordTermTransaction (struct sip_msg *msg, unsigned long long transid, char *uac, char *from, char *to, time_t authtime) |
| void | ospReportOrigSetupUsage (void) |
| void | ospReportTermSetupUsage (void) |
| int | ospReportUsage (struct sip_msg *msg, char *whorelease, char *ignore2) |
| void ospRecordOrigTransaction | ( | struct sip_msg * | msg, | |
| unsigned long long | transid, | |||
| char * | uac, | |||
| char * | from, | |||
| char * | to, | |||
| time_t | authtime, | |||
| unsigned | destinationCount | |||
| ) |
Definition at line 155 of file usage.c.
References ospRecordTransaction().
Referenced by ospPrepareDestination().
| void ospRecordTermTransaction | ( | struct sip_msg * | msg, | |
| unsigned long long | transid, | |||
| char * | uac, | |||
| char * | from, | |||
| char * | to, | |||
| time_t | authtime | |||
| ) |
Definition at line 178 of file usage.c.
References ospRecordTransaction().
Referenced by ospValidateHeader().
| void ospReportOrigSetupUsage | ( | void | ) |
Definition at line 550 of file usage.c.
References _osp_provider, AVP_NAME_STR, AVP_VAL_STR, _osp_dest::callid, _osp_dest::callidsize, get_avp_val(), _osp_dest::lastcode, LM_DBG, LM_INFO, NULL, ospBuildUsageFromDestination(), ospDumpDestination(), ospReportUsageFromDestination(), _osp_dest::reported, _str::s, int_str::s, search_first_avp(), search_next_avp(), _osp_dest::transid, and _osp_dest::used.
Referenced by ospPrepareDestination(), and ospRecordEvent().
| void ospReportTermSetupUsage | ( | void | ) |
Definition at line 612 of file usage.c.
References _osp_provider, _osp_dest::callid, _osp_dest::callidsize, LM_DBG, LM_ERR, LM_INFO, NULL, ospBuildUsageFromDestination(), ospGetTermDestination(), ospReportUsageFromDestination(), _osp_dest::reported, and _osp_dest::transid.
Referenced by ospRecordEvent().
| int ospReportUsage | ( | struct sip_msg * | msg, | |
| char * | whorelease, | |||
| char * | ignore2 | |||
| ) |
Definition at line 411 of file usage.c.
References LM_DBG, LM_ERR, LM_INFO, MODULE_RETURNCODE_FALSE, MODULE_RETURNCODE_TRUE, NULL, OSP_HEADERBUF_SIZE, OSP_ORIG_COOKIE, OSP_RELEASE_ORIG, OSP_RELEASE_TERM, OSP_TERM_COOKIE, ospGetCallId(), ospGetRouteParameters(), ospReportUsageFromCookie(), and parameters.
1.5.6