# # baresip configuration # #------------------------------------------------------------------------------ # Core poll_method epoll # poll, select, epoll .. # SIP #sip_listen 0.0.0.0:5060 #sip_certificate cert.pem #sip_cafile /etc/ssl/certs/ca-certificates.crt # Call call_local_timeout 120 call_max_calls 4 # Audio #audio_path /usr/share/baresip audio_player alsa,default audio_source alsa,default audio_alert alsa,default #ausrc_srate 48000 #auplay_srate 48000 #ausrc_channels 0 #auplay_channels 0 #audio_txmode poll # poll, thread audio_level no ausrc_format s16 # s16, float, .. auplay_format s16 # s16, float, .. auenc_format s16 # s16, float, .. audec_format s16 # s16, float, .. # Video video_source v4l2,/dev/video0 video_display x11,nil video_size 352x288 video_bitrate 500000 video_fps 25.00 video_fullscreen no videnc_format yuv420p # AVT - Audio/Video Transport rtp_tos 184 #rtp_ports 10000-20000 #rtp_bandwidth 512-1024 # [kbit/s] rtcp_mux no jitter_buffer_delay 5-10 # frames rtp_stats no #rtp_timeout 60 # Network net_prefer_ipv6 no #dns_server 1.1.1.1:53 #dns_server 1.0.0.1:53 #net_interface wlp1s0 #------------------------------------------------------------------------------ # Modules module_path /usr/lib/baresip/modules # UI Modules module stdio.so #module cons.so #module evdev.so #module httpd.so # Audio codec Modules (in order) #module opus.so #module amr.so #module g7221.so #module g722.so #module g726.so module g711.so #module gsm.so #module l16.so #module mpa.so #module codec2.so #module ilbc.so #module isac.so # Audio filter Modules (in encoding order) #module vumeter.so #module sndfile.so #module speex_pp.so #module plc.so #module webrtc_aec.so # Audio driver Modules module alsa.so #module pulse.so #module jack.so #module portaudio.so #module aubridge.so #module aufile.so # Video codec Modules (in order) #module avcodec.so #module vp8.so #module vp9.so # Video filter Modules (in encoding order) #module selfview.so #module snapshot.so #module swscale.so #module vidinfo.so # Video source modules #module v4l2.so #module v4l2_codec.so #module avformat.so #module x11grab.so #module cairo.so #module vidbridge.so # Video display modules #module directfb.so #module x11.so #module sdl.so #module fakevideo.so # Audio/Video source modules #module rst.so #module gst.so #module gst_video.so # Media NAT modules module stun.so module turn.so module ice.so #module natpmp.so #module pcp.so # Media encryption modules #module srtp.so #module dtls_srtp.so #module zrtp.so #------------------------------------------------------------------------------ # Temporary Modules (loaded then unloaded) module_tmp uuid.so module_tmp account.so #------------------------------------------------------------------------------ # Application Modules module_app auloop.so #module_app b2bua.so module_app contact.so module_app debug_cmd.so #module_app dtmfio.so #module_app echo.so module_app gtk.so module_app menu.so #module_app mwi.so #module_app presence.so #module_app syslog.so #module_app mqtt.so #module_app ctrl_tcp.so module_app vidloop.so #------------------------------------------------------------------------------ # Module parameters # UI Modules parameters cons_listen 0.0.0.0:5555 # cons http_listen 0.0.0.0:8000 # httpd - server ctrl_tcp_listen 0.0.0.0:4444 # ctrl_tcp evdev_device /dev/input/event0 # Opus codec parameters opus_bitrate 28000 # 6000-510000 #opus_stereo yes #opus_sprop_stereo yes #opus_cbr no #opus_inbandfec no #opus_dtx no #opus_mirror no #opus_complexity 10 #opus_application audio # {voip,audio} #opus_samplerate 48000 #opus_packet_loss 10 # 0-100 percent # Opus Multistream codec parameters #opus_ms_channels 2 #total channels (2 or 4) #opus_ms_streams 2 #number of streams #opus_ms_c_streams 2 #number of coupled streams vumeter_stderr yes # Selfview video_selfview window # {window,pip} #selfview_size 64x64 # ICE ice_turn no ice_debug no ice_nomination regular # {regular,aggressive} # ZRTP #zrtp_hash no # Disable SDP zrtp-hash (not recommended) # Menu #menu_bell yes #redial_attempts 0 # Num or #redial_delay 5 # Delay in seconds #ringback_disabled no #statmode_default off # avcodec #avcodec_h264enc libx264 #avcodec_h264dec h264 #avcodec_h265enc libx265 #avcodec_h265dec hevc #avcodec_hwaccel vaapi # mqtt #mqtt_broker_host 127.0.0.1 #mqtt_broker_port 1883 #mqtt_broker_clientid baresip01 #mqtt_broker_user user #mqtt_broker_password pass #mqtt_basetopic baresip/01 # sndfile #snd_path /tmp