Commit 0d730a68 authored by Hemlata's avatar Hemlata Committed by Yalu Zhang
Browse files

VoiceMail : fixed the regression

parent 18e2fe2c
......@@ -812,7 +812,7 @@ configure_voicemail_incoming()
if [ -n "$calling_features" -a "$3" == "$provider" ]; then
config_get voice_mail_enable $calling_features voice_mail_enable
if [ -n "$voice_mail_enable" -a "$voice_mail_enable" == "1" ]; then
if [ -n "$2" -a "$user" == "$2" ] ; then
if [ -n "$2" ] ; then
echo "Enabling mailbox $boxnumber for IVR $2"
echo "exten => $user,n,VoiceMail($2)" >> $tmp
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment