← Back to team overview

ubuntu-phone team mailing list archive

Re: baresip for BQ E4.5 and M10 with working audio

 

Hi Matthias,

Thanks for the great work! I am trying this on a MX4, but I have some sounds issues. Probably due to different hardware compared to the BQ devices. When I make a call to an echo service, I can hear a ticking sound. I think the error is:

main: long async blocking: 1127>100 ms (h=0xb6f9a159 arg=0xded530)

The complete output is available here: http://paste.ubuntu.com/17336821/

Can you maybe share how you tweaked the configuration? I see you changed some values in ~/.baresip/config at https://github.com/alfredh/baresip/issues/136 If I remember correctly you also wrote something about using oss.so? Would be nice if you can help to find the correct values for the MX4 device.

Greetings,

Mattias


On 12-06-16 14:40, Andrea Bernabei wrote:


On Sun, Jun 12, 2016 at 10:10 AM, Matthias Apitz <guru@xxxxxxxxxxx <mailto:guru@xxxxxxxxxxx>> wrote:


    Hello,

    The audio is now working and SIP can be tested with this tar archive:

    $ wget http://www.unixarea.de/bq-baresip.tgz
    $ md5 bq-baresip.tgz
    MD5 (bq-baresip.tgz) = 1cb13e6fc70d2b3136d90ee988cc46a8

    The installation is pretty much simple as:

    $ cd
    $ tar xzf bq-baresip.tgz

    Create an account file ~/.baresip/accounts with lines like:

    # SIP accounts - one account per line
    #
    # Displayname <sip:user:password@domain;uri-params>;addr-params
    #
    iptel <sip:guru:xxxxxxxxx@xxxxxxxxx
    <mailto:sip%3Aguru%3Axxxxxxxxx@xxxxxxxxx>>;answermode=auto

    and start baresip in the terminal-app as:

    $ ssh localhost
    $ baresip/baresip.sh
    baresip v0.4.19 Copyright (C) 2010 - 2016 Alfred E. Heggestad et al.
    Local network address:  IPv4=wlan0:192.168.2.103
    ui: stdio
    aucodec: PCMU/8000/1
    aucodec: PCMA/8000/1
    aufilt: vumeter
    auplay: pulse
    ausrc: pulse
    medianat: stun
    medianat: turn
    medianat: ice
    uuid: loaded UUID 365c6517-6cc1-2caf-3c8d-7747f20a87ad from file
    /home/phablet/.baresip//uuid
    Populated 1 account
    Populated 3 contacts
    Populated 2 audio codecs
    Populated 1 audio filter
    Populated 0 video codecs
    Populated 0 video filters
    baresip is ready.
    guru@xxxxxxxxx <mailto:guru@xxxxxxxxx>: {0/TCP/v4} 200 OK (ser
    (3.3.0-pre1 (i386/linux))) [1 binding]
    All 1 useragent registered successfully! (2656 ms)

    to dial a SIP peer, just say: d xxxx@xxxxxxxxxxxx.provider

    Note:

    1. you must use 'ssh localhost' at the moment because it is not yet a
       click package; how to configure this is explained in the gitbook;
    2. you must use the shell script 'baresip/baresip.sh' because of
    needed
       environment and params (have a look into it);

    Please test and report problems.


That is great news Matthias!

I'm not a SIP user (yet?) but thanks for the effort you put into this! :) I'm sure plenty of people will love it!

Andrea


            matthias
    --
    Matthias Apitz, ✉ guru@xxxxxxxxxxx <mailto:guru@xxxxxxxxxxx>, ⌂
    http://www.unixarea.de/  ☎ +49-176-38902045 <tel:%2B49-176-38902045>
    "Die Verkaufsschlager des Buchmarkts geben Auskunft über den
    Zustand einer Gesellschaft bzw.
    sind, was diese Zeiten angeht, Gradmesser fortschreitenden
    Schwachsinns. ..." (jW 19.05.2016)

    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp






Follow ups

References