[ASTERISK-11] chan_dahdi: Add wink guard
From our friends at the museum:
The issue is with Feature Group B, where a second wink is treated as a hangup by Asterisk. I don't have the time or bandwidth to dig through the code right now, but I'm almost positive something in
sig_analog.c is the culprit. A real fix would be to insert a configurable guard time for subsequent winks, so the user could say something like "don't hang up unless the far end disconnect lasts longer than 750ms". Asterisk would wait this long before interpreting the wink as a disconnect in ANALOG_SIG_FEATB. This would be configurable in
chan_dahdi.conf, with the default as 0ms.
; wink_guard=0 ; By default, Feature Group B trunks will see any winks after the initial one as a disconnect signal, since MF trunks should not need to ever wink more than once after seizure. If you expect additional winks, and you don't want Asterisk to interpret them as a disconnect, set a guard time higher than 750ms (?) here.
You must be