I am new to Asterisk and would appreciate some help. We need to know when we have a new incoming call so we can control an external CCTV system. What is the easiest way to do this, via an API or existing interface?
easiest way for integration with external systems - call curl in dial plan
If you use dialplan methods like AGI or call files, you will need to add them to your incoming context. Another option is to use the Newchannel AMI event; in this case, you don’t need to manually configure your dialplan to trigger a REST call when incoming calls arrive.