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:
Mark Spencer
2004-05-04 19:41:31 +00:00
parent 6ac10272bc
commit 9cc62f6461

View File

@@ -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 ");