danbarua / NEventSocket

A reactive FreeSwitch eventsocket library for Modern .Net
Mozilla Public License 2.0
74 stars 37 forks source link

ChannelState #47

Closed gregoriusus closed 8 years ago

gregoriusus commented 8 years ago

CchannelState variable can be null. Header doesn't have value in CUSTOM events Can you plese set ChannelState property to nullable like AnswerState.

Thank you!

danbarua commented 8 years ago

Yep, not everyone is using this for Channel Events, thanks for the catch.

danbarua commented 8 years ago

@gregoriusus I am taking a different approach now for V2 - socket.Events contains basic Event messages, socket.ChannelEvents contains channel events. So issues like this should not come up again in future.