mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user