mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
handle null 'status' passed to 'switch_channel_perform_presence' more gracefully
This commit is contained in:
parent
a5f680810d
commit
7e2499355a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user