diff options
Diffstat (limited to 'channels/chan_sip.c')
-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 fcdee0c6f..d94f4886d 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4354,6 +4354,8 @@ static struct sip_pvt *find_call(struct sip_request *req, struct sockaddr_in *si for (p = iflist; 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 |