Add support for ring begin event and configurable ringtimeout.