diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-05-25 15:51:05 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-05-25 18:58:16 +0000 |
commit | 3909d99faeda91befc05c50bf8b3d404bee1e68f (patch) | |
tree | da7a6b1a5523d82601ea2b5afbc9eff6b7d8ec6d /src/osmo-bsc/osmo_bsc_sigtran.c | |
parent | 631bde0e9b8245225d7df185480aaa84c732c2df (diff) |
vty: Permit selection of other ASP protocol than M3UA
We used to have hard-coded M3UA. Let's allow the user to configure
this per MSC using a new "asp-protocol (m3ua|sua|ipa)" VTY command.
For SUA this should just work 1:1 without any trouble. For IPA,
this of course only changes the underlying transport without reflecting
the various differences in terms of BSSMAP ASSIGNMENT, MGCP handling,
etc.
Change-Id: I0800c709e574cedd7f5dd98be81c78782245cd13
Related: OS#2544
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_sigtran.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_sigtran.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index e3d48298d..2c3507d9e 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -447,7 +447,7 @@ int osmo_bsc_sigtran_init(struct llist_head *mscs) default_pc = osmo_ss7_pointcode_parse(NULL, BSC_DEFAULT_PC); msc->a.sccp = osmo_sccp_simple_client_on_ss7_id(msc, msc->a.cs7_instance, msc_name, default_pc, - OSMO_SS7_ASP_PROT_M3UA, 0, NULL, 0, NULL); + msc->a.asp_proto, 0, NULL, 0, NULL); if (!msc->a.sccp) return -EINVAL; |