From 8506bb22e66cc00f2085e3039f9233766153017b Mon Sep 17 00:00:00 2001 From: Konrad Hammel Date: Wed, 16 Mar 2011 12:44:29 -0400 Subject: [PATCH] freetdm: ss7 - added some informational messages --- .../src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c b/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c index 6b86fa6ff0..adcdb3bca6 100644 --- a/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c +++ b/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c @@ -478,6 +478,12 @@ void sngss7_sta_ind(uint32_t suInstId, uint32_t spInstId, uint32_t circuit, uint */ intfId = g_ftdm_sngss7_data.cfg.isupCkt[circuit].infId; + if (g_ftdm_sngss7_data.cfg.isupCkt[circuit].type != VOICE) { + SS7_DEBUG("Rx %s on circuit that is not a voice CIC (%d) finding a new circuit\n", + DECODE_LCC_EVENT(evntType), + g_ftdm_sngss7_data.cfg.isupCkt[circuit].cic); + } + x = (g_ftdm_sngss7_data.cfg.procId * 1000) + 1; while ((g_ftdm_sngss7_data.cfg.isupCkt[x].id != 0) && (g_ftdm_sngss7_data.cfg.isupCkt[x].id < ((g_ftdm_sngss7_data.cfg.procId +1) * 1000))) {