diff options
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0741715f4..02ee23995 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4721,6 +4721,8 @@ static struct sip_pvt *find_call(struct sip_request *req, struct sockaddr_in *si for (p = dialoglist; p; p = p->next) { /* In pedantic, we do not want packets with bad syntax to be connected to a PVT */ int found = FALSE; + if (ast_strlen_zero(p->callid)) + continue; if (req->method == SIP_REGISTER) found = (!strcmp(p->callid, callid)); else |