Skip to content

Commit

Permalink
uac: extend docs for uac_auth() example, only t_relay() on success
Browse files Browse the repository at this point in the history
- 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 668402e)
  • Loading branch information
henningw committed Oct 28, 2020
1 parent d23bbb5 commit a38403c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/uac/doc/uac_admin.xml
Expand Up @@ -836,8 +836,9 @@ failure_route[TRUNKAUTH] {
if(t_check_status("401|407")) {
$avp(auser) = "test";
$avp(apass) = "test";
uac_auth();
t_relay();
if (uac_auth()) {
t_relay();
}
exit;
}
}
Expand Down

0 comments on commit a38403c

Please sign in to comment.