]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Deactivate timer for dialing entered number on hook switch hang up.
authorIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 16 Jul 2012 07:38:18 +0000 (07:38 +0000)
committerIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 16 Jul 2012 07:38:18 +0000 (07:38 +0000)
(closes issue ASTERISK-19554)
Reported by: Stefano Villani

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

channels/chan_unistim.c

index f9f3392b024808b675d7592b653fe3b4419a62ee..fc9c8a867c2c9a7df81627761dc931de4a77eaaa 100644 (file)
@@ -4449,6 +4449,7 @@ static void process_request(int size, unsigned char *buf, struct unistimsession
                } else if (pte->state == STATE_EXTENSION) {
                        return;
                } else {
+                       pte->device->nextdial = 0;
                        show_main_page(pte);
                }
                return;