From 404151ad65b8219c1101863665f59f4f5566858f Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 12 Sep 2011 13:57:57 +0000 Subject: New sip.conf option for setting default tonezone for channel or individual devices Review: https://reviewboard.asterisk.org/r/1429/ (closes issue ASTERISK-18497) Thanks to russellb for peer review. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@335325 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/indications.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/asterisk/indications.h b/include/asterisk/indications.h index c0c17e5f5..13422d92b 100644 --- a/include/asterisk/indications.h +++ b/include/asterisk/indications.h @@ -62,6 +62,8 @@ struct ast_tone_zone_sound { }; }; +#define MAX_TONEZONE_COUNTRY 16 + /*! * \brief A set of tones for a given locale * @@ -72,7 +74,7 @@ struct ast_tone_zone_sound { */ struct ast_tone_zone { /*! \brief Country code that this set of tones is for */ - char country[16]; + char country[MAX_TONEZONE_COUNTRY]; /*! * \brief Text description of the given country. * -- cgit v1.2.3