diff options
author | Olle Johansson <oej@edvina.net> | 2011-09-12 13:57:57 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2011-09-12 13:57:57 +0000 |
commit | 404151ad65b8219c1101863665f59f4f5566858f (patch) | |
tree | 5ad9f2a00ff6df00913d73a293def897d02d6d03 /include | |
parent | e4a11bcb6e1738bffe7c4c36d974b5266b78f969 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/indications.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. * |