SwitchX.Connection.Inbound (SwitchX v1.0.0)

View Source

Provides an abstraction to a FreeSWITCH inbound connection

Inbound mode means you run your applications as clients, and connect to the FreeSWITCH server to invoke commands and control FreeSWITCH.

Summary

Functions

Starts a new inbond connection.

Functions

start_link(opts)

Starts a new inbond connection.

Returns {:ok, Pid}

Examples

iex> paramaters = [
  host: "127.0.0.1",
  port: 8021,
]

iex> SwitchX.Connection.Inbound.start_link(paramaters)
{:ok, connection_pid}