telephony/baresip/baresip: build & enable netroam module

allows baresip to detect network changes (including across
suspend/resume) and automatically reconnect to the SIP provider.
This commit is contained in:
landry 2022-08-12 20:07:04 +00:00
parent 00f18fb670
commit 1aaedc6fe8
3 changed files with 3 additions and 9 deletions

View File

@ -4,6 +4,7 @@ COMMENT-gtk = GTK+-based modules for baresip
GH_ACCOUNT = baresip
GH_PROJECT = baresip
GH_TAGNAME = v2.6.0
REVISION = 0
PKGNAME-main = baresip-${GH_TAGNAME:C/^v//}
PKGNAME-gtk = baresip-gtk-${GH_TAGNAME:C/^v//}
@ -65,6 +66,7 @@ MAKE_FLAGS += MOD_AUTODETECT= \
USE_L16=yes \
USE_MPA=yes \
USE_MPG123=yes \
USE_NETROAM=yes \
USE_OPUS=yes \
USE_PLC=yes \
USE_SDL2=yes \

View File

@ -73,15 +73,6 @@ Index: src/config.c
(void)re_fprintf(f, "#module\t\t\t" "zrtp" MOD_EXT "\n");
(void)re_fprintf(f, "\n");
@@ -1059,7 +1059,7 @@ int config_write_template(const char *file, const stru
(void)re_fprintf(f, "#module_app\t\t" "ctrl_dbus"MOD_EXT"\n");
(void)re_fprintf(f, "#module_app\t\t" "httpreq"MOD_EXT"\n");
(void)re_fprintf(f, "#module_app\t\t" "multicast"MOD_EXT"\n");
- (void)re_fprintf(f, "module_app\t\t" "netroam"MOD_EXT"\n");
+ (void)re_fprintf(f, "#module_app\t\t" "netroam"MOD_EXT"\n");
(void)re_fprintf(f, "\n");
(void)re_fprintf(f, "\n#------------------------------------"
@@ -1083,8 +1083,8 @@ int config_write_template(const char *file, const stru
(void)re_fprintf(f, "ctrl_tcp_listen\t\t0.0.0.0:4444 # ctrl_tcp - "
"TCP interface JSON\n");

View File

@ -33,6 +33,7 @@ lib/baresip/modules/
@so lib/baresip/modules/multicast.so
@so lib/baresip/modules/mwi.so
@so lib/baresip/modules/natpmp.so
@so lib/baresip/modules/netroam.so
@so lib/baresip/modules/opus.so
@so lib/baresip/modules/plc.so
@so lib/baresip/modules/presence.so