{"id":16725204,"url":"https://github.com/negbie/go-baresip","last_synced_at":"2025-04-10T10:22:48.906Z","repository":{"id":46917775,"uuid":"363660158","full_name":"negbie/go-baresip","owner":"negbie","description":"Go baresip wrapper for automated SIP tests","archived":false,"fork":false,"pushed_at":"2022-10-22T01:46:05.000Z","size":35975,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:11:29.995Z","etag":null,"topics":["baresip","go","rtp","sip","speech-quality","test-automation","voip"],"latest_commit_sha":null,"homepage":"","language":"C","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/negbie.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}},"created_at":"2021-05-02T13:40:22.000Z","updated_at":"2024-09-12T00:51:21.000Z","dependencies_parsed_at":"2023-01-20T09:46:17.569Z","dependency_job_id":null,"html_url":"https://github.com/negbie/go-baresip","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negbie%2Fgo-baresip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negbie%2Fgo-baresip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negbie%2Fgo-baresip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negbie%2Fgo-baresip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/negbie","download_url":"https://codeload.github.com/negbie/go-baresip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199080,"owners_count":21063641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["baresip","go","rtp","sip","speech-quality","test-automation","voip"],"created_at":"2024-10-12T22:48:15.159Z","updated_at":"2025-04-10T10:22:48.881Z","avatar_url":"https://github.com/negbie.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-baresip\n\nIs a tiny wrapper around [baresip](https://github.com/baresip/baresip)\n## Basic Usage\n\n```Go\nfunc main() {\n\n    gb, err := gobaresip.New(gobaresip.SetConfigPath(\".\"))\n    if err != nil {\n        log.Println(err)\n        return\n    }\n\n    eChan := gb.GetEventChan()\n    rChan := gb.GetResponseChan()\n\n    go func() {\n        for {\n            select {\n            case e, ok := \u003c-eChan:\n                if !ok {\n                    continue\n                }\n                log.Println(e)\n            case r, ok := \u003c-rChan:\n                if !ok {\n                    continue\n                }\n                log.Println(r)\n            }\n        }\n    }()\n\n    go func() {\n        // Give baresip some time to init and register ua\n        time.Sleep(1 * time.Second)\n\n        if err := gb.CmdDial(\"012345\"); err != nil {\n            log.Println(err)\n        }\n    }()\n\n    err = gb.Run()\n    if err != nil {\n        log.Println(err)\n    }\n    defer gb.Close()\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegbie%2Fgo-baresip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnegbie%2Fgo-baresip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegbie%2Fgo-baresip/lists"}