aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-30 22:17:21 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-30 22:17:21 +0000
commitc90dccd3a5b841cb48529c6d870218d2930417bd (patch)
tree5cfc829851315fae102872ca71e0fd05be9a1ab7
parenta64a11bb588fa2ba137e4310c7db862419e904a8 (diff)
Fix core on initial one
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@944 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7d78caec9..429d22411 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) {