following steps according to cucm v8. On your version it might be some differences.
1- add your IVR server as sip gateway inside cucm
Device > trunk > add new
2- route calls to that sip gateway which you allready configured in step 1
Call route > routehunt > route pattern > add new
Don't forget to select your sip server from gateway selection bar
Regards
Please rate if it's helpful