elixir_mod_event v0.0.10 FSModEvent.Connection
Connection process. A GenServer that you can plug into your own supervisor tree.
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket
Copyright 2015 Marcelo Gornstein marcelog@gmail.com
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Summary
Functions
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-api
Executes an API command in background. Returns a Job ID. The calling process will receive a message like {:fs_job_result, job_id, packet} with the result
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-divert_events
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-divert_events
This will always prepend your list with “plain”
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-exit
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-filter
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-filterdelete
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-linger
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-log
This will always prepend your list with “plain”
Suppress the specified type of event
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-noevents
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-nolinger
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-nolog
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendevent
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
Starts a connection to FreeSWITCH
Starts and links a connection to FreeSWITCH
Registers the caller process as a receiver for all the events for which the filter_fun returns true
Unregisters the caller process as a listener
Functions
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-api
For a list of available commands see: https://freeswitch.org/confluence/display/FREESWITCH/mod_commands
Executes an API command in background. Returns a Job ID. The calling process will receive a message like {:fs_job_result, job_id, packet} with the result.
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-bgapi
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-divert_events
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-divert_events
This will always prepend your list with “plain”.
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-event
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-exit
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-filter
filter_delete(GenServer.server, String.t, String.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-filterdelete
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-linger
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-log
This will always prepend your list with “plain”.
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-SpecialCase-‘myevents’
Suppress the specified type of event.
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-nixevent
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-noevents
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-nolinger
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-nolog
sendevent(GenServer.server, String.t, [{String.t, String.t}], String.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendevent
sendmsg_exec(GenServer.server, String.t, String.t, String.t, Integer.t, String.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
sendmsg_hangup(GenServer.server, String.t, Integer.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
sendmsg_nomedia(GenServer.server, String.t, String.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
sendmsg_unicast(GenServer.server, String.t, String.t, String.t, String.t, Integer.t, String.t, Integer.t) :: FSModEvent.Packet.t
See: https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-sendmsg
Starts a connection to FreeSWITCH.
start_link(atom, String.t, Integer.t, String.t) :: GenServer.on_start
Starts and links a connection to FreeSWITCH.
start_listening(GenServer.server, (... -> any)) :: :ok
Registers the caller process as a receiver for all the events for which the filter_fun returns true.
Unregisters the caller process as a listener.