freeswitch icon indicating copy to clipboard operation
freeswitch copied to clipboard

switch_ivr_park_session will now ignore a park state change if the ch…

Open djgroves opened this issue 4 years ago • 3 comments

…annel is already in a CS_PARK state.

djgroves avatar Dec 03 '20 08:12 djgroves

When a channel is in CS_PARK, it's executing ivr_park(). If a new park request comes in (from whatever source), the flag to indicate a state change is set, which results in it returning. The proposed fix is to ignore state changes to CS_PARK if we're already in CS_PARK, and not generate a state change from CS_PARK to CS_PARK.

djgroves avatar Dec 03 '20 08:12 djgroves

@mjerris is this OK?

crienzo avatar Feb 05 '21 01:02 crienzo

Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/550/artifacts.html

signalwire-ci[bot] avatar Jul 13 '22 09:07 signalwire-ci[bot]

Closing due to no longer being valid against current version

djgroves avatar Oct 10 '22 08:10 djgroves