Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Eversberg 5268c0fc9b Added echo suppressor option 2023-03-05 16:39:26 +01:00
Andreas Eversberg f489ce381c 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-05 16:39:18 +01:00
Andreas Eversberg 56467e746e 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-03 09:03:33 +01:00
Andreas Eversberg ebfab5792d Dynamically open and close b-channels depending on the usage 2023-02-24 15:02:42 +01:00
Andreas Eversberg a4483db3af Added echo cancelation option 2023-02-24 15:02:38 +01:00
Andreas Eversberg 36dc03731a Introduce layer1.c to process layer1 data flow and signals 2023-01-15 20:00:52 +01:00
Andreas Eversberg 3ebe29e28f Work on v5x_data.c and v5x_internal.h 2023-01-15 20:00:37 +01:00
Andreas Eversberg 2a23a1c9cf Added destroy function for interface 2022-12-29 17:14:19 +01:00
Andreas Eversberg 33eea99531 Move v5x_data.c and v5x_internal.h to src/
Also split VTY code into v5x_vty.c and v5x_vty.h

Some VTY code from main.c is moved also.
2022-12-29 17:13:55 +01:00