freeswitch
freeswitch copied to clipboard
switch_ivr_park_session will now ignore a park state change if the ch…
…annel is already in a CS_PARK state.
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.
@mjerris is this OK?
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/550/artifacts.html
Closing due to no longer being valid against current version