View Source GlificWeb.ExotelController (Glific v5.1.6)

The controller to process events received from exotel

Link to this section Summary

Functions

First implementation of processing optin contact callback from exotel for digital green. Will need to make it more generic for broader use case across other NGOs

Link to this section Functions

@spec optin(Plug.Conn.t(), map()) :: Plug.Conn.t()

First implementation of processing optin contact callback from exotel for digital green. Will need to make it more generic for broader use case across other NGOs

We use the callto and directon parameters to ensure a valid call from exotel