Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Eversberg 95814c27c6 Add predefined profiles for easier interface configuration
They are for Fastlink and Eksos.
2023-09-28 22:34:52 +02:00
Andreas Eversberg a15e53b810 Show C-Channel ID at VTY 2023-09-28 22:34:52 +02:00
Harald Welte 441e207870 Add a user-configurable name for each interface
This name is subsequently used in all related log lines, VTY output,
etc. instead of the auto-genreated "IF%u" string with the interface
number.
2023-09-28 22:34:52 +02:00
Andreas Eversberg 2dca6472b1 Add option to enable PSTN datalink before startup
This is the default behaviour now. PSTN datalink can be established
before the system startup has been completed.
2023-09-28 22:34:52 +02:00
Harald Welte d187685d2d add/update copyright notices + license notices throughout 2023-07-18 11:16:54 +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 7e01a911fb Added echo suppressor option 2023-03-07 15:47:05 +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 e70c91fc4a VTY: Show single port; Use 'singular' for ports and links 2023-03-07 15:46:51 +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 fdcce2bb7f Dynamically open and close b-channels depending on the usage 2023-03-07 15:46:44 +01:00
Andreas Eversberg d912c376ec Added echo cancelation option 2023-03-07 15:46:40 +01:00
Andreas Eversberg d8a9f29153 Check double use of E1 interface and notify, if not defined
E1 interface may be used by one V5 link only.
Also notify user, if not created and application must be restarted when
created.
2023-03-07 15:46:26 +01:00
Andreas Eversberg 55266068d5 Work on VTY 2023-03-07 15:46:09 +01:00