Ring group/extensition based on API result

hello community,

I’m new to the community, bear with me and my dumb question.

I’m looking for a solution. when a call gets in, it will goes to an extension based on an API result.

For example, new call gets in -> asterisk will check with an API --> API returns value of 203 --> call will goes to extension 203 (same as caller press 203).

Is this doable?

Thanks for your time.


Yes this is doable but will take writing a custom AGI script to get the information from your API and process it.

thanks Tony. I will give it a try.