event_socket_outbound v0.5.1 EventSocketOutbound.Protocol View Source
Protocol handler starts a connection process and defines logic for FreeSWITCH events and protocol.
Link to this section Summary
Functions
Answers the call. For further details, refer to FreeSWITCH docs
Send an api command. For further details, refer to FreeSWITCH docs
Returns a specification to start this module under a supervisor
Send a conference command. For further details, refer to FreeSWITCH docs
Once the connection is accepted, run this command in order to get all information about the call. For further details, refer to FreeSWITCH docs
Enable or disable events by class or all. For further details, refer to FreeSWITCH docs
Execute a dialplan application, and wait for a response from the server. For further details, refer to FreeSWITCH docs
Filtered events will come to the app. For further details, refer to FreeSWITCH docs
Hangs the call. For further details, refer to FreeSWITCH docs
Not to close the socket connect when a channel hangs up. For further details, refer to FreeSWITCH docs
It will "lock on" to the events for a particular uuid and will ignore all other events. For further details, refer to FreeSWITCH docs
Callback implementation for c::ranch_protocol.start_link/3
Link to this section Functions
answer(pid) View Source
Answers the call. For further details, refer to FreeSWITCH docs.
api(pid, command, args) View Source
Send an api command. For further details, refer to FreeSWITCH docs.
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
conference(pid, args) View Source
Send a conference command. For further details, refer to FreeSWITCH docs.
connect(pid) View Source
Once the connection is accepted, run this command in order to get all information about the call. For further details, refer to FreeSWITCH docs.
eventplain(pid, args) View Source
Enable or disable events by class or all. For further details, refer to FreeSWITCH docs.
execute(pid, command, args) View Source
Execute a dialplan application, and wait for a response from the server. For further details, refer to FreeSWITCH docs.
filter(pid, args) View Source
Filtered events will come to the app. For further details, refer to FreeSWITCH docs.
hangup(pid, reason \\ "") View Source
Hangs the call. For further details, refer to FreeSWITCH docs.
linger(pid, args \\ "") View Source
Not to close the socket connect when a channel hangs up. For further details, refer to FreeSWITCH docs.
myevents(pid) View Source
It will "lock on" to the events for a particular uuid and will ignore all other events. For further details, refer to FreeSWITCH docs.
start_link(ref, transport, module_protocol) View Source
Callback implementation for c::ranch_protocol.start_link/3
.