Packages

An Elixir protocol for the FreeSWITCH's Event Socket, providing support for outbound method.

Current section

Files

Jump to
event_socket_outbound lib event_socket_outbound call_mgmt.ex
Raw

lib/event_socket_outbound/call_mgmt.ex

defmodule EventSocketOutbound.CallMgmt do
@moduledoc """
Callbacks for module will define call routing.
"""
@callback start_link(pid()) ::
{:ok, pid()}
| :ignore
| {:error, {:already_started, pid()} | term()}
@callback onEvent(pid(), map()) :: term()
end