diff options
-rw-r--r-- | TODO-RELEASE | 1 | ||||
-rw-r--r-- | include/osmocom/abis/e1_input.h | 1 | ||||
-rw-r--r-- | src/e1_input.c | 1 | ||||
-rw-r--r-- | src/input/dahdi.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE index 7ea65b6..3af993e 100644 --- a/TODO-RELEASE +++ b/TODO-RELEASE @@ -1,2 +1,3 @@ #library what description / commit summary line libosmo-abis API change major: add parameter to rx_cb() callack in osmo_ortp.h +libosmo-abis API change major: add parameter to struct input_signal_data diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h index 7cfb3a2..c175649 100644 --- a/include/osmocom/abis/e1_input.h +++ b/include/osmocom/abis/e1_input.h @@ -288,6 +288,7 @@ struct input_signal_data { int link_type; uint8_t tei; uint8_t sapi; + uint8_t ts_nr; struct gsm_bts_trx *trx; struct e1inp_line *line; }; diff --git a/src/e1_input.c b/src/e1_input.c index 4ba991e..c9ae8e6 100644 --- a/src/e1_input.c +++ b/src/e1_input.c @@ -667,6 +667,7 @@ static int e1inp_int_snd_event(struct e1inp_ts *ts, { struct input_signal_data isd; isd.line = ts->line; + isd.ts_nr = ts->num; isd.link_type = link->type; isd.trx = link->trx; isd.tei = link->tei; 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: |