#include "str.h"Go to the source code of this file.
Defines | |
| #define | E_OK 0 |
| #define | E_UNSPEC -1 |
| #define | E_OUT_OF_MEM -2 |
| #define | E_BAD_RE -3 |
| #define | E_BUG -5 |
| #define | E_CFG -6 |
| #define | E_NO_SOCKET -7 |
| #define | E_BAD_VIA -8 |
| #define | E_BAD_TUPEL -9 |
| #define | E_SCRIPT -10 |
| #define | E_EXEC -11 |
| #define | E_TOO_MANY_BRANCHES -12 |
| #define | E_BAD_TO -13 |
| #define | E_INVALID_PARAMS -14 |
| #define | E_Q_INV_CHAR -15 |
| #define | E_Q_EMPTY -16 |
| #define | E_Q_TOO_BIG -17 |
| #define | E_Q_DEC_MISSING -18 |
| #define | E_SEND -477 |
| #define | E_BAD_ADDRESS -478 |
| #define | E_BAD_URI -479 |
| #define | E_BAD_PROTO -480 |
| #define | E_BAD_REQ -400 |
| #define | E_CANCELED -487 |
| #define | E_BAD_SERVER -500 |
| #define | E_ADM_PROHIBITED -510 |
| #define | E_BLACKLISTED -520 |
| #define | MAX_REASON_LEN 128 |
Functions | |
| int | err2reason_phrase (int ser_error, int *sip_error, char *phrase, int etl, char *signature) |
| char * | error_text (int code) |
| void | get_reply_status (str *status, struct sip_msg *reply, int code) |
Variables | |
| int | ser_error |
| int | prev_ser_error |
|
|
|
|
|
Definition at line 63 of file error.h. Referenced by err2reason_phrase(). |
|
|
|
|
|
|
|
|
Definition at line 69 of file error.h. Referenced by err2reason_phrase(). |
|
|
|
|
|
Definition at line 50 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 43 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 65 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 41 of file error.h. Referenced by t_forward_cancel(), t_relay_cancel(), and t_relay_to(). |
|
|
|
|
|
|
|
|
Definition at line 71 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 38 of file error.h. Referenced by t_forward_nonack(). |
|
|
Definition at line 47 of file error.h. Referenced by err2reason_phrase(). |
|
|
|
|
|
|
|
|
Definition at line 32 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 34 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 57 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 55 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 54 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 56 of file error.h. Referenced by err2reason_phrase(). |
|
|
|
|
|
Definition at line 61 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 49 of file error.h. Referenced by err2reason_phrase(). |
|
|
Definition at line 33 of file error.h. Referenced by t_should_relay_response(). |
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 45 of file error.c. References E_BAD_ADDRESS, E_BAD_REQ, E_BAD_TO, E_BAD_TUPEL, E_BAD_URI, E_CANCELED, E_EXEC, E_OK, E_OUT_OF_MEM, E_Q_DEC_MISSING, E_Q_EMPTY, E_Q_INV_CHAR, E_Q_TOO_BIG, E_SEND, E_TOO_MANY_BRANCHES, ser_error, and snprintf. Referenced by kill_transaction(), kill_transaction_unsafe(), and sl_reply_error(). |
|
|
Definition at line 135 of file error.c. Referenced by get_reply_status(), and relay_reply(). |
|
||||||||||||||||
|
Definition at line 205 of file error.c. References error_text(), sip_msg::first_line, L_CRIT, L_ERR, _str::len, LOG, pkg_malloc, msg_start::reason, msg_start::reply, _str::s, str, and msg_start::u. Referenced by log_missed(). |
|
|
Definition at line 43 of file error.c. Referenced by do_action(), and sl_reply_error(). |
|
|
|
1.3.9.1