projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac1027
)
Print route when doing sip show channel foo
author
Mark Spencer
<markster@digium.com>
Tue, 4 May 2004 19:41:31 +0000
(19:41 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 4 May 2004 19:41:31 +0000
(19:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2892
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
c4e9481
..
24ac6b6
100755
(executable)
--- 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 ");