diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c index ede00c84..875a0d02 100644 --- a/src/hnbgw_cn.c +++ b/src/hnbgw_cn.c @@ -34,6 +34,7 @@ #include #include #include +#include /*********************************************************************** * Outbound RANAP RESET to CN @@ -50,6 +51,10 @@ static int transmit_rst(struct hnb_gw *gw, RANAP_CN_DomainIndicator_t domain, .choice. transmissionNetwork = RANAP_CauseTransmissionNetwork_signalling_transport_resource_failure, }; + LOGP(DRANAP, LOGL_NOTICE, "Tx RESET to %s %s\n", + domain == CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS", + osmo_sccp_inst_addr_name(gw->sccp.cnlink->sccp, remote_addr)); + msg = ranap_new_msg_reset(domain, &cause); return osmo_sccp_tx_unitdata_msg(gw->sccp.cnlink->sccp_user, diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index 1d50d4d0..2d67219c 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c @@ -119,6 +119,8 @@ static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx) ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBRegisterAccept, &accept_out); + LOGP(DHNBAP, LOGL_NOTICE, "Accepting HNB-REGISTER-REQ from %s\n", ctx->identity_info); + return hnbgw_hnbap_tx(ctx, msg); }