[Asterisk-code-review] res calendar: On reload, update all configuration (asterisk[13])

Sean Bright asteriskteam at digium.com
Fri Sep 15 14:46:00 CDT 2017


Sean Bright has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/6507 )

Change subject: res_calendar: On reload, update all configuration
......................................................................

res_calendar: On reload, update all configuration

This changes the behavior of res_calendar to drop all existing calendars
and re-create them whenever a reload is done. The Calendar API provides
no way for configuration information to be pushed down to calendar
'techs' so updated settings would not take affect until a module
unload/load was done or Asterisk was restarted.

Asterisk 15+ already has a configuration option 'fetch_again_at_reload'
that performs a similar function.

Also fix a tiny memory leak in res_calendar_caldav while we're at it.

ASTERISK-25524 #close
Reported by: Jesper

Change-Id: Ib0f8057642e9d471960f1a79fd42e5a3ce587d3b
---
M include/asterisk/calendar.h
M res/res_calendar.c
M res/res_calendar_caldav.c
3 files changed, 29 insertions(+), 56 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/6507/2
-- 
To view, visit https://gerrit.asterisk.org/6507
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib0f8057642e9d471960f1a79fd42e5a3ce587d3b
Gerrit-Change-Number: 6507
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170915/b6940889/attachment.html>


More information about the asterisk-code-review mailing list