mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
handle null 'status' passed to 'switch_channel_perform_presence' more gracefully
This commit is contained in:
1 parent
a5f680810d
commit
7e2499355a
1 file changed
+1
@@ -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