Remove places that say if no language is specified it will default to english... since on some setups this is untrue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80991 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
b7174928fa
commit
def2098ac0
1 changed files with 3 additions and 3 deletions
|
@ -11199,7 +11199,7 @@ static int _sip_show_peer(int type, int fd, struct mansession *s, const struct m
|
|||
}
|
||||
ast_cli(fd, " Context : %s\n", peer->context);
|
||||
ast_cli(fd, " Subscr.Cont. : %s\n", S_OR(peer->subscribecontext, "<Not set>") );
|
||||
ast_cli(fd, " Language : %s\n", S_OR(peer->language, "(Defaults to English)"));
|
||||
ast_cli(fd, " Language : %s\n", peer->language);
|
||||
if (!ast_strlen_zero(peer->accountcode))
|
||||
ast_cli(fd, " Accountcode : %s\n", peer->accountcode);
|
||||
ast_cli(fd, " AMA flags : %s\n", ast_cdr_flags2str(peer->amaflags));
|
||||
|
@ -11394,7 +11394,7 @@ static int sip_show_user(int fd, int argc, char *argv[])
|
|||
ast_cli(fd, " Secret : %s\n", ast_strlen_zero(user->secret)?"<Not set>":"<Set>");
|
||||
ast_cli(fd, " MD5Secret : %s\n", ast_strlen_zero(user->md5secret)?"<Not set>":"<Set>");
|
||||
ast_cli(fd, " Context : %s\n", user->context);
|
||||
ast_cli(fd, " Language : %s\n", S_OR(user->language, "(Defaults to English)"));
|
||||
ast_cli(fd, " Language : %s\n", user->language);
|
||||
if (!ast_strlen_zero(user->accountcode))
|
||||
ast_cli(fd, " Accountcode : %s\n", user->accountcode);
|
||||
ast_cli(fd, " AMA flags : %s\n", ast_cdr_flags2str(user->amaflags));
|
||||
|
@ -11622,7 +11622,7 @@ static int sip_show_settings(int fd, int argc, char *argv[])
|
|||
ast_cli(fd, " Qualify: %d\n", default_qualify);
|
||||
ast_cli(fd, " Use ClientCode: %s\n", cli_yesno(ast_test_flag(&global_flags[0], SIP_USECLIENTCODE)));
|
||||
ast_cli(fd, " Progress inband: %s\n", (ast_test_flag(&global_flags[0], SIP_PROG_INBAND) == SIP_PROG_INBAND_NEVER) ? "Never" : (ast_test_flag(&global_flags[0], SIP_PROG_INBAND) == SIP_PROG_INBAND_NO) ? "No" : "Yes" );
|
||||
ast_cli(fd, " Language: %s\n", S_OR(default_language, "(Defaults to English)"));
|
||||
ast_cli(fd, " Language: %s\n", default_language);
|
||||
ast_cli(fd, " MOH Interpret: %s\n", default_mohinterpret);
|
||||
ast_cli(fd, " MOH Suggest: %s\n", default_mohsuggest);
|
||||
ast_cli(fd, " Voice Mail Extension: %s\n", default_vmexten);
|
||||
|
|
Reference in a new issue