mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 15:36:13 +00:00
Show max bitrate in "sip show user" and "sip show channel"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8842,6 +8842,7 @@ static int sip_show_user(int fd, int argc, char *argv[])
|
||||
ast_cli(fd, " Accountcode : %s\n", user->accountcode);
|
||||
ast_cli(fd, " AMA flags : %s\n", ast_cdr_flags2str(user->amaflags));
|
||||
ast_cli(fd, " Transfer mode: %s\n", transfermode2str(user->allowtransfer));
|
||||
ast_cli(fd, " MaxCallBR : %d kbps\n", user->maxcallbitrate);
|
||||
ast_cli(fd, " CallingPres : %s\n", ast_describe_caller_presentation(user->callingpres));
|
||||
ast_cli(fd, " Call limit : %d\n", user->call_limit);
|
||||
ast_cli(fd, " Callgroup : ");
|
||||
@@ -9258,6 +9259,7 @@ static int sip_show_channel(int fd, int argc, char *argv[])
|
||||
ast_cli(fd, " Their Codec Capability: %d\n", cur->peercapability);
|
||||
ast_cli(fd, " Joint Codec Capability: %d\n", cur->jointcapability);
|
||||
ast_cli(fd, " Format: %s\n", ast_getformatname_multiple(formatbuf, sizeof(formatbuf), cur->owner ? cur->owner->nativeformats : 0) );
|
||||
ast_cli(fd, " MaxCallBR: %d kbps\n", cur->maxcallbitrate);
|
||||
ast_cli(fd, " Theoretical Address: %s:%d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), cur->sa.sin_addr), ntohs(cur->sa.sin_port));
|
||||
ast_cli(fd, " Received Address: %s:%d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), cur->recv.sin_addr), ntohs(cur->recv.sin_port));
|
||||
ast_cli(fd, " SIP Transfer mode: %s\n", transfermode2str(cur->allowtransfer));
|
||||
|
||||
Reference in New Issue
Block a user