aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_dahdi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index ad10f0034..c47535d5a 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -12401,6 +12401,11 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf,
break;
#endif /* defined(HAVE_SS7) */
default:
+ /* The only sig submodule left should be sig_analog. */
+ analog_p = tmp->sig_pvt;
+ if (analog_p) {
+ analog_p->inalarm = 1;
+ }
tmp->inalarm = 1;
break;
}