mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
declinatio mortuus obfirmo!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17045 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3540503f03
commit
db6f9857b0
@ -3972,6 +3972,7 @@ SWITCH_STANDARD_API(voicemail_delete_api_function)
|
||||
update_mwi(profile, id, domain, "inbox");
|
||||
|
||||
stream->write_function(stream, "%s", "+OK\n");
|
||||
profile_rwunlock(profile);
|
||||
} else {
|
||||
stream->write_function(stream, "%s", "-ERR can't find user or profile.\n");
|
||||
}
|
||||
@ -4052,6 +4053,8 @@ SWITCH_STANDARD_API(voicemail_read_api_function)
|
||||
update_mwi(profile, id, domain, "inbox");
|
||||
|
||||
stream->write_function(stream, "%s", "+OK\n");
|
||||
|
||||
profile_rwunlock(profile);
|
||||
} else {
|
||||
stream->write_function(stream, "%s", "-ERR can't find user or profile.\n");
|
||||
}
|
||||
@ -4134,6 +4137,7 @@ SWITCH_STANDARD_API(voicemail_list_api_function)
|
||||
stream->write_function(stream, "</voicemail>\n");
|
||||
}
|
||||
|
||||
profile_rwunlock(profile);
|
||||
} else {
|
||||
stream->write_function(stream, "%s", "-ERR can't find user or profile.\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user