Skip to content

Commit 48b5a4d

Browse files
InterLinked1jcolp
authored andcommitted
sig_analog: Fix no timeout duration.
ASTERISK_28702 previously attempted to fix an issue with flash hook hold timing out after just under 17 minutes, when it should have never been timing out. It fixed this by changing 999999 to INT_MAX, but it did so in chan_dahdi, which is the wrong place since ss_thread is now in sig_analog and the one in chan_dahdi is mostly dead code. This fixes this by porting the fix to sig_analog. ASTERISK-30336 #close Change-Id: I05eb69cc0b5319d357842a70bd26ef64d145cb15
1 parent 1da5eb3 commit 48b5a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels/sig_analog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,7 @@ static void *__analog_ss_thread(void *data)
21382138
/* If starting a threeway call, never timeout on the first digit so someone
21392139
can use flash-hook as a "hold" feature */
21402140
if (p->subs[ANALOG_SUB_THREEWAY].owner) {
2141-
timeout = 999999;
2141+
timeout = INT_MAX;
21422142
}
21432143
while (len < AST_MAX_EXTENSION-1) {
21442144
int is_exten_parking = 0;

0 commit comments

Comments
 (0)