INPUT: Include TEI + SAPI in E1 INPUT SIGNAL

This commit is contained in:
Harald Welte 2011-02-13 19:44:21 +01:00
parent 15ccc77f62
commit bd3137c2dd
2 changed files with 4 additions and 0 deletions

View File

@ -246,6 +246,8 @@ struct ho_signal_data {
struct input_signal_data {
int link_type;
uint8_t tei;
uint8_t sapi;
struct gsm_bts_trx *trx;
struct e1inp_line *line;
};

View File

@ -571,6 +571,8 @@ int e1inp_event(struct e1inp_ts *ts, int evt, u_int8_t tei, u_int8_t sapi)
isd.link_type = link->type;
isd.trx = link->trx;
isd.tei = tei;
isd.sapi = sapi;
/* report further upwards */
dispatch_signal(SS_INPUT, evt, &isd);