[asterisk-bugs] [JIRA] (ASTERISK-25524) module reload res_calendar.so does not reload everything in calendar.conf

Jesper (JIRA) noreply at issues.asterisk.org
Thu Nov 5 06:50:32 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper updated ASTERISK-25524:
------------------------------

    Description: 
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:
[gcal1]
type = ical
url = https://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
user =
secret =
refresh = 5
timeframe = 60

sililar if
channel = SIP/joe 
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

  was:
if the url are 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:
[gcal1]
type = ical
url = https://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
user =
secret =
refresh = 5
timeframe = 60




> 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
>         Environment: CentOS 6.7
>            Reporter: Jesper
>            Severity: Minor
>              Labels: calendar
>
> 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:
> [gcal1]
> type = ical
> url = https://www.google.com/calendar/ical/XXXXXXXXX/public/basic.ics
> user =
> secret =
> refresh = 5
> timeframe = 60
> sililar if
> channel = SIP/joe 
> 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