An integrated solution for customer relationship management