Module: kamailio
Branch: master
Commit: bb1fe2fc12cb0499c5242c220dd8065e83fe6e61
URL:
https://github.com/kamailio/kamailio/commit/bb1fe2fc12cb0499c5242c220dd8065…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-11T18:39:46+01:00
uac: exposed uac_auth_mode() also as uac_mode([mode]) to match docs
---
Modified: src/modules/uac/uac.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bb1fe2fc12cb0499c5242c220dd8065…
Patch:
https://github.com/kamailio/kamailio/commit/bb1fe2fc12cb0499c5242c220dd8065…
---
diff --git a/src/modules/uac/uac.c b/src/modules/uac/uac.c
index 0988669f67..486fed2894 100644
--- a/src/modules/uac/uac.c
+++ b/src/modules/uac/uac.c
@@ -135,6 +135,8 @@ static cmd_export_t cmds[]={
REQUEST_ROUTE | BRANCH_ROUTE },
{"uac_restore_to", (cmd_function)w_restore_to, 0, 0, 0, REQUEST_ROUTE },
{"uac_auth", (cmd_function)w_uac_auth, 0, 0, 0, FAILURE_ROUTE },
+ {"uac_auth", (cmd_function)w_uac_auth_mode, 1,
+ fixup_igp_null, fixup_free_igp_null, FAILURE_ROUTE },
{"uac_auth_mode", (cmd_function)w_uac_auth_mode, 1,
fixup_igp_null, fixup_free_igp_null, FAILURE_ROUTE },
{"uac_req_send", (cmd_function)w_uac_req_send, 0, 0, 0, ANY_ROUTE},