Thu Feb 13 07:00:00 CET 2003

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matteo Brancaleoni
2003-02-13 06:00:14 +00:00
parent 2bd936105e
commit 52a7b81e24
4 changed files with 45 additions and 8 deletions

View File

@@ -3560,6 +3560,10 @@ static void *ss_thread(void *data)
case SIG_FXOKS:
/* Read the first digit */
timeout = firstdigittimeout;
/* If starting a threeway call, never timeout on the first digit so someone
can use flash-hook as a "hold" feature */
if (p->subs[SUB_THREEWAY].owner)
timeout = 999999;
while(len < AST_MAX_EXTENSION-1) {
res = ast_waitfordigit(chan, timeout);
timeout = 0;
@@ -3570,7 +3574,7 @@ static void *ss_thread(void *data)
return NULL;
} else if (res) {
exten[len++]=res;
exten[len] = '\0';
exten[len] = '\0';
}
if (!ast_ignore_pattern(chan->context, exten))
tone_zone_play_tone(p->subs[index].zfd, -1);