;app = Playback ; Application to execute on answer (instead of context/extension)
;appdata = tt-weasels ; Data part of application to execute on answer
;
-;waittime = 30 ; How long to wait for an answer
+;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
;[calendar2]
; Note: Support for Exchange Server 2003
;app = Playback ; Application to execute on answer (instead of context/extension)
;appdata = tt-weasels ; Data part of application to execute on answer
;
-;waittime = 30 ; How long to wait for an answer
+;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
;[calendar4]
;type = caldav ; type of calendar--currently supported: ical, caldav, exchange, or ews
;app = Playback ; Application to execute on answer (instead of context/extension)
;appdata = tt-weasels ; Data part of application to execute on answer
;
-;waittime = 30 ; How long to wait for an answer
+;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
cal->refresh = 3600;
cal->timeframe = 60;
+ cal->notify_waittime = 30000;
for (v = ast_variable_browse(cfg, cat); v; v = v->next) {
if (!strcasecmp(v->name, "autoreminder")) {
} else if (!strcasecmp(v->name, "extension")) {
ast_string_field_set(cal, notify_extension, v->value);
} else if (!strcasecmp(v->name, "waittime")) {
- cal->notify_waittime = atoi(v->value);
+ int i = atoi(v->value);
+ if (i > 0) {
+ cal->notify_waittime = 1000 * i;
+ }
} else if (!strcasecmp(v->name, "app")) {
ast_string_field_set(cal, notify_app, v->value);
} else if (!strcasecmp(v->name, "appdata")) {