Read the documentation on the callbacks. There is a callback which is called when the media state is changed. You should implement that in the callback. A timer is definitely NOT a clean solution. -- /Sa?l http://www.saghul.net | http://www.sipdoc.net