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…
Reference in New Issue