From 7e2499355aa3ad0d7020713154229931e47a192a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 28 Apr 2014 16:21:45 -0400 Subject: [PATCH] handle null 'status' passed to 'switch_channel_perform_presence' more gracefully --- src/switch_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_channel.c b/src/switch_channel.c index 5176cb87a9..d26fd919d2 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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) {