dect
/
asterisk
Archived
13
0
Fork 0

Add trustrpid and sendrpid global values to 'sip show settings'

(closes issue #17860)
Reported by: jtodd
Patches:
      __20100816-chan_sip-sip-show-settings.txt uploaded by lmadsen (license 10)
Tested by: lmadsen, russell

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@284315 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
lmadsen 2010-08-31 18:53:51 +00:00
parent 7fed43e8ea
commit 1711b3a630
1 changed files with 2 additions and 0 deletions

View File

@ -16842,6 +16842,8 @@ static char *sip_show_settings(struct ast_cli_entry *e, int cmd, struct ast_cli_
ast_cli(a->fd, " SDP Owner Name: %s\n", ast_strlen_zero(global_sdpowner) ? "-" : global_sdpowner);
ast_cli(a->fd, " Reg. context: %s\n", S_OR(sip_cfg.regcontext, "(not set)"));
ast_cli(a->fd, " Regexten on Qualify: %s\n", AST_CLI_YESNO(sip_cfg.regextenonqualify));
ast_cli(a->fd, " Trust RPID: %s\n", AST_CLI_YESNO(ast_test_flag(&global_flags[1], SIP_TRUSTRPID)));
ast_cli(a->fd, " Send RPID: %s\n", AST_CLI_YESNO(ast_test_flag(&global_flags[1], SIP_SENDRPID)));
ast_cli(a->fd, " Caller ID: %s\n", default_callerid);
if ((default_fromdomainport) && (default_fromdomainport != STANDARD_SIP_PORT)) {
ast_cli(a->fd, " From: Domain: %s:%d\n", default_fromdomain, default_fromdomainport);