MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / set_err_reply

Function set_err_reply

errinfo.c:64–72  ·  view source on GitHub ↗

! \brief Set suggested error reply */

Source from the content-addressed store, hash-verified

62/*! \brief Set suggested error reply
63 */
64void set_err_reply(int rc, char *rr)
65{
66 _oser_err_info.rcode = rc;
67 if(rr)
68 {
69 _oser_err_info.rreason.s = rr;
70 _oser_err_info.rreason.len = strlen(rr);
71 }
72}
73

Callers 15

do_actionFunction · 0.85
get_hdr_field_auxFunction · 0.85
parse_allowFunction · 0.85
parse_call_info_headerFunction · 0.85
parse_sip_msg_uriFunction · 0.85
parse_orig_ruriFunction · 0.85
parse_sipifmatchFunction · 0.85
parse_min_expiresFunction · 0.85
parse_ppi_headerFunction · 0.85
parse_ppi_uriFunction · 0.85
parse_session_expiresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected