dect
/
asterisk
Archived
13
0
Fork 0

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

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46459 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mattf 2006-10-30 17:32:04 +00:00
parent 219bc91e3a
commit 8f7cc2c268
1 changed files with 14 additions and 2 deletions

View File

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