Allow voicezone to have a 'name' option rather than having a named section.
authorMichael Geddes <openwrt@frog.wheelycreek.net>
Sun, 18 Jan 2009 12:49:36 +0000 (12:49 +0000)
committerMichael Geddes <openwrt@frog.wheelycreek.net>
Sun, 18 Jan 2009 12:49:36 +0000 (12:49 +0000)
contrib/package/asterisk-xip/files/uci/voicemailconf

index 5a32842..854bc91 100755 (executable)
@@ -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"