[asterisk-bugs] [JIRA] (ASTERISK-25524) module reload res_calendar.so does not reload everything in calendar.conf
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Sep 19 07:36:07 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-25524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238745#comment-238745 ]
Friendly Automation commented on ASTERISK-25524:
------------------------------------------------
Change 6507 merged by Joshua Colp:
res_calendar: On reload, update all configuration
[https://gerrit.asterisk.org/6507|https://gerrit.asterisk.org/6507]
> module reload res_calendar.so does not reload everything in calendar.conf
> -------------------------------------------------------------------------
>
> Key: ASTERISK-25524
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25524
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_calendar
> Affects Versions: 11.18.0, 13.6.0
> Environment: CentOS 6.7
> Reporter: Jesper
> Severity: Minor
> Labels: calendar
> Attachments: calendar_reload.patch
>
>
> if the url is changed from:
> url = https://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
> to
> url = http://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
> changes are not active after "module reload res_calendar.so"
> calendar.conf in use:
> {noformat}
> [gcal1]
> type = ical
> url = https://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
> user =
> secret =
> refresh = 5
> timeframe = 60
> {noformat}
> similar if
> {noformat}
> channel = SIP/joe
> {noformat}
> is set in calendar.conf and then the line "channel = SIP/joe" is removed from the config, the setting for the variable is not updated after "module reload res_calendar.so"
> I have to do a:
> /usr/sbin/asterisk -rx "module unload res_calendar_icalendar.so" ; sleep 2 ; /usr/sbin/asterisk -rx "module load res_calendar_icalendar.so"
> to make changes effective
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list