diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c index 325e3d117b4..925048d9405 100644 --- a/src/core/mod_fix.c +++ b/src/core/mod_fix.c @@ -801,6 +801,38 @@ int fixup_get_vstr_buf(sip_msg_t *msg, pv_elem_t *p, char *buf, int blen) return -1; } +/** + * + */ +int fixup_ssi(void** param, int param_no) +{ + switch(param_no) { + case 1: + case 2: + return fixup_spve_null(param, 1); + case 3: + return fixup_igp_null(param, 1); + default: + return E_UNSPEC; + } +} + +/** + * + */ +int fixup_free_ssi(void** param, int param_no) +{ + switch(param_no) { + case 1: + case 2: + return fixup_free_spve_null(param, 1); + case 3: + return fixup_free_igp_null(param, 1); + default: + return E_UNSPEC; + } +} + /** * */ diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h index ca63a5a804d..8c2c766c1ef 100644 --- a/src/core/mod_fix.h +++ b/src/core/mod_fix.h @@ -163,6 +163,9 @@ int fixup_get_vstr_buf(sip_msg_t *msg, pv_elem_t *p, char *buf, int blen); int fixup_igp_regexp(void** param, int param_no); int fixup_free_igp_regexp(void** param, int param_no); +int fixup_ssi(void** param, int param_no); +int fixup_free_ssi(void** param, int param_no); + int fixup_sssi(void** param, int param_no); int fixup_free_sssi(void** param, int param_no);