From owner-freebsd-questions@FreeBSD.ORG Thu Jan 3 04:25:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 264D1FE6 for ; Thu, 3 Jan 2013 04:25:15 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from ultra7.eskimo.com (ultra7.eskimo.com [204.122.16.70]) by mx1.freebsd.org (Postfix) with ESMTP id D7EA22E7 for ; Thu, 3 Jan 2013 04:25:14 +0000 (UTC) Received: from shellx.eskimo.com (root@shellx.eskimo.com [204.122.16.5]) by ultra7.eskimo.com (8.14.0/8.14.3) with ESMTP id r034J5KJ015306 for ; Wed, 2 Jan 2013 20:19:06 -0800 Received: from shellx.eskimo.com (localhost [127.0.0.1]) by shellx.eskimo.com (8.14.4/8.14.4) with ESMTP id r034JBGP032664 for ; Wed, 2 Jan 2013 20:19:11 -0800 Received: (from joji@localhost) by shellx.eskimo.com (8.14.4/8.14.4/Submit) id r034JBBq032663 for freebsd-questions@freebsd.org; Wed, 2 Jan 2013 20:19:11 -0800 Date: Wed, 2 Jan 2013 20:19:11 -0800 From: Joseph Olatt To: freebsd-questions@freebsd.org Subject: audio/baresip on FreeBSD 9 Message-ID: <20130103041911.GA29654@shellx.eskimo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 04:25:15 -0000 I've been trying to get baresip to work on my FreeBSD 9.x laptop and haven't had much success. I register successfully to callcentric.com and it appears that I can connect and there is a stream of data coming through based on the status display: [0:00:08] audio=0/0 (bit/s) [ ] However, there is no sound. Is anybody on the list successfully using baresip? If so, could they please provide some pointers on how to get sound? There doesn't seem to be much documentation anywhere on the Internet for baresip. My config file (~/.baresip/config) is: /* Begin ~/.baresip/config */ # # baresip configuration # #------------------------------------------------------------------------------ # Core poll_method poll # poll, select, epoll .. # Input input_device /dev/event0 input_port 5555 # SIP sip_trans_bsize 128 #sip_listen 127.0.0.1:5050 # Audio audio_dev /dev/audio0.0 audio_srate 8000-48000 audio_channels 1-2 #audio_aec_length 128 # [ms] # Video video_dev video_size 352x288 video_bitrate 384000 video_fps 25 #video_selfview window # {window,pip} # AVT - Audio/Video Transport rtp_tos 184 #rtp_ports 10000-20000 #rtp_bandwidth 512-1024 # [kbit/s] rtcp_enable yes rtcp_mux no jitter_buffer_delay 5-10 # frames # Network #dns_server 10.0.0.1:53 #------------------------------------------------------------------------------ # Modules module_path /usr/local/lib/baresip/modules # UI Modules module stdio.so module cons.so #module evdev.so # Audio codec Modules (in order) #module g7221.so #module g722.so module g711.so #module gsm.so #module l16.so #module speex.so #module celt.so #module bv32.so # Audio filter Modules (in order) # NOTE: AEC should be before Preproc #module sndfile.so #module speex_aec.so #module speex_pp.so #module speex_resamp.so #module plc.so # Audio driver Modules #module oss.so #module alsa.so #module portaudio.so #module gst.so # Video codec Modules (in order) module avcodec.so #module vpx.so # Video source modules #module avformat.so #module v4l.so #module v4l2.so # Video display modules #module sdl.so #module x11.so # Media NAT modules #module stun.so #module turn.so #module ice.so # Media encoding modules #module srtp.so # Other modules #module natbd.so #------------------------------------------------------------------------------ # Module parameters # Speex codec parameters speex_quality 7 # 0-10 speex_complexity 7 # 0-10 speex_enhancement 0 # 0-1 speex_vbr 0 # Variable Bit Rate 0-1 speex_vad 0 # Voice Activity Detection 0-1 speex_agc_level 8000 # NAT Behavior Discovery #natbd_server creytiv.com #natbd_interval 600 # in seconds /* End ~/.baresip/config */ /* uname -a */ FreeBSD peace 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r244062: Mon Dec 10 17:56:25 CST 2012 root@peace:/usr/obj/usr/src/sys/PEACE i386 Thanks.