regression: osmo-bsc cannot connect to osmo-stp after "ss7: Support multiple addresses in SCTP connections", when cs7 contains an 'asp' line
In my test setup, without change of config, osmo-bsc suddenly does not connect to the STP anymore:
DLSS7 ERROR 0: asp-asp-clnt-msc-0: Unable to open stream client for ASP asp-clnt-msc-0 (osmo_ss7.c:1315)
and then obviously it keeps cycling through attempting to send a BSSMAP RESET to the MSC which never happens.
I've bisected this down to this commit being the causing change:
commit 80b135581909fef595d48436ab04dbcb147e3895 Refs: [HEAD], [refs/bisect/bad], 1.1.0-15-g80b1355 Author: Pau Espin Pedrol <firstname.lastname@example.org> AuthorDate: Fri Oct 11 17:58:07 2019 +0200 Commit: laforge <email@example.com> CommitDate: Tue Oct 22 19:38:53 2019 +0000 ss7: Support multiple addresses in SCTP connections
My osmo-bsc.cfg, extract:
cs7 instance 0 point-code 0.23.3 asp asp-clnt-msc-0 2905 0 m3ua
After bisecting, I notice:
If I remove the line 'asp asp-clnt-msc-0 2905 0 m3ua', it works again.
How does this line manage to break connecting after this patch?
Can we make it so that it also still works even if such a line is in the config?