Parrot.Sip.Transport.Udp (Parrot Platform v0.0.1-alpha.3)
Parrot SIP Stack UDP Transport
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type source_options() :: {:inet.ip_address(), :inet.port_number()}
@type start_opts() :: %{ optional(:listen_addr) => :inet.ip_address(), optional(:listen_port) => :inet.port_number(), optional(:exposed_addr) => :inet.ip_address(), optional(:exposed_port) => :inet.port_number(), optional(:handler) => Parrot.Sip.Handler.handler(), optional(:sip_trace) => boolean(), optional(:max_burst) => non_neg_integer() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec local_uri() :: String.t()
@spec send_request(map()) :: :ok
@spec set_handler(Parrot.Sip.Handler.handler()) :: :ok
@spec start_link(start_opts()) :: GenServer.on_start()
@spec stop() :: :ok