Hello sridhar,
You will probably want to use your computer modem to interact with the phone line in your office. I am not aware of any specific code written for your type of application but you can use NI-VISA to communicate with your modem. Please see that following link for more information on the different commands that can be sent to your modem.
The Hayes Command SetGood luck with the development.
Regards,
Matt F