<feed xmlns='http://www.w3.org/2005/Atom'>
<title>telephony/net/baresip/files, branch master</title>
<subtitle>Mirror of telephony feed</subtitle>
<id>https://git.openwrt.org/feed/telephony/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/telephony/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/'/>
<updated>2025-05-06T15:22:13Z</updated>
<entry>
<title>baresip: add uci config section for accounts</title>
<updated>2025-05-06T15:22:13Z</updated>
<author>
<name>Daniel Danzberger</name>
</author>
<published>2025-01-17T00:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=70d6a028ab7ba209c232987c2126291e0903c242'/>
<id>urn:sha1:70d6a028ab7ba209c232987c2126291e0903c242</id>
<content type='text'>
Adds a new UCI config section that allows the user to define accounts
from which the init script will create the /etc/baresip/accounts file.

Using UCI has the big benefit, that changes in the config can be
recognized by reload_config which will restart baresip automatically.

Example /etc/config/baresip:
--
config baresip main
	option enable 1
	option options ''

config account
	option user '+49123456789'
	option password ''
	option server 'tel.t-online.de'
	option transport 'tls'
	option mediaenc 'srtp'

config account
	option user '12'
	option password '7282ce22eee6d91193a1d5014398356x'
	option server '172.27.0.97'
	option transport 'udp'
	option append 'answerdelay=0;rwait=90;mwi=no'
	option ignore 1
--

The basic account options user,password,server,mediaenc and tansport can
be set directly. All other custom baresip account options can be append
to the account string using the 'append' option.

Signed-off-by: Daniel Danzberger &lt;dd@embedd.com&gt;
</content>
</entry>
<entry>
<title>baresip: Use UCI for basic service configuration</title>
<updated>2025-01-06T21:49:42Z</updated>
<author>
<name>Daniel Danzberger</name>
</author>
<published>2024-11-18T11:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=2676410b64d44b248acd037577de5658113b85ed'/>
<id>urn:sha1:2676410b64d44b248acd037577de5658113b85ed</id>
<content type='text'>
The baresip init script is changed to use UCI instead of the debian
style /etc/default basic service configuration.

A uci-defaults script is added to create a basic UCI config:
--
config baresip main
 option enable 0
 option options ''
--

With this change an issues is also resolved, on which the baresip
service doesn't start due to the baresip user not being the owner of
the /etc/baresip configuration directory.

Additionally a reload_config trigger is added for baresip.

Signed-off-by: Daniel Danzberger &lt;dd@embedd.com&gt;
</content>
</entry>
<entry>
<title>baresip: use return in init script</title>
<updated>2022-11-08T20:11:08Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2022-11-08T20:10:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=b69ae7b9344228e1e83aaee2f62cebbd599c1388'/>
<id>urn:sha1:b69ae7b9344228e1e83aaee2f62cebbd599c1388</id>
<content type='text'>
"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>baresip: rely on procd for shutdown</title>
<updated>2019-04-21T13:18:56Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2019-04-21T13:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=c6509afd2bb31df156394c50ac3ba4e4c9604564'/>
<id>urn:sha1:c6509afd2bb31df156394c50ac3ba4e4c9604564</id>
<content type='text'>
No need to stop baresip manually. Just let procd handle it.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>baresip: add procd init script</title>
<updated>2017-12-26T14:21:27Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2017-12-26T14:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=8860618e41c4f90d79eb7c6f4d7cd2edf58c1484'/>
<id>urn:sha1:8860618e41c4f90d79eb7c6f4d7cd2edf58c1484</id>
<content type='text'>
  - add procd init script
  - script starts the daemon as user "baresip" instead of root
  - add /etc/default/baresip
  - add example configuration into /etc/baresip
  - add conffiles definition
  - prevent autostart after upgrade by using ENABLE_BARESIP variable in
    /etc/default/baresip

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>Directory structure restructuralized.</title>
<updated>2013-06-21T11:55:47Z</updated>
<author>
<name>Jiri Slachta</name>
</author>
<published>2013-06-21T11:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/telephony/commit/?id=100f27f3bb693522e8f2617f865e6a13aa406cb4'/>
<id>urn:sha1:100f27f3bb693522e8f2617f865e6a13aa406cb4</id>
<content type='text'>
Signed-off-by: Jiri Slachta &lt;slachta@cesnet.cz&gt;
</content>
</entry>
</feed>
