{"id":37228317,"url":"https://github.com/hnimminh/libresbc","last_synced_at":"2026-04-11T18:11:56.272Z","repository":{"id":38388946,"uuid":"286777346","full_name":"hnimminh/libresbc","owner":"hnimminh","description":"An open source Session Border Controller 🌟 The SBC you dream about 🗽 LibreSBC  will help you save thousands of dollars.","archived":false,"fork":false,"pushed_at":"2026-01-10T22:24:48.000Z","size":1335,"stargazers_count":451,"open_issues_count":12,"forks_count":97,"subscribers_count":33,"default_branch":"master","last_synced_at":"2026-01-11T06:50:32.400Z","etag":null,"topics":["asterisk","b2bua","freepbx","freeswitch","fusionpbx","kamailio","msteams","nat","opensips","opensource","sbc","session-border-controller","sip","sip-server","srtp","telephony","tls","topology-hiding","twillio"],"latest_commit_sha":null,"homepage":"https://github.com/hnimminh/libresbc","language":"Python","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/hnimminh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["hnimminh"],"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://github.com/hnimminh"]}},"created_at":"2020-08-11T15:15:42.000Z","updated_at":"2026-01-06T12:12:27.000Z","dependencies_parsed_at":"2023-02-08T06:31:31.645Z","dependency_job_id":"8fbdaeb8-64b2-46fa-82e8-0eedb7d2a6f8","html_url":"https://github.com/hnimminh/libresbc","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/hnimminh/libresbc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnimminh%2Flibresbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnimminh%2Flibresbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnimminh%2Flibresbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnimminh%2Flibresbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hnimminh","download_url":"https://codeload.github.com/hnimminh/libresbc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnimminh%2Flibresbc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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","b2bua","freepbx","freeswitch","fusionpbx","kamailio","msteams","nat","opensips","opensource","sbc","session-border-controller","sip","sip-server","srtp","telephony","tls","topology-hiding","twillio"],"created_at":"2026-01-15T03:27:11.500Z","updated_at":"2026-01-15T03:27:12.175Z","avatar_url":"https://github.com/hnimminh.png","language":"Python","funding_links":["https://github.com/sponsors/hnimminh","https://github.com/hnimminh","https://www.paypal.com/paypalme/hnimminh"],"categories":["Interconnect"],"sub_categories":["SBC, IMS"],"readme":"\n\u003cp align=\"center\"\u003e \n  \u003ca href=\"https://github.com/hnimminh/libresbc\" target=\"_blank\"\u003e\n     \u003cimg width=\"200px\" src=\"https://user-images.githubusercontent.com/58973699/126869145-9c15755b-426b-40dd-a478-56b28c98f6e9.png\" alt=\"\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/hnimminh/libresbc/stargazers\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badgen.net//github/stars/hnimminh/libresbc?color=cyan\" alt=\"\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/hnimminh/libresbc/commits/master\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badgen.net/github/last-commit/hnimminh/libresbc?icon=github\" alt=\"\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/hnimminh/libresbc/releases\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badgen.net/github/tag/hnimminh/libresbc\" alt=\"\"\u003e\n  \u003c/a\u003e\n    \u003ca href=\"LICENSE.md\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badgen.net/badge/license/MIT/ffd700\" alt=\"\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/clone-26/week-00afd7?style=plastic\u0026logo=GitHubActions\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/view-1547/week-d70000?style=plastic\u0026logo=monkeytie\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eLibreSBC\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eThe Open Source Session Border Controller\u003c/h2\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLibreSBC is a open-source Session Border Controller provide robust security, simplified interoperability, advanced session management, high performance, scale of carrier-grade and reliability for voice over IP (VoIP) infrastructures. LibreSBC designed to typically deployed at the network edge, the demarcation points (borders) among networks/environments.\u003c/b\u003e\u003cbr\u003e\u003c/p\u003e\n\n\n\u003cbr\u003e\n\n\u003ch2\u003eContributing\u003c/h2\u003e\nAll kinds of contributions are very welcome and appreciated !\n\nIf you want to contribute time to LibreSBC then here's a list of suggestions to get you started :\n\n1. Star 🌟 the project.\n2. Help people in the [issues](https://github.com/hnimminh/libresbc/issues) by sharing your knowledge and experience.\n3. Find and report issues.\n4. Influence the future of LibreSBC with feature requests.\n\n\n**You can also contribute money to help secure LibreSBC's future.**\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.paypal.com/paypalme/hnimminh\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/58973699/130890970-ad7f3be3-42c4-4a21-8e28-27dda9c603e3.png\" height=\"54\" alt=\"Paypal\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e \n  \u003cbr\u003e\u003cstrong\u003eBitcoin Wallet\u003c/strong\u003e\n  \u003cbr\u003e1MNjpx5Jy9KUxx2gt5qVmExruehgPi3dQX\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Sponsors\n\n*Special thanks to*\n\n\u003cdiv align=\"center\"\u003e\u003ctable cellpadding=\"5\"\u003e\u003ctbody align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"#\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/58973699/198862008-3fd45e93-b8ea-4768-ba26-bc81bb925127.png\" width=\"172\" alt=\"Youph.one\"\u003e\u003cbr/\u003e\n      \u003cb\u003eYour app, enterprise-ready.\u003c/b\u003e\u003cbr/\u003e\n      \u003csup\u003ecall center in you hand\u003c/sup\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"http://www.shiblysolution.com\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/58973699/198830637-3ceb8588-6a3c-46a0-8b7b-d33bfbe6bb14.png\" width=\"128\" alt=\"keygen\"\u003e\u003cbr/\u003e\n      \u003cb\u003eLeading integrations \u0026 services\u003c/b\u003e\u003cbr/\u003e\n      \u003csup\u003emarked its flagship in South-East Asia.\u003c/sup\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://www.courzad.com/\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/58973699/262483673-ef831ad5-c90f-41f8-84c1-6abac4b82d05.png\" width=\"128\" alt=\"keygen\"\u003e\n      \u003cbr/\u003e\u003cbr\u003e\n      \u003cb\u003eYour partner to Open\u003c/b\u003e\u003cbr/\u003e\n      \u003csup\u003eCloud-Native 4G/5G Mobile Network.\u003c/sup\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\u003c/table\u003e\u003c/div\u003e\n\u003cbr\u003e\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e \u003cimg width=\"960px\" src=\"https://user-images.githubusercontent.com/58973699/262490997-b4597801-2a86-4c16-84c3-f1d6a7998e2f.jpg\" alt=\"\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n## Table of Contents\n- [Why](#why)\n- [Architecture](#architecture)\n- [Functions](#functions)\n  - [Connectivity \u0026 Compatibility](#connectivity-\u0026-compatibility)\n  - [Security](#security)\n  - [Quality of service](#quality-of-service)\n  - [Media services](#media-services)\n  - [Intergration](#intergration)\n  - [High Avaibility](#high-avaibility)\n- [Documents](#documents)\n- [Roadmap](#roadmap)\n- [Discussions](#discussions)\n- [Community](#community)\n- [Who use LibreSBC](#who-use-libresbc)\n- [Performance Test](#performance-test)\n- [License](#license)\n\n\u003cbr\u003e\n\n## Why\n* Free \u0026 Open: It's free and always free for everyone\n* Comunity \u0026 Majoirity: Standing on the shoulders of giants, Kamailio and FreeSWITCH\n* Customisability: Make it do what you want\n* Capability: Carrier-grade \n\n## [Roadmap](https://github.com/hnimminh/libresbc/issues/123) \n\n\n## Architecture\n![Image](https://github.com/user-attachments/assets/8e2a9488-9827-4861-9cf3-ce7724d7898f)\n\n## Functions\nSBCs commonly maintain full session state and offer the following functions:\n\n### Connectivity \u0026 Compatibility\nAllow multiple networks to communicate through the use of a variety of techniques such as:\n* Advanced [NAT](https://en.wikipedia.org/wiki/Network_address_translation) Traversal Capabilities\n* [SIP](https://en.wikipedia.org/wiki/Session_Initiation_Protocol) normalization, SIP message and header manipulation\n* Call Party Translatation\n* [VPN](https://en.wikipedia.org/wiki/Virtual_private_network) connectivity\n* Protocol translations between [UDP](https://en.wikipedia.org/wiki/User_Datagram_Protocol), [TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) \u0026 [TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security)\n* Powerful built-in routing engine.\n* Allowing control routing by 3rd-party software via [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol)\n* Dynamic Load Balancing, Failover, Distribution\n* IPv4/IPv6 Dual Stack\n \n### Security:\nProtect the network and other devices from:\n* Malicious attacks such as a denial-of-service attack ([DoS](https://en.wikipedia.org/wiki/Denial-of-service_attack)) or distributed DoS\n* Toll fraud via rogue media streams\n* SIP Malformed Packet Protection\n* Topology hiding by back to back user agent ([B2BUA](https://en.wikipedia.org/wiki/Back-to-back_user_agent))\n* Encryption of signaling (via TLS) and media ([SRTP](https://en.wikipedia.org/wiki/Secure_Real-time_Transport_Protocol))\n* Access Control List\n* Auto Control Network Firewall\n* SIP Firewall Level\n\n### Quality of service \nThe [QoS](https://en.wikipedia.org/wiki/Quality_of_service) policy of a network and prioritization of flows is usually implemented by the SBC. It can include such functions as:\n* [Rate limiting](https://en.wikipedia.org/wiki/Call_volume_(telecommunications)) include call per second (cps), concurrent calls (concurency)\n* Traffic Optimization by [token bucket](https://en.wikipedia.org/wiki/Token_bucket) and [leaky bucket](https://en.wikipedia.org/wiki/Leaky_bucket)\n\n### Media services\nOffer border-based media control and services such as:\n* Media encoding/decoding ([SRTP](https://en.wikipedia.org/wiki/Secure_Real-time_Transport_Protocol)/[RTP](https://en.wikipedia.org/wiki/Real-time_Transport_Protocol))\n* [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) relay and interworking include In-Band Signaling (touch tones), Out-of-Band Signaling ([RFC2833](https://www.ietf.org/rfc/rfc2833.txt)) and SIP INFO Method\n* Media Codec transcoding: [G711A/U](https://en.wikipedia.org/wiki/G.711), [G729](https://en.wikipedia.org/wiki/G.729), [OPUS](https://en.wikipedia.org/wiki/Opus_(audio_format)), [AMR](https://en.wikipedia.org/wiki/Adaptive_Multi-Rate_audio_codec), [G.722.2 AMR-WB](https://en.wikipedia.org/wiki/Adaptive_Multi-Rate_Wideband)\n* Tones and announcements (Early Media)\n* Data and fax interworking\n* Support multiple Media mode: Proxy, Bypass, Transcode\n* Voice Activity Detection [VAD](https://en.wikipedia.org/wiki/Voice_activity_detection)\n* Confort Noise Generation [CNG](https://en.wikipedia.org/wiki/Comfort_noise)\n\n### Intergration\nSupport to intergrate with 3rd-party system or customer function easily\n* Flexible JSON for Call Detail Record ([CDR](https://en.wikipedia.org/wiki/Call_detail_record)), Send CDR to HTTP API, enabling customized/3rd-party usage such as databases, data analysis or billing purpose. \n* Customization routing mechanism via HTTP API\n* Network capture support: Live Capture and Intergrated with [Homer](https://sipcapture.org/)\n\n\n### High Avaibility\n* [Distributed System](https://en.wikipedia.org/wiki/Distributed_computing)\n* Active-Active [Cluster](https://en.wikipedia.org/wiki/Computer_cluster) Concept (_under development_)\n* Healthcheck and Failure Autodetection\n\n## Documents\nPlease go to [Wiki](https://github.com/hnimminh/libresbc/wiki)\n\n\n## Discussions\n* Let development [Discuss](https://github.com/hnimminh/libresbc/discussions)\n\n\n## Who use LibreSBC\nOn my awareness, here is the list of them\n* [Youphone](http://youph.one/)\n* [ShiblySolution](http://www.shiblysolution.com/)\n* [Orange](https://www.orange.com/)\n* [LinkMobility](https://www.linkmobility.com/)\n* [Courzad](https://www.courzad.com/)\n\n## Performance Test\n* System Under Test\n  * OS: Debian 4.19.132-1 x86_64 (10.6)\n  * CPU: Intel(R) Xeon(R) CPU X5670  @ 2.93GHz\n  * RAM: 8GB; SSD: 128GB\n* Result:\n  * 50 call per second, 1000 concurent call\n  * Used Memory: 1730M, CPU Load: 26%, Call Duration: 600 seconds\n\n## License\n[MIT](./LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnimminh%2Flibresbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhnimminh%2Flibresbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnimminh%2Flibresbc/lists"}