diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 1452a7cf0f..25dff53930 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -298,6 +298,10 @@ sofia_transport_t sofia_glue_str2transport(const char *str) return SOFIA_TRANSPORT_SCTP; } else if (!strncasecmp(str, "tls", 3)) { return SOFIA_TRANSPORT_TCP_TLS; + } else if (!strncasecmp(str, "wss", 3)) { + return SOFIA_TRANSPORT_WSS; + } else if (!strncasecmp(str, "ws", 2)) { + return SOFIA_TRANSPORT_WS; } return SOFIA_TRANSPORT_UNKNOWN;