handle Newstate events from Asterisk 1.4