diff options
author | Mark Spencer <markster@digium.com> | 2004-05-04 19:41:31 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-05-04 19:41:31 +0000 |
commit | 9cc62f646168e8f1368c24fa1bc18a64ae7ab41d (patch) | |
tree | 8ea5bb0ac483ab70426543e7c88779f7d171c0d6 /channels | |
parent | 6ac10272bc1d0e07bb34c5667edbd518d9690906 (diff) |
Print route when doing sip show channel foo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c4e948159..24ac6b600 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 "); |