<feed xmlns='http://www.w3.org/2005/Atom'>
<title>telephony/net/baresip/files/baresip.defaults, 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>
</feed>
