q931.c: Fix DISCONNECT Progress Indicator ie handling.
There are two scenarios that are exposed by DISCONNECT not initializing the progress indicator value before processing the message when the chan_dahdi.conf inbanddisconnect=yes option is set. 1) If a DISCONNECT comes in without a Progress Indicator ie and an earlier message (such as SETUP-ACKNOWLEDGE or PROCEEDING) came in with the indicator #8 (Inband audio present) then the DISCONNECT would not cause an immediate hangup. We would be letting the user hear the inband audio even though there isn't any. 2) If a DISCONNECT message comes in with the indicator #8 (Inband audio present) and then later the DISCONNECT message is repeated without a Progress Indicator ie we would still ignore the second DISCONNECT to let the user hear inband audio even though it likely isn't there anymore. PRI-180 #close Reported by: Alexandr Dranchuk Change-Id: Ic88aafb45053146b5701d666e6212f7555573624
Showing with 2 additions and 0 deletions