diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-08 18:25:53 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-08 18:41:32 +0200 |
commit | 56fafdd3a6c51658bfd9b94b1eea5c03268ff55a (patch) | |
tree | 088229e1a0ae4fc405507f9818dfdc61cc41878d /msc/osmo-msc.cfg | |
parent | 55e6635af38ceb07bd3d5bf6d34a75320b1855a5 (diff) |
Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client
Until recently, the asp-clnt-* ASPs, which have specific handling in osmo_sccp_simple_client_on_ss7_id(),
were being always forcedly set to sctp-role CLIENT by code in that
function.
This prevented user of that API from explicitly configuring the ASP as
"sctp-role server" through the VTY as the option would be overwritten silently.
Now, the sctp-role from config is followed if the ASP is
defined/configured through the VTY (not dynamically created at the time
osmo_sccp_simple_client_on_ss7_id() is called).
Since the default for a VTY-specified ASP is to be in "sctp-role
server", the config files need to be updated to properly configure the
ASP to be in "sctp-role client", which is the desired mode here.
Same applies for "role", where the default is SG but it is actually used
as "ASP" here.
Change-Id: I4eb5b5f6b4b24df079b4c74e2a2e2ebb8769b0bd
Diffstat (limited to 'msc/osmo-msc.cfg')
-rw-r--r-- | msc/osmo-msc.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/msc/osmo-msc.cfg b/msc/osmo-msc.cfg index 1adb0e92..a266ed4c 100644 --- a/msc/osmo-msc.cfg +++ b/msc/osmo-msc.cfg @@ -42,6 +42,8 @@ cs7 instance 0 point-code 0.23.1 asp asp-clnt-OsmoMSC-A 2905 0 m3ua remote-ip 127.0.0.1 + role asp + sctp-role client as as-clnt-OsmoMSC-A m3ua asp asp-clnt-OsmoMSC-A routing-key 3 0.23.1 |