How to use Curl and Json from the Asterisk Dialplan to control call flow It's very common that we want to use external services from our Asterisk Dialplan, and many times those external services are accessible via HTTP (such as a REST HTTP API).