mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
mod_voicemail: Fix vm_prefs profile lock (MODAPP-417)
This commit is contained in:
parent
b4233082fa
commit
0f29f46172
@ -3353,7 +3353,7 @@ SWITCH_STANDARD_API(prefs_api_function)
|
|||||||
stream->write_function(stream, "-ERR No such profile\n");
|
stream->write_function(stream, "-ERR No such profile\n");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (!(profile = get_profile("default"))) {
|
if (!profile && !(profile = get_profile("default"))) {
|
||||||
stream->write_function(stream, "-ERR profile 'default' doesn't exist\n");
|
stream->write_function(stream, "-ERR profile 'default' doesn't exist\n");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user