summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2014-07-21 08:41:29 +0000
committerCorey Farrell <git@cfware.com>2014-07-21 08:41:29 +0000
commite04607f8a327363aed79e794bd5dc1cdbb9a54e8 (patch)
treeeedefb4f71f0e5d3e2963b111f12fecde99c4867 /apps/app_voicemail.c
parenta2c912e9972c91973ea66902d217746133f96026 (diff)
res_smdi: convert to astobj2
Remove functions: ast_smdi_interface_unref ast_smdi_md_message_putback ast_smdi_mwi_message_putback ast_smdi_md_message destructor ast_smdi_mwi_message destructor Includes for astobj.h are removed everywhere it's possible. ASTERISK-24066 #close Review: https://reviewboard.asterisk.org/r/3758/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 8a9c0f3ca..6bd075100 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6006,7 +6006,7 @@ static void run_externnotify(char *context, char *extension, const char *flag)
else if (!strncmp(mwi_msg->cause, "BLK", 3))
ast_log(AST_LOG_WARNING, "MWI light was already on or off for %s\n", mwi_msg->fwd_st);
ast_log(AST_LOG_WARNING, "The switch reported '%s'\n", mwi_msg->cause);
- ASTOBJ_UNREF(mwi_msg, ast_smdi_mwi_message_destroy);
+ ao2_ref(mwi_msg, -1);
} else {
ast_debug(1, "Successfully executed SMDI MWI change for %s\n", extension);
}