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:
2cb07fb
)
Specify which linkset we're getting the messages from in the message
author
Matthew Fredrickson
<creslin@digium.com>
Mon, 30 Oct 2006 17:32:04 +0000
(17:32 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Mon, 30 Oct 2006 17:32:04 +0000
(17:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46459
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
bf8a182
..
23d715f
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-8753,12
+8753,24
@@
static void *ss7_linkset(void *data)
static void zt_ss7_message(struct ss7 *ss7, char *s)
{
- ast_verbose("%s", s);
+ int i;
+
+ for (i = 0; i < NUM_SPANS; i++)
+ if (linksets[i].ss7 == ss7)
+ break;
+
+ ast_verbose("[%d] %s", i, s);
}
static void zt_ss7_error(struct ss7 *ss7, char *s)
{
- ast_log(LOG_ERROR, "%s", s);
+ int i;
+
+ for (i = 0; i < NUM_SPANS; i++)
+ if (linksets[i].ss7 == ss7)
+ break;
+
+ ast_log(LOG_ERROR, "[%d] %s", i, s);
}
#endif /* HAVE_SS7 */