Commit Graph

84 Commits

Author SHA1 Message Date
Andreas Eversberg 0f0ada9200 Add echo suppressor along with echo canceller 2023-03-07 15:47:01 +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 aa83e9c3ce Pulsed signal can have only one byte as value (3 byte IE) 2023-03-07 15:46:54 +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 c9f0c33587 Send to E1, only if layer 1 is active
This prevents filling the TX queue inside libosmo-abis.
2023-03-07 15:46:50 +01:00
Andreas Eversberg bd2aae0f2b Update configure.ac to current release of libosmocore/libosmo-abis 2023-03-07 15:46:48 +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 acd3ae7c40 Add libg711 to transcode G.711 audio 2023-03-07 15:46:36 +01:00
Andreas Eversberg 35ceaafd85 Added libecho, the line-echo-canceler from spandsp 2023-03-07 15:46:34 +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 d1c0b37bce Added GSMTAP IP option and fixed command line help output format 2023-03-07 15:46:25 +01:00
Andreas Eversberg 9f63e0e965 Updated ph-socket interface 2023-03-07 15:46:23 +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 8c195781b6 Add graph of protocol entities 2023-03-07 15:46:19 +01:00
Andreas Eversberg 776194423a Work on Makefile.am 2023-03-07 15:46:16 +01:00
Andreas Eversberg 1246d7510e Working on main.c 2023-03-07 15:46:14 +01:00
Andreas Eversberg 6cbb9eb346 Introduce layer1.c to process layer1 data flow and signals 2023-03-07 15:46:13 +01:00
Andreas Eversberg 2f47ca42fc Work on ph_socket.c 2023-03-07 15:46:10 +01:00
Andreas Eversberg 55266068d5 Work on VTY 2023-03-07 15:46:09 +01:00
Andreas Eversberg 3aff22f309 Work on v5x_protocol.c 2023-03-07 15:46:05 +01:00
Andreas Eversberg 11c87bdea7 Work on v5x_data.c and v5x_internal.h 2023-03-07 15:46:04 +01:00
Andreas Eversberg be536b9029 Work on v5x_le_ctrl_fsm.c 2023-03-07 15:46:01 +01:00
Andreas Eversberg b53b6f7338 Work on v5x_le_port_fsm.c 2023-03-07 15:45:59 +01:00
Andreas Eversberg 5fe471bf43 Work on management
Also merged provisioning and management into one source file.
2023-03-07 15:45:58 +01:00
Andreas Eversberg 5f227fb417 Work on v5x_le_pstn_fsm.c 2023-03-07 15:45:55 +01:00
Andreas Eversberg fe66653df6 Completed implementation of v52_le_pp_fsm.c 2023-03-07 15:45:53 +01:00
Andreas Eversberg f7117cdeae Completed implementation of v52_le_bcc_fsm.c 2023-03-07 15:45:51 +01:00
Andreas Eversberg 4916de8b50 Completed implementation of v5x_l1_fsm.c 2023-03-07 15:45:49 +01:00
Andreas Eversberg 4ea1488df2 Completed implementation of V52_le_lcp_fsm.c 2023-03-07 15:45:46 +01:00
Andreas Eversberg 042cfa8752 Work on logging.c 2023-03-07 15:45:44 +01:00
Andreas Eversberg f018123314 Fixes for lapv5 2023-03-07 15:45:40 +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 6655e3ee01 Added destroy function for interface 2023-03-07 15:45:36 +01:00
Andreas Eversberg 5ace124d4d Move main.c to src/ 2023-03-07 15:45:34 +01:00
Andreas Eversberg b1876d2757 Move v5x_l2_mgmt and v51_le_provisioning to src/
New names are v5x_le_management and v5x_le_provisioning
2023-03-07 15:45:33 +01:00
Andreas Eversberg a6ca9ee14c Move v52_lcp_fsm.c to src/ 2023-03-07 15:45:29 +01:00
Andreas Eversberg c7be79b668 Move v5x_le_pstn_fsm.h to src/v5x_le_pstn_fsm.h
Also changed serveral names of functions/structures/defintions.
2023-03-07 15:45:28 +01:00
Andreas Eversberg 1031d5e3e6 Move v52_le_user_port_fsm to src/v5x_le_port_fsm
Also changed serveral names of functions/structures/defintions.
2023-03-07 15:45:25 +01:00
Andreas Eversberg db4658b430 Move v51_le_ctrl to src/v5x_le_ctrl_fsm
Also changed serveral names of functions/structures/defintions.
2023-03-07 15:45:23 +01:00
Andreas Eversberg 60c6a6edd5 Move v51_l1_fsm.c to src/v5x_l1_fsm.c 2023-03-07 15:45:20 +01:00
Andreas Eversberg 4a19da28b6 Move v5x_protocol to src/ 2023-03-07 15:45:18 +01:00
Andreas Eversberg 7f47013981 Move lapv5 to src/ 2023-03-07 15:45:15 +01:00
Andreas Eversberg 0876200431 Move ph_socket to src/ 2023-03-07 15:45:14 +01:00
Andreas Eversberg 169cf25700 Move logging to src/ 2023-03-07 15:45:13 +01:00
Andreas Eversberg 6d77e6a982 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.
2023-03-07 15:45:09 +01:00
Andreas Eversberg 336ffe1133 Prepared autoconf/automake 2023-03-07 15:45:07 +01:00
Andreas Eversberg 88efc34840 Jolly's hack on Makefile 2023-03-07 15:45:04 +01:00
Andreas Eversberg 5d5770437d Hacking on main 2023-03-07 15:45:03 +01:00