Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Eversberg 794004f11e add/update license notices 2023-07-20 21:05:56 +02:00
Andreas Eversberg 8458f8baca Add support for multiple interfaces on one V5 instance
Previously only 0..1 interfaces were allowed, now 0..n interfaces are
allowed. The interface ID is unique for all interfaces, so false
connection can be detected. Other identifiers may be identical at
different interfaces.

User ports use (abstract) ph-socket names that include interface ID:

<interface id>-isdn-<port nr> (e.g. 1-isdn-9100)
<interface id>-pstn-<port nr> (e.g. 1-pstn-8888)
2023-03-12 18:13:13 +01:00
Andreas Eversberg 3285bf896d Improve management process, to handle startup/blocking/unblocking correctly
This is a big one:

Startup process was hacked. Several state machines do the startup process now:
- system startup
- PSTN startup
- PSTN restart
- 5 state machines to do multiple port unblocking/blocking
2023-03-07 15:46:59 +01:00
Andreas Eversberg 86b7060848 Link structure of e1inp_line directly with V5 link
This way there is no lookup required, to get e1inp_line from v5
link and vice versa.

The E1 line is configured whenever it is added to the V5 link. This
happens when entering it in the VTY or loading the config. Also the
signaling channel is opened.

If E1 line is removed from the V5 link, all channels are closed.
2023-03-07 15:46:46 +01:00
Andreas Eversberg d912c376ec Added echo cancelation option 2023-03-07 15:46:40 +01:00
Andreas Eversberg d1c0b37bce Added GSMTAP IP option and fixed command line help output format 2023-03-07 15:46:25 +01:00
Andreas Eversberg de54466eb5 Add test function to test Sa 7 bit setting and reporting 2023-03-07 15:46:21 +01:00
Andreas Eversberg 1246d7510e Working on main.c 2023-03-07 15:46:14 +01:00
Andreas Eversberg 8525595419 Added functions to create and destroy V5.1/V5.2 interface with VTY 2023-03-07 15:45:39 +01:00
Andreas Eversberg 5ace124d4d Move main.c to src/ 2023-03-07 15:45:34 +01:00