Encouraging Professional Development
Suppose the trainer was not fit for the job; you could have encouraged her to make herself fit. Happiness or unhappiness is a state of mind. You could have referred her to a career counselor. Loyalty to your employer demands encouraging fellow colleagues to work with you. Irrespective of the type of work that an employee does, the underlying and unifying factor is protecting the interest of the company. Instead, you provided contact details of a third party to a trainer so that she can apply for the job there. This is nothing but promoting employee attrition, albeit indirectly. You have worked against the interests of the company that provides you bread and butter. Why?
Handling Information Discreetly
While providing contact details of a third party, at least you could have done it surreptitiously. Loose talk, either by you or by that trainer, must have reached the ears of HR. His outburst is the result of this loose talk. Both of you did not realize that even walls have ears. Some innocent-looking colleague must be snooping around and providing information to HR. This he/she could be doing to gain brownie points!
Professionalism in HR Practices
The only objectionable part from HR is the rebuke for your misdemeanor coram populo. HR should have reprimanded you privately. Later, he could have issued a circular to all employees stating that they need to refrain from fostering attrition in their company. This would have been a professional approach. But then professionalism in BPO is just skin deep. It was your HR's unprofessional tit for your unprofessional tat. Therefore, forget the incident and move on.
Thanks,
Dinesh Divekar