mirror of https://github.com/asterisk/asterisk
By default, DAHDI relies on the Asterisk code to provide most device state, especially for analog lines, in which case it relies entirely on the core. When an incoming call arrives to a DAHDI line, it immediately asks the core to update device state for the channel. This can sometimes lead to unoptimal outcomes; for example, when ringing an FXS line (station), the device state is momentarily "INUSE" and then almost immediately transitions to "RINGING". However, this is incompatible with the state machines of some CPE. For example, Polycom IP phones' BLFs will ignore any "RINGING" received after an "INUSE". This makes sense because a line can't ring after being in use without first being made idle. (The reverse case, RINGING followed by INUSE, is allowed, since one can answer a ringing phone.) Thus, to ensure that BLFs accurately display the status of DAHDI channels, we need to avoid the momentary "INUSE" device state for ringing channels. Resolves: #2159releases/20
parent
cd76271c6b
commit
406a7843fd
Loading…
Reference in new issue