mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
handle null 'status' passed to 'switch_channel_perform_presence' more gracefully
This commit is contained in:
@@ -721,6 +721,7 @@ SWITCH_DECLARE(void) switch_channel_perform_presence(switch_channel_t *channel,
|
||||
|
||||
if (!status) {
|
||||
type = SWITCH_EVENT_PRESENCE_OUT;
|
||||
status = "idle";
|
||||
}
|
||||
|
||||
if (!id) {
|
||||
|
||||
Reference in New Issue
Block a user