I searched in cisco for configuring cisco unity connection 1.2 with callmanager 4.2 but i am not able to find anything.
can somebody please send me some links to docs.
There is no new integration guide for the CCM 4.2 to Unity Connection 1.2. The information has not changed from this Unity Connection 1.1 guide and the info here will work just fine for this setup :)
Cisco Unified CallManager 4.2 Integration Guide for Cisco Unity Connection 1.1
Hope this helps!