Handle Surrogate channels in Dial message processing
authorMatthew Jordan <mjordan@digium.com>
Thu, 8 Aug 2013 02:58:01 +0000 (02:58 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 8 Aug 2013 02:58:01 +0000 (02:58 +0000)
commit8b75a68f13ac545ab48054c3cd80c456010ec947
tree27ed8f80c7183b649710fe556c378ffdcaf5e94e
parent200ed6a405405497ba1e498c52fd27f5b84b43f7
Handle Surrogate channels in Dial message processing

Depending on when a Surrogate channel replaces an existing channel, it is
possible to get a Dial message for the Surrogate channel. When this occurs, no
CDR will exist for the channel as Surrogate channels are ignored. Safely handle
the case when a CDR doesn't exist for a Dial message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cdr.c