Commit Graph

49 Commits

Author SHA1 Message Date
Andreas Eversberg 91ceb56495 Add dial tone detection to disable echo suppressor 2023-03-05 16:39:31 +01:00
Andreas Eversberg 7aa290154a Fixes missing event in LCP FSM 2023-03-05 16:39:28 +01:00
Andreas Eversberg 5268c0fc9b Added echo suppressor option 2023-03-05 16:39:26 +01:00
Andreas Eversberg c2bf2598b1 Add echo suppressor along with echo canceller 2023-03-05 16:39:22 +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 dd23410c52 Pulsed signal can have only one byte as value (3 byte IE) 2023-03-03 09:03:43 +01:00
Andreas Eversberg aa07ba4a48 VTY: Show single port; Use 'singular' for ports and links 2023-03-03 09:03:41 +01:00
Andreas Eversberg 40fddb83a7 Send to E1, only if layer 1 is active
This prevents filling the TX queue inside libosmo-abis.
2023-03-03 09:03:38 +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 e59752a1cb Add libg711 to transcode G.711 audio 2023-02-04 16:49:30 +01:00
Andreas Eversberg c6d0c2452c Added libecho, the line-echo-canceler from spandsp 2023-02-04 16:49:26 +01:00
Andreas Eversberg 8b00969b4a 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-01-28 21:42:56 +01:00
Andreas Eversberg 3aee692b1c Added GSMTAP IP option and fixed command line help output format 2023-01-24 18:33:04 +01:00
Andreas Eversberg 687e963fd4 Updated ph-socket interface 2023-01-24 18:07:52 +01:00
Andreas Eversberg 905a1b22cf Add test function to test Sa 7 bit setting and reporting 2023-01-15 20:00:59 +01:00
Andreas Eversberg 61d531cedc Work on Makefile.am 2023-01-15 20:00:56 +01:00
Andreas Eversberg 9c0893403d Working on main.c 2023-01-15 20:00:53 +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 ef33793758 Work on ph_socket.c 2023-01-15 20:00:46 +01:00
Andreas Eversberg 5d972a0077 Work on VTY 2023-01-15 20:00:43 +01:00
Andreas Eversberg a260178387 Work on v5x_protocol.c 2023-01-15 20:00:39 +01:00
Andreas Eversberg 3ebe29e28f Work on v5x_data.c and v5x_internal.h 2023-01-15 20:00:37 +01:00
Andreas Eversberg 5addae556a Work on v5x_le_ctrl_fsm.c 2023-01-15 20:00:34 +01:00
Andreas Eversberg ba46786de7 Work on v5x_le_port_fsm.c 2023-01-15 20:00:32 +01:00
Andreas Eversberg 58937c291b Work on management
Also merged provisioning and management into one source file.
2023-01-15 20:00:29 +01:00
Andreas Eversberg fbb97bdd73 Work on v5x_le_pstn_fsm.c 2023-01-15 20:00:22 +01:00
Andreas Eversberg 920fada1bc Completed implementation of v52_le_pp_fsm.c 2023-01-15 20:00:18 +01:00
Andreas Eversberg 276b423051 Completed implementation of v52_le_bcc_fsm.c 2023-01-15 20:00:17 +01:00
Andreas Eversberg 4994a59962 Completed implementation of v5x_l1_fsm.c 2023-01-15 20:00:14 +01:00
Andreas Eversberg 852990f2e3 Completed implementation of V52_le_lcp_fsm.c 2023-01-08 10:17:58 +01:00
Andreas Eversberg 6a4a58d4b1 Work on logging.c 2023-01-08 10:17:56 +01:00
Andreas Eversberg 513f3bba5a Fixes for lapv5 2023-01-08 10:17:53 +01:00
Andreas Eversberg aeae94c547 Added functions to create and destroy V5.1/V5.2 interface with VTY 2022-12-29 17:14:20 +01:00
Andreas Eversberg 2a23a1c9cf Added destroy function for interface 2022-12-29 17:14:19 +01:00
Andreas Eversberg 65dac95ff0 Move main.c to src/ 2022-12-29 17:14:18 +01:00
Andreas Eversberg b64a17c748 Move v5x_l2_mgmt and v51_le_provisioning to src/
New names are v5x_le_management and v5x_le_provisioning
2022-12-29 17:14:15 +01:00
Andreas Eversberg 7b4561f7cf Move v52_lcp_fsm.c to src/ 2022-12-29 17:14:13 +01:00
Andreas Eversberg ca0d2f6091 Move v5x_le_pstn_fsm.h to src/v5x_le_pstn_fsm.h
Also changed serveral names of functions/structures/defintions.
2022-12-29 17:14:11 +01:00
Andreas Eversberg ff619cc54b Move v52_le_user_port_fsm to src/v5x_le_port_fsm
Also changed serveral names of functions/structures/defintions.
2022-12-29 17:14:09 +01:00
Andreas Eversberg 595d1091bc Move v51_le_ctrl to src/v5x_le_ctrl_fsm
Also changed serveral names of functions/structures/defintions.
2022-12-29 17:14:08 +01:00
Andreas Eversberg f457d272b6 Move v51_l1_fsm.c to src/v5x_l1_fsm.c 2022-12-29 17:14:05 +01:00
Andreas Eversberg 3cabd7f1a6 Move v5x_protocol to src/ 2022-12-29 17:14:03 +01:00
Andreas Eversberg ff5e1d4947 Move lapv5 to src/ 2022-12-29 17:14:00 +01:00
Andreas Eversberg dec8a8adea Move ph_socket to src/ 2022-12-29 17:13:59 +01:00
Andreas Eversberg d91fd97210 Move logging to src/ 2022-12-29 17:13:57 +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
Andreas Eversberg 83d8cbdd3a Prepared autoconf/automake 2022-12-29 17:13:53 +01:00