Fix handling of notification calls w/ the dialing api

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@223874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2009-10-13 01:51:46 +00:00
parent 832be82dfb
commit a8034cd770
3 changed files with 129 additions and 42 deletions

View File

@@ -24,6 +24,7 @@
#include "asterisk/config.h"
#include "asterisk/linkedlists.h"
#include "asterisk/lock.h"
#include "asterisk/dial.h"
/*! \file calendar.h
* \brief A general API for managing calendar events with Asterisk
@@ -103,6 +104,8 @@ struct ast_calendar_event {
int notify_sched; /*!< The sched for event notification */
int bs_start_sched; /*!< The sched for changing the device state at the start of an event */
int bs_end_sched; /*!< The sched for changing the device state at the end of an event */
struct ast_dial *dial;
struct ast_channel *notify_chan;
AST_LIST_HEAD_NOLOCK(attendees, ast_calendar_attendee) attendees;
};