mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-17 13:09:57 +00:00
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
This commit is contained in:
+14
-2
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user