i/ got the loop drop the wrong way around

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Ben Kramer
2005-11-03 21:49:20 +00:00
parent 980887f8eb
commit 3e2507a07a

View File

@@ -2046,9 +2046,9 @@ static int vpb_hangup(struct ast_channel *ast)
stoptone(p->handle);
}
#ifdef VPB_PRI
vpb_setloop_async(p->handle, VPB_ONHOOK);
vpb_sleep(500);
vpb_setloop_async(p->handle, VPB_OFFHOOK);
vpb_sleep(100);
vpb_setloop_async(p->handle, VPB_ONHOOK);
#endif
} else {
stoptone(p->handle); /* Terminates any dialing */