Categorygithub.com/ik5/goesl
modulepackage
1.0.4
Repository: https://github.com/ik5/goesl.git
Documentation: pkg.go.dev

# README

License Build Status Go 1.3 Ready Go 1.4 Ready Go 1.5 Ready

##FreeSWITCH Event Socket Library Wrapper for Go

GoESL is a small wrapper around FreeSWITCH Event Socket Library written in Go.

Point of this library is to fully implement FreeSWITCH ESL and bring outbound server as inbound client to you, fellow Go developer :)

TODO?

You can find what still needs to be done at GoESL TODO

Examples

There are few different types of examples that can be found at GoESL Examples.

Feel free to suggest more examples :)

Contributions / Issues?

Please reach me over [email protected] or visit my website or submit new issue. I'd prefer tho if you would submit issue.

License

The MIT License (MIT)

Copyright (c) 2015 Nevio Vesic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# Packages

No description provided by the author

# Functions

Debug to log.
Error to log.
Info to log.
NewClient - Will initiate new client that will establish connection and attempt to authenticate against connected freeswitch server.
NewOutboundServer - Will instanciate new outbound server.
Notice is alias to info.
Warning to log.

# Constants

List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.

# Variables

AvailableMessageTypes of Freeswitch events that we can handle (have logic for it).
Log is the pointer for a logger engine.
ReadBufferSize of buffer when we read from connection.

# Structs

Client - In case you need to do inbound dialing against freeswitch server in order to originate call or see sofia statuses or whatever else you came up with.
Message - Freeswitch Message that is received by GoESL.
OutboundServer - In case you need to start server, this Struct have it covered.
SocketConnection is the main connection against ESL - Gotta add more description here.