summaryrefslogtreecommitdiff
path: root/res/res_calendar.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2009-10-13 22:14:22 +0000
committerTerry Wilson <twilson@digium.com>2009-10-13 22:14:22 +0000
commit5ea7d4a291792faa0365108b5393c5951ffd3b6a (patch)
tree6bade91babc58e1acc94eed61756267435dc709c /res/res_calendar.c
parent51f34d24e44bfe70e381a3c1f7c49f7412dbe7fc (diff)
use Calendar: instead of Calendar/ for devstate
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@223992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_calendar.c')
-rw-r--r--res/res_calendar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/res_calendar.c b/res/res_calendar.c
index c191c846b..9b93aa965 100644
--- a/res/res_calendar.c
+++ b/res/res_calendar.c
@@ -524,9 +524,9 @@ static struct ast_calendar_event *destroy_event(struct ast_calendar_event *event
* but haven't hit the end event yet, go ahead and set the devicestate to the current busy status */
if (event->bs_start_sched < 0 && event->bs_end_sched >= 0) {
if (!calendar_is_busy(event->owner)) {
- ast_devstate_changed(AST_DEVICE_NOT_INUSE, "Calendar/%s", event->owner->name);
+ ast_devstate_changed(AST_DEVICE_NOT_INUSE, "Calendar:%s", event->owner->name);
} else {
- ast_devstate_changed(AST_DEVICE_BUSY, "Calendar/%s", event->owner->name);
+ ast_devstate_changed(AST_DEVICE_BUSY, "Calendar:%s", event->owner->name);
}
}
@@ -767,9 +767,9 @@ static int calendar_devstate_change(const void *data)
/* We can have overlapping events, so ignore the event->busy_state and check busy state
* based on all events in the calendar */
if (!calendar_is_busy(event->owner)) {
- ast_devstate_changed(AST_DEVICE_NOT_INUSE, "Calendar/%s", event->owner->name);
+ ast_devstate_changed(AST_DEVICE_NOT_INUSE, "Calendar:%s", event->owner->name);
} else {
- ast_devstate_changed(AST_DEVICE_BUSY, "Calendar/%s", event->owner->name);
+ ast_devstate_changed(AST_DEVICE_BUSY, "Calendar:%s", event->owner->name);
}
event = ast_calendar_unref_event(event);