{"id":45945142,"url":"https://github.com/f18m/go-baresip","last_synced_at":"2026-03-02T12:10:21.431Z","repository":{"id":333946391,"uuid":"1088387445","full_name":"f18m/go-baresip","owner":"f18m","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-20T17:51:35.000Z","size":23939,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-22T12:12:20.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f18m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-02T21:37:55.000Z","updated_at":"2025-11-03T10:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/f18m/go-baresip","commit_stats":null,"previous_names":["f18m/go-baresip"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/f18m/go-baresip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f18m%2Fgo-baresip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f18m%2Fgo-baresip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f18m%2Fgo-baresip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f18m%2Fgo-baresip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f18m","download_url":"https://codeload.github.com/f18m/go-baresip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f18m%2Fgo-baresip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29931027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-28T11:00:25.172Z","updated_at":"2026-02-28T11:00:59.874Z","avatar_url":"https://github.com/f18m.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/f18m/go-baresip/main.yaml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/f18m/go-baresip.svg)](https://pkg.go.dev/github.com/f18m/go-baresip)\n\n# go-baresip\n\nThis repository provides a tiny wrapper around [baresip](https://github.com/baresip/baresip)\nin the form of a few Golang packages.\nAn example golang application using these packages is available as [example](./example/main.go).\n\n## How it works\n\n* allocating the `Baresip` struct, an instance of the `baresip` binary will be started in the background; such binary is not provided from this repository, see [baresip](https://github.com/baresip/baresip) for information on how to install it; the `baresip` instance will live as much time as the golang `Baresip` type;\n\n* the `baresip` binary will process a number of configuration files like `~/.baresip/accounts`, `~/.baresip/config`, etc (see https://github.com/baresip/baresip/wiki/Configuration); such configuration files are not provided by this repository; however this repository will read the `ctrl_tcp_listen` parameter from `~/.baresip/config` to locate the TCP port for controlling baresip;\n\n* the golang `Baresip` type will connect to the TCP port and will listen to `baresip` notifications (e.g. \"incoming call\", etc) and provides easy methods to send commands to the `baresip` binary\n\n\n## Typical Application\n\nSince `baresip` has many dependencies (mainly to support a wide variety of audio and video CODECs), several config files, and is not widely available as native package (e.g. RPM, Debian pkg), the intended usecase for this library\nis to run your golang application within a Docker container containing also your custom build of the `baresip` binary with all required dynamic libraries and configuration files.\n\n\n```mermaid\n---\nconfig:\n      theme: redux\n---\nflowchart TD\n      CLIENT(\"Actual client\")\n      subgraph docker [Docker container]\n      BARESIP(\"baresip VOIP client\")\n      DEPENDENCIES([\"Baresip dependencies:\u003cbr\u003eaudio codecs, modules, etc\"])\n      GOLANGAPP(\"Your golang app\u003cbr\u003e(using go-baresip)\")\n\n      BARESIP --Uses--\u003e DEPENDENCIES\n      GOLANGAPP --TCP socket--\u003e BARESIP\n      end\n      CLIENT --Your Interface (TCP, HTTP, WebSocket, etc)--\u003e GOLANGAPP\n```\n\nOf course the `Actual client` and the `golang app` are up to you to design to fit your needs.\n\nPlease check the [example](./example/main.go) as a starting point.\n\n\n## Golang Reference docs\n\nPlease check [go-baresip reference docs](https://pkg.go.dev/github.com/f18m/go-baresip) page \nand the [Baresip type docs](https://pkg.go.dev/github.com/f18m/go-baresip/pkg/gobaresip#Baresip) in particular.\n\n\n## Original project\n\nThis repository was born as a fork from https://github.com/negbie/go-baresip, which is unmaintained.\nA number of large refactors were done so the project now looks quite different compared to that\nstarting base.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff18m%2Fgo-baresip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff18m%2Fgo-baresip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff18m%2Fgo-baresip/lists"}