Re: [asterisk-users] DIALSTATUS vs HANGUPCAUSE

2018-03-15 Thread Patrick Wakano
That's really good info Tony!
Thanks very much for the response!
I will consider this to implement a better approach for the failed cases!

Cheers,
Patrick Wakano

On 14 March 2018 at 20:44, Tony Mountifield  wrote:

> In article  t...@mail.gmail.com>,
> Patrick Wakano  wrote:
> >
> > Thanks Dovid!
> > Indeed looks a bug but regardless of this, this problem made me think
> that
> > the HANGUPCAUSE could be used for this purpose with benefits.
> > I couldn't find an explanation about when DIALSTATUS would actually be
> > better.
> > The HANGUPCAUSE was reworked in version 11 (
> > https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause) but I didn't
> find
> > someone actually stating it is a better alternative or replacement to the
> > DIALSTATUS or something similar.
>
> I think you should always check DIALSTATUS, as that will be set regardless
> of
> the way in which a dial fails. I believe HANGUPCAUSE is set to the Q.931
> code
> received from PRI or SIP when a call is rejected or terminated. However,
> there
> could be other mechanisms for failure (such as failure to create a channel
> within Asterisk, or an attempt to send to an unreachable peer), that may
> set
> DIALSTATUS without setting HANGUPCAUSE.
>
> So HANGUPCAUSE should be considered as extra detail, rather than a
> replacement
> or alternative to DIALSTATUS.
>
> Cheers
> Tony
> --
> Tony Mountifield
> Work: t...@softins.co.uk - http://www.softins.co.uk
> Play: t...@mountifield.org - http://tony.mountifield.org
>
> --
> _
> -- 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

[asterisk-users] Asterisk 15.3.0 Now Available

2018-03-15 Thread Asterisk Development Team
The Asterisk Development Team would like to announce the release of Asterisk 
15.3.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk

The release of Asterisk 15.3.0 resolves several issues reported by the
community and would have not been possible without your participation.

Thank you!

The following issues are resolved in this release:

Security bugs fixed in this release:
---
 * ASTERISK-27658 - WebSocket frames with 0 sized payload causes
  DoS
  (Reported by Sean Bright)
 * ASTERISK-27583 - Segmentation fault occurs in asterisk with
  an invalid SDP fmtp attribute
  (Reported by Sandro Gauci)
 * ASTERISK-27582 - Segmentation fault occurs in Asterisk with
  an invalid SDP media format description
  (Reported by
  Sandro Gauci)
 * ASTERISK-27618 - Crash occurs when sending a repeated number
  of INVITE messages over TCP or TLS transport
  (Reported by
  Sandro Gauci)
 * ASTERISK-27640 - SUBSCRIBE message with a large Accept value
  causes stack corruption
  (Reported by Sandro Gauci)

New Features made in this release:
---
 * ASTERISK-27117 - core: Add support for timelen parsing to
  ast_parse_arg and ACO.
  (Reported by Corey Farrell)

Bugs fixed in this release:
---
 * ASTERISK-27703 - AMI Action VoicemailUsersList returns 0
  MessageCount
  (Reported by Sébastien Duthil)
 * ASTERISK-27659 - Output from rawman truncated if output is
  long enough
  (Reported by Bojan Nemčić)
 * ASTERISK-27692 - bridging: Sometimes cloning the stream
  topology causes a crash
  (Reported by Richard Mudgett)
 * ASTERISK-27488 - core: If frame with unnegotiated format is
  read crash will occur
  (Reported by Sébastien Duthil)
 * ASTERISK-24386 - Asterisk "doc/lang/language-criteria.txt"
  needs update or removal.
  (Reported by Rusty Newton)
 * ASTERISK-27689 - [patch] rtp_engine: Load format name / mime
  type in uppercase again.
  (Reported by Alexander Traud)
 * ASTERISK-27679 - res_pjsip: Endpoint destruction does not
  free DTLS configuration
  (Reported by Mak Dee)
 * ASTERISK-27684 - [patch] install_prereq: Update OpenBSD
  libraries.
  (Reported by Alexander Traud)
 * ASTERISK-27681 - [patch] BuildSystem: Enable IMAP storage on
  OpenBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27680 - [patch] res_calendar: Specialized calendars
  depend on symbols of general calendar.
  (Reported by
  Alexander Traud)
 * ASTERISK-27677 - [patch] BuildSystem: Enable system provided
  libedit on OpenBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27670 - [patch] BuildSystem: Remove chan_h323
  leftovers.
  (Reported by Alexander Traud)
 * ASTERISK-27595 - [patch] BuildSystem: Invoke ldconfig with
  previous paths.
  (Reported by Alexander Traud)
 * ASTERISK-27631 - [patch] BuildSystem: Do not warn when bash
  is not installed.
  (Reported by Alexander Traud)
 * ASTERISK-27666 - chan_sip: Crash processing CANCEL request
  
  (Reported by Leandro Dardini)
 * ASTERISK-27584 - Internal pjproject build doesn't disable
  bcg729
  (Reported by Stuart Henderson)
 * ASTERISK-27669 - [patch] codecs: Add support for WebRTC iLBC
  2.0.
  (Reported by Alexander Traud)
 * ASTERISK-27642 - [patch] backtrace: Avoid
  -Wlogical-not-parentheses.
  (Reported by Alexander Traud)
 * ASTERISK-27555 - [patch] install_prereq: Update Debian/Ubuntu
  libraries.
  (Reported by Alexander Traud)
 * ASTERISK-27656 - CDR: Leaking channel snapshots allocated by
  stasis_channel.c
  (Reported by Kristijan Vrban)
 * ASTERISK-27426 - chan_console: cannot read and write at the
  same time with alsa backend
  (Reported by Tzafrir Cohen)
 * ASTERISK-27621 - (null) string tailing after AsyncAGIEnd AMI
  event
  (Reported by sungtae kim)
 * ASTERISK-27652 - Null pointer Crash in PJSIP MWI
 
  (Reported by Joshua Elson)
 * ASTERISK-27571 - res_pjsip: If SIP response is received
  during shutdown a crash may occur
  (Reported by Joshua
  Colp)
 * ASTERISK-27612 - Subscriptions Persist After Expiration and
  TCP/TLS Disconnect
  (Reported by Ross Beer)
 * ASTERISK-27637 - [patch] BuildSystem: Enable autotools in
  FreeBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27635 - [patch] app_voicemail: Avoid always true
  warnings with clang.
  (Reported by Alexander Traud)
 * ASTERISK-27599 - [patch] install_prereq: Update
  RHEL/CentOS/Fedora libraries.
  (Reported by Alexander
  Traud)
 * ASTERISK-26563 - core: macOS devmode build fails: variable
  'freeswap' set but not used
  (Reported by David M. Lee)
 * ASTERISK-27630 - [patch] editline: Avoid shifting a negative
  signed value.
  (Reported by Alexander Traud)
 

[asterisk-users] Asterisk 13.20.0 Now Available

2018-03-15 Thread Asterisk Development Team
The Asterisk Development Team would like to announce the release of Asterisk 
13.20.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk

The release of Asterisk 13.20.0 resolves several issues reported by the
community and would have not been possible without your participation.

Thank you!

The following issues are resolved in this release:

Security bugs fixed in this release:
---
 * ASTERISK-27583 - Segmentation fault occurs in asterisk with
  an invalid SDP fmtp attribute
  (Reported by Sandro Gauci)
 * ASTERISK-27582 - Segmentation fault occurs in Asterisk with
  an invalid SDP media format description
  (Reported by
  Sandro Gauci)
 * ASTERISK-27618 - Crash occurs when sending a repeated number
  of INVITE messages over TCP or TLS transport
  (Reported by
  Sandro Gauci)
 * ASTERISK-27640 - SUBSCRIBE message with a large Accept value
  causes stack corruption
  (Reported by Sandro Gauci)

New Features made in this release:
---
 * ASTERISK-27117 - core: Add support for timelen parsing to
  ast_parse_arg and ACO.
  (Reported by Corey Farrell)

Bugs fixed in this release:
---
 * ASTERISK-27703 - AMI Action VoicemailUsersList returns 0
  MessageCount
  (Reported by Sébastien Duthil)
 * ASTERISK-24386 - Asterisk "doc/lang/language-criteria.txt"
  needs update or removal.
  (Reported by Rusty Newton)
 * ASTERISK-27689 - [patch] rtp_engine: Load format name / mime
  type in uppercase again.
  (Reported by Alexander Traud)
 * ASTERISK-27679 - res_pjsip: Endpoint destruction does not
  free DTLS configuration
  (Reported by Mak Dee)
 * ASTERISK-27684 - [patch] install_prereq: Update OpenBSD
  libraries.
  (Reported by Alexander Traud)
 * ASTERISK-27681 - [patch] BuildSystem: Enable IMAP storage on
  OpenBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27680 - [patch] res_calendar: Specialized calendars
  depend on symbols of general calendar.
  (Reported by
  Alexander Traud)
 * ASTERISK-27677 - [patch] BuildSystem: Enable system provided
  libedit on OpenBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27670 - [patch] BuildSystem: Remove chan_h323
  leftovers.
  (Reported by Alexander Traud)
 * ASTERISK-27595 - [patch] BuildSystem: Invoke ldconfig with
  previous paths.
  (Reported by Alexander Traud)
 * ASTERISK-27631 - [patch] BuildSystem: Do not warn when bash
  is not installed.
  (Reported by Alexander Traud)
 * ASTERISK-27666 - chan_sip: Crash processing CANCEL request
  
  (Reported by Leandro Dardini)
 * ASTERISK-27584 - Internal pjproject build doesn't disable
  bcg729
  (Reported by Stuart Henderson)
 * ASTERISK-27669 - [patch] codecs: Add support for WebRTC iLBC
  2.0.
  (Reported by Alexander Traud)
 * ASTERISK-27642 - [patch] backtrace: Avoid
  -Wlogical-not-parentheses.
  (Reported by Alexander Traud)
 * ASTERISK-27555 - [patch] install_prereq: Update Debian/Ubuntu
  libraries.
  (Reported by Alexander Traud)
 * ASTERISK-27656 - CDR: Leaking channel snapshots allocated by
  stasis_channel.c
  (Reported by Kristijan Vrban)
 * ASTERISK-27426 - chan_console: cannot read and write at the
  same time with alsa backend
  (Reported by Tzafrir Cohen)
 * ASTERISK-27621 - (null) string tailing after AsyncAGIEnd AMI
  event
  (Reported by sungtae kim)
 * ASTERISK-27652 - Null pointer Crash in PJSIP MWI
 
  (Reported by Joshua Elson)
 * ASTERISK-27612 - Subscriptions Persist After Expiration and
  TCP/TLS Disconnect
  (Reported by Ross Beer)
 * ASTERISK-27571 - res_pjsip: If SIP response is received
  during shutdown a crash may occur
  (Reported by Joshua
  Colp)
 * ASTERISK-27637 - [patch] BuildSystem: Enable autotools in
  FreeBSD.
  (Reported by Alexander Traud)
 * ASTERISK-27635 - [patch] app_voicemail: Avoid always true
  warnings with clang.
  (Reported by Alexander Traud)
 * ASTERISK-27599 - [patch] install_prereq: Update
  RHEL/CentOS/Fedora libraries.
  (Reported by Alexander
  Traud)
 * ASTERISK-26563 - core: macOS devmode build fails: variable
  'freeswap' set but not used
  (Reported by David M. Lee)
 * ASTERISK-27630 - [patch] editline: Avoid shifting a negative
  signed value.
  (Reported by Alexander Traud)
 * ASTERISK-16172 - Problems with siren14 codec; problems with
  siren7 sound files.
  (Reported by Steve Murphy)
 * ASTERISK-16951 - [patch] configure.ac in 1.4.37 broken with
  autoconf 2.60
  (Reported by Stéphan Kochen)
 * ASTERISK-27603 - [patch] install_prereq: Download latest
  Jansson.
  (Reported by Alexander Traud)
 * ASTERISK-27607 - [patch] res_config_mysql: Avoid the header
  mysql_version.h.
  (Reported by Alexander Traud)
 

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