Hi Muhammed Shaf,
Below is a sample config:
!
//The below address are the one's already configured on the CME, and these will be the IP's that you do not want to be assigned to the IP phones
!
ip dhcp excluded-address 10.0.1.12 10.0.1.13
!
//
ip dhcp pool
network 10.0.1.0 255.255.255.0
option 150 ip 10.0.1.12 <==== IP address of the TFTP server
default-router 10.0.1.12 <==== Cisco router to which the IP phones are connected
!
Also below is a config guide:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmenetwk.html#wp1023519
Hope the above helps, and also, if you can please share the configuration from the CME you are working to assign the IP's to the IP phones ?
Regards
Prashanthi Velpula