Merge "chan_sip: Incorrect display option Outbound reg. retry 403"
authorzuul <zuul@gerrit.asterisk.org>
Tue, 1 Nov 2016 19:09:00 +0000 (14:09 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Tue, 1 Nov 2016 19:09:01 +0000 (14:09 -0500)
channels/chan_sip.c

index e3a638a..2259318 100644 (file)
@@ -21652,7 +21652,7 @@ static char *sip_show_settings(struct ast_cli_entry *e, int cmd, struct ast_cli_
        ast_cli(a->fd, "  Sub. max duration:      %d secs\n", max_subexpiry);
        ast_cli(a->fd, "  Outbound reg. timeout:  %d secs\n", global_reg_timeout);
        ast_cli(a->fd, "  Outbound reg. attempts: %d\n", global_regattempts_max);
-       ast_cli(a->fd, "  Outbound reg. retry 403:%d\n", global_reg_retry_403);
+       ast_cli(a->fd, "  Outbound reg. retry 403:%s\n", AST_CLI_YESNO(global_reg_retry_403));
        ast_cli(a->fd, "  Notify ringing state:   %s%s\n", AST_CLI_YESNO(sip_cfg.notifyringing), sip_cfg.notifyringing == NOTIFYRINGING_NOTINUSE ? " (when not in use)" : "");
        if (sip_cfg.notifyringing) {
                ast_cli(a->fd, "    Include CID:          %s%s\n",