package
0.0.0-20240618045839-e85b02a3075a
Repository: https://github.com/bob1118/fs.git
Documentation: pkg.go.dev

# Functions

some freeswitch api/cmd response.
KillGateway function freeswitch kill running gateway, run KillGateway after DeleteGateway.
LoadGateway function freeswitch rescan profile's gateways configuration, run LoadGateway after PostGateway.
RegisterGateway function gateway configuration gateway_register=true api command: sofia profile external register gateway request: api/v1/gateway/:uuid/register response: json { code:{ rtcode: rtcode, //return ec.SUCCESS or not.
ReloadGateway function freeswitch kill running gateway, and reload it.
UnregisterGateway function gateway configuration gateway_register=true api command: sofia profile external unregister gateway request: api/v1/gateway/:uuid/unregister response: json { code:{ rtcode: rtcode, //return ec.SUCCESS or not.