Index: addons/chan_ooh323.c =================================================================== --- addons/chan_ooh323.c (revision 354347) +++ addons/chan_ooh323.c (working copy) @@ -449,8 +449,11 @@ static struct ast_channel *ooh323_new(struct ooh32 } } - manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate", "Channel: %s\r\nChanneltype: %s\r\n" + if (ch) { + manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate", + "Channel: %s\r\nChanneltype: %s\r\n" "CallRef: %d\r\n", ch->name, "OOH323", i->call_reference); + } } else ast_log(LOG_WARNING, "Unable to allocate channel structure\n");