Module: kamailio Branch: 5.1 Commit: e4ff0ab2a86c64438251d8de969ac821f8b31309 URL: https://github.com/kamailio/kamailio/commit/e4ff0ab2a86c64438251d8de969ac821f8b31309
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2018-06-11T09:14:05+02:00 ims_registrar_pcscf: fix #1556 (cherry picked from commit cddcdb3db2745ef43b5b892a20c3bd1aae439bae) --- Modified: src/modules/ims_registrar_pcscf/service_routes.c --- Diff: https://github.com/kamailio/kamailio/commit/e4ff0ab2a86c64438251d8de969ac821f8b31309.diff Patch: https://github.com/kamailio/kamailio/commit/e4ff0ab2a86c64438251d8de969ac821f8b31309.patch --- diff --git a/src/modules/ims_registrar_pcscf/service_routes.c b/src/modules/ims_registrar_pcscf/service_routes.c index 9c5eba8090..bc4a2a0bec 100644 --- a/src/modules/ims_registrar_pcscf/service_routes.c +++ b/src/modules/ims_registrar_pcscf/service_routes.c @@ -130,9 +130,9 @@ int checkcontact(struct sip_msg* _m, pcontact_t * c) { break; } } else if (c->security_temp) { - switch (c->security->type) { + switch (c->security_temp->type) { case SECURITY_IPSEC: - security_server_port = c->security->data.ipsec->port_uc; + security_server_port = c->security_temp->data.ipsec->port_uc; break; case SECURITY_TLS: case SECURITY_NONE: _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev