Hello , 

the sanity_reply function from sanity is not available in kamailio script so i get an error when i want to use it.


in the module source i see this

static cmd_export_t cmds[] = {
{"sanity_check", (cmd_function)w_sanity_check, 0, 0, 0,
REQUEST_ROUTE|ONREPLY_ROUTE},
{"sanity_check", (cmd_function)w_sanity_check, 1, fixup_igp_null, 0,
REQUEST_ROUTE|ONREPLY_ROUTE},
{"sanity_check", (cmd_function)w_sanity_check, 2, fixup_igp_igp, 0,
REQUEST_ROUTE|ONREPLY_ROUTE},
{"sanity_check", (cmd_function)w_sanity_reply, 0, 0, 0,
REQUEST_ROUTE|ONREPLY_ROUTE},
{"bind_sanity",  (cmd_function)bind_sanity,    0, 0, 0, 0 },
{0, 0, 0, 0, 0, 0}
};


why is sanity_check linked again in w_sanity_reply ? 

is this an error ? 

i want to setup specific responses for some errors and let the default ones from module work as usual.

Thanks.