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.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to