The phrase "rule does not work," I mean, the connection between Lync and IPGW PBX via Yate did not take place.
The logs Yate shows that YATE is trying to connect to the IPGW PBX transport - TCP.
IPGW PBX supports only the protocol H323, transport - UDP. In an exchange of signaling messages between IPGW PBX and YATE gives an error message.
Line Yate-Lync shows no errors.