elixir_agi v0.0.12 ElixirAgi.Agi
This module handles the AGI implementation by reading and writing to/from the source.
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
Types
Functions
Specs
amd(t, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Application_AMD
Specs
answer(t) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/AGICommand_answer
Specs
dial(t, String.t, non_neg_integer, [String.t]) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Application_Dial
Specs
exec(t, String.t, [String.t]) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/AGICommand_exec
Specs
get_full_variable(t, String.t) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGICommand_get+full+variable
Specs
hangup(t, String.t) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/AGICommand_hangup
Returns an AGI struct.
Specs
set_variable(t, String.t, String.t) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGICommand_set+variable
Specs
stream_file(t, String.t, String.t) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGICommand_stream+file
Specs
wait(t, non_neg_integer) :: ElixirAgi.Agi.Result.t
See: https://wiki.asterisk.org/wiki/display/AST/Application_Wait