You need sip trunk licenses for the connection to lync.

Make sure you run 4.70 or higher
Is the ip phone in the same subnet add the system?