aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-10-16 15:33:52 +0200
committerHarald Welte <laforge@gnumonks.org>2016-10-16 22:13:46 +0000
commitf35d8898aba6cbc7545a421a2a6513ed55691d99 (patch)
treeacbfbedeb9789d54e4647561b471c8eb89a2e35d /src/input
parent112904059412dfa5cb2368ed09e7d1dcb9f38397 (diff)
e1_input: Add E1 timeslot number to input_signal_data
It is quite useful for the signal receiver to know on which of the many E1/T1 timeslots a given event (like a 'link down' event) has happened. The line number, TEI and SAPI are isnuficcient in case there are multiple signalling TS in the line. Change-Id: I07f0f79e0cda09766f357032ffb4e7ad643d448a
Diffstat (limited to 'src/input')
-rw-r--r--src/input/dahdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/dahdi.c b/src/input/dahdi.c
index 9f1f2bb..ab06908 100644
--- a/src/input/dahdi.c
+++ b/src/input/dahdi.c
@@ -139,6 +139,7 @@ static void handle_dahdi_exception(struct e1inp_ts *ts)
get_value_string(dahdi_evt_names, evt));
isd.line = ts->line;
+ isd.ts_nr = ts->num;
switch (evt) {
case DAHDI_EVENT_ALARM: