Fix compile error caused by review 4138
authorCorey Farrell <git@cfware.com>
Mon, 3 Nov 2014 02:36:46 +0000 (02:36 +0000)
committerCorey Farrell <git@cfware.com>
Mon, 3 Nov 2014 02:36:46 +0000 (02:36 +0000)
There is no procedure called ast_closeframe, fix code to use
ast_closestream.

Reported By: Matt Jordan
........

Merged revisions 427087 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 427088 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 427089 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index d99bced..0ebad3d 100644 (file)
@@ -6158,7 +6158,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata)
                                ast_log(LOG_ERROR,"Unable to determine sample rate of recording %s\n", recdata->recording_file);
                        }
                }
-               ast_closeframe(recording_fs);
+               ast_closestream(recording_fs);
        }
 
        /* If the duration was below the minimum duration for the user, let's just drop the whole thing now */