diff --git a/src/sip/request.c b/src/sip/request.c index 6968a8b80..e11e57f82 100644 --- a/src/sip/request.c +++ b/src/sip/request.c @@ -294,6 +294,11 @@ static bool transp_next_srv(struct sip *sip, enum sip_transp *tp) enum sip_transp i; for (i=(enum sip_transp)(*tp-1); i>SIP_TRANSP_NONE; i--) { + const char *srvid; + + srvid = sip_transp_srvid(i); + if (0 == str_cmp(srvid, "???")) + continue; if (!sip_transp_supported(sip, i, AF_UNSPEC)) continue;