Specify which linkset we're getting the messages from in the message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Matthew Fredrickson 19 years ago
parent 2cb07fbaa4
commit 4bfa05d373

@ -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 */

Loading…
Cancel
Save