Module: kamailio
Branch: 5.4
Commit: 3deaec5ec6eda850e4b5c53e860d91460c317837
URL:
https://github.com/kamailio/kamailio/commit/3deaec5ec6eda850e4b5c53e860d914…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-10-28T19:12:52Z
uac: extend docs for uac_auth() example, only t_relay() on success
- extend docs for uac_auth() example, only t_relay() on success
- otherwise you will get a 'no branches for forwarding' error from tm
(cherry picked from commit 668402e77c19ba4b5b8fc5b6c869ffbf34ea622d)
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/3deaec5ec6eda850e4b5c53e860d914…
Patch:
https://github.com/kamailio/kamailio/commit/3deaec5ec6eda850e4b5c53e860d914…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index bbcc6ad53f..866566add3 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -873,9 +873,9 @@ failure_route[TRUNKAUTH] {
$avp(auser) = "test";
$avp(apass) = "test";
# $avp(apass) = "36d0a02793542b4961e8348347236dbf";
- uac_auth();
- # uac_auth("1");
- t_relay();
+ if (uac_auth()) {
+ t_relay();
+ }
exit;
}
}