libosmo-sccp/src
Neels Hofmeyr d897e7daa6 osmo_sccp_simple_client_on_ss7_id(): do not care about ASP name
Our manuals explain that the cs7 config automatically adds missing parts.
However, previous code requires an ASP to exactly match the default name that
the autoconfiguration would choose -- that is unintuitive.

If a config included only an ASP, or both AS and ASP but omitting to add the
ASP to the AS, auto configuration would pick it up iff it exactly had the name
the application chose. For osmo-bsc, that was 'asp-clnt-msc-0', if 'msc 0' is
the first MSC in the config file. For osmo-msc, it is 'asp-clnt-OsmoMSC-A' or
'asp-clnt-OsmoMSC-A-Iu' and so forth, so it is not always clear which name the
user should pick to get the ASP used by auto config.

Refactor so that any ASP with a matching protocol that is not associated with
any AS yet is picked up by the auto configuration, i.e. associated with the AS
etc., regardless of the name chosen in the config file.

Related: OS#4635
Change-Id: I2954e0167729fd0b1a7d0144a5b5775fc1c44c35
2020-06-26 16:05:38 +02:00
..
Makefile.am sccp: Add value_string for SCCP message types 2020-01-17 14:38:22 +01:00
ipa.c ipa: VTY config option to explicitly enable/disable SCCP patching 2019-10-19 22:31:04 +02:00
m3ua.c M3UA: Accept DATA without routing context IE if only a single AS in ASP 2020-06-21 15:51:12 +02:00
mtp_pcap.c build: move include/{mtp,sccp} to include/osmocom/ 2018-10-21 12:35:11 +00:00
osmo_ss7.c osmo_ss7: remove use-after-free of stream_server after close_cb 2020-06-25 13:15:09 +02:00
osmo_ss7_hmrt.c cosmetic: hmrt_message_for_routing(): use osmo_ss7_route_name() 2017-12-24 21:21:55 +01:00
osmo_ss7_vty.c Add "no traffic-mode" configuration to AS 2020-06-13 16:15:41 +02:00
sccp.c big endian: add missing endian.h in sccp.c 2020-05-19 22:37:41 +02:00
sccp2sua.c sccp2sua: fix typo: s/omso_sccp_addr/osmo_sccp_addr/ 2020-06-02 02:02:20 +07:00
sccp_helpers.c osmo_sccp_addr_name / _dump: drop 'NO_GT' output 2017-12-24 16:52:53 +01:00
sccp_internal.h sccp_internal.h: fix compilation with gcc-10 2020-04-20 19:35:43 +02:00
sccp_sap.c Add SPDX-License-Identifier + missing copyright statements 2017-11-13 01:25:47 +09:00
sccp_sclc.c add caller-owns-msgb variant osmo_sccp_user_sap_down_nofree() 2019-04-12 06:27:10 +02:00
sccp_scoc.c sccp: Disarm inactivity timer upon T(iar) active->disconn_pend 2020-01-21 10:53:34 +01:00
sccp_scrc.c sccp: Log missing user and router failure paths 2020-01-17 15:52:24 +01:00
sccp_types.c sccp: Improve logging in sccp_to_xua_opt() 2020-01-17 14:41:53 +01:00
sccp_user.c osmo_sccp_simple_client_on_ss7_id(): do not care about ASP name 2020-06-26 16:05:38 +02:00
sccp_vty.c make SCCP timers configurable 2018-09-27 17:53:40 +02:00
sua.c Add SPDX-License-Identifier + missing copyright statements 2017-11-13 01:25:47 +09:00
xua_as_fsm.c xua: Implement traffic mode broadcast 2019-11-20 16:17:39 +01:00
xua_as_fsm.h osmo_ss7_vty.c: implement 'active' filter for show_cs7_as_cmd 2019-11-14 22:31:40 +00:00
xua_asp_fsm.c xua_asp_fsm.c: Drop unused defines 2020-01-21 15:25:27 +01:00
xua_asp_fsm.h introduce public enum osmo_ss7_asp_role for ASP/SG/IPSP 2019-11-05 20:50:37 +00:00
xua_default_lm_fsm.c ss7: Set configured AS traffic mode when sending Routing Key Register msg 2019-10-24 13:23:09 +02:00
xua_internal.h Introduce osmo_ss7_register_rx_unknown_cb() for unknown PPID/StreamID 2018-06-08 18:47:44 +00:00
xua_msg.c xua: Avoid multiline log in xua_msg_dump() 2019-11-12 21:35:24 +00:00
xua_rkm.c M3UA: Reject ASP activation + RKM registration for incompatible traffic-mode 2019-11-05 20:50:26 +00:00