Module: kamailio
Branch: master
Commit: 668402e77c19ba4b5b8fc5b6c869ffbf34ea622d
URL:
https://github.com/kamailio/kamailio/commit/668402e77c19ba4b5b8fc5b6c869ffb…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-10-28T19:02:33Z
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
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/668402e77c19ba4b5b8fc5b6c869ffb…
Patch:
https://github.com/kamailio/kamailio/commit/668402e77c19ba4b5b8fc5b6c869ffb…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index b132daa6a0..02dd513d27 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -877,9 +877,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;
}
}