Re: [asterisk-users] Bank holidays read from file?

2018-03-19 Thread Ludovic Gasc
Hi,

To my understanding, you are using ical export with caldav, it won't work:
1. Replace type=caldav by type=ical
2. remove user and secret line.
3. Reload calendar module or restart asterisk to be sure.

Have a nice week.

--
Ludovic Gasc (GMLudo)

2018-03-19 9:31 GMT+01:00 Atux Atux :

> Hi all,
>
>
> i have configured my calendar.conf accordingly to the Asterisk-the
> definitive guide 4th edition and even though i can see the calendar, it
> always shows me as free.
> as you can see in the attached printscreen from my calendar, it has 3
> bookings today, but the asterisk calendar shows me as free.  Here is what's
> going on
>
> PBX*CLI> calendar show calendar myGoogleCal
> Name  : myGoogleCal
> Notify channel: SIP/601
> Notify context: calendar
> Notify extension  :
> Notify applicatio :
> Notify appdata:
> Refresh time  : 15
> Timeframe : 180
> Autoreminder  : 10
> Events
> --
> PBX*CLI> calendar show calendars
> Calendar Type   Status
>     --
> myGoogleCal  caldav free
> PBX*CLI>
>
>
> -
> *calendar.conf*
> [myGoogleCal]
> type=caldav
> url=https://calendar.google.com/calendar/ical/atuxnull%
> 40gmail.com/private-ad3e9197080e5ef00c6155f150fdf1aa/basic.ics
> user=atuxn...@gmail.com
> secret=superdoopersecrete
> refresh=15
> timeframe=180
> autoreminder=10
> channel=SIP/601
> context=calendar
>
>
> On Thu, Mar 15, 2018 at 5:41 PM, Ludovic Gasc  wrote:
>
>> An example, you need to change the URL with Google ical URL.
>>
>> [tests.28]
>> type = ical  ;  type of calendar--currently supported: ical,
>> caldav, exchange, or ews
>> url = http://127.0.0.1:7999/tests/cache/calendars/28.ics   ; URL to
>> shared calendar (Zimbra example)
>> refresh = 1 ; refresh calendar every n minutes
>> timeframe = 1   ; number of minutes of calendar data to pull for
>> each refresh period
>>
>>
>>
>> --
>> Ludovic Gasc (GMLudo)
>>
>> 2018-03-15 15:40 GMT+01:00 Atux Atux :
>>
>>> Hi. thanks a lot for your reply. i will download the newer libical
>>> software. Could you elaborate on icalendar with google calendar config and
>>> calendar.conf, please?
>>>
>>>
>>> On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc  wrote:
>>>
 I never use caldav mode, always icalendar with Google Calendar.

 BTW, you use old versions of libical, Asterisk and Debian, I recommend
 you to upgrade or install a new server with Debian Stretch: You will have
 Asterisk 13, libical2 and security upgrades.
 Asterisk 11 doesn't have security fixes anymore.

 Regards.

 --
 Ludovic Gasc (GMLudo)

 2018-03-15 11:28 GMT+01:00 Atux Atux :

> Hi. Thanks for the idea for calendar, it sounds better. i did not
> manage to make it work though. i am running debian 8 32 bit with asterisk
> 11.25.3. I have installed the packages libneon27-dev & libical-dev then in
> /etc/asterisk the file calendar.conf has the following entries:
> [Gcalendar]
>
> type=caldav
> url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
> user=atuxn...@gmail.com
> secret=MySuperDooperPasswd
> refresh=15
>
>
>
> then a reload to the system and try to see:
> PBX> calendar show calendars
> Calendar Type Status
>   --
>
>
>
> there is nothing shown over here. Off course i checked if my calendar
> is public but i have not an idea why it is not working.
>
>
>
> On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc 
> wrote:
>
>> Hi,
>>
>> I recommend you to use calendar module of Asterisk:
>> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring
>>
>> We are using in production since two years with several hundred
>> calendars, it works pretty well.
>> However, I strongly recommend you to use the latest stable version of
>> libical3, because they have fixed a lot of bugs, especially with 
>> recurring
>> events.
>>
>> And to use Asterisk 15: We had time to time crashes with Asterisk 13
>> and calendars and now it's gone with Asterisk 15.
>> Some bugfixes on recurring events are also included in Asterisk 15.
>>
>> Regards.
>>
>> --
>> Ludovic Gasc (GMLudo)
>>
>> 2018-03-13 20:16 GMT+01:00 Atux Atux :
>>
>>> Hi. in my home office i operate my asterisk and have an IVR that has
>>> the business hours 9-5 and everytime i edit it to load the bank holidays
>>> (New Years eve, christmas, easter, whatever else). I would like to be 
>>> able
>>> to load in the Asterisk's DB or in a file for all the year or years the
>>> planned holidays. Then it will be read from that file to operate

Re: [asterisk-users] Bank holidays read from file?

2018-03-19 Thread Atux Atux
Hi all,


i have configured my calendar.conf accordingly to the Asterisk-the
definitive guide 4th edition and even though i can see the calendar, it
always shows me as free.
as you can see in the attached printscreen from my calendar, it has 3
bookings today, but the asterisk calendar shows me as free.  Here is what's
going on

PBX*CLI> calendar show calendar myGoogleCal
Name  : myGoogleCal
Notify channel: SIP/601
Notify context: calendar
Notify extension  :
Notify applicatio :
Notify appdata:
Refresh time  : 15
Timeframe : 180
Autoreminder  : 10
Events
--
PBX*CLI> calendar show calendars
Calendar Type   Status
    --
myGoogleCal  caldav free
PBX*CLI>


-
*calendar.conf*
[myGoogleCal]
type=caldav
url=
https://calendar.google.com/calendar/ical/atuxnull%40gmail.com/private-ad3e9197080e5ef00c6155f150fdf1aa/basic.ics
user=atuxn...@gmail.com
secret=superdoopersecrete
refresh=15
timeframe=180
autoreminder=10
channel=SIP/601
context=calendar


On Thu, Mar 15, 2018 at 5:41 PM, Ludovic Gasc  wrote:

> An example, you need to change the URL with Google ical URL.
>
> [tests.28]
> type = ical  ;  type of calendar--currently supported: ical,
> caldav, exchange, or ews
> url = http://127.0.0.1:7999/tests/cache/calendars/28.ics   ; URL to
> shared calendar (Zimbra example)
> refresh = 1 ; refresh calendar every n minutes
> timeframe = 1   ; number of minutes of calendar data to pull for
> each refresh period
>
>
>
> --
> Ludovic Gasc (GMLudo)
>
> 2018-03-15 15:40 GMT+01:00 Atux Atux :
>
>> Hi. thanks a lot for your reply. i will download the newer libical
>> software. Could you elaborate on icalendar with google calendar config and
>> calendar.conf, please?
>>
>>
>> On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc  wrote:
>>
>>> I never use caldav mode, always icalendar with Google Calendar.
>>>
>>> BTW, you use old versions of libical, Asterisk and Debian, I recommend
>>> you to upgrade or install a new server with Debian Stretch: You will have
>>> Asterisk 13, libical2 and security upgrades.
>>> Asterisk 11 doesn't have security fixes anymore.
>>>
>>> Regards.
>>>
>>> --
>>> Ludovic Gasc (GMLudo)
>>>
>>> 2018-03-15 11:28 GMT+01:00 Atux Atux :
>>>
 Hi. Thanks for the idea for calendar, it sounds better. i did not
 manage to make it work though. i am running debian 8 32 bit with asterisk
 11.25.3. I have installed the packages libneon27-dev & libical-dev then in
 /etc/asterisk the file calendar.conf has the following entries:
 [Gcalendar]

 type=caldav
 url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
 user=atuxn...@gmail.com
 secret=MySuperDooperPasswd
 refresh=15



 then a reload to the system and try to see:
 PBX> calendar show calendars
 Calendar Type Status
   --



 there is nothing shown over here. Off course i checked if my calendar
 is public but i have not an idea why it is not working.



 On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc 
 wrote:

> Hi,
>
> I recommend you to use calendar module of Asterisk:
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring
>
> We are using in production since two years with several hundred
> calendars, it works pretty well.
> However, I strongly recommend you to use the latest stable version of
> libical3, because they have fixed a lot of bugs, especially with recurring
> events.
>
> And to use Asterisk 15: We had time to time crashes with Asterisk 13
> and calendars and now it's gone with Asterisk 15.
> Some bugfixes on recurring events are also included in Asterisk 15.
>
> Regards.
>
> --
> Ludovic Gasc (GMLudo)
>
> 2018-03-13 20:16 GMT+01:00 Atux Atux :
>
>> Hi. in my home office i operate my asterisk and have an IVR that has
>> the business hours 9-5 and everytime i edit it to load the bank holidays
>> (New Years eve, christmas, easter, whatever else). I would like to be 
>> able
>> to load in the Asterisk's DB or in a file for all the year or years the
>> planned holidays. Then it will be read from that file to operate
>> accordingly.
>> Is there a hint on how to run something like that?
>> I am running asterisk 11.
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started

Re: [asterisk-users] Bank holidays read from file?

2018-03-15 Thread Ludovic Gasc
An example, you need to change the URL with Google ical URL.

[tests.28]
type = ical  ;  type of calendar--currently supported: ical,
caldav, exchange, or ews
url = http://127.0.0.1:7999/tests/cache/calendars/28.ics   ; URL to shared
calendar (Zimbra example)
refresh = 1 ; refresh calendar every n minutes
timeframe = 1   ; number of minutes of calendar data to pull for
each refresh period



--
Ludovic Gasc (GMLudo)

2018-03-15 15:40 GMT+01:00 Atux Atux :

> Hi. thanks a lot for your reply. i will download the newer libical
> software. Could you elaborate on icalendar with google calendar config and
> calendar.conf, please?
>
>
> On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc  wrote:
>
>> I never use caldav mode, always icalendar with Google Calendar.
>>
>> BTW, you use old versions of libical, Asterisk and Debian, I recommend
>> you to upgrade or install a new server with Debian Stretch: You will have
>> Asterisk 13, libical2 and security upgrades.
>> Asterisk 11 doesn't have security fixes anymore.
>>
>> Regards.
>>
>> --
>> Ludovic Gasc (GMLudo)
>>
>> 2018-03-15 11:28 GMT+01:00 Atux Atux :
>>
>>> Hi. Thanks for the idea for calendar, it sounds better. i did not manage
>>> to make it work though. i am running debian 8 32 bit with asterisk 11.25.3.
>>> I have installed the packages libneon27-dev & libical-dev then in
>>> /etc/asterisk the file calendar.conf has the following entries:
>>> [Gcalendar]
>>>
>>> type=caldav
>>> url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
>>> user=atuxn...@gmail.com
>>> secret=MySuperDooperPasswd
>>> refresh=15
>>>
>>>
>>>
>>> then a reload to the system and try to see:
>>> PBX> calendar show calendars
>>> Calendar Type Status
>>>   --
>>>
>>>
>>>
>>> there is nothing shown over here. Off course i checked if my calendar is
>>> public but i have not an idea why it is not working.
>>>
>>>
>>>
>>> On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc  wrote:
>>>
 Hi,

 I recommend you to use calendar module of Asterisk:
 https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring

 We are using in production since two years with several hundred
 calendars, it works pretty well.
 However, I strongly recommend you to use the latest stable version of
 libical3, because they have fixed a lot of bugs, especially with recurring
 events.

 And to use Asterisk 15: We had time to time crashes with Asterisk 13
 and calendars and now it's gone with Asterisk 15.
 Some bugfixes on recurring events are also included in Asterisk 15.

 Regards.

 --
 Ludovic Gasc (GMLudo)

 2018-03-13 20:16 GMT+01:00 Atux Atux :

> Hi. in my home office i operate my asterisk and have an IVR that has
> the business hours 9-5 and everytime i edit it to load the bank holidays
> (New Years eve, christmas, easter, whatever else). I would like to be able
> to load in the Asterisk's DB or in a file for all the year or years the
> planned holidays. Then it will be read from that file to operate
> accordingly.
> Is there a hint on how to run something like that?
> I am running asterisk 11.
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 Check out the new Asterisk community forum at:
 https://community.asterisk.org/

 New to Asterisk? Start here:
   https://wiki.asterisk.org/wiki/display/AST/Getting+Started

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

>>>
>>>
>>> --
>>> _
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> Check out the new Asterisk community forum at:
>>> https://community.asterisk.org/
>>>
>>> New to Asterisk? Start here:
>>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation 

Re: [asterisk-users] Bank holidays read from file?

2018-03-15 Thread Atux Atux
Hi. thanks a lot for your reply. i will download the newer libical
software. Could you elaborate on icalendar with google calendar config and
calendar.conf, please?


On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc  wrote:

> I never use caldav mode, always icalendar with Google Calendar.
>
> BTW, you use old versions of libical, Asterisk and Debian, I recommend you
> to upgrade or install a new server with Debian Stretch: You will have
> Asterisk 13, libical2 and security upgrades.
> Asterisk 11 doesn't have security fixes anymore.
>
> Regards.
>
> --
> Ludovic Gasc (GMLudo)
>
> 2018-03-15 11:28 GMT+01:00 Atux Atux :
>
>> Hi. Thanks for the idea for calendar, it sounds better. i did not manage
>> to make it work though. i am running debian 8 32 bit with asterisk 11.25.3.
>> I have installed the packages libneon27-dev & libical-dev then in
>> /etc/asterisk the file calendar.conf has the following entries:
>> [Gcalendar]
>>
>> type=caldav
>> url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
>> user=atuxn...@gmail.com
>> secret=MySuperDooperPasswd
>> refresh=15
>>
>>
>>
>> then a reload to the system and try to see:
>> PBX> calendar show calendars
>> Calendar Type Status
>>   --
>>
>>
>>
>> there is nothing shown over here. Off course i checked if my calendar is
>> public but i have not an idea why it is not working.
>>
>>
>>
>> On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc  wrote:
>>
>>> Hi,
>>>
>>> I recommend you to use calendar module of Asterisk:
>>> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring
>>>
>>> We are using in production since two years with several hundred
>>> calendars, it works pretty well.
>>> However, I strongly recommend you to use the latest stable version of
>>> libical3, because they have fixed a lot of bugs, especially with recurring
>>> events.
>>>
>>> And to use Asterisk 15: We had time to time crashes with Asterisk 13 and
>>> calendars and now it's gone with Asterisk 15.
>>> Some bugfixes on recurring events are also included in Asterisk 15.
>>>
>>> Regards.
>>>
>>> --
>>> Ludovic Gasc (GMLudo)
>>>
>>> 2018-03-13 20:16 GMT+01:00 Atux Atux :
>>>
 Hi. in my home office i operate my asterisk and have an IVR that has
 the business hours 9-5 and everytime i edit it to load the bank holidays
 (New Years eve, christmas, easter, whatever else). I would like to be able
 to load in the Asterisk's DB or in a file for all the year or years the
 planned holidays. Then it will be read from that file to operate
 accordingly.
 Is there a hint on how to run something like that?
 I am running asterisk 11.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 Check out the new Asterisk community forum at:
 https://community.asterisk.org/

 New to Asterisk? Start here:
   https://wiki.asterisk.org/wiki/display/AST/Getting+Started

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

>>>
>>>
>>> --
>>> _
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> Check out the new Asterisk community forum at:
>>> https://community.asterisk.org/
>>>
>>> New to Asterisk? Start here:
>>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  

Re: [asterisk-users] Bank holidays read from file?

2018-03-15 Thread Ludovic Gasc
I never use caldav mode, always icalendar with Google Calendar.

BTW, you use old versions of libical, Asterisk and Debian, I recommend you
to upgrade or install a new server with Debian Stretch: You will have
Asterisk 13, libical2 and security upgrades.
Asterisk 11 doesn't have security fixes anymore.

Regards.

--
Ludovic Gasc (GMLudo)

2018-03-15 11:28 GMT+01:00 Atux Atux :

> Hi. Thanks for the idea for calendar, it sounds better. i did not manage
> to make it work though. i am running debian 8 32 bit with asterisk 11.25.3.
> I have installed the packages libneon27-dev & libical-dev then in
> /etc/asterisk the file calendar.conf has the following entries:
> [Gcalendar]
>
> type=caldav
> url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
> user=atuxn...@gmail.com
> secret=MySuperDooperPasswd
> refresh=15
>
>
>
> then a reload to the system and try to see:
> PBX> calendar show calendars
> Calendar Type Status
>   --
>
>
>
> there is nothing shown over here. Off course i checked if my calendar is
> public but i have not an idea why it is not working.
>
>
>
> On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc  wrote:
>
>> Hi,
>>
>> I recommend you to use calendar module of Asterisk:
>> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring
>>
>> We are using in production since two years with several hundred
>> calendars, it works pretty well.
>> However, I strongly recommend you to use the latest stable version of
>> libical3, because they have fixed a lot of bugs, especially with recurring
>> events.
>>
>> And to use Asterisk 15: We had time to time crashes with Asterisk 13 and
>> calendars and now it's gone with Asterisk 15.
>> Some bugfixes on recurring events are also included in Asterisk 15.
>>
>> Regards.
>>
>> --
>> Ludovic Gasc (GMLudo)
>>
>> 2018-03-13 20:16 GMT+01:00 Atux Atux :
>>
>>> Hi. in my home office i operate my asterisk and have an IVR that has the
>>> business hours 9-5 and everytime i edit it to load the bank holidays (New
>>> Years eve, christmas, easter, whatever else). I would like to be able to
>>> load in the Asterisk's DB or in a file for all the year or years the
>>> planned holidays. Then it will be read from that file to operate
>>> accordingly.
>>> Is there a hint on how to run something like that?
>>> I am running asterisk 11.
>>>
>>>
>>> --
>>> _
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> Check out the new Asterisk community forum at:
>>> https://community.asterisk.org/
>>>
>>> New to Asterisk? Start here:
>>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Bank holidays read from file?

2018-03-15 Thread Atux Atux
Hi. Thanks for the idea for calendar, it sounds better. i did not manage to
make it work though. i am running debian 8 32 bit with asterisk 11.25.3. I
have installed the packages libneon27-dev & libical-dev then in
/etc/asterisk the file calendar.conf has the following entries:
[Gcalendar]

type=caldav
url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/
user=atuxn...@gmail.com
secret=MySuperDooperPasswd
refresh=15



then a reload to the system and try to see:
PBX> calendar show calendars
Calendar Type Status
  --



there is nothing shown over here. Off course i checked if my calendar is
public but i have not an idea why it is not working.



On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc  wrote:

> Hi,
>
> I recommend you to use calendar module of Asterisk:
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring
>
> We are using in production since two years with several hundred calendars,
> it works pretty well.
> However, I strongly recommend you to use the latest stable version of
> libical3, because they have fixed a lot of bugs, especially with recurring
> events.
>
> And to use Asterisk 15: We had time to time crashes with Asterisk 13 and
> calendars and now it's gone with Asterisk 15.
> Some bugfixes on recurring events are also included in Asterisk 15.
>
> Regards.
>
> --
> Ludovic Gasc (GMLudo)
>
> 2018-03-13 20:16 GMT+01:00 Atux Atux :
>
>> Hi. in my home office i operate my asterisk and have an IVR that has the
>> business hours 9-5 and everytime i edit it to load the bank holidays (New
>> Years eve, christmas, easter, whatever else). I would like to be able to
>> load in the Asterisk's DB or in a file for all the year or years the
>> planned holidays. Then it will be read from that file to operate
>> accordingly.
>> Is there a hint on how to run something like that?
>> I am running asterisk 11.
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Bank holidays read from file?

2018-03-13 Thread Ludovic Gasc
Hi,

I recommend you to use calendar module of Asterisk:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring

We are using in production since two years with several hundred calendars,
it works pretty well.
However, I strongly recommend you to use the latest stable version of
libical3, because they have fixed a lot of bugs, especially with recurring
events.

And to use Asterisk 15: We had time to time crashes with Asterisk 13 and
calendars and now it's gone with Asterisk 15.
Some bugfixes on recurring events are also included in Asterisk 15.

Regards.

--
Ludovic Gasc (GMLudo)

2018-03-13 20:16 GMT+01:00 Atux Atux :

> Hi. in my home office i operate my asterisk and have an IVR that has the
> business hours 9-5 and everytime i edit it to load the bank holidays (New
> Years eve, christmas, easter, whatever else). I would like to be able to
> load in the Asterisk's DB or in a file for all the year or years the
> planned holidays. Then it will be read from that file to operate
> accordingly.
> Is there a hint on how to run something like that?
> I am running asterisk 11.
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users