From 6abb9f64156dbc0ac1dd1d1d4725374a81b93123 Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Wed, 30 Apr 2003 22:17:21 +0000 Subject: [PATCH] Fix core on initial one git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@944 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7d78caec97..429d22411c 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4242,7 +4242,8 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc ast_log(LOG_DEBUG, "Hm.... No sdp for the moemnt\n"); } /* Queue NULL frame to prod ast_rtp_bridge if appropriate */ - ast_queue_frame(p->owner, &af, 0); + if (p->owner) + ast_queue_frame(p->owner, &af, 0); } else if (sipdebug) ast_verbose("Ignoring this request\n"); if (!p->lastinvite) { -- GitLab