{"id":19952663,"url":"https://github.com/qxip/baresip-docker","last_synced_at":"2026-03-08T21:03:57.586Z","repository":{"id":23926815,"uuid":"27307560","full_name":"QXIP/baresip-docker","owner":"QXIP","description":"Baresip docker container (baresip git + libre + librem )","archived":false,"fork":false,"pushed_at":"2020-10-21T12:29:09.000Z","size":96,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-07T20:21:23.766Z","etag":null,"topics":["baresip","docker","httpd"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QXIP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-29T16:19:31.000Z","updated_at":"2023-06-12T13:41:39.000Z","dependencies_parsed_at":"2022-08-22T07:50:53.779Z","dependency_job_id":null,"html_url":"https://github.com/QXIP/baresip-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fbaresip-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fbaresip-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fbaresip-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fbaresip-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QXIP","download_url":"https://codeload.github.com/QXIP/baresip-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252241951,"owners_count":21717075,"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","docker","httpd"],"created_at":"2024-11-13T01:14:00.944Z","updated_at":"2026-03-08T21:03:57.568Z","avatar_url":"https://github.com/QXIP.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"baresip-docker\n==============\n\n\u003cimg src=\"https://raw.githubusercontent.com/baresip/baresip/master/share/logo.png\" width=300\u003e\n\nBaresip docker container for headless Call Testing\n\n## Features:\n\n* Baresip v0.6.6\n  - *HTTPD Module*\n  - *CONS Module*\n  - *GST Module*\n  - *ALSA Loopback (snd-aloop)*\n\n## Install:\n```\ndocker pull qxip/baresip-docker\ndocker run -name baresip --rm -ti --device=/dev/snd:/dev/snd qxip/baresip-docker\n```\n\n## Usage\n\n### BARESIP CLI\n##### Command Line Interface\nRegister two SIP accounts to create a route loop initiating and terminating at our agent\n```\n/uanew sip:100@sip.host.com;auth_pass=mypassword;answermode=auto\n/uanew sip:200@sip.host.com;auth_pass=mypassword;answermode=auto\n```\nOnce registered, Dial your loop from 100 to 200\n```\nd 200\nb\n```\nCheck out the call statistics for both legs\n\n-------------\n\n### HTTP API\n##### Webserver User-Interface (UI) using HTTP Socket\nThis module implements an HTTPD server for connecting to Baresip using HTTP Protocol. \nYou can use programs like CURL to connect to the command-line interface.\n\nRegister two SIP accounts to create a route loop initiating and terminating at our agent\n```\n# curl http://127.0.0.1:8000/?/uanew%20sip%3A100%40sip.host.com%3Bauth_pass%3Dmypassword%3Banswermode=auto\n# curl http://127.0.0.1:8000/?/uanew%20sip%3A200%40sip.host.com%3Bauth_pass%3Dmypassword%3Banswermode=auto\n```\nOnce registered, Dial your loop from 100 to 200\n```\n# curl http://127.0.0.1:8000/?d%20200\n# curl http://127.0.0.1:8000/?b\n```\nCheck out the call statistics for both legs\n\n\n-------------\n\n### CONSOLE\n##### Console User-Interface (UI) using UDP/TCP sockets\n \nThis module implements a simple console for connecting to Baresip via UDP or TCP-based sockets. \nYou can use programs like telnet or netcat to connect to the command-line interface.\n \nExample, with the cons-module listening on default port 5555:\n \n```\n# netcat -u 127.0.0.1 5555\n/uanew sip:100@sip.host.com;auth_pass=mypassword;;answermode=auto\n/uanew sip:200@sip.host.com;auth_pass=mypassword;;answermode=auto\nd 200\nb\n```\n\nCheck out the call statistics for both legs\n\n-------------\n\n### Call Statistics\nUpon hangup, each leg will produce RTCP based statistics. Since both user-agents are under Baresip control, statistics are reasonably reliable:\n```\nsip:100-0x17efe40@172.17.0.2:59989: Call with sip:200@10.0.0.1 terminated (duration: 40 secs)\n\naudio           Transmit:     Receive:\npackets:           1798         1782\navg. bitrate:      63.8         63.6  (kbit/s)\nerrors:               0            0\npkt.report:        1648         1632\nlost:                 0            0\njitter:             0.0          0.1  (ms)\n\nsip:200-0x17efe40@172.17.0.2:59989: Call with sip:100@10.0.0.1 terminated (duration: 40 secs)\n\naudio           Transmit:     Receive:\npackets:           2094         1793\navg. bitrate:      63.8         60.6  (kbit/s)\nerrors:               0            0\npkt.report:        1846         1641\nlost:                 0            0\njitter:             0.0          0.0  (ms)\n```\n\n-------------\n\n## Credits\nBaresip is Copyright (c) 2010 - 2020 Creytiv.com Distributed under BSD license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fbaresip-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqxip%2Fbaresip-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fbaresip-docker/lists"}