{"id":39660180,"url":"https://github.com/serfreeman1337/asterlink","last_synced_at":"2026-01-18T09:23:15.433Z","repository":{"id":40046310,"uuid":"231138447","full_name":"serfreeman1337/asterlink","owner":"serfreeman1337","description":"Asterisk integration with Bitrix24 and SuiteCRM","archived":false,"fork":false,"pushed_at":"2025-03-10T13:56:40.000Z","size":170,"stargazers_count":32,"open_issues_count":14,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-10T14:40:17.619Z","etag":null,"topics":["asterisk","bitrix24","crm-integration","suitecrm"],"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/serfreeman1337.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}},"created_at":"2019-12-31T19:30:22.000Z","updated_at":"2025-03-10T13:56:11.000Z","dependencies_parsed_at":"2025-03-10T14:43:33.283Z","dependency_job_id":null,"html_url":"https://github.com/serfreeman1337/asterlink","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/serfreeman1337/asterlink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serfreeman1337%2Fasterlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serfreeman1337%2Fasterlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serfreeman1337%2Fasterlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serfreeman1337%2Fasterlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serfreeman1337","download_url":"https://codeload.github.com/serfreeman1337/asterlink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serfreeman1337%2Fasterlink/sbom","scorecard":{"id":812073,"data":{"date":"2025-08-11","repo":{"name":"github.com/serfreeman1337/asterlink","commit":"4135668816c744cc5681ff6e6b867407067dbff8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.6.0 not signed: https://api.github.com/repos/serfreeman1337/asterlink/releases/204747703","Warn: release artifact v0.5.1 not signed: https://api.github.com/repos/serfreeman1337/asterlink/releases/139808574","Warn: release artifact v0.5.0 not signed: https://api.github.com/repos/serfreeman1337/asterlink/releases/112234622","Warn: release artifact v0.4.0 not signed: https://api.github.com/repos/serfreeman1337/asterlink/releases/44719799","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/serfreeman1337/asterlink/releases/33400653","Warn: release artifact v0.6.0 does not have provenance: https://api.github.com/repos/serfreeman1337/asterlink/releases/204747703","Warn: release artifact v0.5.1 does not have provenance: https://api.github.com/repos/serfreeman1337/asterlink/releases/139808574","Warn: release artifact v0.5.0 does not have provenance: https://api.github.com/repos/serfreeman1337/asterlink/releases/112234622","Warn: release artifact v0.4.0 does not have provenance: https://api.github.com/repos/serfreeman1337/asterlink/releases/44719799","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/serfreeman1337/asterlink/releases/33400653"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T13:25:17.270Z","repository_id":40046310,"created_at":"2025-08-23T13:25:17.270Z","updated_at":"2025-08-23T13:25:17.270Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asterisk","bitrix24","crm-integration","suitecrm"],"created_at":"2026-01-18T09:23:14.897Z","updated_at":"2026-01-18T09:23:15.424Z","avatar_url":"https://github.com/serfreeman1337.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AsterLink\nAsterisk CRM Connector. \nSupports FreePBX v14 integration with [Bitrix24](https://github.com/serfreeman1337/asterlink/blob/master/README_bitrix24.md) and [SuiteCRM](https://github.com/serfreeman1337/asterlink/blob/master/README_suitecrm.md).\n\n# Asterisk\nYou need Asterisk 13+.  \nTo monitor calls this connector listens for AMI events.\n\nThere should be 4 **different** contexts to distinguish calls:\n* `incoming_context` - context for incoming calls from voip trunk. inbound calls will be registred there.\n* `outgoing_context` - context for outgoing calls. outbound calls will be registred there.\n* `ext_context` - extensions dials from queue, ring group, etc. use this context to route incoming calls to your extensions.\n* `dial_context` - context for originating (click2dial) calls.\n\nDefault configuration is tested to work with FreePBX v14 and Asterisk v13.\n\nHere is configuration for [basic-pbx](https://github.com/asterisk/asterisk/blob/master/configs/basic-pbx/extensions.conf) asterisk dialplan:\n```yml\ndialplan:\n  incoming_context:\n  - DCS-Incoming\n  outgoing_context:\n  - Outbound-Dial\n  ext_context:\n  - Dial-Users\n  - DCS-Incoming\n  dial_context: Long-Distance\n```\nYou see `DCS-Incoming` in `ext_context` because we are dialing **queue** extensions directly from incoming context.  \n(queue memeber config `member =\u003e PJSIP/1101` and not `member =\u003e Local/1101@Dial-Users` like in freepbx).\n\n## CallerID Format\nConnector can format CallerID using regexp. This useful when your VoIP provider doesn't send desired format. \n\n* `cid_format` - from PBX to CRM.\n* `dial_format` - from CRM to PBX.\n  * `expr` - regual expression (use double blackslashes).\n  * `repl` - replace pattern.\n\nIf config is set and callerid doesn't matched any of regexp, then call will be ignored.\n\n# CRM Integration\nSee instructions in the following files:\n* [README_bitrix24.md](https://github.com/serfreeman1337/asterlink/blob/master/README_bitrix24.md) - For [Bitrix24](https://www.bitrix24.com/) Integration.\n* [README_suitecrm.md](https://github.com/serfreeman1337/asterlink/blob/master/README_suitecrm.md) - For [SuiteCRM](https://suitecrm.com/) Integration.\n\n# Install\nInstall asterlink under **/opt/asterlink** folder.\n* Create folder /opt/asterlink:\n  ```bash\n  mkdir /opt/asterlink; cd /opt/asterlink\n  ```\n* Download binary from releases page:\n  ```bash\n  wget https://github.com/serfreeman1337/asterlink/releases/latest/download/asterlink_x86_64.tar.gz\n  tar xvf asterlink_x86_64.tar.gz \u0026\u0026 rm asterlink_x86_64.tar.gz\n  chmod +x asterlink\n  ```\n  * Or build it from source (assume you have [go installed](https://go.dev/doc/install)):\n    ```bash\n    go get github.com/serfreeman1337/asterlink\n    go build github.com/serfreeman1337/asterlink\n    ```\n* Create configuration file. Use `conf.example.yml` as an example.\n  ```bash\n  wget https://raw.githubusercontent.com/serfreeman1337/asterlink/master/conf.example.yml\n  mv conf.example.yml conf.yml\n  nano conf.yml\n  ```\n  **Note:** config file is using YAML format and \u003cins\u003eit requires to have proper indentation\u003c/ins\u003e.  \n  Use online yaml validator to check your file for errors.\n* Test run:\n  ```bash\n  ./asterlink\n  ```\n\n## Startup script example\nCreate `/etc/systemd/system/asterlink.service` file with following contents:\n```\n[Unit]\nDescription=AsterLink Connector\nAfter=freepbx.service\n\n[Install]\nWantedBy=multi-user.target\n\n[Service]\nExecStart=/bin/sh -c 'exec /opt/asterlink/asterlink \u003e\u003e/opt/asterlink/app.log 2\u003e\u003e/opt/asterlink/err_app.log'\nWorkingDirectory=/opt/asterlink\nRestart=always\nRestartSec=5\n```\n```bash\nsystemctl enable asterlink\nsystemctl start asterlink\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserfreeman1337%2Fasterlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserfreeman1337%2Fasterlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserfreeman1337%2Fasterlink/lists"}