Exp-C should be able to resolve the UDS SRV query for the externally domain. So, you should add a SRV record for the external domain in the internal dns server. Something like below in your case.
_cisco-uds._tcp.school-100.ru SRV 10 10 8443 cucm-rpn-pub.ruspn.local
If it still does not work. Try using manual settings in Jabber client and select "communication manager" with default server to see whether it works.