I found the problem. It's because the IP IVR and CCM are in different networks and the device between them do not allow packets with DF bit set. When the IVR need some interventions into CCM LDAP base, it uses big packets with DF bit, so they can't traverse the router and the communication is very slowly.