app_directory: Set variable indicating reason directory exited
authorJonathan Rose <jrose@digium.com>
Thu, 21 Nov 2013 22:38:31 +0000 (22:38 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 21 Nov 2013 22:38:31 +0000 (22:38 +0000)
commita60764d61ea7cb27dcb314757301e82d78bf38ed
tree5ff1f0fd5500346772e9d444e0b19bb607952b3c
parent79430bfeb80391b2001d5fee8c17aedaae54fe5e
app_directory: Set variable indicating reason directory exited

By the time the directory application exits, a channel variable
DIRECTORY_RESULT will be set for the channel that invoked it which
can be used to determine the reason for exit. The changes log and
the app_directory documentation contain specific details about
each of the possible values for DIRECTORY_RESULT.

Review: https://reviewboard.asterisk.org/r/3016/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
apps/app_directory.c