This you can achieve using DHCP option configuration for SFB IP phones.Only thing is the IP phones should support the LLDP. Refer below hos to configure the options.
https://technet.microsoft.com/en-us/library/gg398088(v=ocs.14).aspx
Switch level Config
https://stoknes.wordpress.com/2015/03/28/using-lync-phones-with-voice-vlan-and-dot1x/
Jayakumar K