voice: errors with SessionUpdateEvent

Description

1. Parsing of SessionUpdateEvent running when SessionRemovedEvent handler is set.
2. Daemon sends xml for SessionUpdateEvent with value 0/1 used for bool variables. That makes bool.Parse throw exceptions.

Steps to Reproduce

...
VoiceGateway gate = new VoiceGateway();
gate.OnSessionRemovedEvent += new VoiceGateway.SessionRemovedEventCallback(gate_OnSessionRemovedEvent);
gate.OnSessionUpdatedEvent += new VoiceGateway.SessionUpdatedEventCallback(gate_OnSessionUpdatedEvent);
...

than login to sl
perform all slvoice init code
and make call from another avatar to bot

Activity

Show:
Jim Radford
February 12, 2010, 5:12 PM

Applied in r3247, Thanks!

Assignee

Jim Radford

Reporter

Roman Valov

Severity

Medium

Environment

All

Fixed in Revision

None

Components

Fix versions

Affects versions

Priority

Major
Configure