Added filter and agntCnxn as parameters to handler