dect
/
asterisk
Archived
13
0
Fork 0

Minor vm fix

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1719 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-11-10 23:47:05 +00:00
parent a224b00981
commit 9ca3b9f369
1 changed files with 5 additions and 3 deletions

View File

@ -2603,9 +2603,11 @@ out:
if (res > -1) {
ast_stopstream(chan);
adsi_goodbye(chan);
res = play_and_wait(chan, "vm-goodbye");
if (res > 0)
res = 0;
if(valid) {
res = play_and_wait(chan, "vm-goodbye");
if (res > 0)
res = 0;
}
if (useadsi)
adsi_unload_session(chan);
}