mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Make sure we behave properly for parking (bug #2292)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4762,7 +4762,7 @@ static void *ss_thread(void *data)
|
||||
tone_zone_play_tone(p->subs[index].zfd, -1);
|
||||
else
|
||||
tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_DIALTONE);
|
||||
if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid)) {
|
||||
if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid) && strcmp(chan->exten, ast_parking_ext())) {
|
||||
if (!res || !ast_matchmore_extension(chan, chan->context, exten, 1, p->callerid)) {
|
||||
if (getforward) {
|
||||
/* Record this as the forwarding extension */
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
*
|
||||
* Channel Management and more
|
||||
*
|
||||
* Copyright (C) 1999, Mark Spencer
|
||||
* Copyright (C) 1999-2004, Digium, Inc.
|
||||
*
|
||||
* Mark Spencer <markster@linux-support.net>
|
||||
* Mark Spencer <markster@digium.com>
|
||||
*
|
||||
* This program is free software, distributed under the terms of
|
||||
* the GNU General Public License
|
||||
|
||||
Reference in New Issue
Block a user