summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorMichael Geddes <openwrt@frog.wheelycreek.net>2009-01-18 12:49:36 +0000
committerMichael Geddes <openwrt@frog.wheelycreek.net>2009-01-18 12:49:36 +0000
commit4f1243271d59c58b6cc7ae016189bda22bb118f8 (patch)
tree916de3c4b574f65ff683d3994aa4acf504620068 /contrib/package
parent29c406acea9677abeb351d3d2060d5662b4d42c3 (diff)
Allow voicezone to have a 'name' option rather than having a named section.
Diffstat (limited to 'contrib/package')
-rwxr-xr-xcontrib/package/asterisk-xip/files/uci/voicemailconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/package/asterisk-xip/files/uci/voicemailconf b/contrib/package/asterisk-xip/files/uci/voicemailconf
index 5a32842fd9..854bc913e4 100755
--- a/contrib/package/asterisk-xip/files/uci/voicemailconf
+++ b/contrib/package/asterisk-xip/files/uci/voicemailconf
@@ -166,6 +166,7 @@ handle_voicezone() {
voicezone_name=$1
option_cb() {
case $1 in
+ name) voicezone_name="$2" ;;
zone) voicezone_zone="$2" ;;
message) voicezone_message="$2" ;;
*) logerror "Invalid voicezone option: $1"