Get the Caller ID from an outside App

Hi, I’m new to asterisk!

We want to add a new functionality to a HelpDesk software tha we a are developping. We want to automatically create a new case each time a customer call. Is there a way to use asterisk, or a library of it, to listen to a phone line and get the caller ID?

Thank you,
Nicolas B

You would want to use the Asterisk AGI to develop an application external to Asterisk to do this. A couple of libraries to give consideration depending on your langauage of choice: