Minor vm fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1719 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
a224b00981
commit
9ca3b9f369
1 changed files with 5 additions and 3 deletions
|
@ -2603,9 +2603,11 @@ out:
|
||||||
if (res > -1) {
|
if (res > -1) {
|
||||||
ast_stopstream(chan);
|
ast_stopstream(chan);
|
||||||
adsi_goodbye(chan);
|
adsi_goodbye(chan);
|
||||||
res = play_and_wait(chan, "vm-goodbye");
|
if(valid) {
|
||||||
if (res > 0)
|
res = play_and_wait(chan, "vm-goodbye");
|
||||||
res = 0;
|
if (res > 0)
|
||||||
|
res = 0;
|
||||||
|
}
|
||||||
if (useadsi)
|
if (useadsi)
|
||||||
adsi_unload_session(chan);
|
adsi_unload_session(chan);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue