{"id":42160516,"url":"https://github.com/iuridiniz/freeswitch_module_golang_sample","last_synced_at":"2026-01-26T20:05:36.625Z","repository":{"id":141699652,"uuid":"419699730","full_name":"iuridiniz/freeswitch_module_golang_sample","owner":"iuridiniz","description":"Sample module for FreeSWITCH using golang","archived":false,"fork":false,"pushed_at":"2025-06-05T15:10:34.000Z","size":12,"stargazers_count":7,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T16:25:30.920Z","etag":null,"topics":["freeswitch","golang","golang-examples","shared-module"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iuridiniz.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}},"created_at":"2021-10-21T11:43:26.000Z","updated_at":"2025-06-05T15:10:36.000Z","dependencies_parsed_at":"2024-04-19T05:30:56.072Z","dependency_job_id":null,"html_url":"https://github.com/iuridiniz/freeswitch_module_golang_sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iuridiniz/freeswitch_module_golang_sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuridiniz%2Ffreeswitch_module_golang_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuridiniz%2Ffreeswitch_module_golang_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuridiniz%2Ffreeswitch_module_golang_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuridiniz%2Ffreeswitch_module_golang_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iuridiniz","download_url":"https://codeload.github.com/iuridiniz/freeswitch_module_golang_sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuridiniz%2Ffreeswitch_module_golang_sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28786796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":["freeswitch","golang","golang-examples","shared-module"],"created_at":"2026-01-26T20:02:38.835Z","updated_at":"2026-01-26T20:05:36.611Z","avatar_url":"https://github.com/iuridiniz.png","language":"Go","funding_links":[],"categories":["Interconnect"],"sub_categories":["SBC, IMS"],"readme":"# freeswitch_module_golang_sample\nSample module for [FreeSWITCH](https://github.com/signalwire/freeswitch) using golang\n\n\n## tl; dr\n\n```bash\ngit clone https://github.com/iuridiniz/freeswitch_module_golang_sample.git mod_hello_world\ncd mod_hello_world\nmake \u0026\u0026 make install\n\nfs_cli -x 'load mod_hello_world'\nfs_cli -x 'hello my friend'\n```\n\n## Requirements\n\nWorking gcc, golang, make and freeswitch with dev files.\n\n## Compiling\n\nJust call `make`\n\n```bash\nmake\n```\n\nMakefile will use a freeswitch compiled and installed in `/usr/local/freeswitch`, you can change by passing `FREESWITCH_DIR=/path/to/your/freeswitch` to `make`:\n\n```bash\nmake FREESWITCH_DIR=\"/opt/freeswitch\"\n``` \n\nAlso, this program will try to use `go` tool from your PATH, but you can change this by passing `GO_BINARY=/path/to/your/go` to `make`:\n\n```bash\nmake GO_BINARY=\"/host/home/iuri/.local/opt/go-1.17.2.linux-amd64/bin/go\"\n```\n\n## Install\n\n```bash\nmake install\n```\n\n## Test\n\nOn fs_cli, call:\n\n```cli\nfreeswitch@localhost\u003e load mod_hello_world\nfreeswitch@localhost\u003e hello golang\n```\n\n## File Descriptions\n\n- **fs.c**: Contains C helper functions for interacting with FreeSWITCH.\n- **fs.h**: Header file for `fs.c`, defining the interface for the C helper functions.\n- **mod_hello_world.go**: The main Go source file for the FreeSWITCH module, containing the module's logic and interaction points with FreeSWITCH.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiuridiniz%2Ffreeswitch_module_golang_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiuridiniz%2Ffreeswitch_module_golang_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiuridiniz%2Ffreeswitch_module_golang_sample/lists"}