mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user