Device and method for directing audio input and output between a plurality of electronic devices. Event records are stored in memory and each event record records a specific combination of states relating to a first device or a second device and are associated with an action. Each action specifies a direction of audio input and output. States of the first and second devices are monitored. Changes to states are detected. Based on specific combination of states, one of the event records associated with the specific combination of states is identified. The action associated with the identified event record is performed and audio input and output between the electronic devices is directed in accordance with the associated action.