https://osmocom.org/https://osmocom.org/favicon.ico?16647414092019-08-12T12:17:07ZOpen Source Mobile CommunicationsOsmoSGSN - Bug #4126: use vty objects instead of hardcoded sctp object (and remote-ip)https://osmocom.org/issues/4126?journal_id=155712019-08-12T12:17:07Zpespin
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Assignee</strong> set to <i>lynxis</i></li></ul><p>I don't get what's exactly wrong in this ticket. According to function documentation:</p>
<pre>
/*! \brief request an sccp client instance
* \param[in] ctx talloc context
* \param[in] name human readable name
* \param[in] default_pc pointcode to be used on missing VTY setting
* \param[in] prot protocol to be used (e.g OSMO_SS7_ASP_PROT_M3UA)
* \param[in] default_local_port local port to be usd on missing VTY setting
* \param[in] default_local_ip local IP-address to be usd on missing VTY setting
* \param[in] default_remote_port remote port to be usd on missing VTY setting
* \param[in] default_remote_ip remote IP-address to be usd on missing VTY setting
* \returns callee-allocated SCCP instance on success; NULL on error */
struct osmo_sccp_instance *
osmo_sccp_simple_client(void *ctx, const char *name, uint32_t default_pc,
enum osmo_ss7_asp_protocol prot, int default_local_port,
const char *default_local_ip, int default_remote_port,
const char *default_remote_ip)
{
/*! This is simplified version of osmo_sccp_simple_client_on_ss7_id().
* the only difference is that the ID of the CS7 instance will be
* set to 1 statically */
return osmo_sccp_simple_client_on_ss7_id(ctx, 1, name, default_pc, prot,
default_local_port,
default_local_ip,
default_remote_port,
default_remote_ip);
}
</pre>
<p>So the parameters are only used if no VTY parameter is found.</p>
<p>Is this related to <a class="external" href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15062">https://gerrit.osmocom.org/c/libosmo-sccp/+/15062</a>?</p> OsmoSGSN - Bug #4126: use vty objects instead of hardcoded sctp object (and remote-ip)https://osmocom.org/issues/4126?journal_id=161852019-10-08T16:34:34Zlynxis
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul>