Bandwidth.Resources.Bridges.Calls

Manage calls associated with a bridge.

Summary

list(client, bridge_id)

Get the list of calls that are on the bridge

Functions

list(client, bridge_id)

Specs:

  • list(Client.t, binary) :: Client.response

Get the list of calls that are on the bridge.

Example:

case Bandwidth.Resources.Bridges.Calls.list(client, "some-bridge-id") do
  {:ok, {200, calls, _}} -> IO.inspect calls
  {:error, reason}       -> IO.puts "Error: #{reason}"
end

Bandwidth Docs