updated location that loop waiting for asterisk events occurs