A supervised channel connecting an agent module to callers. Use it as a child spec in your own supervision tree:
children = [
{Guava.Channel, agent: MyAgent, listen: {:phone, "+14155550123"}},
{Guava.Channel, agent: Survey, campaign: "camp_abc"}
]Options:
:agent— theGuava.Agentmodule (required)- one of:
listen: {:phone, number} | {:webrtc, code | nil} | {:sip, code}campaign: campaign_codeoutbound: {from_number, to_number, variables}
:client— aGuava.Client(defaults toGuava.Client.new!/0):name— optional supervisor name
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.