Prevent crash when originating a call to a local channel.
authorMark Michelson <mmichelson@digium.com>
Fri, 9 Apr 2010 21:41:30 +0000 (21:41 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 9 Apr 2010 21:41:30 +0000 (21:41 +0000)
commit7509949658486290e77c5ba80627dd9f48b3315c
treece17b77ffe24df730b80abeb57812e43a75c565d
parentd66b44b4ca4bae6fa838e97876ea50f6bbd09a07
Prevent crash when originating a call to a local channel.

Call completion code tries to grab the call completion parameters
from the requesting channel during local_request. When originating
a call to a local channel, however, this channel is NULL. This
was causing an issue for me when trying to run a test script.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_local.c