mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Print route when doing sip show channel foo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4812,6 +4812,7 @@ static int sip_show_channel(int fd, int argc, char *argv[])
|
||||
ast_cli(fd, "Their Tag: %s\n", cur->theirtag);
|
||||
ast_cli(fd, "Need Destroy: %d\n", cur->needdestroy);
|
||||
ast_cli(fd, "Last Message: %s\n", cur->lastmsg);
|
||||
ast_cli(fd, "Route: %s\n", cur->route ? cur->route->hop : "N/A");
|
||||
strcpy(tmp, "");
|
||||
if (cur->dtmfmode & SIP_DTMF_RFC2833)
|
||||
strcat(tmp, "rfc2833 ");
|
||||
|
Reference in New Issue
Block a user