From MAILER-DAEMON Mon Jun 01 04:31:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzL7o-0001pn-E5 for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 04:31:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzL7k-0001lE-Hz for linphone-developers@nongnu.org; Mon, 01 Jun 2015 04:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzL7j-0007VH-N2 for linphone-developers@nongnu.org; Mon, 01 Jun 2015 04:31:08 -0400 Received: from mail-yh0-x229.google.com ([2607:f8b0:4002:c01::229]:34198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzL7j-0007VA-Jh for linphone-developers@nongnu.org; Mon, 01 Jun 2015 04:31:07 -0400 Received: by yhom41 with SMTP id m41so31428322yho.1 for ; Mon, 01 Jun 2015 01:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WWaTg3PSTFXg8dAg8yykjY8OSEruwd/ox9j/4rljOeo=; b=rKBvjqr2WA7FtcjF1PGrWI4vfuSS07WH/pWok6xWSy4mCMwnaN+OFxRBbNpI5ccZz3 X4KhooG9WDDqNvd9ngHvtT6BysjGrqsAYP1IQcb4HisGWypz/RS+qMV2Owcj18zBfSKH pDh3S0BVUMPspZLrHG90Z1yuFYmHKVSM4Sa5sAYn1nAlseo+gLUJiJFHNSedOZjYbVlR YG7B5x/kg9xyRNt3AjH7UJL82Qkdp/zBX4I828RHWm+9nKeo+Ifs0zAystUNTP9i29h5 FpYbrlhv41Z+MjR+CqmcW7CS4gRQDw7qm+lYNdsMku5QQlcMVtXu4KBbOGAcz2nSxeLy ofdw== MIME-Version: 1.0 X-Received: by 10.236.42.137 with SMTP id j9mr22195911yhb.108.1433147466762; Mon, 01 Jun 2015 01:31:06 -0700 (PDT) Received: by 10.129.107.197 with HTTP; Mon, 1 Jun 2015 01:31:06 -0700 (PDT) Date: Mon, 1 Jun 2015 10:31:06 +0200 Message-ID: From: =?UTF-8?Q?Alejandro_V=C3=A1zquez?= To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e01537212aacea3051770a5db X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::229 Subject: [Linphone-developers] disable dependencies X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 08:31:10 -0000 --089e01537212aacea3051770a5db Content-Type: text/plain; charset=UTF-8 Hi! I want to disable a dependency that I'm not used to linphone but I can find a way to disable it. I use linphone 3.3.2 The dependencies are: * libvpx * flac * libogg * libvorbis * libsndfile Thanks! Regards --089e01537212aacea3051770a5db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!
I want to disable a dependency that I'm n= ot used to linphone=C2=A0but I can find a way to disable it. I use linphone= 3.3.2
The dependencies are:
*=C2=A0libvpx
* flac
* libogg
* libvorbis
* libsndf= ile

Thanks!
Regards
--089e01537212aacea3051770a5db-- From MAILER-DAEMON Mon Jun 01 06:35:30 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzN46-0004Jh-N3 for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 06:35:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzN43-0004FG-S6 for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:35:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzN42-0000Bx-SM for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:35:27 -0400 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:36469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzN42-0000Bl-OJ for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:35:26 -0400 Received: by qcxw10 with SMTP id w10so45691970qcx.3 for ; Mon, 01 Jun 2015 03:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nQi988qBMHL6b94DT48gCeo6mMul+JRAzVJgW3rlQa8=; b=u3kffSvA6Mp2TX8RheebyfKSe3+/zRu2qXl9MP/rGlD0BnW/i10kith2VEnfGf6yn5 EXzn9hrXHLPQlgxCf6ETmGAwTm/LEVmlVVuz5K9xSWTzSmjaHyMMx7nAgTCj9fA3NvM7 Sqxi8jLbAX2nVUf/ep1U9OhssEgUWhBQaJkO8XBArZS2rynx7VoI/NTgr/lGDqyKYGNP MMzQmj4M7nObQhPzyEWa+NC8r6pFz4y4XUcRKSqisX4oURfhcs0tngQvNxvmgTvCBYiN A9dTwLp1RMoakhZGjmOs5CyDokCx8QPNXuUJ0iUbzrjVARhdOr+joTTEn0KDm55pISpf nusg== MIME-Version: 1.0 X-Received: by 10.140.202.209 with SMTP id x200mr1864925qha.50.1433154925699; Mon, 01 Jun 2015 03:35:25 -0700 (PDT) Received: by 10.140.44.37 with HTTP; Mon, 1 Jun 2015 03:35:25 -0700 (PDT) Date: Mon, 1 Jun 2015 18:35:25 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a114260d04129d10517726274 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22d Subject: [Linphone-developers] video call on raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 10:35:29 -0000 --001a114260d04129d10517726274 Content-Type: text/plain; charset=UTF-8 Hi, Is it possible to make a video call on the raspbian system, I tested it with linphone 3.8.2 and the video preview windows just shows a black screen (ortp-error-Could not find suitable format or Xv port to work with). The ubuntu mate system installed on raspberry pi 2 does show video preview, but it lag a pretty long time. linphone python claims to be working on raspberry pi, but when I enable video on the other end (a linphone-android app), the end running linphone python aborted without much information. Thanks, Russell --001a114260d04129d10517726274 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Is it possible to make a video call= on the raspbian system, I tested it with linphone 3.8.2 and the video prev= iew windows just shows a black screen (ortp-error-Could not find suitable f= ormat or Xv port to work with). The ubuntu mate system installed on raspber= ry pi 2 does show video preview, but it lag a pretty long time.
<= br>
linphone python claims to be working on raspberry pi, but whe= n I enable video on the other end (a linphone-android app), the end running= linphone python aborted without much information.

Thanks,
Russell
--001a114260d04129d10517726274-- From MAILER-DAEMON Mon Jun 01 06:39:38 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzN86-000877-LV for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 06:39:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzN84-00086H-1A for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:39:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzN81-0001gw-WC for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:39:35 -0400 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:34472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzN81-0001gk-Qv for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:39:33 -0400 Received: by qcej9 with SMTP id j9so2689578qce.1 for ; Mon, 01 Jun 2015 03:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cepXanA3qINbVFYjS44iQDDYIVC2YmwZxdNnd5OyNmk=; b=ykkWcNrbJA3IDoOr7Q2V/S/fi11GjYAU3YP3gxndsygK1JSx6Kv+XI4LRFDJBLisyt SMb5ORGKm3dFjrzw14ORTi672GwMy7xmFw601N+Rz7Lj8EAuIveWXOR5bX1jjjS28Hhq Sacst4CfMBU9zNDEzt1zI6giWohwdXTJaGn3C3wljRwB0Z1bArWSLH1t/nKJEJIcaJn3 U829ijf6cD0mBoEYEsya6QvIsrsOyEqzn7dNzbd8bTqPH/TwKfDScBQXRsLTtxkHsQXZ jGElau9OG3X0p1AKPPjNqxERKBYWnovmFKC2Z6UcofOH2FbQA8KSC2Iiu6pflw3f6N9w NzXw== MIME-Version: 1.0 X-Received: by 10.140.38.167 with SMTP id t36mr22392687qgt.69.1433155173422; Mon, 01 Jun 2015 03:39:33 -0700 (PDT) Received: by 10.140.44.37 with HTTP; Mon, 1 Jun 2015 03:39:33 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jun 2015 18:39:33 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11c12ce40531e605177271ea X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22a Subject: Re: [Linphone-developers] video call on raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 10:39:37 -0000 --001a11c12ce40531e605177271ea Content-Type: text/plain; charset=UTF-8 There is a saying that the video lags because linphone does not "use the PI hardware acceleration for video encode/decode". Is that (still) true? maybe that is what causes the problem of ubuntu mate on raspberry pi. On Mon, Jun 1, 2015 at 6:35 PM, Russell wrote: > Hi, > > Is it possible to make a video call on the raspbian system, I tested it > with linphone 3.8.2 and the video preview windows just shows a black screen > (ortp-error-Could not find suitable format or Xv port to work with). The > ubuntu mate system installed on raspberry pi 2 does show video preview, but > it lag a pretty long time. > > linphone python > claims to be > working on raspberry pi, but when I enable video on the other end (a > linphone-android app), the end running linphone python aborted without much > information. > > Thanks, > Russell > --001a11c12ce40531e605177271ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There is a saying that the video lags because linphone does not "use the PI = hardware acceleration for video encode/decode". Is that (still) true? = maybe that is what causes the problem of ubuntu mate on raspberry pi.
=

On Mon, Jun 1, 20= 15 at 6:35 PM, Russell <danrenjian@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Hi,

Is it= possible to make a video call on the raspbian system, I tested it with lin= phone 3.8.2 and the video preview windows just shows a black screen (ortp-e= rror-Could not find suitable format or Xv port to work with). The ubuntu ma= te system installed on raspberry pi 2 does show video preview, but it lag a= pretty long time.



--001a11c12ce40531e605177271ea-- From MAILER-DAEMON Mon Jun 01 06:50:11 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzNIJ-0005H2-86 for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 06:50:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzNIG-0005CT-LC for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzNIC-000550-EH for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:50:08 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:37075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzNIC-000540-5S for linphone-developers@nongnu.org; Mon, 01 Jun 2015 06:50:04 -0400 Received: by wifw1 with SMTP id w1so99571958wif.0 for ; Mon, 01 Jun 2015 03:50:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=Wdo7v0GuGQLSCrS38jbn6nN3ayRxa7RmbqtlCqd28yM=; b=kIleAy18vjvTs2xxqPuQtb/d1JRlIY4E5uBavJTxfxpzp1fhzDP0AHe2YYXUnglMyO fVwIyRR8Sy1vYrgDzUXrkRG36ZLGeU/D3sJaCc5thMIVLxaz8sUbtTXK5aQaK3WTcjjc npzd7ZBX/vRP0wL4/nBTuagjzN7N++8V3IIYe8f4KuvoRYV+xH4y9gipigKi5S5r86uL FKhI77rlgUBoKvp+/sPYQaZNaMyXaeGuoKf/oMDDlLM8t7YOnuMXDcPSWRH0r9mAavXu cNQnhWvE2wzu4IBuBsqYgHGduOlOzSvSkT2Vfa4AEaRKcuEMN8ilqGsSbs6hEIK8qGNQ CZbw== X-Received: by 10.180.24.65 with SMTP id s1mr19262452wif.66.1433155803427; Mon, 01 Jun 2015 03:50:03 -0700 (PDT) Received: from [192.168.0.229] (vig38-4-82-233-127-185.fbx.proxad.net. [82.233.127.185]) by mx.google.com with ESMTPSA id u9sm21287594wju.44.2015.06.01.03.50.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jun 2015 03:50:02 -0700 (PDT) From: Guillaume Bienkowski Content-Type: multipart/alternative; boundary="Apple-Mail=_0B6BA084-F16D-40BA-A9F9-2D9AE3F484FE" Message-Id: <4AA6024F-200E-4C1B-9FC3-21A5899F052B@belledonne-communications.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Date: Mon, 1 Jun 2015 12:50:01 +0200 References: To: linphone-developers@nongnu.org In-Reply-To: X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.174 Subject: Re: [Linphone-developers] video call on raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 10:50:10 -0000 --Apple-Mail=_0B6BA084-F16D-40BA-A9F9-2D9AE3F484FE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Well, there=E2=80=99s no automatic way to use the OMX driver of the = RasPi through V4L, so no, we don=E2=80=99t use it (yet). If you feel like contributing to the effort of adding a mediastreamer2 = plugin for it, be our guest! Also, your problem with XV is that you must be using a non-accelerated = desktop which does not support XV as graphics acceleration.=20 Check out how to enable it in your distribution. The problem of python on RPi2 is strange though. Could you run it into = GDB and grab a stracktrace to have an idea of the problem ? Guillaume Bienkowski guillaume.bienkowski@belledonne-communications.com > Le 1 juin 2015 =C3=A0 12:39, Russell a =C3=A9crit= : >=20 > There is a saying = that the video lags because linphone = does not "use the PI hardware acceleration for video encode/decode". Is = that (still) true? maybe that is what causes the problem of ubuntu mate = on raspberry pi. >=20 > On Mon, Jun 1, 2015 at 6:35 PM, Russell > wrote: > Hi, >=20 > Is it possible to make a video call on the raspbian system, I tested = it with linphone 3.8.2 and the video preview windows just shows a black = screen (ortp-error-Could not find suitable format or Xv port to work = with). The ubuntu mate system installed on raspberry pi 2 does show = video preview, but it lag a pretty long time. >=20 > linphone python = claims to = be working on raspberry pi, but when I enable video on the other end (a = linphone-android app), the end running linphone python aborted without = much information. >=20 > Thanks, > Russell >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers --Apple-Mail=_0B6BA084-F16D-40BA-A9F9-2D9AE3F484FE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Well, there=E2=80=99s no automatic way to use the OMX driver = of the RasPi through V4L, so no, we don=E2=80=99t use it (yet).
If you feel like contributing to the effort = of adding a mediastreamer2 plugin for it, be our guest!

Also, your problem with = XV is that you must be using a non-accelerated desktop which does not = support XV as graphics acceleration. 
Check = out how to enable it in your distribution.

The problem of python on = RPi2 is strange though. Could you run it into GDB and grab a stracktrace = to have an idea of the problem ?


Le 1 juin 2015 =C3=A0 12:39, Russell <danrenjian@gmail.com> a =C3=A9crit :

There is a saying that = the video lags because linphone does not "use the PI hardware = acceleration for video encode/decode". Is that (still) true? maybe that = is what causes the problem of ubuntu mate on raspberry pi.

On Mon, = Jun 1, 2015 at 6:35 PM, Russell <danrenjian@gmail.com> wrote:
Hi,

Is it = possible to make a video call on the raspbian system, I tested it with = linphone 3.8.2 and the video preview windows just shows a black screen = (ortp-error-Could not find suitable format or Xv port to work with). The = ubuntu mate system installed on raspberry pi 2 does show video preview, = but it lag a pretty long time.

linphone python claims to be working on = raspberry pi, but when I enable video on the other end (a = linphone-android app), the end running linphone python aborted without = much information.

Thanks,
Russell

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

= --Apple-Mail=_0B6BA084-F16D-40BA-A9F9-2D9AE3F484FE-- From MAILER-DAEMON Mon Jun 01 10:40:36 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzQtI-0005Wm-MO for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 10:40:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzQtF-0005Vd-Ef for linphone-developers@nongnu.org; Mon, 01 Jun 2015 10:40:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzQtC-0003XO-7I for linphone-developers@nongnu.org; Mon, 01 Jun 2015 10:40:33 -0400 Received: from mail.ubiqus.com ([62.23.15.70]:62481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzQtB-00039B-TE for linphone-developers@nongnu.org; Mon, 01 Jun 2015 10:40:30 -0400 X-MDAV-Result: clean X-MDAV-Processed: mail.ubiqus.com, Mon, 01 Jun 2015 16:39:56 +0200 Received: from 5833E7440 by ubiqus.com (Cipher TLSv1:AES-SHA:256) (MDaemon PRO v15.0.1) with ESMTPSA id 61-md50000531182.msg for ; Mon, 01 Jun 2015 16:39:55 +0200 VBR-Info: md=ubiqus.com; mc=all; mv=vbr.emailcertification.org; X-MDHelo: 5833E7440 X-MDArrival-Date: Mon, 01 Jun 2015 16:39:55 +0200 X-Authenticated-Sender: ksoulat@ubiqus.com X-Return-Path: prvs=1594f0d11e=ksoulat@ubiqus.com X-Envelope-From: ksoulat@ubiqus.com X-MDaemon-Deliver-To: linphone-developers@nongnu.org From: "Kevin SOULAT" To: Date: Mon, 1 Jun 2015 16:40:07 +0200 Message-ID: <005501d09c78$dad1de60$90759b20$@ubiqus.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0056_01D09C89.9E5C3500" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdCceNqxCvGlsCMMT8ebO4Qd6dmg2g== Content-Language: fr X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 62.23.15.70 Subject: [Linphone-developers] Web - IE and soundDevices X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 14:40:34 -0000 This is a multipart message in MIME format. ------=_NextPart_000_0056_01D09C89.9E5C3500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 With Internet Explorer (11), the core command "soundDevices" returns "undefined", whereas the same command on Firefox returns the valid array. I noticed I do not have this problem with the similar command "videoDevices". =20 Is it a bug? =20 Regards, Kevin =20 =20 --=20 Kevin SOULAT Chef de projet Cisco : 15 31 / T=E9l. : +33 (0)1 44 14 15 31 =20 Ubiqus 1, avenue du G=E9n=E9ral de Gaulle 92074 La D=E9fense Tel : +33 (0)1 44 14 15 16 http://www.ubiqus.fr =20 CONFIDENTIALITY NOTICE - The information contained in this message and any = accompanying documents may be privileged and confidential and protected fro= m disclosure. If the reader of this message is not the intended recipient, = or an employee or agent responsible for delivering this message to the inte= nded recipient, you are hereby notified that any dissemination, distributio= n or copying of this communication is strictly prohibited. If you have rece= ived this communication in error, please notify us immediately by replying = to the message and deleting it from your computer. Thank you. NOTE DE CONFIDENTIALITE - Ce message et toutes les pieces jointes (ci-apres= le "message") sont etablis a l'intention exclusive de ses destinataires et= sont confidentiels. Si vous recevez ce message par erreur, merci de le det= ruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce m= essage non conforme a sa destination, toute diffusion ou toute publication,= totale ou partielle, est interdite, sauf autorisation expresse. L'internet= ne permettant pas d'assurer l'integrite de ce message, Ubiqus (et ses fili= ales) decline(nt) toute responsabilite au titre de ce message, dans l'hypot= hese ou il aurait ete modifie. ------=_NextPart_000_0056_01D09C89.9E5C3500 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,<= /p>

 

Wit= h Internet Explorer (11), the core command "soundDevices" returns= "undefined", whereas the same command on Firefox returns the val= id array.

I noticed I do not have thi= s problem with the similar command "videoDevices".

=

 

Is it = a bug?

 

Regards,

Kevin

 

 

--

Kevin SOULAT

Chef de projet<= /span>

Cisco : 15 31 / T=E9l. := +33 (0)1 44 14 15 31

 

Ubiqus

1, = avenue du G=E9n=E9ral de Gaulle

<= span style=3D'font-size:10.0pt;font-family:"Courier New";color:black;mso-fa= reast-language:FR'>92074 La D=E9fense

Tel : +33 (0)1 44 14 15 16

http://www.ubiqus.fr

 


CONFIDENTIALITY NOTIC= E - The information contained in this message and any accompanying document= s may be privileged and confidential and protected from disclosure. If the = reader of this message is not the intended recipient, or an employee or age= nt responsible for delivering this message to the intended recipient, you a= re hereby notified that any dissemination, distribution or copying of this = communication is strictly prohibited. If you have received this communicati= on in error, please notify us immediately by replying to the message and de= leting it from your computer. Thank you.

NOTE DE CONFIDENTIALITE - Ce message et toutes les pieces jointes (ci-apres= le "message") sont etablis a l'intention exclusive de ses destinataires et= sont confidentiels. Si vous recevez ce message par erreur, merci de le det= ruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce m= essage non conforme a sa destination, toute diffusion ou toute publication,= totale ou partielle, est interdite, sauf autorisation expresse. L'internet= ne permettant pas d'assurer l'integrite de ce message, Ubiqus (et ses fili= ales) decline(nt) toute responsabilite au titre de ce message, dans l'hypot= hese ou il aurait ete modifie. ------=_NextPart_000_0056_01D09C89.9E5C3500-- From MAILER-DAEMON Mon Jun 01 11:21:34 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzRWw-0002OH-Ko for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 11:21:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzRWu-0002O9-GD for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:21:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzRWt-00023o-Is for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:21:32 -0400 Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:34525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzRWt-00021E-E8 for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:21:31 -0400 Received: by igbhj9 with SMTP id hj9so63976146igb.1 for ; Mon, 01 Jun 2015 08:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fe893LbkQ7TUUqaMUOWxAVzGQiHgoptSVJkOo/Am5mU=; b=HzooY587Y4OweweAUb5YCxYkhNgsmH4JbZQoteHY7mXRZH3Jge8ac7Z+5RjqUrSuXf NkOGQHqLQ/u6JhQo/Fi3JvV3LJ7BWuceyyWGycmefHuiuruf5iGcRRiDqWpntWO+nOl8 qDC+IDGqbvhmJPSfqXQWBg1dJ21UgqyA2pu/c7l1Wmq40nDpXTMkqDYwb0WJVGDgE8Mg ZXe5ZVK8AF48aHLS+3iebMLfzYMxtM9BZz2ECz1QU6fjaqoj+s7d95V1vQsvxMLyOG59 0tHmz+jsW28KAecN3Vp29R2fnQX/u1zQ3Rmx+17Ipf+I9fevZmT0TuyLjP7bMh6a/oIA pWeQ== MIME-Version: 1.0 X-Received: by 10.42.110.66 with SMTP id o2mr30391985icp.54.1433172090457; Mon, 01 Jun 2015 08:21:30 -0700 (PDT) Received: by 10.107.164.232 with HTTP; Mon, 1 Jun 2015 08:21:30 -0700 (PDT) Date: Mon, 1 Jun 2015 18:21:30 +0300 Message-ID: From: =?UTF-8?Q?Ekrem_y=C4=B1lmaz?= To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=20cf303bf71e5a966005177661f1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22d Subject: [Linphone-developers] How to set video calling resolutions? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 15:21:33 -0000 --20cf303bf71e5a966005177661f1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, My name is George, I am new for linphone development, I have an android tablet and it has 2MP camera, it can streaming 720P video= . When I make a video calling video resolutions set 320x240, How can I set video resolutions? Thanks. --=20 ekrem y=C4=B1lmaz --20cf303bf71e5a966005177661f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, My name is George,
I am new for linphone developme= nt,
I have an android tablet and it has 2MP camera, it can stream= ing 720P video.

When I make a video calling video = resolutions set 320x240,

How can I set video resol= utions?

Thanks.

--=
ekrem y=C4=B1lmaz
--20cf303bf71e5a966005177661f1-- From MAILER-DAEMON Mon Jun 01 11:26:19 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzRbW-00047L-U7 for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 11:26:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzRbU-00046k-1k for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:26:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzRbQ-000432-6j for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:26:15 -0400 Received: from c3p0.r0b0t.fr ([5.39.84.134]:38153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzRbQ-00042H-0O for linphone-developers@nongnu.org; Mon, 01 Jun 2015 11:26:12 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by c3p0.r0b0t.fr (Postfix) with ESMTP id C345D1268E7 for ; Mon, 1 Jun 2015 17:30:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c3p0.r0b0t.fr Received: from c3p0.r0b0t.fr ([127.0.0.1]) by localhost (c3p0.r0b0t.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c-7NBXSYwv+f for ; Mon, 1 Jun 2015 17:30:41 +0200 (CEST) Received: from c3p0.r0b0t.fr (localhost.localdomain [127.0.0.1]) by c3p0.r0b0t.fr (Postfix) with ESMTP id B28ED1268E1 for ; Mon, 1 Jun 2015 17:30:41 +0200 (CEST) Message-ID: <7844047fdf79606dad44c158aedb9a30@c3p0.r0b0t.fr> Date: Mon, 01 Jun 2015 17:30:41 +0200 From: =?utf-8?Q?Ch=C3=A9ny=2C?= Yves-Gael To: linphone-developers@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Priority: 3 (Normal) References: User-Agent: Group-Office X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.39.84.134 Subject: Re: [Linphone-developers] How to set video calling resolutions? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 15:26:17 -0000 Hi, you could make some test with "video / Prefered video resolution"= and "video codecs" depending of what you want . regar= ds, hurdman; Lundi 01-06-2015 =C3=A0 17:21 Ekrem y=C4=B1= lmaz a =C3=A9crit: > Hi, My name is George, > I am new for linpho= ne development, > I have an android tablet and it has 2MP camera, it = can streaming 720P video. >=20 > When I make a video calling video= resolutions set 320x240, >=20 > How can I set video resolutio= ns? >=20 > Thanks. >=20 > --=20 > ekrem y=C4=B1lma= z >=20 > _______________________________________________ > Lin= phone-developers mailing list > Linphone-developers@nongnu.org >= https://lists.nongnu.org/mailman/listinfo/linphone-developers >=20 From MAILER-DAEMON Mon Jun 01 12:22:30 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzSTu-0005iG-Rd for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 12:22:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSTr-0005hw-HD for linphone-developers@nongnu.org; Mon, 01 Jun 2015 12:22:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzSTp-0003Zb-SV for linphone-developers@nongnu.org; Mon, 01 Jun 2015 12:22:27 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:34434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSTp-0003ZE-Ld for linphone-developers@nongnu.org; Mon, 01 Jun 2015 12:22:25 -0400 Received: by igbhj9 with SMTP id hj9so65555225igb.1 for ; Mon, 01 Jun 2015 09:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qix30FbFLxxfERwhiLMwURuv/DiZm3O6ngjv3JIlr5w=; b=IT6ZrBpIMQVL8yLXaOAZnTIIjMaOzH1wnFMgm+/H60ZIguQnubmPKsKrCIObk1G8Sy Paxvi8kBCYfqAHYELfNXrpDUW6kWbfk+Q71aWWcSko3LTI/rJbABc66TQrITUs6s+lQ2 ODtGMsCiO4lqLQTnaaBHpOdVrmmjbJlM2Oscj59FMe6epHueSAZpvXPW/gqIlxJxePWT dVzf64G1O3ulT9GEKfFGgDcgeVNsnKM0t9S3ctkwICx6Z2zBUwIOFYGCTKPLkv3IG/dP u9DyQ3JKFP0ZoHes/oAb1NlbcPdUJ1aQ37CxERH9ZbmNy9LVYa0PYOC5q9Bo73ZQhe7N ivFA== MIME-Version: 1.0 X-Received: by 10.50.43.194 with SMTP id y2mr14492820igl.35.1433175744278; Mon, 01 Jun 2015 09:22:24 -0700 (PDT) Received: by 10.107.30.204 with HTTP; Mon, 1 Jun 2015 09:22:24 -0700 (PDT) Date: Mon, 1 Jun 2015 18:22:24 +0200 Message-ID: From: Isaac Gonzalez To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7bfea0b623995a0517773b04 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::229 Subject: [Linphone-developers] Black screen in Android videocall X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 16:22:28 -0000 --047d7bfea0b623995a0517773b04 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'm trying to develop a very very basic sip phone with videocall, but I'm stcuk in this problem. When I create a new videocall, I assign the preview video to a SurfaceView I have alredy created and the received video to antoher SurfaceView, but both of the still black. Do you know where is the problem? Also, is there any documentation about the AndroidVideoWindowImpl class? I am developing this program following some codes in github, but I haven't found any documentation about AndroidVideoWindowImpl class. Thanks, Isaac Gonz=C3=A1lez This is my code in case it could be usefull: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.callTo =3D this.getArguments().getString("callTo"); this.videocall =3D this.getArguments().getBoolean("videocall"); lc =3D MyLinphone.getLinphoneCore(); lcFactory =3D LinphoneCoreFactory.instance(); } @SuppressWarnings("deprecation") @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view =3D inflater.inflate(R.layout.in_videocall_fragment_layou= t, container, false); captureView =3D (SurfaceView)view.findViewById(R.id.capture_view); captureView.setEnabled(true); videoView =3D (SurfaceView)view.findViewById(R.id.video_view); captureView.setZOrderOnTop(true); captureViewHolder =3D captureView.getHolder(); captureViewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);//Para las versiones anteriores a android3.0 try { LinphoneAddress address =3D lcFactory.createLinphoneAddress(callTo); LinphoneCallParams params =3D lc.createDefaultCallParameters(); params.setVideoEnabled(videocall); params.setAudioBandwidth(0); lc.inviteAddressWithParams(address, params); lc.getCurrentCall().enableCamera(videocall); write("Videocall: " + videocall); if(videocall){ switchCamera(); AndroidVideoWindowImpl androidVideoWindowImpl =3D new AndroidVideoWindowImpl(videoView,captureView); videoWindowListener =3D new AndroidVideoWindowImpl.VideoWindowListener() { public void onVideoRenderingSurfaceReady(AndroidVideoWindowImpl vw, SurfaceView surface) { //lc.setVideoWindow(vw); lc.setVideoWindow(videoView); videoView =3D surface; } public void onVideoRenderingSurfaceDestroyed(AndroidVideoWindowImpl vw) { LinphoneCore lc =3D MyLinphone.getLinphoneCore(); if (lc !=3D null) { lc.setVideoWindow(null); } } public void onVideoPreviewSurfaceReady(AndroidVideoWindowImpl vw, SurfaceView surface) = { captureView =3D surface; lc.setPreviewWindow(captureView); } public void onVideoPreviewSurfaceDestroyed(AndroidVideoWindowImpl vw) { MyLinphone.getLinphoneCore().setPreviewWindow(null)= ; } }; androidVideoWindowImpl.setListener(videoWindowListener);; androidVideoWindowImpl.init(); } }catch (LinphoneCoreException e) { e.printStackTrace(); } return view; } --047d7bfea0b623995a0517773b04 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj48ZGl2PjxkaXY+PGRpdj5IaSzCoCBJJiMzOTttIHRyeWluZyB0 byBkZXZlbG9wIGEgdmVyeSB2ZXJ5IGJhc2ljIHNpcCBwaG9uZSB3aXRoIHZpZGVvY2FsbCwgYnV0 IEkmIzM5O20gc3RjdWsgaW4gdGhpcyBwcm9ibGVtLiBXaGVuIEkgY3JlYXRlIGEgbmV3IHZpZGVv Y2FsbCwgSSBhc3NpZ24gdGhlIHByZXZpZXcgdmlkZW8gdG8gYSBTdXJmYWNlVmlld8KgIEkgaGF2 ZSBhbHJlZHkgY3JlYXRlZCBhbmQgdGhlIHJlY2VpdmVkIHZpZGVvIHRvIGFudG9oZXIgU3VyZmFj ZVZpZXcsIGJ1dCBib3RoIG9mIHRoZSBzdGlsbCBibGFjay4gRG8geW91IGtub3cgd2hlcmUgaXMg dGhlIHByb2JsZW0/IDxicj48YnI+PC9kaXY+QWxzbywgaXMgdGhlcmUgYW55IGRvY3VtZW50YXRp b24gYWJvdXQgdGhlIEFuZHJvaWRWaWRlb1dpbmRvd0ltcGwgY2xhc3M/PGJyPjxicj5JIGFtIGRl dmVsb3BpbmcgdGhpcyBwcm9ncmFtIGZvbGxvd2luZyBzb21lIGNvZGVzIGluIGdpdGh1YiwgYnV0 IEkgaGF2ZW4mIzM5O3QgZm91bmQgYW55IGRvY3V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IMKgwqDCoCA8YnI+wqDCoMKgIMKgwqDCoCDCoMKgwqAg wqDCoMKgIGFuZHJvaWRWaWRlb1dpbmRvd0ltcGwuc2V0TGlzdGVuZXIodmlkZW9XaW5kb3dMaXN0 ZW5lcik7Ozxicj7CoMKgwqAgwqDCoMKgIMKgwqDCoCDCoMKgwqAgYW5kcm9pZFZpZGVvV2luZG93 SW1wbC5pbml0KCk7wqDCoMKgIMKgwqDCoCDCoMKgwqAgPGJyPsKgwqDCoCDCoMKgwqAgwqDCoMKg IH08YnI+PGJyPsKgwqDCoCDCoMKgwqAgfWNhdGNoIChMaW5waG9uZUNvcmVFeGNlcHRpb24gZSkg ezxicj7CoMKgwqAgwqDCoMKgIMKgwqDCoCBlLnByaW50U3RhY2tUcmFjZSgpOzxicj7CoMKgwqAg wqDCoMKgIH08YnI+wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA8YnI+wqDCoMKgwqDCoMKgwqAgcmV0 dXJuIHZpZXc7PGJyPsKgwqDCoCB9PGJyPjwvZGl2PjwvZGl2Pg0K --047d7bfea0b623995a0517773b04-- From MAILER-DAEMON Mon Jun 01 15:51:56 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzVka-0006dh-6h for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 15:51:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVkX-0006c6-NX for linphone-developers@nongnu.org; Mon, 01 Jun 2015 15:51:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzVkU-0001pW-Iu for linphone-developers@nongnu.org; Mon, 01 Jun 2015 15:51:53 -0400 Received: from newton.inatel.br ([131.221.240.11]:42418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVkU-0001pF-1q for linphone-developers@nongnu.org; Mon, 01 Jun 2015 15:51:50 -0400 Received: from socrates.local.inatel.br ([192.168.10.70]) by newton.inatel.br (8.14.3/8.14.3/Debian-9.4) with ESMTP id t51JpkBN023065 for ; Mon, 1 Jun 2015 16:51:46 -0300 Received: from socrates.local.inatel.br ([192.168.10.70]) by socrates.local.inatel.br ([192.168.10.70]) with mapi; Mon, 1 Jun 2015 16:51:46 -0300 From: Rodrigo Pimenta Carvalho To: "linphone-developers@nongnu.org" Date: Mon, 1 Jun 2015 16:51:09 -0300 Thread-Topic: How to pause this list messages. Thread-Index: AQHQnKQ0J8ncyLSqNk+DegkNmUFqYJ2YD1S1 Message-ID: References: In-Reply-To: Accept-Language: pt-BR Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: pt-BR Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CanIt-Geo: No geolocation information available for 192.168.10.70 X-CanItPRO-Stream: saida (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.168.10.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.221.240.11 Subject: [Linphone-developers] How to pause this list messages. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 19:51:54 -0000 Hi. Could someone tell me how to pause receiving messages from this list, pleas= e? I have not received automatic instructions on that... Thank you very much! RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 (Brasil) From MAILER-DAEMON Mon Jun 01 23:43:47 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Yzd7D-00015Y-C6 for mharc-linphone-developers@gnu.org; Mon, 01 Jun 2015 23:43:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzd7A-00015I-No for linphone-developers@nongnu.org; Mon, 01 Jun 2015 23:43:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzd79-0006wf-1k for linphone-developers@nongnu.org; Mon, 01 Jun 2015 23:43:44 -0400 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:35818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzd78-0006wV-SN for linphone-developers@nongnu.org; Mon, 01 Jun 2015 23:43:42 -0400 Received: by qgg60 with SMTP id 60so54890502qgg.2 for ; Mon, 01 Jun 2015 20:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qLK025rsy300WmqanaAUAJzjLb4NGC8/v6l1TbTKOrc=; b=t/i/7yIWue3HyhCZUYB+0njF67dihIKXral15k17rAJi+HOIJlPsvXaQ6yOyYDSZE/ 4BSKAQVqncJrMeGwtgR91a9Wt4AQHzWmbiOVGmphcm9qonDUgOepZppYoXhwxPGWfty7 wUjbAkp1YgP104bgEN5BR9w0Iptm9EMcM4pSEqP+cGGoF9ghLq7mECmNmpCNDXAAB9Jz Mq6r1eoMXLS95Yrt9qEhYe8/vNDmwopBuNHQ34IwS+3umhUW2IpH3U+MqIc/dc2DN5oN K6qMzYuloCdTz9k9iJGMMro8sYjux9yCQwbJ4UZR+7hHr9K4HwMit25XrSz2Q+0oVMom GD3g== MIME-Version: 1.0 X-Received: by 10.140.100.164 with SMTP id s33mr26164214qge.36.1433216622424; Mon, 01 Jun 2015 20:43:42 -0700 (PDT) Received: by 10.140.44.37 with HTTP; Mon, 1 Jun 2015 20:43:42 -0700 (PDT) In-Reply-To: <4AA6024F-200E-4C1B-9FC3-21A5899F052B@belledonne-communications.com> References: <4AA6024F-200E-4C1B-9FC3-21A5899F052B@belledonne-communications.com> Date: Tue, 2 Jun 2015 11:43:42 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11c1669caa7a9b051780bf6a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::229 Subject: Re: [Linphone-developers] video call on raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 03:43:46 -0000 --001a11c1669caa7a9b051780bf6a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi this is what I got on gdb session, any idea that I can get a full stacktrace? Program received signal SIGABRT, Aborted. 0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6 (gdb) bt #0 0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0x76d1e65c in abort () from /lib/arm-linux-gnueabihf/libc.so.6 #2 0x00000120 in ?? () #3 0x00000120 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) On Mon, Jun 1, 2015 at 6:50 PM, Guillaume Bienkowski < guillaume.bienkowski@belledonne-communications.com> wrote: > Well, there=E2=80=99s no automatic way to use the OMX driver of the RasPi= through > V4L, so no, we don=E2=80=99t use it (yet). > If you feel like contributing to the effort of adding a mediastreamer2 > plugin for it, be our guest! > > Also, your problem with XV is that you must be using a non-accelerated > desktop which does not support XV as graphics acceleration. > Check out how to enable it in your distribution. > > The problem of python on RPi2 is strange though. Could you run it into GD= B > and grab a stracktrace to have an idea of the problem ? > > Guillaume Bienkowski > guillaume.bienkowski@belledonne-communications.com > > > > Le 1 juin 2015 =C3=A0 12:39, Russell a =C3=A9crit = : > > There is a saying > > that the video lags because linphone does not "use the PI hardware > acceleration for video encode/decode". Is that (still) true? maybe that i= s > what causes the problem of ubuntu mate on raspberry pi. > > On Mon, Jun 1, 2015 at 6:35 PM, Russell wrote: > >> Hi, >> >> Is it possible to make a video call on the raspbian system, I tested it >> with linphone 3.8.2 and the video preview windows just shows a black scr= een >> (ortp-error-Could not find suitable format or Xv port to work with). The >> ubuntu mate system installed on raspberry pi 2 does show video preview, = but >> it lag a pretty long time. >> >> linphone python >> claims to >> be working on raspberry pi, but when I enable video on the other end (a >> linphone-android app), the end running linphone python aborted without m= uch >> information. >> >> Thanks, >> Russell >> > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a11c1669caa7a9b051780bf6a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi=C2=A0

this is what I got on gdb sess= ion, any idea that I can get a full stacktrace?

Program received signal SIGABRT, Aborted.
0x76d1a8dc in raise = () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0 = =C2=A00x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
<= div>#1 =C2=A00x76d1e65c in abort () from /lib/arm-linux-gnueabihf/libc.so.6=
#2 =C2=A00x00000120 in ?? ()
#3 =C2=A00x00000120 in ??= ()
Backtrace stopped: previous frame identical to this frame (co= rrupt stack?)
(gdb)


On Mon, Jun 1, 2015 at 6:50 PM= , Guillaume Bienkowski <guillaume.bienkow= ski@belledonne-communications.com> wrote:
Well, there=E2=80=99s no= automatic way to use the OMX driver of the RasPi through V4L, so no, we do= n=E2=80=99t use it (yet).
If you feel like contributing to the eff= ort of adding a mediastreamer2 plugin for it, be our guest!

<= /div>
Also, your problem with XV is that you must be using a non-accele= rated desktop which does not support XV as graphics acceleration.=C2=A0
Check out how to enable it in your distribution.

<= div>The problem of python on RPi2 is strange though. Could you run it into = GDB and grab a stracktrace to have an idea of the problem ?
=
Guillaume Bienkowski

Le 1 juin 20= 15 =C3=A0 12:39, Russell <danrenjian@gmail.com> a =C3=A9crit :

There is a saying that the video = lags because linphone does not "use the PI hardware acceleration for v= ideo encode/decode". Is that (still) true? maybe that is what causes t= he problem of ubuntu mate on raspberry pi.
=
On Mon, Jun 1, 2015 at 6:35 PM, Russell <danrenjian@gmail.com> wrote:
Hi,

Is it possible to make a video c= all on the raspbian system, I tested it with linphone 3.8.2 and the video p= review windows just shows a black screen (ortp-error-Could not find suitabl= e format or Xv port to work with). The ubuntu mate system installed on rasp= berry pi 2 does show video preview, but it lag a pretty long time.

linphone python claims to be working on = raspberry pi, but when I enable video on the other end (a linphone-android = app), the end running linphone python aborted without much information.

Thanks,
Russell

_______________________________________________
Linphone-developers mail= ing list
Linphone-developers@nongnu.org
https://lists.n= ongnu.org/mailman/listinfo/linphone-developers


___________________________= ____________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop= ers


--001a11c1669caa7a9b051780bf6a-- From MAILER-DAEMON Tue Jun 02 03:14:33 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzgPB-0000sW-IL for mharc-linphone-developers@gnu.org; Tue, 02 Jun 2015 03:14:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzgP8-0000rb-SL for linphone-developers@nongnu.org; Tue, 02 Jun 2015 03:14:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzgP5-0005Bh-4I for linphone-developers@nongnu.org; Tue, 02 Jun 2015 03:14:30 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzgP4-0005BD-VK for linphone-developers@nongnu.org; Tue, 02 Jun 2015 03:14:27 -0400 Received: by wifw1 with SMTP id w1so132806784wif.0 for ; Tue, 02 Jun 2015 00:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=uHya7Fi38JCQ0h4UL6qvWig8grCXyeoUbpJB3nUqrAU=; b=CKX4kFlY12b+qLCQwvq7Z3XqOuNjohz9ldtnjoENVJ5SWouvOuz2FzZQbsDbAJ3eev hdEV/qit1DfY9yhLLrbLWYulCTSyKZUqaZrX8Tk+QAb9gRGAD0vj8tnESKCmYBKfPDWH OlDwQ5cjwj74nryCrCq2IpFZhtfo35P5qyRZJgmsdfaIZbYYVqGMjle8cVQRI8DowQX3 /wkgvxOD88jrWF72TFt9quCMpWXAyC/oVTroTFBbbSNKiWgbwfKoORK38ol27gZC/VEh ADyYhKeGu/NILUk2sMW2+KPXoE2c4zFCqPiYKm7mCA3B+ugiGDlOF3xP+qtjO7fPeTxq 6msw== X-Received: by 10.180.82.135 with SMTP id i7mr28839410wiy.68.1433229265774; Tue, 02 Jun 2015 00:14:25 -0700 (PDT) Received: from ?IPv6:2a01:e35:2e97:fb90:f48e:d4d7:5860:730e? ([2a01:e35:2e97:fb90:f48e:d4d7:5860:730e]) by mx.google.com with ESMTPSA id n1sm20119406wix.0.2015.06.02.00.14.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jun 2015 00:14:24 -0700 (PDT) From: Guillaume Bienkowski Content-Type: multipart/alternative; boundary="Apple-Mail=_F21A79CF-C1A6-4EA7-9037-B2FA6D4B390B" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Date: Tue, 2 Jun 2015 09:14:24 +0200 References: To: linphone-developers@nongnu.org In-Reply-To: X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.180 Subject: Re: [Linphone-developers] How to pause this list messages. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 07:14:31 -0000 --Apple-Mail=_F21A79CF-C1A6-4EA7-9037-B2FA6D4B390B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Go here: https://lists.nongnu.org/mailman/listinfo/linphone-developers = And look for unsubscribe. Guillaume Bienkowski guillaume.bienkowski@belledonne-communications.com > Le 1 juin 2015 =C3=A0 21:51, Rodrigo Pimenta Carvalho = a =C3=A9crit : >=20 > https://lists.nongnu.org/mailman/listinfo/linphone-developers = --Apple-Mail=_F21A79CF-C1A6-4EA7-9037-B2FA6D4B390B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Go here: https://lists.nongnu.org/mailman/listinfo/linphone-developers
And look for unsubscribe.


Le 1 juin 2015 =C3=A0 21:51, Rodrigo Pimenta Carvalho <pimenta@inatel.br> a = =C3=A9crit :


= --Apple-Mail=_F21A79CF-C1A6-4EA7-9037-B2FA6D4B390B-- From MAILER-DAEMON Tue Jun 02 07:51:37 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzkjJ-0000NA-B3 for mharc-linphone-developers@gnu.org; Tue, 02 Jun 2015 07:51:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkjH-0000N3-HL for linphone-developers@nongnu.org; Tue, 02 Jun 2015 07:51:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzkjC-0006y9-Aj for linphone-developers@nongnu.org; Tue, 02 Jun 2015 07:51:35 -0400 Received: from newton.inatel.br ([131.221.240.11]:39572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkjB-0006sc-Dq for linphone-developers@nongnu.org; Tue, 02 Jun 2015 07:51:30 -0400 Received: from socrates.local.inatel.br ([192.168.10.70]) by newton.inatel.br (8.14.3/8.14.3/Debian-9.4) with ESMTP id t52BpCw3002913 for ; Tue, 2 Jun 2015 08:51:25 -0300 Received: from socrates.local.inatel.br ([192.168.10.70]) by socrates.local.inatel.br ([192.168.10.70]) with mapi; Tue, 2 Jun 2015 08:51:17 -0300 From: Rodrigo Pimenta Carvalho To: "linphone-developers@nongnu.org" Date: Tue, 2 Jun 2015 08:50:09 -0300 Thread-Topic: [Linphone-developers] How to pause this list messages. Thread-Index: AdCdA9Up5fXFOvcPRGywJC/jjbNObQAJnFzB Message-ID: References: , In-Reply-To: Accept-Language: pt-BR Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: pt-BR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CanIt-Geo: No geolocation information available for 192.168.10.70 X-CanItPRO-Stream: saida (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.168.10.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.221.240.11 Subject: [Linphone-developers] RES: How to pause this list messages. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 11:51:36 -0000 Thank you very much. I just have paused it. Regards. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 ________________________________________ De: linphone-developers-bounces+pimenta=3Dinatel.br@nongnu.org [linphone-de= velopers-bounces+pimenta=3Dinatel.br@nongnu.org] em Nome de Guillaume Bienk= owski [guillaume.bienkowski@belledonne-communications.com] Enviado: ter=E7a-feira, 2 de junho de 2015 4:14 Para: linphone-developers@nongnu.org Assunto: Re: [Linphone-developers] How to pause this list messages. Go here: https://lists.nongnu.org/mailman/listinfo/linphone-developers And look for unsubscribe. Guillaume Bienkowski guillaume.bienkowski@belledonne-communications.com Le 1 juin 2015 =E0 21:51, Rodrigo Pimenta Carvalho > a =E9crit : https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Tue Jun 02 11:45:31 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzoNf-000692-EU for mharc-linphone-developers@gnu.org; Tue, 02 Jun 2015 11:45:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzoNc-00064s-Lt for linphone-developers@nongnu.org; Tue, 02 Jun 2015 11:45:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzoNX-00078l-RI for linphone-developers@nongnu.org; Tue, 02 Jun 2015 11:45:28 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:33466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzoNX-00077m-Lf for linphone-developers@nongnu.org; Tue, 02 Jun 2015 11:45:23 -0400 Received: by wiwd19 with SMTP id d19so23624973wiw.0 for ; Tue, 02 Jun 2015 08:45:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=ajEQjDQF4qk9bBE6xcD32+Y/cgDY4Req4c6c03yVSuM=; b=NoWZCE2q07ddugJv7dw8ptadz5bhrJuYx5NsJycTLPziiLCAAEA3W0n/Sa6J0yMrR+ 7XizoNvgPCu5n7dPET1iE1JKfEY26VyTIf4eEg+qcVnq59xGlwLMfqMudgfNgk1WtVdq 1/NLomZi6rmtB2IECHA2Z/xrkjMIMcQA+bxQ6GrfiKVdzRPGz5Rezd2mMoIrYvHF3XaP AX6IOioy/oOwSCjam9Q7SPTy6Q5V1E+NUaCroa/H1a2BkTkpudeMDcm/Fj7qAPRST35X Y3sRJzPMqVkwx4NxddZy8RjKKjhZhfGJhgT/k1Lqn1Vpm1+aSErOi2uKZ533TipGKdRs a9ug== X-Gm-Message-State: ALoCoQmaTAakauxtnjYp0xf+KUircBhzIBX5t6DisPlDy5n7N2LAwzgz/PTgjwMc6VSIJ0R9gzSn X-Received: by 10.180.74.210 with SMTP id w18mr31890984wiv.77.1433259922106; Tue, 02 Jun 2015 08:45:22 -0700 (PDT) Received: from [192.168.1.98] ([80.12.95.21]) by mx.google.com with ESMTPSA id ez19sm22240332wid.19.2015.06.02.08.45.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jun 2015 08:45:21 -0700 (PDT) From: Benoit Jouanigo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <43DC0F2A-6757-4731-95EB-6AA893EA52FB@netdevices.fr> Date: Tue, 2 Jun 2015 17:45:20 +0200 To: linphone-developers@nongnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.179 Subject: [Linphone-developers] Android dev X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 15:45:29 -0000 Hi I follow source code of linphone to create my application and I need = your help. Currently I create a instance of LinphoneCore by calling at = LinphoneCoreFactory.instance().createLinphoneCore(this, context); After that I call my method =C2=AB registration =C2=BB for add = registration information to connect on my SIP server. Then I start the main loop with method startLibLinphone(Context c) But when I launch my application, linphone doesn=E2=80=99t register with = the server, do you know why?=20 This is my code in case it could be usefull: protected LinphoneManager(Context context) { mContext =3D context; try { mLc =3D LinphoneCoreFactory.instance().createLinphoneCore(this, = context); registration("test@12.345.678.910", "password"); } catch (LinphoneCoreException lce) { Log.e(TAG, "Impossible to create LinphoneCore: ", lce); } } public synchronized static final LinphoneManager createAndStart(Context = context) { if (instance !=3D null) { Log.e(TAG, "Linphone Manager is already initialized"); return null; } instance =3D new LinphoneManager(context); instance.startLibLinphone(context); return instance; } public static synchronized final LinphoneManager getInstance() { if (instance !=3D null) { return instance; } return null; } public static synchronized final LinphoneCore getLc() { return getInstance().mLc; } private synchronized void startLibLinphone(Context c) { try { boolean isDebugLogEnabled =3D true; LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, = "LibLinphone"); =20 } catch (Exception lce) { Log.e(TAG, "Cannot start LibLinphone", lce); } TimerTask lTask =3D new TimerTask() { @Override public void run() { UIThreadDispatcher.dispatch(new Runnable() { @Override public void run() { if (mLc !=3D null) { mLc.iterate(); } } }); } }; mTimer =3D new Timer("Linphone scheduler"); mTimer.schedule(lTask, 0, 20); } public void registration(String sipAddress, String password) { try { LinphoneCoreFactory lcFactory =3D = LinphoneCoreFactory.instance(); LinphoneAddress address =3D = lcFactory.createLinphoneAddress(sipAddress); String username =3D address.getUserName(); String domain =3D address.getDomain(); if (password !=3D null) { mLc.addAuthInfo(lcFactory.createAuthInfo(username, password, = null, domain)); } LinphoneProxyConfig proxyCfg =3D = mLc.createProxyConfig(sipAddress, domain, null, true); proxyCfg.setExpires(2000); mLc.addProxyConfig(proxyCfg); mLc.setDefaultProxyConfig(proxyCfg); } catch (LinphoneCoreException lce) {} }= From MAILER-DAEMON Tue Jun 02 23:42:20 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YzzZM-0006Me-Sg for mharc-linphone-developers@gnu.org; Tue, 02 Jun 2015 23:42:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzzZK-0006MX-8u for linphone-developers@nongnu.org; Tue, 02 Jun 2015 23:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzzZJ-0006dc-Df for linphone-developers@nongnu.org; Tue, 02 Jun 2015 23:42:18 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:35704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzzZJ-0006cZ-6O for linphone-developers@nongnu.org; Tue, 02 Jun 2015 23:42:17 -0400 Received: by wgme6 with SMTP id e6so155216862wgm.2 for ; Tue, 02 Jun 2015 20:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+Dhc6h8cVQYT18dQOGxSrsLFxnPFF7Nxu4lGD7gUkFU=; b=nDkxmC3JfIWUuRAZt1KkSzm8jdvJOqGtOFelYUqg+uM9Y7rQveb2uwVcwONrjcaixo ITj5Kq8KoaqXFGf4tvNCZTsYr+O6tRYyKhrFrAYGsslwPigjaEoMbhusiuj0JNboDOFd qY8XqdpzvF9NjcWhw9fWl78mKb2MigFm7oQtDWVwUzIl88k8sTdXMEHxRHYEJxmTOrU/ 5WK6FkFfIArgGb2q9X2fiGP1NsJEKooaPkdd+WpSU3SphQMdc5zWcO87wIChZ1rmR0Wo 8jz6cT/KyJWsEwUOYEuYg0rMsmYQsM5avDt04KNlGWQMCZgJQHeWXW0CqOUtqFosOcUk CRSw== MIME-Version: 1.0 X-Received: by 10.180.77.195 with SMTP id u3mr37154797wiw.30.1433302935821; Tue, 02 Jun 2015 20:42:15 -0700 (PDT) Received: by 10.28.54.73 with HTTP; Tue, 2 Jun 2015 20:42:15 -0700 (PDT) Date: Wed, 3 Jun 2015 09:12:15 +0530 Message-ID: From: silvans solanki To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=f46d043bdf345860ee051794d846 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::229 Subject: [Linphone-developers] Send Custom Option Message X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 03:42:19 -0000 --f46d043bdf345860ee051794d846 Content-Type: text/plain; charset=UTF-8 Hello All, Linphone is sending option message in background but I want to send custom Option message in linphone. How can i achieve this functionality with linphone? Thanks in advance. Best Regards, Silvans --f46d043bdf345860ee051794d846 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello All,

Linphone is sending op= tion message in background but I want to send custom Option message in linp= hone.
How can i achieve this functionality with linphone?
Thanks in advance.

Best Regards,
=
Silvans
--f46d043bdf345860ee051794d846-- From MAILER-DAEMON Thu Jun 04 02:45:03 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z0Otj-0007RM-Rh for mharc-linphone-developers@gnu.org; Thu, 04 Jun 2015 02:45:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Oth-0007Qh-6m for linphone-developers@nongnu.org; Thu, 04 Jun 2015 02:45:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0Ote-0002mt-0J for linphone-developers@nongnu.org; Thu, 04 Jun 2015 02:45:01 -0400 Received: from mbob.nabble.com ([162.253.133.15]:65316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Otd-0002iO-QQ for linphone-developers@nongnu.org; Thu, 04 Jun 2015 02:44:57 -0400 Received: from mtom.nabble.com (unknown [162.253.133.81]) by mbob.nabble.com (Postfix) with ESMTP id 38CB6E2BD15 for ; Wed, 3 Jun 2015 23:44:53 -0700 (PDT) Date: Wed, 3 Jun 2015 23:24:12 -0700 (MST) From: powerqian To: linphone-developers@nongnu.org Message-ID: <1433399052343-201091.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 162.253.133.15 Subject: [Linphone-developers] Multicast Call on iOS and Android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 06:45:02 -0000 Dear Linphone developers: Recently we want to make use of the multicast feature in liblinphone. I have some questions related to it. 1. Based on the documentation at http://www.linphone.org/docs/liblinphone/group__media__parameters.html, caller will set a multicast IP address, and enable multicast. Does that means after setting the multicast IP address and enable multicast, all the outgoing calls will send to that multicast address? 2. As for the callee side, how does he register for an IP address to receive a multicast call? Is that the job of SIP server (e.g. Asterisks) to multicast those INVITEs to callee? 3. Does the multicast support grouping? For example A, B, and C are in group X, and B, C, and D are in group Y. When C make a multicast call to group Y, only B and D will receive the call. Some examples is really appreciated. Thanks in advance! -- View this message in context: http://nongnu.13855.n7.nabble.com/Multicast-Call-on-iOS-and-Android-tp201091.html Sent from the linphone-developers mailing list archive at Nabble.com. From MAILER-DAEMON Fri Jun 05 04:59:22 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z0nTG-0008OM-UW for mharc-linphone-developers@gnu.org; Fri, 05 Jun 2015 04:59:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0nTE-0008Nq-Cj for linphone-developers@nongnu.org; Fri, 05 Jun 2015 04:59:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0nT5-0000b3-Qo for linphone-developers@nongnu.org; Fri, 05 Jun 2015 04:59:20 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0nT5-0000a7-JG for linphone-developers@nongnu.org; Fri, 05 Jun 2015 04:59:11 -0400 Received: by wibut5 with SMTP id ut5so14075683wib.1 for ; Fri, 05 Jun 2015 01:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=kgvkBQOrEvxCRayrgAmZXJz/q33pfQoyNDC9OPEvGxI=; b=uzUZD5L1h0padQlC+YfTCrNulAPDVUmDtPALhYOsLtTFP+uwo7f0FNmxIF6gjdVgzT oOF2ND9pQHsPXxsU/N0axtC40J/nyrPY7h6k+OZdmmW++yvr6TOgORte+rd4PRPOWcQu dex4ONDHr1ghJxpMGsD61yyq8lONrxnNtsIVLozfb/N5/fldW7h47PmnkRJ10HulvJ9j 12C3546Bjmeenja01vKUvo7cMabu8gHt5MjEFKFXj9ZS5YZoBKfCVGAZDbwlUlPIXY27 S0QOv4YTnPHfU3ZflXq/DnlVOfPGzDknz5FwooOL/9Wjjfsp5KofkRglz0u+ReSm82gu hCLw== X-Received: by 10.194.120.230 with SMTP id lf6mr4597641wjb.41.1433494750792; Fri, 05 Jun 2015 01:59:10 -0700 (PDT) Received: from [172.17.17.7] ([87.121.90.151]) by mx.google.com with ESMTPSA id n1sm2272442wix.0.2015.06.05.01.59.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 01:59:10 -0700 (PDT) Message-ID: <557164D9.9030102@gmail.com> Date: Fri, 05 Jun 2015 11:59:05 +0300 From: Iskren Mihaylov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: <557163DA.5080500@gmail.com> In-Reply-To: <557163DA.5080500@gmail.com> X-Forwarded-Message-Id: <557163DA.5080500@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 Subject: [Linphone-developers] How to control sounds in Linphone on Android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 08:59:21 -0000 Hello! I am using latest version of Linphone for android from F-droid (Version 2.4.0-fdroid) on my tablet Asuspad HD 7 and eventhough the whole system is set to silent mode there are sounds when typing digits from Linphone. On my other android device (Motorola Defy Plus with Android 4.3.1) there are no sounds at all with turned sound. Why is this happening? Please put a chekbox to enable/disable sounds as it is very annoying to here keystrokes when dialing on completely silent system. And some sound level control should be available too, as how to set the level of dialing tone and conversation level when it isn't taking orders from system sound control. -- Regards Iskren Mihaylov From MAILER-DAEMON Fri Jun 05 16:12:35 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z0xyl-0000kH-UD for mharc-linphone-developers@gnu.org; Fri, 05 Jun 2015 16:12:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0xyi-0000jJ-VA for linphone-developers@nongnu.org; Fri, 05 Jun 2015 16:12:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0xyi-0004iu-9R for linphone-developers@nongnu.org; Fri, 05 Jun 2015 16:12:32 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:34484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0xyi-0004i4-3D for linphone-developers@nongnu.org; Fri, 05 Jun 2015 16:12:32 -0400 Received: by wibut5 with SMTP id ut5so31539810wib.1 for ; Fri, 05 Jun 2015 13:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=moPk0OpgUZBpzYc6QDjK4Rk7oLQu7dSwVWD2wqlqO+8=; b=Z6gTDjg9lFb6fWq5TOCXLov0dg+ngc6bRkhbLnjdfnb1D001BbHuAWPztcYYOvPcVW tHMduD0sR5UotgiZg6AtybxTO5uvPT4Zc3Oj/rMQprVakvJsnX+txsEDUx7OgLLg1jtZ 2BykWWlwMwMMaFzPB4w08DeoVBILXtusx0hGH+ufLAidEX+NYkmwVlG7AS1xBMSIbt7B 6w3VsHLCNLXD/CGJyey7yK2M5dUL5cysfrF1W01TOBVEXBr6FIHtp3knBuD7S86HIkXl +FidjK+9G+w8CTf9ocV12pTnR43moU0HVv463B06niz47cCXU2eRObXyvDM6PP+YZyYY xt9w== MIME-Version: 1.0 X-Received: by 10.180.9.111 with SMTP id y15mr44942wia.18.1433535150631; Fri, 05 Jun 2015 13:12:30 -0700 (PDT) Received: by 10.28.54.73 with HTTP; Fri, 5 Jun 2015 13:12:30 -0700 (PDT) Date: Sat, 6 Jun 2015 01:42:30 +0530 Message-ID: From: silvans solanki To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11c248886d2fcc0517cae936 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a Subject: [Linphone-developers] Does linphone support sip option message? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 20:12:34 -0000 --001a11c248886d2fcc0517cae936 Content-Type: text/plain; charset=UTF-8 Hello All, Does linphone support option message? Do anyone know how to send custom option message? Please help me to identify method which is sending option message. Best Regards, Silvans --001a11c248886d2fcc0517cae936 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello All,

Does linphone support option= message?
Do anyone know how to send custom option message?
=

Please help me to identify method which is sending opti= on message.

Best Regards,
Silvans
<= /div> --001a11c248886d2fcc0517cae936-- From MAILER-DAEMON Sun Jun 07 07:34:37 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z1Yqb-00084e-HH for mharc-linphone-developers@gnu.org; Sun, 07 Jun 2015 07:34:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1YqY-00083K-9r for linphone-developers@nongnu.org; Sun, 07 Jun 2015 07:34:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1YqV-0002rH-5B for linphone-developers@nongnu.org; Sun, 07 Jun 2015 07:34:34 -0400 Received: from col004-omc4s18.hotmail.com ([65.55.34.220]:56336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1YqV-0002qG-0G for linphone-developers@nongnu.org; Sun, 07 Jun 2015 07:34:31 -0400 Received: from COL130-W57 ([65.55.34.199]) by COL004-OMC4S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 7 Jun 2015 04:34:29 -0700 X-TMN: [sIr8MxpOvue8Rh+YLn+OJQLeQsAUKPla0x0Qy3AeWTU=] X-Originating-Email: [nir_jntn@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f44e6b5d-11e5-4d32-bd17-182a1cc4db04_" From: Yonatan Nir To: "linphone-developers@nongnu.org" Date: Sun, 7 Jun 2015 11:34:29 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 07 Jun 2015 11:34:29.0873 (UTC) FILETIME=[EAC24610:01D0A115] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 65.55.34.220 Subject: [Linphone-developers] How can I use the ChatStorage class X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 11:34:35 -0000 --_f44e6b5d-11e5-4d32-bd17-182a1cc4db04_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C I'm trying to use the ChatStorage class since I'm using chat messages in my= app.=20 When trying to call ChatStorage.getInstance() I get an exception: Linphone = service not instantiated yet=2C even though there is a previous call in my = main activity's onCreate method: =0A= startService(new Intent(this=2C LinphoneService.class))=3B =0A= =0A= The manifest hold this decleration:=20 =0A= =0A= =0A= =0A= Is there something I'm doing wrong here? Thank you for all those who reply. = --_f44e6b5d-11e5-4d32-bd17-182a1cc4db04_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all=2C

I'm trying to u= se the ChatStorage class since I'm using chat messages in my app.
When = trying to call ChatStorage.getInstance() I get an exception: <= code>Linphone service not instantiated yet=2C even though there is a= previous call in my main activity's onCreate method:
=0A= startService(new Intent(this=2C LinphoneService.class))=3B

=0A= =0A= The manifest hold this decleration:
=0A= =0A=
<=3Bservice android:name=3D"l=
inphone.jar.org.linphone.LinphoneService">=3B&=
lt=3B/service>=3B
=0A= =0A= Is there something I'm doing wrong here?

Thank you for all those who= reply.
= --_f44e6b5d-11e5-4d32-bd17-182a1cc4db04_-- From MAILER-DAEMON Sun Jun 07 09:44:45 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z1asX-0001xP-FN for mharc-linphone-developers@gnu.org; Sun, 07 Jun 2015 09:44:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1asU-0001xD-NZ for linphone-developers@nongnu.org; Sun, 07 Jun 2015 09:44:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1asQ-0005Vj-TY for linphone-developers@nongnu.org; Sun, 07 Jun 2015 09:44:42 -0400 Received: from col004-omc4s18.hotmail.com ([65.55.34.220]:55350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1asQ-0005U2-LB for linphone-developers@nongnu.org; Sun, 07 Jun 2015 09:44:38 -0400 Received: from COL130-W26 ([65.55.34.200]) by COL004-OMC4S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 7 Jun 2015 06:44:37 -0700 X-TMN: [WjaFUZLlmK5l+hvgf3P7Dc0SjLRwKvjVB/76cpK6MZc=] X-Originating-Email: [nir_jntn@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_c23f5e16-99b0-4583-b3ee-fb1a856db6de_" From: Yonatan Nir To: "linphone-developers@nongnu.org" Date: Sun, 7 Jun 2015 13:44:37 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 07 Jun 2015 13:44:37.0772 (UTC) FILETIME=[18A11CC0:01D0A128] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 65.55.34.220 Subject: [Linphone-developers] Resource not found exception when trying to start LinphoneService X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 13:44:43 -0000 --_c23f5e16-99b0-4583-b3ee-fb1a856db6de_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using the LibLinphone library to create some VOIP app. The library is = an external jar in the private libraries section in Eclipse.=20 I'm trying to use the `ChatStorage` class to handle chat messages which is = a part of the library. =20 When trying to start the service I get the exception: java.lang.RuntimeException: Unable to create service org.linphone.Linph= oneService: android.content.res.Resources$NotFoundException: Resource ID #0= x7f0a003b The problem is that the library is in an external jar. From logcat I could = see that the problem was caused because of line 137 in the service `onCreat= e` method and only online I could find the source code of the service in th= is link:=20 https://github.com/BelledonneCommunications/linphone-android/blob/master/sr= c/org/linphone/LinphoneService.java There I could see that line 137 is:=20 LinphoneCoreFactory.instance().enableLogCollection(!(getResources().get= Boolean(R.bool.disable_every_log)))=3B What can I do when we're talking about an external jar? Can I somehow edit = its content and add this bool resource if its not there? = --_c23f5e16-99b0-4583-b3ee-fb1a856db6de_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using the LibLinphone libra= ry to create some VOIP app. The library is an external jar in the private l= ibraries section in Eclipse.

I'm trying to use the `ChatStorage` cl= ass to handle chat messages which is a part of the library.
 =3B
= When trying to start the service I get the exception:

 =3B = =3B =3B java.lang.RuntimeException: Unable to create service org.linpho= ne.LinphoneService: android.content.res.Resources$NotFoundException: Resour= ce ID #0x7f0a003b

The problem is that the library is in an external = jar. From logcat I could see that the problem was caused because of line 13= 7 in the service `onCreate` method and only online I could find the source = code of the service in this link:

https://github.com/BelledonneComm= unications/linphone-android/blob/master/src/org/linphone/LinphoneService.ja= va

There I could see that line 137 is:

 =3B =3B = =3B LinphoneCoreFactory.instance().enableLogCollection(!(getResources().get= Boolean(R.bool.disable_every_log)))=3B

What can I do when we're talk= ing about an external jar? Can I somehow edit its content and add this bool= resource if its not there?
= --_c23f5e16-99b0-4583-b3ee-fb1a856db6de_-- From MAILER-DAEMON Mon Jun 08 04:11:33 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z1s9d-0004HE-0Z for mharc-linphone-developers@gnu.org; Mon, 08 Jun 2015 04:11:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1s9Z-0004EQ-6u for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1s9V-0000Kx-1J for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:11:29 -0400 Received: from forward11p.cmail.yandex.net ([87.250.241.139]:56186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1s9U-0000Hz-P9 for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:11:24 -0400 Received: from web6g.yandex.ru (web6g.yandex.ru [95.108.252.106]) by forward11p.cmail.yandex.net (Yandex) with ESMTP id 74B5820D30; Mon, 8 Jun 2015 11:11:20 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web6g.yandex.ru (Yandex) with ESMTP id E99D3536273A; Mon, 8 Jun 2015 11:11:19 +0300 (MSK) Received: by web6g.yandex.ru with HTTP; Mon, 08 Jun 2015 11:11:19 +0300 From: Sergey Guralnik To: "linphone-developers@nongnu.org" MIME-Version: 1.0 Message-Id: <535501433751079@web6g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 08 Jun 2015 11:11:19 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 87.250.241.139 Cc: "dominicg@eda-tech.com" , "t.vichkanova@mobidev.biz" Subject: [Linphone-developers] PolarSSL for libllinphone. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 08:11:31 -0000 Hi folks! I'm trying to build liblinphone for Android. And now I get stuck with imp= orting PolarSSL. The issue is that mediastreamer2 requires "polarssl/ssl_cookie.h". I walk= ed through whole public available history of PolarSSL and it seems like this header = never was distributed with vanilla polarssl. Also Belledone's githab page (https://github.com/BelledonneCommunications= ) contains no projects that may be considered as polarssl forks that are intended for m= ediastreamer2. Could anyone explain from where I can grab polarssl's source code that wi= ll be applicable for mediastreamer2 ? --=9A Best regards, Sergey Guralnik. From MAILER-DAEMON Mon Jun 08 04:27:48 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z1sPM-0003A0-BO for mharc-linphone-developers@gnu.org; Mon, 08 Jun 2015 04:27:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1sPK-000377-BN for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:27:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1sPJ-0001Vf-7N for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:27:46 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:33045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1sPI-0001VI-QK for linphone-developers@nongnu.org; Mon, 08 Jun 2015 04:27:44 -0400 Received: by wiwd19 with SMTP id d19so77633910wiw.0 for ; Mon, 08 Jun 2015 01:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8MMTBWpaxZvecIQEOVzlbWp9A+5vEIbqjkA89pXEwOw=; b=BAABZD1HAM8TeiCzl9T65ggbZaQiS7gTYtYb0DQS2cMP8aIhgaQAZhaQUZPuEZgsQh fHEUK0OF9g6GiiqigkMnG/aMZdSnWqgwqbqpjSs0bEYJJ1GsaZYBar/CKeQJovegZzif t1adjcdTgPiEmbEvkZ949gN707cb7Bn5Lp8aIkLZXSV7K3Px/joW3e/aE3tZ85BfdtcP XFpa4s5F9ZAsQR+ZU3E/ez6p4NmD+7ZxAXTUszLUP06Mrllc3f+gQbar7jILXHudcLeD bAXyHkgMCth845NQUjngJR9kog9Qzman/s2LDYIxziJ4HZvh5gPdmFB/JzBdodqhkgbb d4sQ== X-Received: by 10.180.91.17 with SMTP id ca17mr19394065wib.9.1433752063760; Mon, 08 Jun 2015 01:27:43 -0700 (PDT) Received: from ?IPv6:2a01:e35:2e97:fb90:24c7:2868:37cf:b4f7? ([2a01:e35:2e97:fb90:24c7:2868:37cf:b4f7]) by mx.google.com with ESMTPSA id u7sm10330046wif.3.2015.06.08.01.27.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 01:27:42 -0700 (PDT) Sender: Ghislain Mary Message-ID: <55755200.1050708@linphone.org> Date: Mon, 08 Jun 2015 10:27:44 +0200 From: Ghislain MARY Organization: Linphone User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: <535501433751079@web6g.yandex.ru> In-Reply-To: <535501433751079@web6g.yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a Subject: Re: [Linphone-developers] PolarSSL for libllinphone. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 08:27:47 -0000 Hi, The ssl_cookie.h file is needed for DTLS support. It is available in an unofficial release of polarssl (1.4) that is available in the linphone-1.4 branch of the git://git.linphone.org/polarssl.git repository. However you can also not define HAVE_DTLS and use a vanilla polarssl. Cheers, Ghislain Le 08/06/2015 10:11, Sergey Guralnik a écrit : > Hi folks! > > I'm trying to build liblinphone for Android. And now I get stuck with importing PolarSSL. > The issue is that mediastreamer2 requires "polarssl/ssl_cookie.h". I walked through > whole public available history of PolarSSL and it seems like this header never was distributed > with vanilla polarssl. > Also Belledone's githab page (https://github.com/BelledonneCommunications) contains no > projects that may be considered as polarssl forks that are intended for mediastreamer2. > > Could anyone explain from where I can grab polarssl's source code that will be > applicable for mediastreamer2 ? > > -- > Best regards, > Sergey Guralnik. > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Mon Jun 08 05:31:03 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z1tOZ-0001qz-DA for mharc-linphone-developers@gnu.org; Mon, 08 Jun 2015 05:31:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1tOW-0001nL-E3 for linphone-developers@nongnu.org; Mon, 08 Jun 2015 05:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1tON-0005K5-S6 for linphone-developers@nongnu.org; Mon, 08 Jun 2015 05:31:00 -0400 Received: from forward14p.cmail.yandex.net ([87.250.241.142]:51172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1tON-0005Io-HB for linphone-developers@nongnu.org; Mon, 08 Jun 2015 05:30:51 -0400 Received: from web6g.yandex.ru (web6g.yandex.ru [95.108.252.106]) by forward14p.cmail.yandex.net (Yandex) with ESMTP id 7177E21741 for ; Mon, 8 Jun 2015 12:30:48 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web6g.yandex.ru (Yandex) with ESMTP id 1B4885362738; Mon, 8 Jun 2015 12:30:48 +0300 (MSK) Received: by web6g.yandex.ru with HTTP; Mon, 08 Jun 2015 12:30:47 +0300 From: Sergey Guralnik To: "linphone-developers@nongnu.org" In-Reply-To: <55755200.1050708@linphone.org> References: <535501433751079@web6g.yandex.ru> <55755200.1050708@linphone.org> MIME-Version: 1.0 Message-Id: <1189631433755847@web6g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 08 Jun 2015 12:30:47 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 87.250.241.142 Subject: Re: [Linphone-developers] PolarSSL for libllinphone. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 09:31:01 -0000 08.06.2015, 11:28, "Ghislain MARY" : > Hi, > > The ssl_cookie.h file is needed for DTLS support. It is available in an > unofficial release of polarssl (1.4) that is available in the > linphone-1.4 branch of the git://git.linphone.org/polarssl.git reposito= ry. > However you can also not define HAVE_DTLS and use a vanilla polarssl. > > Cheers, > Ghislain > Thanks a lot, Ghislain! --=9A Best regards, Sergey Guralnik. From MAILER-DAEMON Tue Jun 09 02:42:25 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2DEv-0001tf-RJ for mharc-linphone-developers@gnu.org; Tue, 09 Jun 2015 02:42:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2DEs-0001rI-H6 for linphone-developers@nongnu.org; Tue, 09 Jun 2015 02:42:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2DEr-0000zf-6v for linphone-developers@nongnu.org; Tue, 09 Jun 2015 02:42:22 -0400 Received: from mail-wi0-x242.google.com ([2a00:1450:400c:c05::242]:36579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2DEr-0000z1-0W for linphone-developers@nongnu.org; Tue, 09 Jun 2015 02:42:21 -0400 Received: by wivr20 with SMTP id r20so1902670wiv.3 for ; Mon, 08 Jun 2015 23:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=g02peKG1jMGu6wX8KkUmY9LqPzvIQ7Ssv49/QEL8n34=; b=kUkqEIHj94qX7pxOGBq3CFTsoLiLdmieyv0w5jX3bVSiA4QI0vxJdSNo0UZYOOlHsv BdcKSFVGVsZe7FyWkALHf2xr0v4Ifh1xlS+NATQY+5Yo1l0bRYEYdsEclAq9te+kXMLQ MKv2cjZGi96dWavni2N53xeXhAn1XiuADPjgc8ujZMiaZH+/aS2xpy9N8MlGJ0buZgyb BGHwHhd58qttMS3vfbc1SaPdAJwHDNC/uONFUX1JyAtbggxlS+w69E5dHYU69+k2txoe Ctu/Tap0HMCa5Q7Ta9GFL/axtoFM30PLqDESq3PdwhJlH6b5A2V1jngOwL3KmjdyPcB7 pX6g== MIME-Version: 1.0 X-Received: by 10.180.96.170 with SMTP id dt10mr5327391wib.42.1433832138630; Mon, 08 Jun 2015 23:42:18 -0700 (PDT) Received: by 10.28.133.202 with HTTP; Mon, 8 Jun 2015 23:42:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jun 2015 12:12:18 +0530 Message-ID: From: Pankaj Kumar To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=f46d044303e44a68dc0518100fa1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::242 Subject: Re: [Linphone-developers] Linphone api for web X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 06:42:23 -0000 --f46d044303e44a68dc0518100fa1 Content-Type: text/plain; charset=UTF-8 Hi, I'm trying to build my own web page with linphone-web plugin. I want to know how can we make a call from extension to number with (5)extension in web linephone? For example : Dial number 4023238233@xx.xx.xx.xx after connecting this call than we need to dial 5 number to support team. How can we dial number 5 in web page. Please suggest.. Thanks, Pankaj Kumar --f46d044303e44a68dc0518100fa1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2=A0
=20
=20 =20
Hi,

I'm trying to build my own = web page with linphone-web plugin. I want=20 to know how can we make a call from extension to number with=20 (5)extension in web linephone?

For example : Dial number 4023238233@xx.xx.xx.xx after connecting=20 this call than we need to dial 5 number to support team. How can we dial number 5 in web page. Please suggest..


Thanks,

Pankaj Kumar



--f46d044303e44a68dc0518100fa1-- From MAILER-DAEMON Tue Jun 09 05:15:39 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2FdD-00042V-4M for mharc-linphone-developers@gnu.org; Tue, 09 Jun 2015 05:15:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2FdA-00041X-BN for linphone-developers@nongnu.org; Tue, 09 Jun 2015 05:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2Fd6-0002Oa-9I for linphone-developers@nongnu.org; Tue, 09 Jun 2015 05:15:36 -0400 Received: from forward2m.mail.yandex.net ([37.140.138.2]:34015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Fd6-0002Gq-2S for linphone-developers@nongnu.org; Tue, 09 Jun 2015 05:15:32 -0400 Received: from web5m.yandex.ru (web5m.yandex.ru [37.140.138.96]) by forward2m.mail.yandex.net (Yandex) with ESMTP id 9451D5CA0835 for ; Tue, 9 Jun 2015 12:15:19 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web5m.yandex.ru (Yandex) with ESMTP id 084782C62B85; Tue, 9 Jun 2015 12:15:18 +0300 (MSK) Received: by web5m.yandex.ru with HTTP; Tue, 09 Jun 2015 12:15:18 +0300 From: Sergey Guralnik To: linphone-developers@nongnu.org MIME-Version: 1.0 Message-Id: <831561433841318@web5m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 09 Jun 2015 12:15:18 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 37.140.138.2 Subject: [Linphone-developers] Audio system for Android. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 09:15:37 -0000 Hi, all! I looked on mediastreamer2 code recently and I'm confused a bit with actu= al implementation of audio capturing/rendering for android systems. Mediastreamer2 performs symbol lookup at libmedia.so and relays on cpp ma= ngled names for AudioTrack/AudioRecord native implementations. Probably this API was not intended for using in this way, but only as pri= vate interface for internal purposes. As consequence those API may not be available for all devices due vendors= are not obligated to provide it and expose via symbol tables. Are there reasons why mediastreamer2 doesn't use official "OpenSL ES"-bas= ed android audio API, that is provided by NDK? --=9A Best regards, Sergey Guralnik. From MAILER-DAEMON Tue Jun 09 09:05:31 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2JDf-0007D5-RB for mharc-linphone-developers@gnu.org; Tue, 09 Jun 2015 09:05:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2JDW-00079V-0p for linphone-developers@nongnu.org; Tue, 09 Jun 2015 09:05:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2JDP-0002o6-PJ for linphone-developers@nongnu.org; Tue, 09 Jun 2015 09:05:21 -0400 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:35894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2JDP-0002mj-Hw for linphone-developers@nongnu.org; Tue, 09 Jun 2015 09:05:15 -0400 Received: by pabqy3 with SMTP id qy3so13545298pab.3 for ; Tue, 09 Jun 2015 06:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QRG/Ke2jTIljdK12N9dAPK6dJby+QR933V61NOIzElw=; b=bhSWl9NshyTETKbdoyNbhvxc7s+fWvThtAI7muO3OyHL3afsEauwz37zxMjTWHK8/g hMNlcfMqVOy1PS+XTdvKQYflo+VEki7x5v+IpwlDQlGa7FcouSPFpsCCWcte1ki9sT/L SQ5tsU4YJaLWOvJwPlvtBdgMxKn9/9ZJyG6aIGtNNITvxHFFRbemGtYbxpCB3091VF05 Anmtjc2GtqIwQ8aoz/m5P3EOWxnPOgd48RUGGnEfLlYtI0KHgQ+Mu4fpaty87fnEmVrj 7kxM/ktZNhdY7HWESKsn5NfYJ2mFde9+yOxWJroTI8+x3822heSbdmIKRjVEX+yA8oBn lDfA== MIME-Version: 1.0 X-Received: by 10.68.94.193 with SMTP id de1mr38503679pbb.153.1433855114121; Tue, 09 Jun 2015 06:05:14 -0700 (PDT) Received: by 10.66.164.168 with HTTP; Tue, 9 Jun 2015 06:05:14 -0700 (PDT) Date: Tue, 9 Jun 2015 21:05:14 +0800 Message-ID: From: Jiang Jinke To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7b67691cbc9713051815682b X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 Subject: [Linphone-developers] slow ContactHelper.queryContact causing UI freeze when have large(700-1000) contact list X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 13:05:28 -0000 --047d7b67691cbc9713051815682b Content-Type: text/plain; charset=UTF-8 I have slow access to history and incoming calls when I have large contacts list, such as 700~1000 contacts in my Contacts. When calling LinphoneUtils.findUriPictureOfContactAndSetDisplayName either in IncomingCallActivity or HistorySimpleFragment, will have about 4-6s UI freeze. I saw the search method is using a for loop to check the name and pictures. Is there any way to improve this ? Use AsyncTask or someway. Thanks ! Samford Jiang --047d7b67691cbc9713051815682b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
On Thu, Jun 11, 2015 at 5:59 AM, Shruti Goyal <shruti.goyal@vvdntech.com> wrote:
Hi Linphone dev,

= It is my project requirement to prioritize audio codecs like G729 -> G71= 1U -> G711A.
by default= the priority is G711U -> G711A -> G729.

Can you please tell me how can i change this defau= lt audio codecs priority?
=



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell :=C2=A0+91 9872048482 |=C2=A0Skype :=C2=A0shrutigoyal7= 03



_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--f46d043c80d25c959705183eb4bb-- From MAILER-DAEMON Thu Jun 11 10:25:26 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z33Q6-0001XD-T0 for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 10:25:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33Q1-0001RK-BK for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z33Pw-0007OP-P4 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:25:21 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:32782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33Pw-0007OH-Jq for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:25:16 -0400 Received: by igbpi8 with SMTP id pi8so55389644igb.0 for ; Thu, 11 Jun 2015 07:25:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=tX3L+Q5+waFeOzUn9LCqhe3XDHis6aK8WEpzPaOceo4=; b=isQ7DHOgnU+BZvYnx+eBQF9THg6Pgfu4P3nwCjK5pX/HcYw6HYvpnOy68gleQUG/xQ mybdi4N3lGRI4eQB37/ukNWSuoTBrdoDoXaqWNXRuPwRkU3RaOvI5UGUspTaZtSgh6ul OzP0bopf23FhH8aCvOOYwG15OxhLpJaeSDl/AvCn+Cv91EYrjpJc/YnADRkf6ZksdxIR zRLh7CLBl8f9thgehfZGRCPB2c/4Ia5etQcBZ2GNFc8nGZhMMu2AENzC6oaLKQ82fETW qUINdzLOmb5bFCCLk4CvIh95frVVB5Jr8DJ+1ff2sclTaw/l3Io5YI7U5mngo3VsGnNy IzQw== X-Gm-Message-State: ALoCoQmQl3vKW+1kYhc0XPn/mAG8gvfXx/nkIBRR1Vb+47+RbFO32Gd1c5vGxwyWM7xVGu7p0uRe MIME-Version: 1.0 X-Received: by 10.107.133.216 with SMTP id p85mr11638766ioi.31.1434032716004; Thu, 11 Jun 2015 07:25:16 -0700 (PDT) Received: by 10.64.137.6 with HTTP; Thu, 11 Jun 2015 07:25:15 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jun 2015 19:55:15 +0530 Message-ID: From: Shruti Goyal To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a113ecb98a27c7405183ec24f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.179 Subject: Re: [Linphone-developers] Need to Prioritize Audio Codecs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 14:25:25 -0000 --001a113ecb98a27c7405183ec24f Content-Type: text/plain; charset=UTF-8 Thank you so much for providing this solution. *With Warm Regards,* Shruti Goyal VVDN Technologies Pvt Ltd *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 On Thu, Jun 11, 2015 at 7:51 PM, Andy Remi wrote: > Hi Shruti, > > Refer below function in Linphone SDK Core. > > static MSList *match_payloads(const MSList *local, const MSList *remote, > bool_t reading_response, bool_t one_matching_codec); > in $LINPHONE_SDK_ROOT/submodules/linphone/coreapi/offeranswer.c > > This function is called at initiate_outgoing and initiate_incoming in the > same file. > You are able to modify the function by the priority that you want. > Of course you should rebuild the Linphone SDK project after you modified > it. > I think this is the most easiest way. > Otherwise, you would be able to use linphone_core_enable_payload_type, but > I think this is very bad idea. > This answer is applied to both SDKs of iOS and Android. > Good luck. Have a nice day. > > Regards, > Andy > > > > On Thu, Jun 11, 2015 at 5:59 AM, Shruti Goyal > wrote: > >> Hi Linphone dev, >> >> It is my project requirement to prioritize audio codecs like G729 -> >> G711U -> G711A. >> by default the priority is G711U -> G711A -> G729. >> >> Can you please tell me how can i change this default audio codecs >> priority? >> >> >> >> *With Warm Regards,* >> >> Shruti Goyal >> >> VVDN Technologies Pvt Ltd >> >> *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 >> >> >> _______________________________________________ >> Linphone-developers mailing list >> Linphone-developers@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/linphone-developers >> >> > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a113ecb98a27c7405183ec24f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you so much for providing this solution.=C2=A0
=



With Warm Regar= ds,

Shruti Goya= l

VVDN Technologies = Pvt Ltd

Cell :=C2=A0+91 987204= 8482 |=C2=A0Skype :=C2=A0shrutigoyal703

=

On Thu, Jun 11, 2015 at 7:51 PM, Andy Remi <= span dir=3D"ltr"><a= ndy@noblic.com> wrote:
Hi=C2=A0Shruti,

Refer below function i= n Linphone SDK Core.=C2=A0

static MSList *match_payloads(const MSList *local, const MSList *remote, b= ool_t reading_response, bool_t one_matching_codec);
in $LINPHONE_= SDK_ROOT/submodules/linphone/coreapi/offeranswer.c

This function is = called at=C2=A0initiate_outgoing and initiate_incoming in the same file.
You are able= to modify the function by the priority that you want.=C2=A0
Of course y= ou should rebuild the Linphone SDK project after you modified it.=C2=A0
= I think this is the most easiest way.
Otherwise, you would be able to u= se linphone_core_enable_payload_type, but I think this is very bad idea.=C2= =A0
This answer is applied to both SDKs of iOS and Android.
Go= od luck. Have a nice day.

Regards,
Andy<= br>


On Thu, Jun 11, 2015 at 5:59 = AM, Shruti Goyal <shruti.goyal@vvdntech.com> wrote:<= br>
Hi Linphone dev,=

It is my project requ= irement to prioritize audio codecs like G729 -> G711U -> G711A.
by default the priority is G711= U -> G711A -> G729.

Can you please tell me how can i change this default audio codecs prior= ity?
<= div>



=

With Warm Re= gards,

Shruti G= oyal

VVDN Technologi= es Pvt Ltd

Cell :=C2=A0+91 9= 872048482 |=C2=A0Skype :=C2=A0shrutigoyal703


=

__________________________________________= _____
Linphone-developers mailing list
Linphon= e-developers@nongnu.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers



_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop= ers

I have slow access to history and incoming calls when I ha= ve large contacts list, such as 700~1000 contacts in my Contacts.

<= /div>
When calling=C2=A0LinphoneUtils.findUriPictureOfContactAndSetDisp= layName either in IncomingCallActivity or HistorySimpleFragment, will have = about 4-6s UI freeze.

I saw the search method is u= sing a for loop to check the name and pictures.

Is= there any way to improve this ? Use AsyncTask or someway.

Thanks !

Samford Jiang
--047d7b67691cbc9713051815682b-- From MAILER-DAEMON Wed Jun 10 07:13:54 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2dxC-0003u2-An for mharc-linphone-developers@gnu.org; Wed, 10 Jun 2015 07:13:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2dx9-0003sX-OH for linphone-developers@nongnu.org; Wed, 10 Jun 2015 07:13:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2dx8-0007AO-VP for linphone-developers@nongnu.org; Wed, 10 Jun 2015 07:13:51 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:35288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2dx8-0007A5-OO for linphone-developers@nongnu.org; Wed, 10 Jun 2015 07:13:50 -0400 Received: by pacyx8 with SMTP id yx8so32986552pac.2 for ; Wed, 10 Jun 2015 04:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RcEnKLS4reduAqKV+KRssA7z/KvvNfPUTZCT4zZTd6A=; b=YLAiA0BNRuqVHB1jxybTObupsbA+s0IH+otBGq68+qSHKFcEehVrTaFbSmDE3gXu6q y97qr7XVw28ebciNLnsQlkcpnldG0tgjIOnv0vKHTlaV2vKZz6gGWpH3pWUopOAUOdUB vE9U0dv7IhmUgxI3mpCb1S1+2tObyd9mCfh9hZAIvr6/fackdLl6Uk+elnMK4J5+UKz8 sYRLZ3CQxBgVLscSM16ndpTd3CiFFXlthAIXTAfVYr5UBnEsaQGsaxJ+FGy3ugg0BXMm OyaNa5ZBFFcU/0HvqmlF77jPMkfgXidv/A9m9Xv+8N6+4odILFjAsJJ+z7gyIw7lrhFk xMyA== MIME-Version: 1.0 X-Received: by 10.70.37.9 with SMTP id u9mr4907049pdj.50.1433934829418; Wed, 10 Jun 2015 04:13:49 -0700 (PDT) Received: by 10.70.71.193 with HTTP; Wed, 10 Jun 2015 04:13:49 -0700 (PDT) Date: Wed, 10 Jun 2015 16:43:49 +0530 Message-ID: From: Priyaranjan Nayak To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e0103eb2823808f051827f8da X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22c Subject: [Linphone-developers] how to start srtp by using ortp library X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 11:13:52 -0000 --089e0103eb2823808f051827f8da Content-Type: text/plain; charset=UTF-8 Hi All, I am using ortp library for rtp purpose.Now I come to know that it is also supporting the srtp functionality. Could you please guide me , how can I start for srtp by using ortp souce code ? Thanks Priyaranjan --089e0103eb2823808f051827f8da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

I am using ortp library for rtp = purpose.Now I come to know that it is also supporting the srtp functionalit= y. Could you please guide me , how can I start for srtp by using ortp souce= code ?

Thanks
Priy= aranjan
--089e0103eb2823808f051827f8da-- From MAILER-DAEMON Wed Jun 10 10:03:19 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2gb9-0006qN-EX for mharc-linphone-developers@gnu.org; Wed, 10 Jun 2015 10:03:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2gb5-0006nM-0Q for linphone-developers@nongnu.org; Wed, 10 Jun 2015 10:03:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2gb0-0008NN-3x for linphone-developers@nongnu.org; Wed, 10 Jun 2015 10:03:14 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:59566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2gaz-0008N9-Ts; Wed, 10 Jun 2015 10:03:10 -0400 Received: from vmware.localnet (unknown [IPv6:2a01:e35:2e97:fb90:20c:29ff:feb1:c9af]) (Authenticated sender: francois.grisez@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1C3DFA8292; Wed, 10 Jun 2015 16:03:07 +0200 (CEST) From: =?ISO-8859-1?Q?Fran=E7ois?= Grisez To: linphone-users@nongnu.org, linphone-developers@nongnu.org Date: Wed, 10 Jun 2015 16:02:55 +0200 Message-ID: <2553879.TMXoylfbGq@vmware> User-Agent: KMail/4.14.9 (Linux/4.0.5-1-ARCH; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4483454.fLD8yozth5"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: [Linphone-developers] Release Linphone 3.8.3 and 3.8.4 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 14:03:16 -0000 --nextPart4483454.fLD8yozth5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi dear users and developers, As I promised last week on the user mailing list, we released a new ver= sion of=20 Linphone to fix issues and crashes concerning the systray icon. The new= =20 version is 3.8.3. We take advantage of this new release to also fix a b= ug in=20 the OpenH264 plugin that avoided to use H264 in high definition. An installer is available for MacOSX but not for Windows because we enc= ounter=20 problems to integrate libsoup. Then, we did a new minor release of Linp= hone=20 (3.8.4) that not depends of libsoup anymore by implementing our own XM= L-RPC=20 client. As it is a really new feature, we only had time to correctly te= st it=20 on Windows and make an installer for that platform. To recapitulate, we have to releases, Linphone 3.8.3 and 3.8.4. MacOSX = and=20 GNU/Linux users should use release 3.8.3 and Windows users should use 3= .8.4.=20 The MacOSX installer embeds Linphone 3.8.3 whereas the Windows one embe= ds=20 Linphone 3.8.4. You can download installers and source code archives at these locations= : Source code : =2D-------------- Linphone-3.8.3:=20 http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/sources/linphone-3.8.3= .tar.gz Linphone-3.8.4:=20 http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/sources/linphone-3.8.4= .tar.gz msopenh264-1.0.0:=20 http://ftp.igh.cnrs.fr/pub/nongnu/linphone/plugins/sources/msopenh264-1= .0.0.tar.gz Installer : =2D---------- MacOSX:=20 http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/macos/linphone-3.8.3.p= kg Windows:=20 http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/win32/Linphone-3.8.4-w= in32.exe Best regards, =2D-=20 Fran=E7ois Grisez Software Engineer Belledonne Communications --nextPart4483454.fLD8yozth5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVeEOPAAoJEITUG7ypc4AFm3sH/RukvHjwNeJ77Syu1Ps0OmR/ BzVqoeJbZcI+YVfxfek+JJUytLCUeCuk0PWp2eDFjlm+HY0KV38GUAeqFdxrMF86 gpWMbIWiLUE4ugRwCkSPs9gb3WT1jdlupBxLA7kfjFqzBy+VaUv/6XZGVLmK63Jk 79eLNKoXoXdrjBbp4UOQm+BWbUG0HAk098tO5etUPz63o6WFfOjxLbms1A4r24eH 4FK/VIfcEqC6L/FwEYakue23JQ3A8PiJPOiW+zNHqz+EgkITnBOP71d4yb193nx6 BRu7TuxHwE/Bo98ALjzRcgvb5xrN5EJhpktavTLKtw2MEmUyfYdESrvTvmWD4h0= =nbx/ -----END PGP SIGNATURE----- --nextPart4483454.fLD8yozth5-- From MAILER-DAEMON Wed Jun 10 12:32:07 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2iv9-00066b-8H for mharc-linphone-developers@gnu.org; Wed, 10 Jun 2015 12:32:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2iv3-000665-Ew for linphone-developers@nongnu.org; Wed, 10 Jun 2015 12:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2iv2-0007Ds-5i for linphone-developers@nongnu.org; Wed, 10 Jun 2015 12:32:01 -0400 Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:34439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2iuz-00072l-91; Wed, 10 Jun 2015 12:31:57 -0400 Received: by ykfl8 with SMTP id l8so25640898ykf.1; Wed, 10 Jun 2015 09:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mkjcnQMSyxWG/D3fkgN6ebiBCd2kyoVO21k0LmNLD0c=; b=xv1wCgBINX6Enc11sQRToGllKQ8jur1aTDqJQi7wzjI6gSZvQGRFk42PB8ROg54mPh 9MAoxO0UiIMlqKUjIXktlYi1jxrKTbT21QE1tAGMdZayAYBd4LSRR8F+WQY1eV4OO1L9 EmrhJCRCFxOthc5rtatAcNCgzXJK6gI2DW7i3GQrevzHO1AvRoZOKhZr8M562f9gtl6V LkOsw7vZ3me+PlPg4iVv57nzatvvJPUiMwzCFlX6+jWk2CzTkL33MlMn2jj7rc0zXvT8 ccXucTs1y5neVqkFXQqSsK+f31UbBJP6joygGA+c71nDOPtfXYqBxZvAfTfAkxivIZkB /tYA== MIME-Version: 1.0 X-Received: by 10.129.101.135 with SMTP id z129mr5087026ywb.81.1433953916525; Wed, 10 Jun 2015 09:31:56 -0700 (PDT) Received: by 10.37.50.84 with HTTP; Wed, 10 Jun 2015 09:31:56 -0700 (PDT) In-Reply-To: <2553879.TMXoylfbGq@vmware> References: <2553879.TMXoylfbGq@vmware> Date: Wed, 10 Jun 2015 17:31:56 +0100 Message-ID: From: Peter Villeneuve To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a114c8356d1a0b005182c6964 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::231 Cc: linphone-users@nongnu.org Subject: Re: [Linphone-developers] Release Linphone 3.8.3 and 3.8.4 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 16:32:06 -0000 --001a114c8356d1a0b005182c6964 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Fran=C3=A7ois, Your link for linux source isn't working. It's throwing a 500 server error. Cheers, Peter On Wed, Jun 10, 2015 at 3:02 PM, Fran=C3=A7ois Grisez < francois.grisez@belledonne-communications.com> wrote: > Hi dear users and developers, > > As I promised last week on the user mailing list, we released a new > version of > Linphone to fix issues and crashes concerning the systray icon. The new > version is 3.8.3. We take advantage of this new release to also fix a bug > in > the OpenH264 plugin that avoided to use H264 in high definition. > > An installer is available for MacOSX but not for Windows because we > encounter > problems to integrate libsoup. Then, we did a new minor release of Linpho= ne > (3.8.4) that not depends of libsoup anymore by implementing our own > XML-RPC > client. As it is a really new feature, we only had time to correctly test > it > on Windows and make an installer for that platform. > > To recapitulate, we have to releases, Linphone 3.8.3 and 3.8.4. MacOSX an= d > GNU/Linux users should use release 3.8.3 and Windows users should use > 3.8.4. > The MacOSX installer embeds Linphone 3.8.3 whereas the Windows one embeds > Linphone 3.8.4. > > You can download installers and source code archives at these locations: > > Source code : > --------------- > Linphone-3.8.3: > > http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/sources/linphone-3.8.3.t= ar.gz > Linphone-3.8.4: > > http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/sources/linphone-3.8.4.t= ar.gz > msopenh264-1.0.0: > > http://ftp.igh.cnrs.fr/pub/nongnu/linphone/plugins/sources/msopenh264-1.0= .0.tar.gz > > Installer : > ----------- > MacOSX: > http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/macos/linphone-3.8.3.pkg > Windows: > > http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8.x/win32/Linphone-3.8.4-win= 32.exe > > Best regards, > > -- > Fran=C3=A7ois Grisez > Software Engineer > Belledonne Communications > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a114c8356d1a0b005182c6964 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Fran=C3=A7ois,

Your link fo= r linux source isn't working. It's throwing a 500 server error.
=
Cheers,
Peter

On Wed, Jun 10, 2015 at 3:02 PM, Fran=C3=A7ois Gri= sez <
francois.grisez@belledonne-communications= .com> wrote:
Hi dear users = and developers,

As I promised last week on the user mailing list, we released a new version= of
Linphone to fix issues and crashes concerning the systray icon. The new
version is 3.8.3. We take advantage of this new release to also fix a bug i= n
the OpenH264 plugin that avoided to use H264 in high definition.

An installer is available for MacOSX but not for Windows because we encount= er
problems to integrate libsoup. Then, we did a new minor release of Linphone=
(3.8.4) that not depends of libsoup anymore by=C2=A0 implementing our own X= ML-RPC
client. As it is a really new feature, we only had time to correctly test i= t
on Windows and make an installer for that platform.

To recapitulate, we have to releases, Linphone 3.8.3 and 3.8.4. MacOSX and<= br> GNU/Linux users should use release 3.8.3 and Windows users should use 3.8.4= .
The MacOSX installer embeds Linphone 3.8.3 whereas the Windows one embeds Linphone 3.8.4.

You can download installers and source code archives at these locations:
Source code :
---------------
Linphone-3.8.3:
http://ftp.igh.cnrs.fr/pub/nongnu/linphon= e/3.8.x/sources/linphone-3.8.3.tar.gz
Linphone-3.8.4
:
http://ftp.igh.cnrs.fr/pub/nongnu/linph= one/3.8.x/sources/linphone-3.8.4.tar.gz
msopenh264-1.0.0
:
http://ftp.igh.cnrs.fr/pub/nongnu/lin= phone/plugins/sources/msopenh264-1.0.0.tar.gz

Installer :
-----------
MacOSX:
http://ftp.igh.cnrs.fr/pub/nongnu/linphone/3.8= .x/macos/linphone-3.8.3.pkg
Windows:
http://ftp.igh.cnrs.fr/pub/nongnu/linpho= ne/3.8.x/win32/Linphone-3.8.4-win32.exe

Best regards,

--
Fran=C3=A7ois Grisez
Software Engineer
Belledonne Communications

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop= ers


--001a114c8356d1a0b005182c6964-- From MAILER-DAEMON Wed Jun 10 16:11:04 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2mL2-0003zs-1w for mharc-linphone-developers@gnu.org; Wed, 10 Jun 2015 16:11:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2mKx-0003yP-6Z for linphone-developers@nongnu.org; Wed, 10 Jun 2015 16:11:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2mKr-00029t-BH for linphone-developers@nongnu.org; Wed, 10 Jun 2015 16:10:59 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2mKr-00026c-0O for linphone-developers@nongnu.org; Wed, 10 Jun 2015 16:10:53 -0400 Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id A7455A80B1 for ; Wed, 10 Jun 2015 22:10:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter11-d.gandi.net (mfilter11-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 3ocxDnI8Fe1l for ; Wed, 10 Jun 2015 22:10:47 +0200 (CEST) X-Originating-IP: 94.37.236.218 Received: from [192.168.1.100] (dynamic-adsl-94-37-236-218.clienti.tiscali.it [94.37.236.218]) (Authenticated sender: johan.pascal@linphone.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 25558A80AD for ; Wed, 10 Jun 2015 22:10:46 +0200 (CEST) Message-ID: <557899C6.8040308@linphone.org> Date: Wed, 10 Jun 2015 22:10:46 +0200 From: Johan Pascal User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: In-Reply-To: X-TagToolbar-Keys: D20150610221046271 Content-Type: multipart/alternative; boundary="------------040806050607010600070502" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] how to start srtp by using ortp library X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 20:11:00 -0000 This is a multi-part message in MIME format. --------------040806050607010600070502 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Priyaranjan, latest version of oRTP doesn't deal with srtp wich is managed by mediastreamer2, oRTP just route the srtp packets. See in mediastreamer2 source code: src/crypto/ms_srtp.c Actual srtp protect/unprotect is performed by libsrtp, you may want to use the linphone project fork of libsrtp : git://git.linphone.org/srtp.git which avoid name conflicts with polarssl if you also use polarssl in your project. Note: srtp keys initial exchange is performed in liblinphone by different mechanisms according to settings: sdes, dtls-srtp or zrtp and is out of scope of srtp itself. regards, johan On 10/06/15 13:13, Priyaranjan Nayak wrote: > Hi All, > > I am using ortp library for rtp purpose.Now I come to know that it is > also supporting the srtp functionality. Could you please guide me , > how can I start for srtp by using ortp souce code ? > > Thanks > Priyaranjan > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers --------------040806050607010600070502 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Priyaranjan,
latest version of oRTP doesn't deal with srtp wich is managed by mediastreamer2, oRTP just route the srtp packets.

See in mediastreamer2 source code: src/crypto/ms_srtp.c

Actual srtp protect/unprotect is performed by libsrtp, you may want to use the linphone project fork of libsrtp : git://git.linphone.org/srtp.git which avoid name conflicts with polarssl if you also use polarssl in your project.

Note: srtp keys initial exchange is performed in liblinphone by different mechanisms according to settings: sdes, dtls-srtp or zrtp and is out of scope of srtp itself.

regards,

johan

On 10/06/15 13:13, Priyaranjan Nayak wrote:
Hi All,

I am using ortp library for rtp purpose.Now I come to know that it is also supporting the srtp functionality. Could you please guide me , how can I start for srtp by using ortp souce code ?

Thanks
Priyaranjan


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

--------------040806050607010600070502-- From MAILER-DAEMON Wed Jun 10 19:05:54 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2p4E-0005Vq-Qh for mharc-linphone-developers@gnu.org; Wed, 10 Jun 2015 19:05:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2p4C-0005Ve-De for linphone-developers@nongnu.org; Wed, 10 Jun 2015 19:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2p4B-000571-Ai for linphone-developers@nongnu.org; Wed, 10 Jun 2015 19:05:52 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:35907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2p4B-00056t-65 for linphone-developers@nongnu.org; Wed, 10 Jun 2015 19:05:51 -0400 Received: by obbqz1 with SMTP id qz1so44898353obb.3 for ; Wed, 10 Jun 2015 16:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uSaNAq7hcFv93yisKcQyWkLaTHoNY7lo3zdfBmanZiY=; b=XaGrdeZ/F6/3MbcmWk9O7vhnJkmDx2x9nF/Dmo9WAeDa1zXjO+69XQzqiOTVFd3HTJ crL8PVQTe1Fx7u8kMECOC5k+d9NThmNB/iyvbLLyxxUSRA/O932r1YqVZl0zbR6cKn88 p0G9UCzp6iONxmJ46i4RaHmL5srgAEnP7KGVDvMfdf1WqU8/lHJHhMw4xChAZ1Sax04W kEMD/WBgmhaE11cR/9fTShLBlBcgLGz172W4+5PHRyGzyjZLNkKf8sBngYE2kaNoYXKq Nm8SUabgRDRir0mjPE2XM3c3A+k4cZjy+xAXxiNb4w2nbXDKfo/hxd1bsGdvmX73jmQf +59g== MIME-Version: 1.0 X-Received: by 10.182.42.131 with SMTP id o3mr4904636obl.59.1433977550287; Wed, 10 Jun 2015 16:05:50 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Wed, 10 Jun 2015 16:05:50 -0700 (PDT) Date: Wed, 10 Jun 2015 17:05:50 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11c30cd2803beb051831ea5e X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22a Subject: [Linphone-developers] Newbee problem building linphone-android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 23:05:53 -0000 --001a11c30cd2803beb051831ea5e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've been working with linphone-android for over a year, but just took the leap to compile the source code myself, since I'm not very proficient in Linux. I've got a Linux partition on my pc and have got ALL the tools installed and linphone-andoid downloaded from github to /usr/local/ as per the Readme instructions -- that all went pretty smoothly. But I'm at the point of running "make" and having a problem that seems like a basic Linux issue. I've tried several things I googled on the web, to no effect. When I run 'make', I get: make: ./check_tools.sh: Command not found d =E2=80=8Birname: missing operand Try 'dirname --help' for more information cat: /RELEASE.TXT: No such file or directory (standard_in) 1: syntax error=E2=80=8B The files all seem to be in place in this directory, including check_tools.sh and Makefile. I'm hoping the problem is obvious to someone here. Thanks! --001a11c30cd2803beb051831ea5e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I&#= 39;ve been working with linphone-android for over a year, but just took the= leap to compile the source code myself, since I'm not very proficient = in Linux. I've got a Linux partition on my pc and have got ALL the tool= s installed and linphone-andoid downloaded from github to /usr/local/ as pe= r the Readme instructions -- that all went pretty smoothly. But I'm at = the point of running "make" and having a problem that seems like = a basic Linux issue. I've tried several things I googled on the web, to= no effect. When I run 'make', I get:

make: ./check_tools.sh: Command not = found
d
=E2=80=8Birname: missing operand
Try 'dirname --help'= ; for more information
cat: /RELEASE.TXT: No such file or directory
=
(standard_in) 1: syntax error=E2=80=8B


The files all seem to be in place in this directory= , including check_tools.sh and Makefile. I'm hoping the problem is obvi= ous to someone here. Thanks!
--001a11c30cd2803beb051831ea5e-- From MAILER-DAEMON Thu Jun 11 04:24:38 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2xmw-0004LJ-8t for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 04:24:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2xmu-0004KH-6f for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:24:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2xmq-0003PX-72 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:24:36 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:49488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2xmq-0003PL-0S for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:24:32 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:89b:8ef3:2787:e042] (unknown [IPv6:2a01:e35:2e97:fb90:89b:8ef3:2787:e042]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B9CEEA80CF for ; Thu, 11 Jun 2015 10:24:21 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: Date: Thu, 11 Jun 2015 10:24:24 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] Newbee problem building linphone-android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 08:24:37 -0000 Can you provide us: - operating system (in console: uname -a) - shell interpreter (in console: echo $SHELL) - modify head of check_tools.sh from "#!/bin/sh" to "#!/bin/sh -x" - retry to make with verbosity (in console: make V=3D1) Please past output of all upon commands. Cheers, Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 11 Jun 2015, at 01:05, William Hutchison = wrote: >=20 > I've been working with linphone-android for over a year, but just took = the leap to compile the source code myself, since I'm not very = proficient in Linux. I've got a Linux partition on my pc and have got = ALL the tools installed and linphone-andoid downloaded from github to = /usr/local/ as per the Readme instructions -- that all went pretty = smoothly. But I'm at the point of running "make" and having a problem = that seems like a basic Linux issue. I've tried several things I googled = on the web, to no effect. When I run 'make', I get: >=20 > make: ./check_tools.sh: Command not found > d=E2=80=8Birname: missing operand > Try 'dirname --help' for more information > cat: /RELEASE.TXT: No such file or directory > (standard_in) 1: syntax error=E2=80=8B >=20 > The files all seem to be in place in this directory, including = check_tools.sh and Makefile. I'm hoping the problem is obvious to = someone here. Thanks! > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Thu Jun 11 04:36:52 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2xym-0002Cg-Oz for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 04:36:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2xyj-00028D-C3 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2xye-0001Il-6t for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:36:49 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2xye-0001Ie-1X for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:36:44 -0400 Received: from vmware.localnet (unknown [IPv6:2a01:e35:2e97:fb90:20c:29ff:feb1:c9af]) (Authenticated sender: francois.grisez@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id EDD43A80CE for ; Thu, 11 Jun 2015 10:36:42 +0200 (CEST) From: =?ISO-8859-1?Q?Fran=E7ois?= Grisez To: linphone-developers@nongnu.org Date: Thu, 11 Jun 2015 10:36:30 +0200 Message-ID: <1642743.e5Oqoupk2t@vmware> User-Agent: KMail/4.14.9 (Linux/4.0.5-1-ARCH; KDE/4.14.9; x86_64; ; ) In-Reply-To: References: <2553879.TMXoylfbGq@vmware> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2500276.5JKHXuohea"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] Release Linphone 3.8.3 and 3.8.4 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 08:36:51 -0000 --nextPart2500276.5JKHXuohea Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" My bad. My links point on a mirror instead of directly pointing on Sava= nnah. Here is the correct links: Source code : =2D-------------- Linphone-3.8.3:=20 http://download-mirror.savannah.gnu.org/releases/linphone/3.8.x/sources= /linphone-3.8.3.tar.gz Linphone-3.8.4:=20 http://download-mirror.savannah.gnu.org/releases/linphone/3.8.x/sources= /linphone-3.8.4.tar.gz msopenh264-1.0.0:=20 http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sourc= es/msopenh264-1.0.0.tar.gz Installer : =2D---------- MacOSX:=20 http://download-mirror.savannah.gnu.org/releases/linphone/3.8.x/macos/l= inphone-3.8.3.pkg Windows:=20 http://download-mirror.savannah.gnu.org/releases/linphone/3.8.x/win32/L= inphone-3.8.4-win32.exe Regards, =2D-=20 Fran=E7ois Grisez Software Engineer Belledonne Communications --nextPart2500276.5JKHXuohea Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVeUiOAAoJEITUG7ypc4AFuMEH/0SV/BB4r1SnYjyDrzOQz6zW X1opxUHDPEz1jwpQUYWmuvDsZb9+AHJznl7Y+5PrzPvQ588x6ZTMQaSujVSwtqX9 a0QGfnAlrUOh376wPl0GmTRHidrh/NNenPZfRWtnOLpV8EGBvMrCcgK0GjEn0prB j/MdeWl6ivuA8AnlrYrXvBGyznytRneNkCLiUtK2h2KsA4nvN+Xh/WtDP7QG2gzt u48ko/a5uk/Vy2uQAx+Rm2MtSYSrIgYDjryxS0KeaGZpWosbBD8xB3FdFnmCBFWG 72dyWwxryPVERwASth/xlep4aHbkwmAlVixqxesqvz+0FIn1r81KXpcuNatPagY= =L1Bk -----END PGP SIGNATURE----- --nextPart2500276.5JKHXuohea-- From MAILER-DAEMON Thu Jun 11 04:45:34 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2y7C-0007Cw-IE for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 04:45:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2y77-00076u-FX for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:45:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2y75-0007AB-UF for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:45:29 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:36836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2y75-00079n-Oo for linphone-developers@nongnu.org; Thu, 11 Jun 2015 04:45:27 -0400 Received: by obbqz1 with SMTP id qz1so325495obb.3 for ; Thu, 11 Jun 2015 01:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=x9udPLfR/1eaL+ENSAXm5GAIQMpBjEI9XwjvGXvpovs=; b=HFlCbODrTWg9RMnKvH2f+8yKvKvBCjNSK2KQZReGwhRBRIjmPZCxG6VkjijpLv2T1y KjoItUO3UOGRpHVravv6/FGc7LLyATMkNSWakzqyZM6knVr38GaVOg4Ic5aTrEBHHIHy YoLpjPN9qCCS3db30ebbLzApcjnIRrxqwbhj8VxA0p3s9eYg3iGG2A9TV8EdD+ZHqUj0 I7H4XblGEt/23FJhb4+3un9Meju8yZXkxI0iOsin3cE9PoD9QEwO/FA92OdG2Pwff7yy bS7jHvWj0Fqr+1zHQMSINwsaDuUZCP/0NEtnzPAvE/YsGnxCE/GotBGw5rLpRCuzLSYS mXsg== X-Received: by 10.60.142.170 with SMTP id rx10mr6719362oeb.28.1434012326993; Thu, 11 Jun 2015 01:45:26 -0700 (PDT) MIME-Version: 1.0 Sender: simon.morlat@gmail.com Received: by 10.76.140.7 with HTTP; Thu, 11 Jun 2015 01:45:06 -0700 (PDT) In-Reply-To: <831561433841318@web5m.yandex.ru> References: <831561433841318@web5m.yandex.ru> From: Simon MORLAT Date: Thu, 11 Jun 2015 10:45:06 +0200 X-Google-Sender-Auth: VqZ5-Cq21IZyH9aWdT94oa19GeA Message-ID: To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7b1635155aae7c05183a0356 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::229 Subject: Re: [Linphone-developers] Audio system for Android. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 08:45:30 -0000 --047d7b1635155aae7c05183a0356 Content-Type: text/plain; charset=UTF-8 Hi Sergey, OpenSLES was introduced lately (android 4.2 I think ?) so we needed a better solution. When the libmedia backend was engineered android 2.3 was the current version. There are three ways of accessing sound on android: - java AudioRecord and AudioTrack: the oldest API, official but with really poor performance for real time applications, but hardware AEC is activable through this API if the device supports it. - openSLES: better API, that is actually an overlayer on top of libmedia C++ AudioTrack and AudioRecord. Latency performance is good but it still lacks a way to activate hardware Acoustic Echo Canceller. - libmedia, unofficial, that we use by making dlopen(), dlsym(). This is the original sound client library of android, but it's not part of any public API. It has clearly the best performance and allows to activate hardware AEC. Linphone has backends for all these 3 APIs, that are selected according to the android version number running on the device and its capabilities. - android <= 4.4 libmedia backend is used - android > 4.4 if hardware AEC is available, java AudioRecord is used for capture and OpenSLES for playback - android > 4.4 if hardware AEC is all the time activated or no hardware AEC is available, OpenSLES is used for both capture and playback. For the future, we really hope that Google will add the missing control to activate hardware AEC from openSLES, because this is where we want to move on. The libmedia backend is painful to maintain accross releases. Best regards, Simon 2015-06-09 11:15 GMT+02:00 Sergey Guralnik : > Hi, all! > > I looked on mediastreamer2 code recently and I'm confused a bit with > actual implementation > of audio capturing/rendering for android systems. > Mediastreamer2 performs symbol lookup at libmedia.so and relays on cpp > mangled names > for AudioTrack/AudioRecord native implementations. > Probably this API was not intended for using in this way, but only as > private interface for internal > purposes. > As consequence those API may not be available for all devices due vendors > are not obligated > to provide it and expose via symbol tables. > > Are there reasons why mediastreamer2 doesn't use official "OpenSL > ES"-based android audio API, > that is provided by NDK? > > -- > Best regards, > Sergey Guralnik. > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > --047d7b1635155aae7c05183a0356 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Sergey,

OpenSLES was introduced lately (android = 4.2 I think ?) so we needed a better solution.
When the libmedia backend= was engineered android 2.3 was the current version.
There are three way= s of accessing sound on android:
- java AudioRecord and AudioTrack: the = oldest API, official but with really poor performance for real time applica= tions, but hardware AEC is activable through this API if the device support= s it.
- openSLES: better API, that is actually an overlayer on top of li= bmedia C++ AudioTrack and AudioRecord. Latency performance is good but it s= till lacks a way to activate hardware Acoustic Echo Canceller.
- libmedi= a, unofficial, that we use by making dlopen(), dlsym(). This is the origina= l sound client library of android, but it's not part of any public API.= It has clearly the best performance and allows to activate hardware AEC.
Linphone has backends for all these 3 APIs, that are selected accordi= ng to the android version number running on the device and its capabilities= .
- android <=3D 4.4 libmedia backend is used
- android > 4.4 i= f hardware AEC is available, java AudioRecord is used for capture and OpenS= LES for playback
- android > 4.4 if hardware AEC is all the time acti= vated or no hardware AEC is available, OpenSLES is used for both capture an= d playback.

For the future, we really hope that Google will add the = missing control to activate hardware AEC from openSLES, because this is whe= re we want to move on. The libmedia backend is painful to maintain accross = releases.

Best regards,

Simon

2015-06-09 11:15 GMT+02:00 Sergey Gural= nik <s.guralnik@mobidev.biz>:
Hi, all!

I looked on mediastreamer2 code recently and I'm confused a bit with ac= tual implementation
of audio capturing/rendering for android systems.
Mediastreamer2 performs symbol lookup at libmedia.so and relays on cpp mang= led names
for AudioTrack/AudioRecord native implementations.
Probably this API was not intended for using in this way, but only as priva= te interface for internal
purposes.
As consequence those API may not be available for all devices due vendors a= re not obligated
to provide it and expose via symbol tables.

Are there reasons why mediastreamer2 doesn't use official "OpenSL = ES"-based android audio API,
that is provided by NDK?

--=C2=A0
Best regards,
Sergey Guralnik.

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop= ers

--047d7b1635155aae7c05183a0356-- From MAILER-DAEMON Thu Jun 11 05:33:20 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2yrQ-0002uF-Cl for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 05:33:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2yrK-0002ph-T1 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 05:33:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2yrH-0005qt-MP for linphone-developers@nongnu.org; Thu, 11 Jun 2015 05:33:14 -0400 Received: from mail.original-group.ru ([213.248.63.128]:47610 helo=mail.i-actions.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2yrH-0005q0-7u for linphone-developers@nongnu.org; Thu, 11 Jun 2015 05:33:11 -0400 Received: from [85.140.32.25] (account t.gamaunov@original-group.ru HELO [127.0.0.1]) by i-actions.ru (CommuniGate Pro SMTP 5.4.11) with ESMTPSA id 6480139 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 12:33:00 +0300 Message-ID: <557955D0.3060607@original-group.ru> Date: Thu, 11 Jun 2015 13:33:04 +0400 From: =?UTF-8?B?0JPQsNC80LDRjtC90L7QsiDQotCw0YDQsNGB?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary="------------020101030001010601090907" X-Antivirus: avast! (VPS 150611-0, 11.06.2015), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 213.248.63.128 Subject: [Linphone-developers] LinphoneCore.ringLevel not apply changes X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 09:33:19 -0000 This is a multi-part message in MIME format. --------------020101030001010601090907 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable I develop application to web. I need change ringLevel in progress app. I'm using method LinphoneCore.ringLevel, but volume isn't change. I see in log next message when i change value LinphoneCore.ringLevel: Web Plugin: /DEBUG FireBreath <> - =2E.\..\..\projects\linphone-web-plugin\Src\coreapi.cpp:1043 - LinphoneWeb::CoreAPI::getRingLevel - this=3D06542508// //DEBUG FireBreath <> - =2E.\..\..\projects\linphone-web-plugin\Src\coreapi.cpp:1035 - LinphoneWeb::CoreAPI::setRingLevel - this=3D06542508 level=3D90/ nplinphone-web No log for this command I try execution application in different device Sometimes nplinphone-web output next message /nplinphone-web-1.0.14-warning-ms_snd_card_set_level: unimplemented by WASAPI wrapper/ Maybe is it problem with WASAPI, how is check and fix? How i can change volume level during execution Web applicaiton? How is fix problem with ringLevel? Thankx! --- =D0=AD=D1=82=D0=BE =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5 = =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=B5=D0=BD=D0=BE =D0=BD=D0=B0 =D0=B2= =D0=B8=D1=80=D1=83=D1=81=D1=8B =D0=B0=D0=BD=D1=82=D0=B8=D0=B2=D0=B8=D1=80= =D1=83=D1=81=D0=BE=D0=BC Avast. https://www.avast.com/antivirus --------------020101030001010601090907 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I develop application to web. I need change ringLevel in progress app.

I'm using method LinphoneCore.ringLevel, but volume isn't change.
I see in log next message when i change value
LinphoneCore.ringLevel:

Web Plugin:
DEBUG FireBreath <> - ..\..\..\projects\linphone-web-plugin\Src\coreapi.cpp:1043 - LinphoneWeb::CoreAPI::getRingLevel - this=06542508
DEBUG FireBreath <> - ..\..\..\projects\linphone-web-plugin\Src\coreapi.cpp:1035 - LinphoneWeb::CoreAPI::setRingLevel - this=06542508    level=90

nplinphone-web
No log for this command
I try execution application in different device Sometimes
nplinphone-web output next message
nplinphone-web-1.0.14-warning-ms_snd_card_set_level: unimplemented by WASAPI wrapper

Maybe is it problem with
WASAPI, how is check and fix?
How i can change volume level during execution Web applicaiton?
How is fix problem with
ringLevel?

Thankx!



Это Ñообщение проверено на вируÑÑ‹ антивируÑом Avast.
www.avast.com


--------------020101030001010601090907-- From MAILER-DAEMON Thu Jun 11 06:11:16 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z2zS7-0002mI-Ra for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 06:11:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2zS5-0002jy-RJ for linphone-developers@nongnu.org; Thu, 11 Jun 2015 06:11:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2zS5-0005Jr-5b for linphone-developers@nongnu.org; Thu, 11 Jun 2015 06:11:13 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:34520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2zS4-0005Jh-UI for linphone-developers@nongnu.org; Thu, 11 Jun 2015 06:11:13 -0400 Received: by wgv5 with SMTP id 5so2219014wgv.1 for ; Thu, 11 Jun 2015 03:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=e6tX9gtB1qjCDub6pP/g2opWvXsIUIRsXeE6WM87Qxk=; b=jHK7g1gqnpUzkNYQYkSXbkWzbrECEmskcAMWTtgS370Awd74tBeW+nVJ8EDlD/XSzd 36DzmvhD/36vd6zStlJoiJq7bUR/oAsMcXqVwQIui03Z0GEaF79m/XRUxEXV4mauf4vL DKrcs1mxMbZSNVhvH8yeZgB0BBix/44bVnHumAInPLTkNUgW7ngzATU1aMdDkkIhiq+m 50V/n/vR+ftV6at1maKtDMb9q6CFmB1DuyDzdRQI1zJnZW4uoJArHkNlVGyzlnr++9qb YHFNA3h9PBzZpi9tfO3UXXKXeSUplZEujTr/M9ffBqzGoaIacPpc0a6jOFjrqbcOhfHE kg7g== MIME-Version: 1.0 X-Received: by 10.180.14.193 with SMTP id r1mr28072434wic.47.1434017471700; Thu, 11 Jun 2015 03:11:11 -0700 (PDT) Received: by 10.28.133.202 with HTTP; Thu, 11 Jun 2015 03:11:11 -0700 (PDT) Date: Thu, 11 Jun 2015 15:41:11 +0530 Message-ID: From: Pankaj Kumar To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=f46d04138a9d00a29305183b3651 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22d Subject: [Linphone-developers] web linphone X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 10:11:14 -0000 --f46d04138a9d00a29305183b3651 Content-Type: text/plain; charset=UTF-8 Hi, I'm trying to build my own web page with linphone-web plugin. I want to know how can we make a call from extension to number with (5)extension in web linephone? For example : Dial number 4023238233@xx.xx.xx.xx after connecting this call than we need to dial 5 number to support team. How can we dial number 5 in web page. Please suggest.. Thanks, Pankaj Kumar --f46d04138a9d00a29305183b3651 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm trying to build my own web p= age with linphone-web plugin. I want to know how can we make a call from ex= tension to number with (5)extension in web linephone?

For example : Dial number 4023238233@xx.xx.xx.xx af= ter connecting this call than we need to dial 5 number to support team. How= can we dial number 5 in web page. Please suggest..=C2=A0


Thanks,

Pankaj Kum= ar
--f46d04138a9d00a29305183b3651-- From MAILER-DAEMON Thu Jun 11 08:59:34 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3250-0003R2-Ge for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 08:59:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z324x-0003Ou-Vr for linphone-developers@nongnu.org; Thu, 11 Jun 2015 08:59:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z324u-0003Gj-OO for linphone-developers@nongnu.org; Thu, 11 Jun 2015 08:59:31 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:32879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z324u-0003Gb-Jv for linphone-developers@nongnu.org; Thu, 11 Jun 2015 08:59:28 -0400 Received: by iebgx4 with SMTP id gx4so5375602ieb.0 for ; Thu, 11 Jun 2015 05:59:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=3v+YR49qrngg1ECcIgGj2Ln6eSK8WBxp9xvMhLsITrI=; b=m/93525m61K/CdeMuRf38g+d4CfYUJPeIimvZhqG46Yn9rTWweVLJq6xTdGGr8RWo+ p6RVB5ktxF+R9clnwkpEPdtZmuMfjXQ6b+ofmHr0AsO2FUMC3C3VMToiqQOUuSQpis5D vbELKZp1Hm2Vg26Dl6XdOdy+2LxroryNtB3oheqsQhv6CVJ3SUyWlEBLNqJosSK4S5v7 iZlQyztTYxb9dl5fqDcpEWfuaUVVpaiXlsFKSEXGQvnLLCAxHchuDDWqasjmLIfzggjr 0tPh1AeMj/vG+/4787i8Ce6696tzoExHYcfXGT45L2rsUKKMoBZEvX3PKO8okqRIUaoX uZYQ== X-Gm-Message-State: ALoCoQnPQaUU+VqTUcqG+esdavgQxMSm7Ju+yStzjlSZgRYtg/M76poRVG43s2o2OucxtpzqKDW9 MIME-Version: 1.0 X-Received: by 10.107.38.149 with SMTP id m143mr11251842iom.49.1434027567395; Thu, 11 Jun 2015 05:59:27 -0700 (PDT) Received: by 10.64.137.6 with HTTP; Thu, 11 Jun 2015 05:59:27 -0700 (PDT) Date: Thu, 11 Jun 2015 18:29:27 +0530 Message-ID: From: Shruti Goyal To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11409d42c1087d05183d8f83 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.179 Subject: [Linphone-developers] Need to Prioritize Audio Codecs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 12:59:32 -0000 --001a11409d42c1087d05183d8f83 Content-Type: text/plain; charset=UTF-8 Hi Linphone dev, It is my project requirement to prioritize audio codecs like G729 -> G711U -> G711A. by default the priority is G711U -> G711A -> G729. Can you please tell me how can i change this default audio codecs priority? *With Warm Regards,* Shruti Goyal VVDN Technologies Pvt Ltd *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 --001a11409d42c1087d05183d8f83 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Linphon= e dev,

It is my projec= t requirement to prioritize audio codecs like G729 -> G711U -> G711A.=
by default the priority i= s G711U -> G711A -> G729.

Can you please tell me how can i change this default audio codecs= priority?
=

<= span style=3D"color:rgb(31,73,125)">


With Warm Regards,

= Shruti Goyal

VVDN Technologies Pvt Ltd

= Cell :=C2=A0+91 9872048482 |=C2=A0Skype :=C2=A0shrutig= oyal703

--001a11409d42c1087d05183d8f83-- From MAILER-DAEMON Thu Jun 11 09:39:08 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z32hI-0001yp-Ij for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 09:39:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z32hA-0001vr-B1 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 09:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z32h6-0007rw-4z for linphone-developers@nongnu.org; Thu, 11 Jun 2015 09:39:00 -0400 Received: from mail-la0-x243.google.com ([2a00:1450:4010:c03::243]:34145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z32h5-0007rn-Sk for linphone-developers@nongnu.org; Thu, 11 Jun 2015 09:38:56 -0400 Received: by labgd6 with SMTP id gd6so1434955lab.1 for ; Thu, 11 Jun 2015 06:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pbfckbHhtd/EwWUFrZdBaBUiA2wDoujpkM17hTr8Kts=; b=gEK+IQFgg0PY6jf2OE0y+JLqCyOvbdijAIoF7/0nibbhJuLtk6anoExGrr1FAwNOsa eoSBF87GDv4CHk5srQVutTodGgnrxHdr6NIhvLgb2KZyhEMmy1cBWOZ2/G2eM+3NIYEz CIbapKzoTBe4Wi3d2COyFIzICMOZ3jdxRyk3v1RvUcui6IE0Fct4EUVeDOv9i6V/mRvW 2JVXr2THQbr29gk0aQa9i0cogQ2pjhK8S6Y0iagr9wtZfGT/dsj8ejLABZoEoZhynwkL UdFP/QP/OtI9bJSjeoEg/5T5O31sl5VomTk8EtE23vK+tfqgCJ8+5bwa701ud6av5wf4 kWew== MIME-Version: 1.0 X-Received: by 10.194.7.97 with SMTP id i1mr16955993wja.107.1434029934125; Thu, 11 Jun 2015 06:38:54 -0700 (PDT) Received: by 10.28.54.73 with HTTP; Thu, 11 Jun 2015 06:38:53 -0700 (PDT) Received: by 10.28.54.73 with HTTP; Thu, 11 Jun 2015 06:38:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jun 2015 19:08:53 +0530 Message-ID: From: silvans solanki To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7b5d86a5d2290105183e1c4a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::243 Subject: Re: [Linphone-developers] Need to Prioritize Audio Codecs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 13:39:05 -0000 --047d7b5d86a5d2290105183e1c4a Content-Type: text/plain; charset=UTF-8 Hello Shruti, Are you talking about linphone android application. Best reagrds Silvans On Jun 11, 2015 6:29 PM, "Shruti Goyal" wrote: > Hi Linphone dev, > > It is my project requirement to prioritize audio codecs like G729 -> G711U > -> G711A. > by default the priority is G711U -> G711A -> G729. > > Can you please tell me how can i change this default audio codecs priority? > > > > *With Warm Regards,* > > Shruti Goyal > > VVDN Technologies Pvt Ltd > > *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --047d7b5d86a5d2290105183e1c4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello Shruti,

Are you talking about linphone android application.

Best reagrds
Silvans

On Jun 11, 2015 6:29 PM, "Shruti Goyal"= ; <shruti= .goyal@vvdntech.com> wrote:
Hi Linphone dev,

= It is my project requirement to prioritize audio codecs like G729 -> G71= 1U -> G711A.
by default= the priority is G711U -> G711A -> G729.

Can you please tell me how can i change this defau= lt audio codecs priority?
=



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell :=C2=A0+91 9872048482 |=C2=A0Skype :=C2=A0shrutigoyal7= 03



_______________________________________________
Linphone-developers mailing list
Linphon= e-developers@nongnu.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers

--047d7b5d86a5d2290105183e1c4a-- From MAILER-DAEMON Thu Jun 11 10:21:29 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z33MH-0007Xd-7F for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 10:21:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33M9-0007Vt-Ht for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z33M6-0005Yn-3j for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:21:21 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:35654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33M5-0005Yd-QQ for linphone-developers@nongnu.org; Thu, 11 Jun 2015 10:21:18 -0400 Received: by wgme6 with SMTP id e6so6202646wgm.2 for ; Thu, 11 Jun 2015 07:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=wBLd8BbYL4P5duE6/aI0c7IY9TWDLKyTocvRiKRiQrg=; b=SYp4Heq1CYsuREM4vdWFxOhF4vbWSQkI63ab+LWySm2cB6O/o/Z1YYt/hIINoZKo5X FEXqJVmPwctfGP86X9/cx3C8hyJQNZbLlzo9HVdEZmXr6Prfa/jk0FaPFDD+8CIEgfOG wBNUEr8FMLjYZDeaZqAeHwlnDOG8UFabE7oK/iFRhkf0UHoB6wfIhgPGUsgk5nST9+Ww /HNHroSZt13xJiPjBSN9Zx+IU0pVfo1dlku/Gy9M5B5B6FNceme0U6TXBrAPR+Be5M8i c+Jou0ynbdpap+tjdmTvNZV4axr2YdXiLmmu8JD/mUVr9N//Y2jec4gaXCj5Y06fd9GC 462Q== X-Gm-Message-State: ALoCoQmLa6wrdh7bqbu9Nv9582YMPvIv1bWDZgWAvrXzBv74zkYKKXBMW8nYZSdASiYNIhzF6CMJ MIME-Version: 1.0 X-Received: by 10.180.90.209 with SMTP id by17mr30401160wib.2.1434032476552; Thu, 11 Jun 2015 07:21:16 -0700 (PDT) Received: by 10.28.98.134 with HTTP; Thu, 11 Jun 2015 07:21:16 -0700 (PDT) X-Originating-IP: [67.161.28.36] In-Reply-To: References: Date: Thu, 11 Jun 2015 07:21:16 -0700 Message-ID: From: Andy Remi To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=f46d043c80d25c959705183eb4bb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.41 Subject: Re: [Linphone-developers] Need to Prioritize Audio Codecs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 14:21:23 -0000 --f46d043c80d25c959705183eb4bb Content-Type: text/plain; charset=UTF-8 Hi Shruti, Refer below function in Linphone SDK Core. static MSList *match_payloads(const MSList *local, const MSList *remote, bool_t reading_response, bool_t one_matching_codec); in $LINPHONE_SDK_ROOT/submodules/linphone/coreapi/offeranswer.c This function is called at initiate_outgoing and initiate_incoming in the same file. You are able to modify the function by the priority that you want. Of course you should rebuild the Linphone SDK project after you modified it. I think this is the most easiest way. Otherwise, you would be able to use linphone_core_enable_payload_type, but I think this is very bad idea. This answer is applied to both SDKs of iOS and Android. Good luck. Have a nice day. Regards, Andy On Thu, Jun 11, 2015 at 5:59 AM, Shruti Goyal wrote: > Hi Linphone dev, > > It is my project requirement to prioritize audio codecs like G729 -> G711U > -> G711A. > by default the priority is G711U -> G711A -> G729. > > Can you please tell me how can i change this default audio codecs priority? > > > > *With Warm Regards,* > > Shruti Goyal > > VVDN Technologies Pvt Ltd > > *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --f46d043c80d25c959705183eb4bb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Shruti,

Refer below functi= on in Linphone SDK Core.=C2=A0

static MSList *match_payloads(const MSList *local, const MSList *remot= e, bool_t reading_response, bool_t one_matching_codec);
in $LINPH= ONE_SDK_ROOT/submodules/linphone/coreapi/offeranswer.c

This function= is called at=C2=A0initiate_outgoing and initiate_incoming in the same file.
You are = able to modify the function by the priority that you want.=C2=A0
Of cour= se you should rebuild the Linphone SDK project after you modified it.=C2=A0=
I think this is the most easiest way.
Otherwise, you would be able = to use linphone_core_enable_payload_type, but I think this is very bad idea= .=C2=A0
This answer is applied to both SDKs of iOS and Android.
Good luck. Have a nice day.

Regards,
A= ndy



--001a113ecb98a27c7405183ec24f-- From MAILER-DAEMON Thu Jun 11 20:43:53 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3D4b-0001By-Qn for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 20:43:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3D4Z-0001B0-0b for linphone-developers@nongnu.org; Thu, 11 Jun 2015 20:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3D4X-0003Yn-Pk for linphone-developers@nongnu.org; Thu, 11 Jun 2015 20:43:50 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:33901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3D4X-0003Ye-JQ for linphone-developers@nongnu.org; Thu, 11 Jun 2015 20:43:49 -0400 Received: by oigz2 with SMTP id z2so12678279oig.1 for ; Thu, 11 Jun 2015 17:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JA7M5IDXuIqip1LDHxTlosHvfU5WcdrMOrHvDHdaoyo=; b=APkWREonzimTAl0bjXj4TKmC/flLpDT4SR5ry4aY/dG4khR0UgeFbXSkYY6KecQC+M 3Nl7F5JhFutrQG65yGzMLTeTOPuCW7NPIazucikB/5UDK6yGZOYPpDi5cYW//H+PqNue +2Z5yrwmU/toRTHwao829ejrRhEqacGAb/rqwGbzYfOu6DmP/ybKClAY0vHaLEn7gCqw t9uaXlGyDCoRFO27TYyhE2eGg+9VOmY11IkO3Vy8y2DTceD/zvp5iWE5i8qVYVnI0MW1 cfo0RnJKZrZl7urek1YooCdyoFT1FZzsu9r22Z9JuMiV4AgJ9xFWJEZY87AoEgod1TyD 4fWQ== MIME-Version: 1.0 X-Received: by 10.60.37.73 with SMTP id w9mr1862656oej.49.1434069828548; Thu, 11 Jun 2015 17:43:48 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Thu, 11 Jun 2015 17:43:48 -0700 (PDT) Date: Thu, 11 Jun 2015 18:43:48 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e013cc2d6b6bd2c05184766e3 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22e Subject: [Linphone-developers] Followup response to yesterday's #3 & $4: Newbee problem building linphone-android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 00:43:52 -0000 --089e013cc2d6b6bd2c05184766e3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks so much for the quick response! My OS is ubuntu-15.04-desktop-amd64 The uname -a gives me: [my computer name] 3.19.0-18-generic #18-Ubuntu SMP x86_64 GNU/Linux echo $SHELL gives: shell interpreter: /bin/bash When I modify head of check_tools.sh from "#!/bin/sh" to "#!/bin/sh -x" and execute verbosely using make V=3D1, it gives me: /bin/sh: 0: Illegal option - Makefile:80: check_tools.mk: No such file or directory Picked up JAVA_TOOLS_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar make: *** No rule to make target 'check_tools.mk'. Stop. So it doesn't like the -x. I also tried =E2=80=93x, and also previously had= tried chmod +x check_tools.sh before doing the make, and also tried running it as su, with no results. When I take out the -x again, and run in verbose mode, the first line says the same as in my original posting, followed by the 3 lines above: make: ./check_tools.sh: Command not found Makefile:80: check_tools.mk: No such file or directory Picked up JAVA_TOOLS_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar make: *** No rule to make target 'check_tools.mk'. Stop. As instructed, I'm in the console in the /usr/local/linphone-android/ directory with all the git files, and have the tools, platform-tools, and android-ndk-r10e directories in the same /usr/local directory with their paths added to the .bashrc file, as follows: export PATH=3D${PATH}:/usr/local/tools export PATH=3D${PATH}:/usr/local/platform-tools export PATH=3D${PATH}:/usr/local/android-ndk-r10e I hope this is a little helpful diagnosing the problem. --089e013cc2d6b6bd2c05184766e3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks so much for the quick response!

My OS is ubunt= u-15.04-desktop-amd64 The uname -a gives me:
[my computer name] 3.19.0-18-generic #18-Ubuntu SMP x86_64 GNU/Li= nux

echo $SHELL gives:
sh= ell interpreter: /bin/bash

When I modify head of check_tools.sh f= rom "#!/bin/sh" to "#!/bin/sh -x" and execute verbosely= using make V=3D1, it gives me:
/bi= n/sh: 0: Illegal option -
Makefile:= 80: check_tools.mk: No such file or d= irectory
Picked up JAVA_TOOLS_OPTIO= NS: -javaagent:/usr/share/java/jayatanaag.jar
make: *** No rule to make target 'check_tools.mk'. Stop.

So it doesn't like the= -x. I also tried =E2=80=93x, and also previously had tried chmod +x check_= tools.sh before doing the make, and also tried running it as su, with no re= sults. When I take out the -x again, and run in verbose mode, the first lin= e says the same as in my original posting, followed by the 3 lines above:

make: ./check_tools.s= h: Command not found
Makefile:80: ch= eck_tools.mk: No such file or directory
Picked up JAVA_TOOLS_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar<= /div>
make: *** No rule to make target 'check_tools.mk'. Stop.
As instructed, I'm in t= he console in the /usr/local/linphone-android/ directory with all the git f= iles, and have the tools, platform-tools, and android-ndk-r10e directories = in the same /usr/local directory with their paths added to the .bashrc file= , as follows:
export PATH=3D${PATH}= :/usr/local/tools
export PATH=3D${P= ATH}:/usr/local/platform-tools
expo= rt PATH=3D${PATH}:/usr/local/android-ndk-r10e

I hope this is a li= ttle helpful diagnosing the problem.
--089e013cc2d6b6bd2c05184766e3-- From MAILER-DAEMON Thu Jun 11 22:14:55 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3EUh-00008W-ON for mharc-linphone-developers@gnu.org; Thu, 11 Jun 2015 22:14:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3EUe-00007R-L9 for linphone-developers@nongnu.org; Thu, 11 Jun 2015 22:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3EUb-0004Dc-Ft for linphone-developers@nongnu.org; Thu, 11 Jun 2015 22:14:52 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:34663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3EUb-0004DY-Bd for linphone-developers@nongnu.org; Thu, 11 Jun 2015 22:14:49 -0400 Received: by oigz2 with SMTP id z2so13701846oig.1 for ; Thu, 11 Jun 2015 19:14:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=YquyOYjbA1zAl5GKcpHIs/JizW3UYwRo/nNqYQWaZls=; b=FDBS1+FlkYrblkDrDi0DUNtaJfEV7Y9OR6nQ+pI1j3e9xqC0RBFpWo5zmaW0KfBrZk dv8+g1JYncbf6i0kL1DL0nQdi1Wl0uJ14WwJpt7srnSO7RfZ5Z1hvSAE7xlD3SnWofJF bv9UwK5Z+CUawGQ8n9y/v8/pqLyi44yRwOi4o0mYso1rYoOWze+hkwiVohZ+WPVedncX cACnzykQJjYukrQ80PJ+u4CwlhgWXVz/U59jg7y0FvMUDry3rDxtBgheNdlTjVnXEtwu rAxH7wP2SNM25qmNy61QtjWJ+u04G8TNUq/4dQZJzgRrO6nGyfFCgN9xsdwOsLcJA5Kv PM7g== X-Gm-Message-State: ALoCoQny6tAYB1iq0whIal75/0Am/btg8bAibJeVl4TytEhVmgAS6Lau3l5TyO5/dh8OigqyGT+D MIME-Version: 1.0 X-Received: by 10.182.199.103 with SMTP id jj7mr10388996obc.49.1434075288575; Thu, 11 Jun 2015 19:14:48 -0700 (PDT) Received: by 10.76.94.134 with HTTP; Thu, 11 Jun 2015 19:14:48 -0700 (PDT) X-Originating-IP: [218.191.169.106] Date: Fri, 12 Jun 2015 10:14:48 +0800 Message-ID: From: Glen Browley To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=e89a8ff1c9ec283a55051848ac7e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.218.49 Subject: [Linphone-developers] Unable to clone linphone-iphone X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 02:14:54 -0000 --e89a8ff1c9ec283a55051848ac7e Content-Type: text/plain; charset=UTF-8 Hi, Im trying to clone linphone-iphone, but Im getting the following errors. Can someone fix it please. Cloning into 'submodules/externals/libvpx'... fatal: http://git.chromium.org/webm/libvpx.git/info/refs not valid: is this a git repository? Clone of 'http://git.chromium.org/webm/libvpx.git' into submodule path 'submodules/externals/libvpx' failed Thanks! --e89a8ff1c9ec283a55051848ac7e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Im trying to clone linphone-iphone, but Im getting the= following errors. Can someone fix it please.

Cloning into 'submodules/externals/libvpx'= ;...

fatal: http://git.chromium.org/webm/libvpx.git= /info/refs not valid: is this a git repository?

Clone of 'http://git.chromium.org/webm/libvpx.git= 9; into submodule path 'submodules/externals/libvpx' failed


Tha= nks!

--e89a8ff1c9ec283a55051848ac7e-- From MAILER-DAEMON Fri Jun 12 02:04:55 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3I5H-0007CF-1o for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 02:04:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3I5D-0007BF-Mp for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3I56-0002C1-4p for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:04:51 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:54377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3I55-0002BX-Ro for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:04:44 -0400 Received: from mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.135]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id ED1DFA80AF for ; Fri, 12 Jun 2015 08:04:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter6-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter6-d.gandi.net (mfilter6-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 1ilBTNY-ZfAM for ; Fri, 12 Jun 2015 08:04:37 +0200 (CEST) X-Originating-IP: 209.85.212.175 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (Authenticated sender: guillaume.bienkowski@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8BD5BA80D7 for ; Fri, 12 Jun 2015 08:04:37 +0200 (CEST) Received: by wibut5 with SMTP id ut5so8030000wib.1 for ; Thu, 11 Jun 2015 23:04:37 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.179.200 with SMTP id di8mr23491567wjc.56.1434089077392; Thu, 11 Jun 2015 23:04:37 -0700 (PDT) Sender: guitreize@gmail.com X-Google-Sender-Delegation: guitreize@gmail.com Received: by 10.28.180.6 with HTTP; Thu, 11 Jun 2015 23:04:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jun 2015 08:04:37 +0200 X-Google-Sender-Auth: LcJtCBX3tZ6IyuX0h51dmoimVZM Message-ID: From: Guillaume BIENKOWSKI To: "linphone-developers@nongnu.org" Content-Type: multipart/alternative; boundary=e89a8f6468c908cd4e05184be243 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] Unable to clone linphone-iphone X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 06:04:53 -0000 --e89a8f6468c908cd4e05184be243 Content-Type: text/plain; charset=UTF-8 Looks lie a glitch on their end? Retry later on. *Guillaume BIENKOWSKI* *http://www.belledonne-communications.com/ * *sip:gbi@sip.linphone.org * On Fri, Jun 12, 2015 at 4:14 AM, Glen Browley wrote: > Hi, Im trying to clone linphone-iphone, but Im getting the following > errors. Can someone fix it please. > > Cloning into 'submodules/externals/libvpx'... > > fatal: http://git.chromium.org/webm/libvpx.git/info/refs not valid: is > this a git repository? > > Clone of 'http://git.chromium.org/webm/libvpx.git' into submodule path > 'submodules/externals/libvpx' failed > > > Thanks! > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --e89a8f6468c908cd4e05184be243 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Looks lie a glitch on their end?
Retry later on.
=

Guillaume BIENKOWSKI
<= i>http:= //www.belledonne-communications.com/
<= a href=3D"mailto:sip%3Agbi@sip.linphone.org" target=3D"_blank">sip:gbi@sip.= linphone.org

On Fri, Jun 12, 2015 at 4:14 AM, Glen Browle= y <gwb@fonible.com> wrote:
<= div dir=3D"ltr">Hi, Im trying to clone linphone-iphone, but Im getting the = following errors. Can someone fix it please.

Cloning into 'submodules/externals/libvpx'..= .

fatal: http://git.chromium.org/= webm/libvpx.git/info/refs not valid: is this a git repository?

Clone of 'http://git.chromium.org/webm= /libvpx.git' into submodule path 'submodules/externals/libvpx&#= 39; failed


Thanks!


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--e89a8f6468c908cd4e05184be243-- From MAILER-DAEMON Fri Jun 12 02:38:37 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3Ibt-0004SJ-Se for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 02:38:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Ibr-0004S8-Iw for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:38:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Ibo-0007hW-E3 for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:38:35 -0400 Received: from forward13h.cmail.yandex.net ([87.250.230.155]:51319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Ibo-0007hK-6M for linphone-developers@nongnu.org; Fri, 12 Jun 2015 02:38:32 -0400 Received: from web5h.yandex.ru (web5h.yandex.ru [IPv6:2a02:6b8:0:f05::15]) by forward13h.cmail.yandex.net (Yandex) with ESMTP id 7F64C218E7 for ; Fri, 12 Jun 2015 09:38:29 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web5h.yandex.ru (Yandex) with ESMTP id 25CBE3841E84; Fri, 12 Jun 2015 09:38:29 +0300 (MSK) Received: by web5h.yandex.ru with HTTP; Fri, 12 Jun 2015 09:38:28 +0300 From: Sergey Guralnik To: "linphone-developers@nongnu.org" In-Reply-To: References: <831561433841318@web5m.yandex.ru> MIME-Version: 1.0 Message-Id: <4660301434091108@web5h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 12 Jun 2015 09:38:28 +0300 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 87.250.230.155 Subject: Re: [Linphone-developers] Audio system for Android. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 06:38:36 -0000
11.06.2015, 11:46, "Simon MORLAT" <simon.morlat@linphone.org>:=
Hi Sergey,
=9A=
Oh, now it is clear for me.
Thanks for detailed expl= anation, Simon!
=9A
--=9A
Best regards,
Sergey Guralnik.
=9A
From MAILER-DAEMON Fri Jun 12 04:16:52 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3K8y-0000sx-Mg for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 04:16:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3K8w-0000so-7F for linphone-developers@nongnu.org; Fri, 12 Jun 2015 04:16:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3K8u-0007Qa-VQ for linphone-developers@nongnu.org; Fri, 12 Jun 2015 04:16:50 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:40150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3K8u-0007QV-P2 for linphone-developers@nongnu.org; Fri, 12 Jun 2015 04:16:48 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:d1f:5ace:da9c:9b3f] (unknown [IPv6:2a01:e35:2e97:fb90:d1f:5ace:da9c:9b3f]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A48C8A8213 for ; Fri, 12 Jun 2015 10:16:47 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: Date: Fri, 12 Jun 2015 10:16:46 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] Followup response to yesterday's #3 & $4: Newbee problem building linphone-android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 08:16:51 -0000 What is the file system of /usr/local/linphone-android partition? In any = case your installation seems very odd, before doing anything else, you = should manage to execute check_tools.sh script: 1) cd /usr/local/linphone-android/ 2) sh ./check_tools.sh=20 If not working, try in order: 3) bash ./check_tools.sh 4) ls -l check_tools.sh && file check_tools.sh (copy output here) By the way, please answer the current thread instead of creating a new = email for each response so that one can follow the discussion easily. Cheers Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 12 Jun 2015, at 02:43, William Hutchison = wrote: >=20 > Thanks so much for the quick response! >=20 > My OS is ubuntu-15.04-desktop-amd64 The uname -a gives me: > [my computer name] 3.19.0-18-generic #18-Ubuntu SMP x86_64 GNU/Linux >=20 > echo $SHELL gives: > shell interpreter: /bin/bash >=20 > When I modify head of check_tools.sh from "#!/bin/sh" to "#!/bin/sh = -x" and execute verbosely using make V=3D1, it gives me: > /bin/sh: 0: Illegal option - > Makefile:80: check_tools.mk: No such file or directory > Picked up JAVA_TOOLS_OPTIONS: = -javaagent:/usr/share/java/jayatanaag.jar > make: *** No rule to make target 'check_tools.mk'. Stop. >=20 > So it doesn't like the -x. I also tried =E2=80=93x, and also = previously had tried chmod +x check_tools.sh before doing the make, and = also tried running it as su, with no results. When I take out the -x = again, and run in verbose mode, the first line says the same as in my = original posting, followed by the 3 lines above: >=20 > make: ./check_tools.sh: Command not found > Makefile:80: check_tools.mk: No such file or directory > Picked up JAVA_TOOLS_OPTIONS: = -javaagent:/usr/share/java/jayatanaag.jar > make: *** No rule to make target 'check_tools.mk'. Stop. >=20 > As instructed, I'm in the console in the /usr/local/linphone-android/ = directory with all the git files, and have the tools, platform-tools, = and android-ndk-r10e directories in the same /usr/local directory with = their paths added to the .bashrc file, as follows: > export PATH=3D${PATH}:/usr/local/tools > export PATH=3D${PATH}:/usr/local/platform-tools > export PATH=3D${PATH}:/usr/local/android-ndk-r10e >=20 > I hope this is a little helpful diagnosing the problem. > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Fri Jun 12 08:06:58 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3Njd-00072t-HB for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 08:06:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3NjQ-0006mg-QG for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:06:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3NjN-0008Pp-OF for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:06:44 -0400 Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:33410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3NjN-0008Ou-Jc for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:06:41 -0400 Received: by iebgx4 with SMTP id gx4so23090284ieb.0 for ; Fri, 12 Jun 2015 05:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=i2RxfIweRfCtg1qbrdJ0wddmZhSyjWUkV7pd09W85yI=; b=Yzi33OPQ6H+VkT03A8Pkw+gmMh/6PfBOOr5OPO5sKV3OprcikH4dwTVb8pLS7PIsy7 UINWVZyqQRo0ygKM55F35a/j1N1gAgi+EqeHAuONCqBzNS03Rn4v6z1kOkgaBhP3f7ym ORJKEPNUjj2B/DcyjDbms/xqxXg9/Slt/yOcWQW4IBeUq1FhFCgZuB1TPqM2bB7yry6n rsAvjR2vIz1GDpukvm/YBiksh3S4gwRluDtfm9M/MKWl8ROci5xas3DL7lzqyRkMOmMR cVzHpN98TZE1ydrBzfBAgEZz3KvmBC+kPLrIC21Yx1HqxShQ4rRLXqWapJv0xVb4KvVe bkXw== MIME-Version: 1.0 X-Received: by 10.50.129.40 with SMTP id nt8mr3781757igb.24.1434110800497; Fri, 12 Jun 2015 05:06:40 -0700 (PDT) Received: by 10.107.50.205 with HTTP; Fri, 12 Jun 2015 05:06:40 -0700 (PDT) Date: Fri, 12 Jun 2015 05:06:40 -0700 Message-ID: From: waqar jamsheed To: Linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7b414320d51285051850f065 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::232 Subject: [Linphone-developers] Cloning Error X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 12:06:53 -0000 --047d7b414320d51285051850f065 Content-Type: text/plain; charset=UTF-8 Hi, I can't cloning linphone-iphone because of this error. Error: This url is not valid http://git.chromium.org/webm/libvpx.git Kindly help me its urgent. Thanks, Regards, Muhammad Waqar Jamsheed. --047d7b414320d51285051850f065 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0
I can't cloning linphone-ipho= ne because of this error.=C2=A0

Error:

Kindly h= elp me its urgent.

Thanks,

Regards,

Muhammad Waqar Jamsheed.
--047d7b414320d51285051850f065-- From MAILER-DAEMON Fri Jun 12 08:08:11 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3Nkp-0007nr-6U for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 08:08:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Nkn-0007nk-Hb for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Nkj-0000Pi-84 for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:08:09 -0400 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:36142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Nkj-0000OK-3k for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 08:08:05 -0400 Received: by iebps5 with SMTP id ps5so23127300ieb.3 for ; Fri, 12 Jun 2015 05:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m1Xupk9KDwO86AqhDE3MxgBBk+MTiu7hhfua0YKYYfM=; b=cHZoiTx9NddHjTGQ5qFFoMQvTLar6NQ/c7uUyzjIeAMC82XY7ez19V9m4Qt/4JThmd J3NL36fU7bYaoW11DIehDsr5S9RCJrUWLe/BCMBRsK5xUd0szFvXP89ueI8s1KDT4B4T TntbhXkoJbRTRk1dHOf0uG3bpccRcoYRbsMUm6FniHow6nZUWFzPGFrP1EJ1a6gb7B1b J3jXMHaEpm6xXQDse/Ayxxg4etK6ouxwY3GC/JdyBqWpZqiU7uOY4T7mxdCbSTodANED k3/uOUEQ5SIryoC1s7QRO75bcqibo9DXiTTPO6UPW9QGMcV2tGbQLfYXfFxT5QfAsziM LPoA== MIME-Version: 1.0 X-Received: by 10.107.157.205 with SMTP id g196mr17764177ioe.57.1434110884672; Fri, 12 Jun 2015 05:08:04 -0700 (PDT) Received: by 10.107.50.205 with HTTP; Fri, 12 Jun 2015 05:08:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jun 2015 05:08:04 -0700 Message-ID: From: waqar jamsheed To: Linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1140a562d9a0d7051850f5da X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::234 Subject: [Linphone-developers] Fwd: Cloning Error X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 12:08:10 -0000 --001a1140a562d9a0d7051850f5da Content-Type: text/plain; charset=UTF-8 Hi, I can't cloning linphone-iphone because of this error. Error: fatal: http://git.chromium.org/webm/libvpx.git/info/refs not valid: is this a git repository? Kindly help me its urgent. Thanks, Regards, Muhammad Waqar Jamsheed. --001a1140a562d9a0d7051850f5da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,= =C2=A0
I can't cloning linphone-iphone because of this error.= =C2=A0

Error:
fatal: http://git.chromium.org/webm/lib= vpx.git/info/refs not valid: is this a git repository?
Ki= ndly help me its urgent.

Thanks,

Regards,

Muhammad Waqar Jamsheed.

--001a1140a562d9a0d7051850f5da-- From MAILER-DAEMON Fri Jun 12 11:01:44 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3QSm-0006MP-C5 for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 11:01:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3QSj-0006G3-Ec for linphone-developers@nongnu.org; Fri, 12 Jun 2015 11:01:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3QSd-0007IL-Q6 for linphone-developers@nongnu.org; Fri, 12 Jun 2015 11:01:41 -0400 Received: from smtp25.services.sfr.fr ([93.17.128.119]:4073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3QSd-0007Hl-Du for linphone-developers@nongnu.org; Fri, 12 Jun 2015 11:01:35 -0400 Received: from filter.sfr.fr (localhost [62.23.15.76]) by msfrf2513.sfr.fr (SMTP Server) with ESMTP id 01AC27000068 for ; Fri, 12 Jun 2015 17:01:31 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=vnguyen@neuf.fr Received: from [10.0.1.24] (host.76.15.23.62.rev.coltfrance.com [62.23.15.76]) by msfrf2513.sfr.fr (SMTP Server) with ESMTP id E20047000051 for ; Fri, 12 Jun 2015 17:01:30 +0200 (CEST) X-SFR-UUID: 20150612150130925.E20047000051@msfrf2513.sfr.fr Message-ID: <557AF430.7090605@neuf.fr> Date: Fri, 12 Jun 2015 17:01:04 +0200 From: Vincent Nguyen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: In-Reply-To: Content-Type: multipart/alternative; boundary=------------070208030307090001050707 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 93.17.128.119 Subject: [Linphone-developers] webplugin vs windows version X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 15:01:42 -0000 This is a multi-part message in MIME format. --------------070208030307090001050707 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hello Guys @ Belledone, I have a quick question regarding some testing I just did. Tested Linphone for windows 3.8.4 with Asterisk PCMU (8000, 80 Kbps) G722 (8000, 80 kbps) iLBC (8000, 24 kbps) These frequencies and bitrates are those showing up in the codecs config page All works fine speex only works with 8000Hzh, 32kbps, the 2 others do not work => Asterisk limitation ? When testing the *webplugin* with same Asterisk I see as available PCMU (8000, 64kbps) => works fine G722 (8000, 64kbps) => DOES NOT WORK 3 speex => => only the 8000 works could not test others. QUESTION 1 : why is there different bitrate between the 2 versions, and especially why would the G722 64kbps not work eventhough RFC says 64kbps not 80. QUESTION 2 : Does Asterisk play a role in the bitrate thing or is this just a phone thing ? in Asterisk we just see the codecs names. Last but not least : when we disable echo cancellation, the audio quality is much better, except for the G722 where it is similar. Hope someone can help. cheers, V. --------------070208030307090001050707 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit Hello Guys @ Belledone,

I have a quick question regarding some testing I just did.

Tested Linphone for windows 3.8.4 with Asterisk
PCMU (8000, 80 Kbps)
G722 (8000, 80 kbps)
iLBC (8000, 24 kbps)
These frequencies and bitrates are those showing up in the codecs config page
All works fine

speex only works with 8000Hzh, 32kbps, the 2 others do not work => Asterisk limitation ?


When testing the webplugin with same Asterisk
I see as available
PCMU (8000, 64kbps) => works fine
G722 (8000, 64kbps) => DOES NOT WORK
3 speex => => only the 8000 works
could not test others.


QUESTION 1 : why is there different bitrate between the 2 versions, and especially why would the G722 64kbps not work eventhough RFC says 64kbps not 80.

QUESTION 2 : Does Asterisk play a role in the bitrate thing or is this just a phone thing ? in Asterisk we just see the codecs names.

Last but not least : when we disable echo cancellation, the audio quality is much better, except for the G722 where it is similar.


Hope someone can help.

cheers,
V.
--------------070208030307090001050707-- From MAILER-DAEMON Fri Jun 12 12:11:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3RXz-0008KT-V5 for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 12:11:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3RXx-0008I7-El for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3RXq-0007q9-Qu for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:11:09 -0400 Received: from mail-vn0-f50.google.com ([209.85.216.50]:34809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3RXq-0007of-N5 for Linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:11:02 -0400 Received: by vnbg7 with SMTP id g7so6790813vnb.1 for ; Fri, 12 Jun 2015 09:11:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=vjvwJpIa6uzvkxmJJhFfhivMqgj4uvqYvTsohF3llPg=; b=Krq01sQ0iu+pDhRgJFi24wdJvsCsETtxn88IiQm/AO3v4aN6ZzCKxI3qe1FKG2syKg FFiO+pB9z3XYVi63O0JFZvZStjUn3yCWCuObIsCpRzgRVOwbVCZXq2HFBZondssDDNI7 5v8Md7jvBXlp7Zc7ifpYeUhRXHXP8wWRFiAJFjCH6bl0TPvcgus1OFiOsCWeFO0S7/o8 aF8MdYbOOfqUsAW7t9YrSGm7o62ryFCaJCPBkmaXT9fIZmV4vLmwuXUkhEvpLA3qIAnc ORKuzLgx8qm3XCSWdqunBPD2KqaYiZhxMgQjcOCfGSUAMvzQ3hr0dJcKn5de4PAjwYiD bcCw== X-Gm-Message-State: ALoCoQnAY8HvDfLQ9IPB5+dPgQf+GPjFVhctr/kllNtZcXpcwp26dhZeDNY7xTQDzJ0d5vofGEHw MIME-Version: 1.0 X-Received: by 10.52.137.19 with SMTP id qe19mr26699607vdb.86.1434125461932; Fri, 12 Jun 2015 09:11:01 -0700 (PDT) Received: by 10.31.76.71 with HTTP; Fri, 12 Jun 2015 09:11:01 -0700 (PDT) Date: Fri, 12 Jun 2015 12:11:01 -0400 Message-ID: From: Ryan Griggs To: Linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=bcaec51a89bcb8e6960518545a88 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.50 Subject: [Linphone-developers] Date and time on the Recent Calls log X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 16:11:10 -0000 --bcaec51a89bcb8e6960518545a88 Content-Type: text/plain; charset=UTF-8 Hello, I wanted to offer the suggestion to add the call date and time to each call listed in the Recent Calls log. It appears to already log the length of the call, but date/time are nowhere to be found. This is helpful in auditing and tracking when calls were made. Thanks! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ryan Griggs Hilltop Computing www.hilltop.net 859-328-3223 Toll Free: 1 (888) 5-HILLTOP (888-544-5586) --bcaec51a89bcb8e6960518545a88 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello, I wanted to offer the suggestion to add the ca= ll date and time to each call listed in the Recent Calls log.=C2=A0 It appe= ars to already log the length of the call, but date/time are nowhere to be = found.=C2=A0 This is helpful in auditing and tracking when calls were made.=

Thanks!

- - - - - - - - - - - - - - - = - - - - - - - - - - - - - - - - -
Ryan Griggs
Hilltop Computing
www.hilltop.net
8= 59-328-3223
Toll Free: 1 (888) 5-HILLTOP (888-544-5586)
--bcaec51a89bcb8e6960518545a88-- From MAILER-DAEMON Fri Jun 12 12:13:44 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3RaS-0000eh-JU for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 12:13:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3RaQ-0000eZ-OD for linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:13:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3RaM-0008VK-GF for linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:13:42 -0400 Received: from mail-vn0-f41.google.com ([209.85.216.41]:34282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3RaM-0008VD-Cp for linphone-developers@nongnu.org; Fri, 12 Jun 2015 12:13:38 -0400 Received: by vnbg7 with SMTP id g7so6802577vnb.1 for ; Fri, 12 Jun 2015 09:13:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=N20YCSrM8wd5UOgsxQFBlkEzQdzaERlUBRIbBp3R+Ak=; b=kLyUHe63HJj9+5bFZSMDPEXSnG2sf7mnUCMDdPHWyhf2ayWq2IoBVTvzGMni/5aB/D 3BZeU/QPy7wTk+xtLpzm/0HZKn4lEPRubqiP8LzwgSwmLH4WhDG8r0ItDj8/X2giSyc8 MHytrzy/OFW36IkugfEeRgYJLeoyn3O3owGvlmr5nv796tvX2ENPkclPhLIUDbpWreaR JXytho2fZA/Iijyinpl7PHVLzhYWvHuQ2iqdqNuInKkb3ZXZ41dfkuA9syEMrnUxbO5W mtNhlNOPxNHvQcOvpgKR4nEgCQFDhISDwkyugxEwxAvsCoi3I3HhY8wMlGn55jZ0Wbwu kx5Q== X-Gm-Message-State: ALoCoQkeu4vKBpZxVNvXxwX2TfJ7DgOSIeo0009b+0bPANSxrmvxD2BhphhTDOPSnGPzFfs63d+Y MIME-Version: 1.0 X-Received: by 10.52.34.228 with SMTP id c4mr7299129vdj.42.1434125618072; Fri, 12 Jun 2015 09:13:38 -0700 (PDT) Received: by 10.31.76.71 with HTTP; Fri, 12 Jun 2015 09:13:38 -0700 (PDT) Date: Fri, 12 Jun 2015 12:13:38 -0400 Message-ID: From: Ryan Griggs To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=20cf30780ad80758fb051854647b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.41 Subject: [Linphone-developers] Keyboard Controls X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 16:13:44 -0000 --20cf30780ad80758fb051854647b Content-Type: text/plain; charset=UTF-8 I would like to suggest that keyboard controls be added to Linphone. For example, keyboard shortcuts for common actions like Hang Up, Hold, Mute, Switch Calls, etc. Even simple commands like "highlight the phone number field". Here's a use case - I accidentally kicked my mouse unplugged while on a call. I was unable to hang up the call until I crawled under the desk and reconnected the mouse. The Tab key doesn't work in Linphone and buttons can't be highlighted or selected with the keyboard at all. (Windows user here!) Having some keyboard shortcuts would drastically improve the usability and speed of the app. Thanks! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ryan Griggs Hilltop Computing www.hilltop.net 859-328-3223 Toll Free: 1 (888) 5-HILLTOP (888-544-5586) --20cf30780ad80758fb051854647b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I would like to suggest that keyboard contr= ols be added to Linphone.=C2=A0 For example, keyboard shortcuts for common = actions like Hang Up, Hold, Mute, Switch Calls, etc.=C2=A0 Even simple comm= ands like "highlight the phone number field".

Here&#= 39;s a use case - I accidentally kicked my mouse unplugged while on a call.= I was unable to hang up the call until I crawled under the desk and reconn= ected the mouse.=C2=A0 The Tab key doesn't work in Linphone and buttons= can't be highlighted or selected with the keyboard at all. (Windows us= er here!)

Having some keyboard shortcuts would drastically imp= rove the usability and speed of the app.

Thanks!
=
- - - - - - - - - - - - - - - - - - - - = - - - - - - - - - - - -
Ryan Griggs
Hilltop Computing
www.hilltop.net
859-328-322= 3
Toll Free: 1 (888) 5-HILLTOP (888-544-5586)
--20cf30780ad80758fb051854647b-- From MAILER-DAEMON Fri Jun 12 17:14:02 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3WH4-0006C0-Ku for mharc-linphone-developers@gnu.org; Fri, 12 Jun 2015 17:14:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3WH1-00066q-0N for linphone-developers@nongnu.org; Fri, 12 Jun 2015 17:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3WGv-0000Hz-Jr for linphone-developers@nongnu.org; Fri, 12 Jun 2015 17:13:58 -0400 Received: from mail.bashpipe.org ([85.214.21.242]:54458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3WGv-0000Bc-84 for linphone-developers@nongnu.org; Fri, 12 Jun 2015 17:13:53 -0400 Received: (qmail 6924 invoked by uid 89); 12 Jun 2015 23:13:21 +0200 Received: by simscan 1.4.0 ppid: 6917, pid: 6919, t: 0.3939s scanners: attach: 1.4.0 clamav: m:55/d:19527 Received: from unknown (HELO compi.localnet) (ben@simlar.org) by 0 with ESMTPA; 12 Jun 2015 23:13:20 +0200 From: Ben Sartor To: linphone-developers@nongnu.org Date: Fri, 12 Jun 2015 23:12:43 +0200 Message-ID: <14797153.8sum3huZEc@compi> User-Agent: KMail/4.14.1 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) In-Reply-To: <3541265.P1XdOeRtnQ@compi> References: <3541265.P1XdOeRtnQ@compi> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1865066.y8uV32hrIg" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 85.214.21.242 Subject: Re: [Linphone-developers] liblinphone java exeception handling in call backs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 21:14:01 -0000 This is a multi-part message in MIME format. --nextPart1865066.y8uV32hrIg Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi, I have just rebased my patches to the current master. Kind regards, Ben Sartor > Hi, >=20 > I'm having trouble seeing java exceptions in the log file when they a= re > thrown in a linphone callback. This code snippet should help, to expl= ain > what I mean: >=20 > @Override > public void callState(LinphoneCore lc, LinphoneCall call, > LinphoneCall.State state, String message) > { > final LinphoneCallStats stats =3D call.getAudioStats(); > Log.i("bandwidth: down=3D", stats.getDownloadBandwidth(), > " up=3D", stats.getUploadBandwidth()); > // ... > } >=20 > If getAudioStats() returns null, a NullPointerException will be throw= n and > the execution aborts. If you have liblinphone's debug logging enabled= , you > will see s.th. like this in your log: >=20 > E DEBUG : Listener 0x100c6e raised an exception >=20 > Without having liblinphone's debug logging enabled, nothing is logged= . Which > makes it hard to debug for android developers. >=20 > Attached are some patches which add a java backtrace of the exception= to the > log even if liblinphones debug logging is not enabled. >=20 > What do think? Would it be possible to merge the patches? >=20 > Kind regards, > Ben Sartor --=20 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94 https://www.simlar.org free and secure calls fon: +49-(0)221-999 999 30 fax: +49-(0)221-999 999 31 =20 mail: ben@simlar.org github: https://github.com/simlar/ =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94 --nextPart1865066.y8uV32hrIg Content-Disposition: attachment; filename="0001-unified-java-exception-handling-in-callbacks.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-unified-java-exception-handling-in-callbacks.patch" >From 71307399e4eaee13c49caaf733218decc7109557 Mon Sep 17 00:00:00 2001 From: Ben Sartor Date: Wed, 13 May 2015 22:37:09 +0200 Subject: [PATCH 1/3] unified java exception handling in callbacks --- coreapi/linphonecore_jni.cc | 106 ++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 72 deletions(-) diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index ad985aa..178012a 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -613,6 +613,7 @@ public: LinphoneCoreData* lcData = (LinphoneCoreData*)linphone_core_v_table_get_user_data(table); jstring msg = message ? env->NewStringUTF(message) : NULL; env->CallVoidMethod(lcData->listener,lcData->displayStatusId,lcData->core,msg); + handle_possible_java_exception(env, lcData->listener); if (msg) { env->DeleteLocalRef(msg); } @@ -635,6 +636,7 @@ public: r, u, d); + handle_possible_java_exception(env, lcData->listener); if (r) { env->DeleteLocalRef(r); } @@ -660,10 +662,7 @@ public: ,lcData->core ,env->CallStaticObjectMethod(lcData->globalStateClass,lcData->globalStateFromIntId,(jint)gstate), msg); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); if (msg) { env->DeleteLocalRef(msg); } @@ -685,10 +684,7 @@ public: ,(jproxy=getProxy(env,proxy,lcData->core)) ,env->CallStaticObjectMethod(lcData->registrationStateClass,lcData->registrationStateFromIntId,(jint)state), msg); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); if (msg) { env->DeleteLocalRef(msg); } @@ -711,10 +707,7 @@ public: ,(jcall=getCall(env,call)) ,env->CallStaticObjectMethod(lcData->callStateClass,lcData->callStateFromIntId,(jint)state), msg); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); if (state==LinphoneCallReleased) { linphone_call_set_user_pointer(call,NULL); env->DeleteGlobalRef(jcall); @@ -738,10 +731,7 @@ public: ,getCall(env,call) ,encrypted ,authentication_token ? env->NewStringUTF(authentication_token) : NULL); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void notify_presence_received(LinphoneCore *lc, LinphoneFriend *my_friend) { JNIEnv *env = 0; @@ -756,10 +746,7 @@ public: ,lcData->notifyPresenceReceivedId ,lcData->core ,getFriend(env,my_friend)); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void new_subscription_requested(LinphoneCore *lc, LinphoneFriend *my_friend, const char* url) { JNIEnv *env = 0; @@ -775,10 +762,7 @@ public: ,lcData->core ,getFriend(env,my_friend) ,url ? env->NewStringUTF(url) : NULL); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void dtmf_received(LinphoneCore *lc, LinphoneCall *call, int dtmf) { JNIEnv *env = 0; @@ -794,10 +778,7 @@ public: ,lcData->core ,getCall(env,call) ,dtmf); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void text_received(LinphoneCore *lc, LinphoneChatRoom *room, const LinphoneAddress *from, const char *message) { JNIEnv *env = 0; @@ -814,10 +795,7 @@ public: ,env->NewObject(lcData->chatRoomClass,lcData->chatRoomCtrId,(jlong)room) ,env->NewObject(lcData->addressClass,lcData->addressCtrId,(jlong)from) ,message ? env->NewStringUTF(message) : NULL); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void message_received(LinphoneCore *lc, LinphoneChatRoom *room, LinphoneChatMessage *msg) { JNIEnv *env = 0; @@ -835,10 +813,7 @@ public: ,lcData->core ,env->NewObject(lcData->chatRoomClass,lcData->chatRoomCtrId,(jlong)room) ,(jmsg = getChatMessage(env, msg))); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void is_composing_received(LinphoneCore *lc, LinphoneChatRoom *room) { JNIEnv *env = 0; @@ -853,10 +828,7 @@ public: ,lcData->isComposingReceivedId ,lcData->core ,env->NewObject(lcData->chatRoomClass,lcData->chatRoomCtrId,(jlong)room)); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void ecCalibrationStatus(LinphoneCore *lc, LinphoneEcCalibratorStatus status, int delay_ms, void *data) { JNIEnv *env = 0; @@ -877,6 +849,7 @@ public: ,state ,delay_ms ,NULL); + handle_possible_java_exception(env, lcData->listener); } if (status != LinphoneEcCalibratorInProgress) { linphone_core_v_table_destroy(table); @@ -902,10 +875,7 @@ public: else env->CallVoidMethod(callobj, lcData->callSetVideoStatsId, statsobj); env->CallVoidMethod(lcData->listener, lcData->callStatsUpdatedId, lcData->core, callobj, statsobj); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void transferStateChanged(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState remote_call_state){ JNIEnv *env = 0; @@ -923,10 +893,7 @@ public: ,(jcall=getCall(env,call)) ,env->CallStaticObjectMethod(lcData->callStateClass,lcData->callStateFromIntId,(jint)remote_call_state) ); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void infoReceived(LinphoneCore *lc, LinphoneCall*call, const LinphoneInfoMessage *info){ JNIEnv *env = 0; @@ -944,10 +911,7 @@ public: ,getCall(env,call) ,env->NewObject(lcData->infoMessageClass,lcData->infoMessageCtor,(jlong)copy_info) ); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void subscriptionStateChanged(LinphoneCore *lc, LinphoneEvent *ev, LinphoneSubscriptionState state){ JNIEnv *env = 0; @@ -968,10 +932,7 @@ public: ,jevent ,jstate ); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); if (state==LinphoneSubscriptionTerminated){ /*loose the java reference */ linphone_event_set_user_data(ev,NULL); @@ -997,10 +958,7 @@ public: ,jevent ,jstate ); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void notifyReceived(LinphoneCore *lc, LinphoneEvent *ev, const char *evname, const LinphoneContent *content){ JNIEnv *env = 0; @@ -1020,10 +978,7 @@ public: ,env->NewStringUTF(evname) ,content ? create_java_linphone_content(env,content) : NULL ); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void configuringStatus(LinphoneCore *lc, LinphoneConfiguringState status, const char *message) { @@ -1036,6 +991,7 @@ public: LinphoneCoreVTable *table = linphone_core_get_current_vtable(lc); LinphoneCoreData* lcData = (LinphoneCoreData*)linphone_core_v_table_get_user_data(table); env->CallVoidMethod(lcData->listener, lcData->configuringStateId, lcData->core, env->CallStaticObjectMethod(lcData->configuringStateClass,lcData->configuringStateFromIntId,(jint)status), message ? env->NewStringUTF(message) : NULL); + handle_possible_java_exception(env, lcData->listener); } static void fileTransferProgressIndication(LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent* content, size_t offset, size_t total) { @@ -1059,6 +1015,7 @@ public: if (jcontent) { env->DeleteLocalRef(jcontent); } + handle_possible_java_exception(env, lcData->listener); } static void fileTransferSend(LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent* content, char* buff, size_t* size) { @@ -1087,6 +1044,7 @@ public: if (jbuffer) { env->DeleteLocalRef(jbuffer); } + handle_possible_java_exception(env, lcData->listener); } static void fileTransferRecv(LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent* content, const char* buff, size_t size) { @@ -1114,6 +1072,7 @@ public: if (jcontent) { env->DeleteLocalRef(jcontent); } + handle_possible_java_exception(env, lcData->listener); } static void logCollectionUploadProgressIndication(LinphoneCore *lc, size_t offset, size_t total) { JNIEnv *env = 0; @@ -1129,10 +1088,7 @@ public: ,lcData->core ,(jlong)offset ,(jlong)total); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); } static void logCollectionUploadStateChange(LinphoneCore *lc, LinphoneCoreLogCollectionUploadState state, const char *info) { JNIEnv *env = 0; @@ -1149,14 +1105,20 @@ public: ,lcData->core ,env->CallStaticObjectMethod(lcData->logCollectionUploadStateClass,lcData->logCollectionUploadStateFromIntId,(jint)state), msg); - if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",lcData->listener); - env->ExceptionClear(); - } + handle_possible_java_exception(env, lcData->listener); if (msg) { env->DeleteLocalRef(msg); } } + +private: + static inline void handle_possible_java_exception(JNIEnv *env, jobject listener) + { + if (env->ExceptionCheck()) { + ms_error("Listener %p raised an exception",listener); + env->ExceptionClear(); + } + } }; extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_newLinphoneCore(JNIEnv* env -- 2.1.4 --nextPart1865066.y8uV32hrIg Content-Disposition: attachment; filename="0002-fixed-crash-when-java-sets-log-handler-and-an-except.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0002-fixed-crash-when-java-sets-log-handler-and-an-except.patch" >From 166f8cc1e9456a5b56c154301f98a124fce2f2fe Mon Sep 17 00:00:00 2001 From: Ben Sartor Date: Wed, 13 May 2015 22:39:25 +0200 Subject: [PATCH 2/3] fixed crash when java sets log handler and an exception is thrown --- coreapi/linphonecore_jni.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index 178012a..b71e79d 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -1115,8 +1115,8 @@ private: static inline void handle_possible_java_exception(JNIEnv *env, jobject listener) { if (env->ExceptionCheck()) { - ms_error("Listener %p raised an exception",listener); env->ExceptionClear(); + ms_error("Listener %p raised an exception",listener); } } }; -- 2.1.4 --nextPart1865066.y8uV32hrIg Content-Disposition: attachment; filename="0003-java-exception-handling-in-callbacks-now-logs-backtr.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0003-java-exception-handling-in-callbacks-now-logs-backtr.patch" >From fe9fd862b71f0c8dc5b2a530c0c268ad4ac3150e Mon Sep 17 00:00:00 2001 From: Ben Sartor Date: Wed, 13 May 2015 22:41:04 +0200 Subject: [PATCH 3/3] java exception handling in callbacks now logs backtrace --- coreapi/linphonecore_jni.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index b71e79d..551d073 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -1115,6 +1115,7 @@ private: static inline void handle_possible_java_exception(JNIEnv *env, jobject listener) { if (env->ExceptionCheck()) { + env->ExceptionDescribe(); env->ExceptionClear(); ms_error("Listener %p raised an exception",listener); } -- 2.1.4 --nextPart1865066.y8uV32hrIg-- From MAILER-DAEMON Sat Jun 13 13:18:08 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z3p4K-00016T-Fa for mharc-linphone-developers@gnu.org; Sat, 13 Jun 2015 13:18:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3p4H-00016C-Cc for linphone-developers@nongnu.org; Sat, 13 Jun 2015 13:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3p4F-0005es-TU for linphone-developers@nongnu.org; Sat, 13 Jun 2015 13:18:05 -0400 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:33167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3p4F-0005ej-Mk for linphone-developers@nongnu.org; Sat, 13 Jun 2015 13:18:03 -0400 Received: by oiha141 with SMTP id a141so37565669oih.0 for ; Sat, 13 Jun 2015 10:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YvmVxPVb75mne/YSgHfIALYlzdDYsvRGZaLtoEMC6qs=; b=Njj+AkunzvBDGM5YwbY61gH8MGkdsAoBMUAeqoWKYdRLEyrcnPlwhUe4iJWc/hTAyp D7oSPWozMZVxsEWmOUaeMbR1R4jjWSnEdeNKc+48kgzINzTZZZxVNnQsIGDSs9qY52fg YC3KTxKzjHGOsb2iTQDCx3jQXr1Gu2coEk21H5gEQtF2tadYrJ8FXVJ+mQQMst3XYOCG Z6kpEPj/Rbgep4bC+ONE+CPrsz3IFGyDFA6xU4hyZR6CuAUc2M5E5UtiaIIkXC49yVH1 7Y3/jWxfqaawBnhdWIraX/7/571iCaTWdWferkq0CNcwPsI+hifo/9rwSfx2jtYcaQsk fhGQ== MIME-Version: 1.0 X-Received: by 10.182.91.35 with SMTP id cb3mr14458538obb.87.1434215882792; Sat, 13 Jun 2015 10:18:02 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Sat, 13 Jun 2015 10:18:02 -0700 (PDT) Date: Sat, 13 Jun 2015 11:18:02 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=e89a8f92414e39a3570518696807 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22b Subject: [Linphone-developers] Followup RE: Problem building Linphone from sources X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2015 17:18:06 -0000 --e89a8f92414e39a3570518696807 Content-Type: text/plain; charset=UTF-8 Gautier, Sorry for not responding in the same thread, but I don't see how to do that. The digest instructions and the information on your site for developers only says how to submit questions, as far as I could find. Can you point me to how to respond in a thread? I finally figured out that the problem was that I had previously done the git clone into Windows to try building using minGW, but that didn't work. I just copied those files to Linux, knowing it might not work, but I assumed the compiler would give me an error about the files, not to say the file didn't exist. But git cloning directly in Linux fixed the problem. Sorry for the trouble! Now I can run make in the top linphone-android directory. It starts fine, but hits: Buildfile: /home/whutchi/linphone-android/build.xml No sub-builds to iterate on BUILD FAILED /home/whutchi/android-sdks/tools/ant/build.xml:649: The following error occurred while executing this line: /home/whutchi/android-sdks/tools/ant/build.xml:694: Execute failed: java.io.IOException: Cannot run program /home/whutchi/linphone-android/${aapt}": error=2, No such file or directory I see that line 694 is the last line of this block constructing the aapt: The top-level README and other guides I've seen don't say that the submodules have to be manually built in advance, but I decided to try building the submodules separately. Following the instructions I built the submodules belle-sip and linphone successfully. But I still get the same error message when I try "make" at the top level. What do I need to do? --e89a8f92414e39a3570518696807 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Gau= tier,
=C2= =A0=C2=A0 Sorry for not responding in the same thread, but I don't see = how to do that. The digest instructions and the information on your site fo= r developers only says how to submit questions, as far as I could find. Can= you point me to how to respond in a thread?

=C2=A0=C2=A0 I finally = figured out that the problem was that I had previously done the git clone i= nto Windows to try building using minGW, but that didn't work. I just c= opied those files to Linux, knowing it might not work, but I assumed the co= mpiler would give me an error about the files, not to say the file didn'= ;t exist. But git cloning directly in Linux fixed the problem. Sorry for th= e trouble!

Now I can run make in the top linphone-android directory.= It starts fine, but hits:

Buildfile: /home/whutchi/linphone-android= /build.xml
No sub-builds to iterate on
BUILD FAILED
/home/whutchi/= android-sdks/tools/ant/build.xml:649: The following error occurred while ex= ecuting this line:
/home/whutchi/android-sdks/tools/ant/build.xml:694: E= xecute failed: java.io.IOException: Cannot run program /home/whutchi/linpho= ne-android/${aapt}": error=3D2, No such file or directory

I see= that line 694 is the last line of this block constructing the aapt:
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <aapt executab= le=3D"${aapt}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 comma= nd=3D"package"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 verbo= se=3D"${verbose}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ma= nifest=3D"${out.manifest.abs.file}"
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 originalManifestPackage=3D"${project.app.package}"= ;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 androidjar=3D"${project.= target.android.jar}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rfold= er=3D"${gen.absolute.dir}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 nonConstantId=3D"${android.library}"
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 libraryResFolderPathRefid=3D"project.library.res= .folder.path"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libraryPack= agesRefid=3D"project.library.packages"
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 libraryRFileRefid=3D"project.library.bin.r.file.pat= h"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ignoreAssets=3D"${= aapt.ignore.assets}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 binFo= lder=3D"${out.absolute.dir}"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 proguardFile=3D"${out.absolute.dir}/proguard.txt">
<= br>The top-level README and other guides I've seen don't say that t= he submodules have to be manually built in advance, but I decided to try bu= ilding the submodules separately. Following the instructions I built the su= bmodules belle-sip and linphone successfully. But I still get the same erro= r message when I try "make" at the top level. What do I need to d= o?=C2=A0
--e89a8f92414e39a3570518696807-- From MAILER-DAEMON Mon Jun 15 04:46:43 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4Q2V-0003l0-63 for mharc-linphone-developers@gnu.org; Mon, 15 Jun 2015 04:46:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Q2S-0003kr-G3 for linphone-developers@nongnu.org; Mon, 15 Jun 2015 04:46:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4Q2R-0000Jd-EE for linphone-developers@nongnu.org; Mon, 15 Jun 2015 04:46:40 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Q2R-0000Id-7y for linphone-developers@nongnu.org; Mon, 15 Jun 2015 04:46:39 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:7584:42fb:1f93:20e4] (unknown [IPv6:2a01:e35:2e97:fb90:7584:42fb:1f93:20e4]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6C019A80BE for ; Mon, 15 Jun 2015 10:46:33 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: Date: Mon, 15 Jun 2015 10:46:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] Date and time on the Recent Calls log X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 08:46:41 -0000 Hi, Sure this would be a cool feature but this is not in our schedule right = now. However, you can download the source code and provide us patch to = integrate if you want to make it available to every users: simply clone = repository using: git clone git://git.linphone.org/linphone.git --recursive Cheers, Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 12 Jun 2015, at 18:11, Ryan Griggs wrote: >=20 > Hello, I wanted to offer the suggestion to add the call date and time = to each call listed in the Recent Calls log. It appears to already log = the length of the call, but date/time are nowhere to be found. This is = helpful in auditing and tracking when calls were made. >=20 > Thanks! >=20 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Ryan Griggs > Hilltop Computing > www.hilltop.net > 859-328-3223 > Toll Free: 1 (888) 5-HILLTOP (888-544-5586) > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Mon Jun 15 09:37:22 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4UZm-0006hJ-7x for mharc-linphone-developers@gnu.org; Mon, 15 Jun 2015 09:37:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4UZj-0006hD-II for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:37:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4UZg-0005VH-7h for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:37:19 -0400 Received: from col004-omc4s6.hotmail.com ([65.55.34.208]:53164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4UZf-0005V4-VJ for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:37:16 -0400 Received: from COL130-W31 ([65.55.34.201]) by COL004-OMC4S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 15 Jun 2015 06:37:14 -0700 X-TMN: [Cd8p4E4FSCQ1DXGxflWGSY6msGs78aBrQq67vHkGzmg=] X-Originating-Email: [nir_jntn@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_1aafb7d2-28c6-4e58-9d71-d04967f00751_" From: Yonatan Nir To: "linphone-developers@nongnu.org" Date: Mon, 15 Jun 2015 13:37:14 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jun 2015 13:37:14.0714 (UTC) FILETIME=[63D9D3A0:01D0A770] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 65.55.34.208 Subject: [Linphone-developers] LinphoneChatRoom PeerAddress is not getting updated X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 13:37:20 -0000 --_1aafb7d2-28c6-4e58-9d71-d04967f00751_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C I'm trying to create a new LinphoneChatRoom using this code: public void createNewChatRoom(String destination=2C String name) { LinphoneChatRoom[] rooms =3D core.getChatRooms()=3B for (LinphoneChatRoom room : rooms) { Log.d("name1: " + room.getPeerAddress().getDisplayName())=3B } LinphoneChatRoom room =3D core.getOrCreateChatRoom(destination)=3B if (room !=3D null) { room.getPeerAddress().setDisplayName(name)=3B } rooms =3D core.getChatRooms()=3B for (LinphoneChatRoom room2 : rooms) { Log.d("name2: " + room2.getPeerAddress().getDisplayName())=3B } } During the first iteration on the rooms (name1 iteration) all of the displa= y names I'm getting are null. At the second iteration over the rooms (name2= iteration)=2C There is indeed a new room that was added and the array is += 1 in size=2C but again=2C all the display names are null even though I just= set it. Why is this happening? Mike = --_1aafb7d2-28c6-4e58-9d71-d04967f00751_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all=2C

I'm trying to c= reate a new LinphoneChatRoom using this code:

public void createNewC= hatRoom(String destination=2C String name)
 =3B =3B =3B { =3B =3B =3B  =3B =3B =3B LinphoneChatRoom[] rooms= =3D core.getChatRooms()=3B
 =3B =3B =3B  =3B =3B&nb= sp=3B for (LinphoneChatRoom room : rooms)
 =3B =3B =3B  = =3B =3B =3B {
 =3B =3B =3B  =3B =3B =3B =  =3B =3B =3B Log.d("name1: " + room.getPeerAddress().getDisplay= Name())=3B
 =3B =3B =3B  =3B =3B =3B }
 = =3B =3B =3B  =3B =3B =3B LinphoneChatRoom room =3D core= .getOrCreateChatRoom(destination)=3B
 =3B =3B =3B  =3B&n= bsp=3B =3B if (room !=3D null)
 =3B =3B =3B  =3B&nbs= p=3B =3B {
 =3B =3B =3B  =3B =3B =3B  = =3B =3B =3B room.getPeerAddress().setDisplayName(name)=3B
 = =3B =3B =3B  =3B =3B =3B }
 =3B =3B =3B =  =3B =3B =3B rooms =3D core.getChatRooms()=3B
 =3B = =3B =3B  =3B =3B =3B for (LinphoneChatRoom room2 : rooms) =3B =3B =3B  =3B =3B =3B {
 =3B =3B&n= bsp=3B  =3B =3B =3B  =3B =3B =3B Log.d("name2: " + = room2.getPeerAddress().getDisplayName())=3B
 =3B =3B =3B &nb= sp=3B =3B =3B }
 =3B =3B =3B }

During the fir= st iteration on the rooms (name1 iteration) all of the display names I'm ge= tting are null. At the second iteration over the rooms (name2 iteration)=2C= There is indeed a new room that was added and the array is +1 in size=2C b= ut again=2C all the display names are null even though I just set it.
Wh= y is this happening?

Mike
= --_1aafb7d2-28c6-4e58-9d71-d04967f00751_-- From MAILER-DAEMON Mon Jun 15 09:40:17 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4Ucb-0007EM-LM for mharc-linphone-developers@gnu.org; Mon, 15 Jun 2015 09:40:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4UcZ-0007E3-QP for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:40:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4UcX-0006Xs-54 for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:40:15 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:35192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4UcW-0006WZ-U9 for linphone-developers@nongnu.org; Mon, 15 Jun 2015 09:40:13 -0400 Received: by wiga1 with SMTP id a1so78089356wig.0 for ; Mon, 15 Jun 2015 06:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=zv+7spFUVlxoGuvPblAumVGaxFChWJtWXyckE9v3RKg=; b=02DJBPzLFDJqGRU6Ve4Hn2Rk0R8vB4w06VsfxW4J8yqEQ0pfE5/0pFniRLUjXxFNQ0 vnoQVT4785RURGJ1VXzSBozD6keTBd9mHp5XHeOmsJgBx22/gXZag53ORrE7F/EI1gnu lB3AfQod9A8zAV9McOZRC2nRlaiDMfsD3qvOXotSP3S8q/+d1wEGddCaka60BJM00wH9 OfkKlKPHQ30sVwaYCmcGjCujxehrlU5BHFSvTQYzjtIvyyXN5ghjCOOGrE12rcHFppM7 s0BATHveConPcNlXXjG0CuZhUwyPe2V1hy7BLBjRz7vUs/WH/OkcKHGAfMX8HhR8cUZ4 IP/Q== X-Received: by 10.180.100.164 with SMTP id ez4mr32178716wib.53.1434375611622; Mon, 15 Jun 2015 06:40:11 -0700 (PDT) Received: from [192.168.0.102] (host239-210-dynamic.244-95-r.retail.telecomitalia.it. [95.244.210.239]) by mx.google.com with ESMTPSA id qq1sm14374743wjc.0.2015.06.15.06.40.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 06:40:10 -0700 (PDT) Message-ID: <557ED5B9.5070002@gmail.com> Date: Mon, 15 Jun 2015 15:40:09 +0200 From: Giuseppe Persico User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22c Subject: [Linphone-developers] linphone callable from PHP X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 13:40:16 -0000 Hi everybody! For those who are interested in using liblinphone in PHP, I'm developing a PHP extension, downloadable and usable from here: https://github.com/JosephP91/phplinphone From MAILER-DAEMON Tue Jun 16 01:26:28 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4jOG-0001Mt-PX for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 01:26:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4jOE-0001MF-6X for linphone-developers@nongnu.org; Tue, 16 Jun 2015 01:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4jO9-0002Ha-3j for linphone-developers@nongnu.org; Tue, 16 Jun 2015 01:26:26 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:34990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4jO8-0002HI-W6 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 01:26:21 -0400 Received: by iesa3 with SMTP id a3so6107615ies.2 for ; Mon, 15 Jun 2015 22:26:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ZBxbNH/jKPXanGdWuyvOyyhn5HHyVgZDB2kDZeTeZyo=; b=UKUjbX6BwWrG/4TSWrI97F9clA1Xw3aM+0AS3WqDyEPuglHmBAhnvsDPrvp5Ul3KlM pJPtQZVS/bTGf4nywXOv8QDCDdaPL6WEN3Kx1wX83ZZZt+3XOp69b4OhxoK0zTN1Mr5e W+P2zP2YKeN228K8ZeG9pcDsM3jh/vpdCcNPp/lQ0xLjN3SKDuxor/VKa7UyYVA35Dif AETASOU94JQWBWjb7piLPxZ1zRYlmLC2YDYBLNmmCXs1scGhMIqnKkLcAvhoNmk38QDM 6bd1unh2zSebeTEbwi51Wk2YSvZN59HYTag7zrSdmEVdptQswj8J6bMsr7Yt3RgFYwwo 6b9Q== X-Gm-Message-State: ALoCoQnRn6qpCKqxHfn1spAUbtu66ei7gY5HhTYNkNh77zu/ANlTQyf/sD6ZX5m02N/Fmu+Tt1Qb MIME-Version: 1.0 X-Received: by 10.107.38.149 with SMTP id m143mr39492226iom.49.1434432379773; Mon, 15 Jun 2015 22:26:19 -0700 (PDT) Received: by 10.64.137.6 with HTTP; Mon, 15 Jun 2015 22:26:19 -0700 (PDT) Date: Tue, 16 Jun 2015 10:56:19 +0530 Message-ID: From: Shruti Goyal To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a11409d42737ced05189bd062 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.174 Subject: [Linphone-developers] Linphone Android settings order and change package name X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 05:26:27 -0000 --001a11409d42737ced05189bd062 Content-Type: text/plain; charset=UTF-8 Hi Linphone dev, I have 2 question which are as follows :- 1. How can we *change the order of audio codecs in the Settings* screen -> Audio -> Codecs list ? From where is the audio codecs list is being inflated in the preferece list? 2. In the README document, there some steps given to create an apk with different package name, I performed all those steps and run the make command and installed the apk in device. Then I tried to install LINPHONE application from Play Store, it is showing me that it is already installed. That means the *package name has not been modified*. Any idea on this? *With Warm Regards,* Shruti Goyal VVDN Technologies Pvt Ltd *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 --001a11409d42737ced05189bd062 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Linphone dev,
=
I have 2 question wh= ich are as follows :-

  1. How can we change the order of audio codecs in the Settings screen= -> Audio -> Codecs list ? From where is the audio codecs list is bei= ng inflated in the preferece list?

  2. In the README document, there some steps given to create an= apk with different package name, I performed all those steps and run the m= ake command and installed the apk in device. Then I tried to install LINPHO= NE application from Play Store, it is showing me that it is already install= ed. That means the package name has not been modified. Any idea on t= his?



With Warm Rega= rds,

Shruti Goy= al

VVDN Technologies= Pvt Ltd

Cell :=C2=A0+91 98720= 48482 |=C2=A0Skype :=C2=A0shrutigoyal703


--001a11409d42737ced05189bd062-- From MAILER-DAEMON Tue Jun 16 02:59:04 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4kps-0000cQ-7B for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 02:59:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4kpp-0000b8-K8 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 02:59:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4kpl-0003Fe-L7 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 02:59:01 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:33008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4kpl-0003FK-ER for linphone-developers@nongnu.org; Tue, 16 Jun 2015 02:58:57 -0400 Received: from mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.135]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 04A2241C06A for ; Tue, 16 Jun 2015 08:58:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter6-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter6-d.gandi.net (mfilter6-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id n5RAPnK6IbXI for ; Tue, 16 Jun 2015 08:58:54 +0200 (CEST) X-Originating-IP: 82.233.127.185 Received: from [192.168.0.195] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: jehan.monnier@belledonne-communications.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8907741C075 for ; Tue, 16 Jun 2015 08:58:54 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: jehan monnier In-Reply-To: <1433399052343-201091.post@n7.nabble.com> Date: Tue, 16 Jun 2015 08:58:53 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1433399052343-201091.post@n7.nabble.com> To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::197 Subject: Re: [Linphone-developers] Multicast Call on iOS and Android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 06:59:02 -0000 hi, > Le 4 juin 2015 =C3=A0 08:24, powerqian a =C3=A9crit = : >=20 > Dear Linphone developers: >=20 > Recently we want to make use of the multicast feature in liblinphone. = I have > some questions related to it. >=20 > 1. Based on the documentation at > = http://www.linphone.org/docs/liblinphone/group__media__parameters.html, > caller will set a multicast IP address, and enable multicast. Does = that > means after setting the multicast IP address and enable multicast, all = the > outgoing calls will send to that multicast address? Yes >=20 > 2. As for the callee side, how does he register for an IP address to = receive > a multicast call? Is that the job of SIP server (e.g. Asterisks) to > multicast those INVITEs to callee? >=20 Nothing to do, Linphone automatically switches in multicast mode if = offered by the caller > 3. Does the multicast support grouping? For example A, B, and C are in = group > X, and B, C, and D are in group Y. When C make a multicast call to = group Y, > only B and D will receive the call.=20 Well, we don=E2=80=99t really tested this configuration >=20 > Some examples is really appreciated. Thanks in advance! >=20 >=20 Best regards >=20 > -- > View this message in context: = http://nongnu.13855.n7.nabble.com/Multicast-Call-on-iOS-and-Android-tp2010= 91.html > Sent from the linphone-developers mailing list archive at Nabble.com. >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Tue Jun 16 03:14:13 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4l4X-0004lB-EJ for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 03:14:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4l4U-0004kW-Eb for linphone-developers@nongnu.org; Tue, 16 Jun 2015 03:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4l4O-0001pM-GE for linphone-developers@nongnu.org; Tue, 16 Jun 2015 03:14:10 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:33090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4l4O-0001pI-Ax for linphone-developers@nongnu.org; Tue, 16 Jun 2015 03:14:04 -0400 Received: by igbos3 with SMTP id os3so37154353igb.0 for ; Tue, 16 Jun 2015 00:14:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=fi5s87b5T4Wmbeya6U8u/a9C1EbHo6U3hhJ4t75Nh1A=; b=SrAPTqu6R7j7HacmsWzyfTfX79oNGJpmZdHf/1xmqWUyqO0I8mt/2+9zF+2l+dDkoz jmadreXJ5G2bnGf+mD+/E6CSRhDe46Q6Cxt88i4267rZca85byQgs9XU+5f2f7J3AltB uu5p4FaY4uAx7Ar1BlqlSLF+Jf2DAd5onmxB0J6AObtYTir1UvkxXI/I7M93xgRVfV/q jDXJQgi+9sWiNwu/w2BTCedy+yIqCwnu+Dd7vnpvSK/BBuhD/Tb9ELiwr+hvC/QofYaQ Cvofvwc8X0IWnFyXfNRuK4ll9Gt5QfOUk3UiFccermNPMcrPBiiiKm0qcsCl7g3GCNdL ySQA== X-Gm-Message-State: ALoCoQncCvtrsk504m763rYE3SwQ9zMbptuwCvcFm5uO6iitA1CxTHNVYsQaUSAWhWWpKB1tCoRm MIME-Version: 1.0 X-Received: by 10.42.204.4 with SMTP id fk4mr1310058icb.72.1434438843804; Tue, 16 Jun 2015 00:14:03 -0700 (PDT) Received: by 10.64.137.6 with HTTP; Tue, 16 Jun 2015 00:14:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jun 2015 12:44:03 +0530 Message-ID: From: Shruti Goyal To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=20cf30434842bcc4ac05189d5126 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.170 Subject: Re: [Linphone-developers] Linphone Android settings order and change package name X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 07:14:11 -0000 --20cf30434842bcc4ac05189d5126 Content-Type: text/plain; charset=UTF-8 Need the #1 issue to be resolved *ASAP*. it is an urgent requirement. Please help me if anybody know something about it. *With Warm Regards,* Shruti Goyal VVDN Technologies Pvt Ltd *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 On Tue, Jun 16, 2015 at 10:56 AM, Shruti Goyal wrote: > Hi Linphone dev, > > I have 2 question which are as follows :- > > > 1. How can we *change the order of audio codecs in the Settings* > screen -> Audio -> Codecs list ? From where is the audio codecs list is > being inflated in the preferece list? > > 2. In the README document, there some steps given to create an apk > with different package name, I performed all those steps and run the make > command and installed the apk in device. Then I tried to install LINPHONE > application from Play Store, it is showing me that it is already installed. > That means the *package name has not been modified*. Any idea on this? > > > > *With Warm Regards,* > > Shruti Goyal > > VVDN Technologies Pvt Ltd > > *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 > > --20cf30434842bcc4ac05189d5126 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Need the #1 iss= ue to be resolved ASAP. it is an urgent requirement.

Please help me if anybody know something about it.


With Warm Regards,=

Shruti Goyal

VVDN Technologies Pvt= Ltd

Cell :=C2=A0+91 987204848= 2 |=C2=A0Skype :=C2=A0shrutigoyal703



On Tue, Jun 16, 2015 at 10:56 AM, Shruti Goy= al <shruti.goyal@vvdntech.com> wrote:
= Hi Linphone dev,

= I have 2 question which are as follows :-

  1. How can we change the order of audio codecs in the= Settings screen -> Audio -> Codecs list ? From where is the audi= o codecs list is being inflated in the preferece list?

  2. <= li>In the README document, there some step= s given to create an apk with different package name, I performed all those= steps and run the make command and installed the apk in device. Then I tri= ed to install LINPHONE application from Play Store, it is showing me that i= t is already installed. That means the package name has not been modifie= d. Any idea on this?


=


<= /b>

With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt L= td

= Cell :=C2=A0+91 9872048482 = |=C2=A0Skype :=C2=A0shrutigoyal703



--20cf30434842bcc4ac05189d5126-- From MAILER-DAEMON Tue Jun 16 09:21:10 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4qne-0000Cc-Se for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 09:21:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4qnb-0000Bs-7I for linphone-developers@nongnu.org; Tue, 16 Jun 2015 09:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4qnX-00031L-U7 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 09:21:07 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:36325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4qnX-000306-GA for linphone-developers@nongnu.org; Tue, 16 Jun 2015 09:21:03 -0400 Received: from mfilter30-d.gandi.net (mfilter30-d.gandi.net [217.70.178.161]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 642821720BC for ; Tue, 16 Jun 2015 15:21:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter30-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter30-d.gandi.net (mfilter30-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id xXW6aQhla4sk for ; Tue, 16 Jun 2015 15:20:59 +0200 (CEST) X-Originating-IP: 82.233.127.185 Received: from [192.168.0.122] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: margaux.clerc@belledonne-communications.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 76C3A1720CE for ; Tue, 16 Jun 2015 15:20:59 +0200 (CEST) From: Margaux Clerc Content-Type: multipart/alternative; boundary="Apple-Mail=_345C9A75-33F4-4EF7-A21E-1D47B64E540C" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Date: Tue, 16 Jun 2015 15:20:58 +0200 References: <3541265.P1XdOeRtnQ@compi> <14797153.8sum3huZEc@compi> To: linphone-developers@nongnu.org In-Reply-To: <14797153.8sum3huZEc@compi> X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: Re: [Linphone-developers] liblinphone java exeception handling in call backs X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 13:21:08 -0000 --Apple-Mail=_345C9A75-33F4-4EF7-A21E-1D47B64E540C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Ben, Thanks , your patches are in Linphone master now. Best regards, -- Margaux CLERC www.belledonne-communications.com > Le 12 juin 2015 =C3=A0 23:12, Ben Sartor a =C3=A9crit = : >=20 > Hi, >=20 > I have just rebased my patches to the current master. >=20 > Kind regards, > Ben Sartor >=20 >> Hi, >>=20 >> I'm having trouble seeing java exceptions in the log file when they = are >> thrown in a linphone callback. This code snippet should help, to = explain >> what I mean: >>=20 >> @Override >> public void callState(LinphoneCore lc, LinphoneCall call, >> LinphoneCall.State state, String message) >> { >> final LinphoneCallStats stats =3D call.getAudioStats(); >> Log.i("bandwidth: down=3D", stats.getDownloadBandwidth(), >> " up=3D", stats.getUploadBandwidth()); >> // ... >> } >>=20 >> If getAudioStats() returns null, a NullPointerException will be = thrown and >> the execution aborts. If you have liblinphone's debug logging = enabled, you >> will see s.th. like this in your log: >>=20 >> E DEBUG : Listener 0x100c6e raised an exception >>=20 >> Without having liblinphone's debug logging enabled, nothing is = logged. Which >> makes it hard to debug for android developers. >>=20 >> Attached are some patches which add a java backtrace of the exception = to the >> log even if liblinphones debug logging is not enabled. >>=20 >> What do think? Would it be possible to merge the patches? >>=20 >> Kind regards, >> Ben Sartor >=20 > --=20 > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94 > https://www.simlar.org > free and secure calls >=20 > fon: +49-(0)221-999 999 30 > fax: +49-(0)221-999 999 31 =20 > mail: ben@simlar.org >=20 > github: https://github.com/simlar/ > = =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94<0001-unified-java-exception-handling-in-callbacks.pa= tch><0002-fixed-crash-when-java-sets-log-handler-and-an-except.patch><0003= -java-exception-handling-in-callbacks-now-logs-backtr.patch>______________= _________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers = --Apple-Mail=_345C9A75-33F4-4EF7-A21E-1D47B64E540C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Ben,

Thanks , your patches = are in Linphone master now.
Best regards,


Le 12 juin 2015 =C3=A0 23:12, Ben Sartor <ben@simlar.org> a = =C3=A9crit :

Hi,

I have just rebased my patches to the current = master.

Kind regards,
Ben Sartor

Hi,

I'm having trouble seeing java exceptions in the log file = when they are
thrown in a linphone callback. This code = snippet should help, to explain
what I mean:

@Override
public void = callState(LinphoneCore lc, LinphoneCall call,
          &nb= sp;          LinphoneCal= l.State state, String message)
{
   final LinphoneCallStats stats =3D = call.getAudioStats();
   Log.i("bandwidth: = down=3D", stats.getDownloadBandwidth(),
         " up=3D",= stats.getUploadBandwidth());
   // ...
}

If getAudioStats() returns = null, a NullPointerException will be thrown and
the = execution aborts. If you have liblinphone's debug logging enabled, = you
will see s.th. = like this in your log:

E DEBUG =   : Listener 0x100c6e raised an exception

Without having liblinphone's debug logging enabled, nothing = is logged. Which
makes it hard to debug for android = developers.

Attached are some patches which = add a java backtrace of the exception to the
log even if = liblinphones debug logging is not enabled.

What do think? Would it be possible to merge the patches?

Kind regards,
Ben Sartor

-- 
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94
https://www.simlar.org
free and secure calls

fon: +49-(0)221-999 999 30
fax: +49-(0)221-999 999 31 =             &n= bsp;           &nbs= p;         
mail: ben@simlar.org

github: https://github.com/simlar/
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94<0001-unified-ja= va-exception-handling-in-callbacks.patch><0002-fixed-cras= h-when-java-sets-log-handler-and-an-except.patch><0003-java-excep= tion-handling-in-callbacks-now-logs-backtr.patch>_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

= --Apple-Mail=_345C9A75-33F4-4EF7-A21E-1D47B64E540C-- From MAILER-DAEMON Tue Jun 16 11:00:42 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4sLy-0007KP-U4 for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 11:00:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4sLw-0007Iv-5N for Linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4sLs-00080n-0S for Linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:00:40 -0400 Received: from forward25j.cmail.yandex.net ([5.255.227.61]:49536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4sLr-00080X-Mr for Linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:00:35 -0400 Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [IPv6:2a02:6b8:0:801:1::10]) by forward25j.cmail.yandex.net (Yandex) with ESMTP id 89C97809DB for ; Tue, 16 Jun 2015 18:00:32 +0300 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 60FF67E1B52 for ; Tue, 16 Jun 2015 18:00:32 +0300 (MSK) Received: from srvbch.mcn.ru (srvbch.mcn.ru [85.94.32.98]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3PcrI6jNhQ-0VKC6hmj; Tue, 16 Jun 2015 18:00:31 +0300 (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1434466831; bh=6sQPy3XDhvMuOAY7IDhMFqzRrRRPejcAoU2ONR1rnvE=; h=Date:From:To:Subject:Message-Id:Organization:X-Mailer: Mime-Version:Content-Type:Content-Transfer-Encoding; b=dpU6eIKHt538YeZVN7XrSQOjUOwZWmb9oZrwZAZ//pvopge0pWfHjDY5c1DT8GzY+ erzEa1vz+PN5hBr8JyS7R0ai+p3cHoYfUfD5tTY5CQ2g2al8CJowe75OLxg29fO/yO XL6AictUdnYUj7lY8FS4YFV0u+/Yc1ZAOJ46ynEo= Authentication-Results: smtp11.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Tue, 16 Jun 2015 18:00:31 +0300 From: "Konstantin.O" To: Linphone-developers@nongnu.org Message-Id: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> Organization: MCN X-Mailer: Sylpheed 3.5.0beta2 (GTK+ 2.24.23; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 5.255.227.61 Subject: [Linphone-developers] Are PCMA and PCMU working in android version? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 15:00:41 -0000 Hi Linphone Developer! Yesterday I cloned from Git and built latest Linphone for Android, exactly as it is hinted in README.md. It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX. I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, G722 in list. There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE message. I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE from Linphone to asterisk: A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472 INVITE sip:100000@Q.W.E.R SIP/2.0 Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport From: ;tag=-GsMdk1kU To: sip:100000@Q.W.E.R CSeq: 21 INVITE Call-ID: MFuoHrcVVt Max-Forwards: 70 Supported: outbound Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE Content-Type: application/sdp Content-Length: 1692 Contact: ;+sip.instance="" User-Agent: LinphoneIphone/X Authorization: Digest realm="ASTASTAST", nonce="aa372dce", algorithm=MD5, username="20029", uri="sip:100000@Q.W.E.R", response="1eb25ee20e29e7f87be9542eed3d0e18" v=0 o=20029 3033 2572 IN IP4 192.168.2.224 s=Talk c=IN IP4 192.168.2.224 b=AS:512 t=0 0 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113 a=rtpmap:96 opus/48000/2 a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0 a=rtpmap:97 SILK/16000 a=rtpmap:98 speex/16000 a=fmtp:98 vbr=on a=rtpmap:99 speex/8000 a=fmtp:99 vbr=on a=rtpmap:100 iLBC/8000 a=fmtp:100 mode=30 a=rtpmap:102 mpeg4-generic/16000 a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5 a=rtpmap:103 mpeg4-generi[|sip] My questions are: 1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in Android version of Linphone? 2. How can I add other codes, say, Codec2? -- Konstantin From MAILER-DAEMON Tue Jun 16 11:39:26 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4sxS-0004DC-4u for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 11:39:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4sxL-0004Ba-D8 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:39:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4sxJ-0003Su-IU for linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:39:18 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:35916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4sxJ-0003Sf-7e for linphone-developers@nongnu.org; Tue, 16 Jun 2015 11:39:17 -0400 Received: by wicnd19 with SMTP id nd19so2209749wic.1 for ; Tue, 16 Jun 2015 08:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=obtwrOyRSpWc/GiCxmFd03BIw7PdDi5+hrDDlSEID04=; b=gfISidE+AAB19D6RGN9PLaxi2Wd7ISkPWLoTBbKa4yTuRXz6ISLkAwyKFmWI1x/O+M VeomQB5BnswCMQRrp5b9lvCuem4mOihaUh52vPKIIoSiT5JBTa/Kr3Tj4HdRfUQQCF6z 3nFS/GymOecx0fnsdpf49+bDOt34oyk+Q/RDt/38jtEO4TZp28NTyp1agoVLd4uUxGNg 9soqEMaLDFg4lb1GSSHyeg3RPnedY8zu6veKOZ2pxWpKdrLzKu9q1OcLSDRCQc6/kS7a DJcAyjz4yysleNWQeonGMO+MWtFsWyJydBtLqzxMpKYK41A0p8/F4GMjVkZninV4pFGv Yb0A== X-Received: by 10.180.107.138 with SMTP id hc10mr7975852wib.2.1434469156192; Tue, 16 Jun 2015 08:39:16 -0700 (PDT) Received: from ?IPv6:2a01:e35:2e97:fb90:8500:1f3:9441:e27a? ([2a01:e35:2e97:fb90:8500:1f3:9441:e27a]) by mx.google.com with ESMTPSA id pg1sm2204674wjb.39.2015.06.16.08.39.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 08:39:15 -0700 (PDT) Sender: Ghislain Mary Message-ID: <55804327.8080501@linphone.org> Date: Tue, 16 Jun 2015 17:39:19 +0200 From: Ghislain MARY Organization: Linphone User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> In-Reply-To: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> Content-Type: multipart/alternative; boundary="------------090503090401070606040808" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 15:39:25 -0000 This is a multi-part message in MIME format. --------------090503090401070606040808 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hi, The payload type numbers for PCMA, PCMU, GSM and G722 are static, respectively (8, 0, 3 and 9). In your example of INVITE they appear correctly in: m=audio 7078 RTP/AVP 96 97 98 99*0 8 3 9* 100 102 103 104 105 106 107 101 108 109 110 111 112 113 These codecs are included in Linphone for Android. However it appears you are using SIP over UDP and have enabled all the codecs. This can not work because the INVITE packet will get truncated, which appears to be the case in your example. To fix this, enable only the codecs you want or even better use TCP or TLS as the SIP transport. To add more codecs, you will need to write a mediastreamer2 filter either built-in mediastreamer2 or as a mediastreamer2 plugin. Take a look at mediastreamer2 code to see how it is done. Cheers, Ghislain Le 16/06/2015 17:00, Konstantin.O a écrit : > Hi Linphone Developer! > > Yesterday I cloned from Git and built latest Linphone for Android, exactly as it is hinted in README.md. > It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX. > I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, G722 in list. > There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE message. > I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE from Linphone to asterisk: > > A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472 > INVITE sip:100000@Q.W.E.R SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport > From: ;tag=-GsMdk1kU > To: sip:100000@Q.W.E.R > CSeq: 21 INVITE > Call-ID: MFuoHrcVVt > Max-Forwards: 70 > Supported: outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 1692 > Contact: ;+sip.instance="" > User-Agent: LinphoneIphone/X > Authorization: Digest realm="ASTASTAST", nonce="aa372dce", algorithm=MD5, username="20029", uri="sip:100000@Q.W.E.R", response="1eb25ee20e29e7f87be9542eed3d0e18" > > v=0 > o=20029 3033 2572 IN IP4 192.168.2.224 > s=Talk > c=IN IP4 192.168.2.224 > b=AS:512 > t=0 0 > a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics > m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113 > a=rtpmap:96 opus/48000/2 > a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0 > a=rtpmap:97 SILK/16000 > a=rtpmap:98 speex/16000 > a=fmtp:98 vbr=on > a=rtpmap:99 speex/8000 > a=fmtp:99 vbr=on > a=rtpmap:100 iLBC/8000 > a=fmtp:100 mode=30 > a=rtpmap:102 mpeg4-generic/16000 > a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5 > a=rtpmap:103 mpeg4-generi[|sip] > > My questions are: > > 1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in Android version of Linphone? > > 2. How can I add other codes, say, Codec2? > --------------090503090401070606040808 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Hi,

The payload type numbers for PCMA, PCMU, GSM and G722 are static, respectively (8, 0, 3 and 9). In your example of INVITE they appear correctly in:
m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113
These codecs are included in Linphone for Android.
However it appears you are using SIP over UDP and have enabled all the codecs. This can not work because the INVITE packet will get truncated, which appears to be the case in your example. To fix this, enable only the codecs you want or even better use TCP or TLS as the SIP transport.

To add more codecs, you will need to write a mediastreamer2 filter either built-in mediastreamer2 or as a mediastreamer2 plugin. Take a look at mediastreamer2 code to see how it is done.

Cheers,
Ghislain

Le 16/06/2015 17:00, Konstantin.O a écrit :
Hi Linphone Developer!

Yesterday I cloned from Git and built latest Linphone for Android, exactly as it is hinted in README.md.
It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX.
I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, G722 in list.
There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE message.
I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE from Linphone to asterisk:

     A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472
        INVITE sip:100000@Q.W.E.R SIP/2.0
        Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport
        From: <sip:20029@Q.W.E.R>;tag=-GsMdk1kU
        To: sip:100000@Q.W.E.R
        CSeq: 21 INVITE
        Call-ID: MFuoHrcVVt
        Max-Forwards: 70
        Supported: outbound
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
        Content-Type: application/sdp
        Content-Length: 1692
        Contact: <sip:20029@A.B.C.D:60191>;+sip.instance="<urn:uuid:2523207c-9b19-3451-8a48-60bf318684eb>"
        User-Agent: LinphoneIphone/X
        Authorization:  Digest realm="ASTASTAST", nonce="aa372dce", algorithm=MD5, username="20029",  uri="sip:100000@Q.W.E.R", response="1eb25ee20e29e7f87be9542eed3d0e18"

        v=0
        o=20029 3033 2572 IN IP4 192.168.2.224
        s=Talk
        c=IN IP4 192.168.2.224
        b=AS:512
        t=0 0
        a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
        m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113
        a=rtpmap:96 opus/48000/2
        a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0
        a=rtpmap:97 SILK/16000
        a=rtpmap:98 speex/16000
        a=fmtp:98 vbr=on
        a=rtpmap:99 speex/8000
        a=fmtp:99 vbr=on
        a=rtpmap:100 iLBC/8000
        a=fmtp:100 mode=30
        a=rtpmap:102 mpeg4-generic/16000
        a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5
        a=rtpmap:103 mpeg4-generi[|sip]

My questions are:

1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in Android version of Linphone?

2. How can I add other codes, say, Codec2?


--------------090503090401070606040808-- From MAILER-DAEMON Tue Jun 16 18:31:52 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4zOa-0003O7-90 for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 18:31:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4zOX-0003Ng-B6 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 18:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4zOT-00044k-Fu for linphone-developers@nongnu.org; Tue, 16 Jun 2015 18:31:49 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:34397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4zOT-00044S-8n for linphone-developers@nongnu.org; Tue, 16 Jun 2015 18:31:45 -0400 Received: by obbsn1 with SMTP id sn1so21470950obb.1 for ; Tue, 16 Jun 2015 15:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ECv8kK76+ERoFGhNwEwHOUFU9nkA/+Etd+80M8PpbKQ=; b=HAcntufjkZZgFpYqR1c2oT4kxBbar5pm02rJnVWBmzUd3JqmUS/cp2WHomVEoi4KCg uhVp0wbg/UonkTgGw74RX227rdWj4vWU4dhJSXKMXZxq5viFGicOrdREoFUNd/AKNyy8 uF85ukg+IhGnMqs/miSLj12g89DghrkV4/LAjVqhiQKP6uK9Nw7UuIzRvJ3zciF6skyQ +b97T66gSaNwULJUsxpncanvWEoxYGQOlCYqRTnmAwodidHXi8Nz7eV6MEkTnv24hR3p 9gJnA1y7RMv3SX43PxJh0mqSVZwx7R2SMnKRofplkjPPDt4Z2sdnLFXnyrY4zWi7tWrU M78w== MIME-Version: 1.0 X-Received: by 10.60.58.136 with SMTP id r8mr2174484oeq.30.1434493904311; Tue, 16 Jun 2015 15:31:44 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Tue, 16 Jun 2015 15:31:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jun 2015 16:31:44 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e013c70909959ef0518aa2349 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22a Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol 148, Issue 19 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 22:31:51 -0000 --089e013c70909959ef0518aa2349 Content-Type: text/plain; charset=UTF-8 RE Thread: linphone-android not building: Member Konstantin suggested a fix to me that had worked for him, and it worked for me: simply create symlinks to the aapt and the other required tools. That almost seems necessary, since the build file is looking in "/linphone-android/${aapt}" for that tool, and of course the tool itself won't be there. It might be helpful to add this to the Readme instructions (or a better fix, assuming there is one) for Linux lightweights like me. Anyway, it built smoothly after that fix. Bill Hutchison On Sun, Jun 14, 2015 at 10:00 AM, wrote: > Send Linphone-developers mailing list submissions to > linphone-developers@nongnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.nongnu.org/mailman/listinfo/linphone-developers > or, via email, send a message with subject or body 'help' to > linphone-developers-request@nongnu.org > > You can reach the person managing the list at > linphone-developers-owner@nongnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Linphone-developers digest..." > > > Today's Topics: > > 1. Followup RE: Problem building Linphone from sources > (William Hutchison) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 13 Jun 2015 11:18:02 -0600 > From: William Hutchison > To: linphone-developers@nongnu.org > Subject: [Linphone-developers] Followup RE: Problem building Linphone > from sources > Message-ID: > B6Fi6RViGF+8Z3EK2GPTkC7NJz-JPdcXufuYAEJF+HO8Nw@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Gautier, > Sorry for not responding in the same thread, but I don't see how to do > that. The digest instructions and the information on your site for > developers only says how to submit questions, as far as I could find. Can > you point me to how to respond in a thread? > > I finally figured out that the problem was that I had previously done > the git clone into Windows to try building using minGW, but that didn't > work. I just copied those files to Linux, knowing it might not work, but I > assumed the compiler would give me an error about the files, not to say the > file didn't exist. But git cloning directly in Linux fixed the problem. > Sorry for the trouble! > > Now I can run make in the top linphone-android directory. It starts fine, > but hits: > > Buildfile: /home/whutchi/linphone-android/build.xml > No sub-builds to iterate on > BUILD FAILED > /home/whutchi/android-sdks/tools/ant/build.xml:649: The following error > occurred while executing this line: > /home/whutchi/android-sdks/tools/ant/build.xml:694: Execute failed: > java.io.IOException: Cannot run program > /home/whutchi/linphone-android/${aapt}": error=2, No such file or directory > > I see that line 694 is the last line of this block constructing the aapt: > command="package" > verbose="${verbose}" > manifest="${out.manifest.abs.file}" > originalManifestPackage="${project.app.package}" > androidjar="${project.target.android.jar}" > rfolder="${gen.absolute.dir}" > nonConstantId="${android.library}" > > libraryResFolderPathRefid="project.library.res.folder.path" > libraryPackagesRefid="project.library.packages" > libraryRFileRefid="project.library.bin.r.file.path" > ignoreAssets="${aapt.ignore.assets}" > binFolder="${out.absolute.dir}" > proguardFile="${out.absolute.dir}/proguard.txt"> > > The top-level README and other guides I've seen don't say that the > submodules have to be manually built in advance, but I decided to try > building the submodules separately. Following the instructions I built the > submodules belle-sip and linphone successfully. But I still get the same > error message when I try "make" at the top level. What do I need to do? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.nongnu.org/archive/html/linphone-developers/attachments/20150613/7b089665/attachment.html > > > > ------------------------------ > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > End of Linphone-developers Digest, Vol 148, Issue 19 > **************************************************** > --089e013c70909959ef0518aa2349 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
RE = Thread: linphone-android not building:

Member Konstantin suggested a fix to me that had worked for h= im, and it worked for me: simply create symlinks to the aapt and the other = required tools.=C2=A0 That almost seems necessary, since the build file is = looking in "/linphone-android/${aapt}" for that tool, and of cour= se the tool itself won't be there. It might be helpful to add this to t= he Readme instructions (or a better fix, assuming there is one) for Linux l= ightweights like me. Anyway, it built smoothly after that fix.=C2=A0
<= div class=3D"gmail_default" style=3D"font-size:small">=C2=A0 =C2=A0 Bill Hu= tchison

On Sun, Jun 14, 2015 at 10:00 AM, <linphone-develo= pers-request@nongnu.org> wrote:
Send Linphone-developers mailing list submissions to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 linphone-developers@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 https://lis= ts.nongnu.org/mailman/listinfo/linphone-developers
or, via email, send a message with subject or body 'help' to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 linphone-developers-request@nongnu.org

You can reach the person managing the list at
=C2=A0 =C2=A0 =C2=A0 =C2=A0 linphone-developers-owner@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-developers digest..."


Today's Topics:

=C2=A0 =C2=A01. Followup RE: Problem building Linphone from=C2=A0 =C2=A0 = =C2=A0 =C2=A0sources
=C2=A0 =C2=A0 =C2=A0 (William Hutchison)


----------------------------------------------------------------------

Message: 1
Date: Sat, 13 Jun 2015 11:18:02 -0600
From: William Hutchison <hutchi= son.w@gmail.com>
To: linphone-developers@n= ongnu.org
Subject: [Linphone-developers] Followup RE: Problem building Linphone
=C2=A0 =C2=A0 =C2=A0 =C2=A0 from=C2=A0 =C2=A0 sources
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAOR=3DB6Fi6RViGF+8Z3EK2GPTkC7NJz= -JPdcXufuYAEJF+HO8Nw@mail.gmail.com>
Content-Type: text/plain; charset=3D"utf-8"

Gautier,
=C2=A0 =C2=A0Sorry for not responding in the same thread, but I don't s= ee how to do
that. The digest instructions and the information on your site for
developers only says how to submit questions, as far as I could find. Can you point me to how to respond in a thread?

=C2=A0 =C2=A0I finally figured out that the problem was that I had previous= ly done
the git clone into Windows to try building using minGW, but that didn't=
work. I just copied those files to Linux, knowing it might not work, but I<= br> assumed the compiler would give me an error about the files, not to say the=
file didn't exist. But git cloning directly in Linux fixed the problem.=
Sorry for the trouble!

Now I can run make in the top linphone-android directory. It starts fine, but hits:

Buildfile: /home/whutchi/linphone-android/build.xml
No sub-builds to iterate on
BUILD FAILED
/home/whutchi/android-sdks/tools/ant/build.xml:649: The following error
occurred while executing this line:
/home/whutchi/android-sdks/tools/ant/build.xml:694: Execute failed:
java.io.IOException: Cannot run program
/home/whutchi/linphone-android/${aapt}": error=3D2, No such file or di= rectory

I see that line 694 is the last line of this block constructing the aapt: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<aapt executable=3D"${aapt= }"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 comma= nd=3D"package"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 verbo= se=3D"${verbose}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 manif= est=3D"${out.manifest.abs.file}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 origi= nalManifestPackage=3D"${project.app.package}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 andro= idjar=3D"${project.target.android.jar}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rfold= er=3D"${gen.absolute.dir}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nonCo= nstantId=3D"${android.library}"

libraryResFolderPathRefid=3D"project.library.res.folder.path"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libra= ryPackagesRefid=3D"project.library.packages"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libra= ryRFileRefid=3D"project.library.bin.r.file.path"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ignor= eAssets=3D"${aapt.ignore.assets}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 binFo= lder=3D"${out.absolute.dir}"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 progu= ardFile=3D"${out.absolute.dir}/proguard.txt">

The top-level README and other guides I've seen don't say that the<= br> submodules have to be manually built in advance, but I decided to try
building the submodules separately. Following the instructions I built the<= br> submodules belle-sip and linphone successfully. But I still get the same error message when I try "make" at the top level. What do I need = to do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/linphone-developers/attach= ments/20150613/7b089665/attachment.html>

------------------------------

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


End of Linphone-developers Digest, Vol 148, Issue 19
****************************************************

--089e013c70909959ef0518aa2349-- From MAILER-DAEMON Tue Jun 16 19:31:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z50K0-0001gN-Dr for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 19:31:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z50Jw-0001fR-Vb for linphone-developers@nongnu.org; Tue, 16 Jun 2015 19:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z50Jt-00054l-Lo for linphone-developers@nongnu.org; Tue, 16 Jun 2015 19:31:08 -0400 Received: from forward14p.cmail.yandex.net ([87.250.241.142]:59455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z50Jt-00053s-63 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 19:31:05 -0400 Received: from web2g.yandex.ru (web2g.yandex.ru [95.108.252.102]) by forward14p.cmail.yandex.net (Yandex) with ESMTP id 4997A22871 for ; Wed, 17 Jun 2015 02:31:03 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web2g.yandex.ru (Yandex) with ESMTP id ECDB548603BD; Wed, 17 Jun 2015 02:31:02 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1434497463; bh=EyJOYj6/ghQCwC3UDgWU/T15DewQycc7jZTLoFEWCnQ=; h=From:To:In-Reply-To:References:Subject:Date; b=pvIEa91N40xzJP4IqWhfqbPSaqpcNzM4h5s9765pqZ136FfmS+UGky6Qlzig8Z/Vl ldI7cZ4QuNtHbsicPdkdmLpMAAf0c/lJp6y17eOhltJ3mhQ97ycLgwGV+Su/CDqZ1E swDaCZmxnd1CNdzdpg7/s0sD8lnK+uf+FOzCJCHA= Received: by web2g.yandex.ru with HTTP; Wed, 17 Jun 2015 02:31:02 +0300 From: Odiemius To: "linphone-developers@nongnu.org" In-Reply-To: <55804327.8080501@linphone.org> References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> MIME-Version: 1.0 Message-Id: <15061434497462@web2g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 17 Jun 2015 02:31:02 +0300 Content-Transfer-Encoding: base64 Content-Type: text/html; charset=utf-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 87.250.241.142 Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 23:31:10 -0000 PGRpdj5IaSw8L2Rpdj48ZGl2PsKgPC9kaXY+PGRpdj5JIHVuZGVyc3RhbmQgeW91ciBhbnN3ZXIs IHdoZW4gSSBjb21wYXJlIExpbnBob25lIHdpdGggb3RoZXIgc29mdHBob25lcyBhbmQgImhhcmR3 YXJlIiBwaG9uZXMsIEkgbXVzdCBub3RlIHRoZXkgYXJlIHNlbmRpbmcgc3RhdGljIHB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mcvbWFpbG1hbi9saXN0aW5m by9saW5waG9uZS1kZXZlbG9wZXJzPC9hPjwvcD48L2Jsb2NrcXVvdGU+PGRpdj7CoDwvZGl2Pjxk aXY+wqA8L2Rpdj48ZGl2Pi0tIDxiciAvPtCvLjwvZGl2PjxkaXY+wqA8L2Rpdj4= From MAILER-DAEMON Tue Jun 16 20:11:42 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z50xC-0002Xg-29 for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 20:11:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z50x7-0002Wy-Sw for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:11:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z50x1-000105-3O for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:11:37 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:35110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z50x0-0000zv-VS for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:11:31 -0400 Received: by qkbp125 with SMTP id p125so13638999qkb.2 for ; Tue, 16 Jun 2015 17:11:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=p+UY/KAuWhrNtR2bNzpgqtn0J2FrLiIAsJKm1W73JOE=; b=fZHNJmJ1Hplg2aHbv2Y7ce29vH27Y78UM+Ao/Eolu7znX2Q/cUdXywGBraosnGRLU9 IO57jcOyl09fmAIDw98b0pp1jRsby3itb+w9ZA8Vlx6UsooEAyavPMsup2j3ezf3uv6X AIxZ2CgWZwsXViRThxlFifZPyoHmZlsXtTDGNr1bxAoEVCQDy46ipi/9EJlP9iU3oQDp StUm1ZCiqL4unfMLGTTqqTJgAZRH364IBQyZjgCY31WaZhkbizXC0zE/VzQDZLKaK0kz s73ltZGv8aQ6rGsNn4Ki7nFOCOcMkptc2VR3d1JSBFFMEer4Z6xKKYY8qr/vZHygTPIU B1ZQ== X-Gm-Message-State: ALoCoQkTI3e0AsAgnTG9raEbJv1N9dpQ0+WvFXcU6Pf+P6lYEOVRRTV4uBo1azpGg53P6Rp3aYSl MIME-Version: 1.0 X-Received: by 10.55.43.75 with SMTP id r72mr3655977qkh.80.1434499890159; Tue, 16 Jun 2015 17:11:30 -0700 (PDT) Received: by 10.96.246.42 with HTTP; Tue, 16 Jun 2015 17:11:30 -0700 (PDT) X-Originating-IP: [24.212.188.183] In-Reply-To: <15061434497462@web2g.yandex.ru> References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> Date: Tue, 16 Jun 2015 20:11:30 -0400 Message-ID: From: Russell Treleaven To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1147732e623bfe0518ab88c6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.173 Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 00:11:40 -0000 --001a1147732e623bfe0518ab88c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable why would you want to? On Tue, Jun 16, 2015 at 7:31 PM, Odiemius wrote: > Hi, > > I understand your answer, when I compare Linphone with other softphones > and "hardware" phones, I must note they are sending static payloads in > attributes too. > When asterisk call for other asterisk they are exchanging with a complete > list of attributes, including static payloads. > > Then I have next question: > > How I can force Linphone to include static payloads into attributes and > send complete list info in INVITE, being even excessive? > > I tried to disable allmost all codecs, just PCMU, PCMA, G722 and GSM were > left enabled, and it failed again to make a call to my asterisk with the > same error: > > ASTER*CLI> > =3D=3D Using SIP VIDEO CoS mark 4 > =3D=3D Using SIP RTP CoS mark 6 > =3D=3D Using UDPTL CoS mark 6 > [2015-06-17 02:11:11.255] NOTICE[20959][C-000000da]: chan_sip.c:10542 > process_sdp: No compatible codecs, not accepting this offer! > =3D=3D Using SIP VIDEO CoS mark 4 > =3D=3D Using SIP RTP CoS mark 6 > =3D=3D Using UDPTL CoS mark 6 > [2015-06-17 02:11:11.352] NOTICE[20959][C-000000db]: chan_sip.c:10109 > process_sdp: Received AVP profile in audio answer but AVPF is enabled, > disabling: audio 7076 RTP/AVP 8 9 3 0 101 > [2015-06-17 02:11:11.354] NOTICE[20959][C-000000db]: chan_sip.c:10542 > process_sdp: No compatible codecs, not accepting this offer! > ASTER*CLI> > From tcpdump this session looks like: > > IP A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 834 > INVITE sip: INVITE sip:100000@Q.W.E.R SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.2:5060;branch=3Dz9hE6bK.JvY1i7rdC;rport > From: ;tag=3Dir~AGdkap > To: sip:10008@Q.W.E.R > CSeq: 20 INVITE > Call-ID: 70dukWC1PS > Max-Forwards: 70 > Supported: outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 260 > Contact: :1032>;+sip.instance=3D"" > User-Agent: LinphoneAndroid/2.4.1-3-g77a0dc6 (belle-sip/1.4.1) > > v=3D0 > o=3D20026 2428 43 IN IP4 192.168.2.2 > s=3DTalk > c=3DIN IP4 192.168.2.2 > b=3DAS:380 > t=3D0 0 > a=3Drtcp-xr:rcvr-rtt=3Dall:10000 stat-summary=3Dloss,dup,jitt,TTL voip-me= trics > m=3Daudio 7076 RTP/AVPF 8 9 3 0 101 > a=3Drtpmap:101 telephone-event/8000 > a=3Drtcp-fb:* trr-int 3000 > This one SIP INVITE does fits into one UDP-packet. > > 16.06.2015, 18:39, "Ghislain MARY" : > > Hi, > > The payload type numbers for PCMA, PCMU, GSM and G722 are static, > respectively (8, 0, 3 and 9). In your example of INVITE they appear > correctly in: > > m=3Daudio 7078 RTP/AVP 96 97 98 99 > > *0 8 3 9* > > 100 102 103 104 105 106 107 101 108 109 110 111 112 113 > > These codecs are included in Linphone for Android. > However it appears you are using SIP over UDP and have enabled all the > codecs. This can not work because the INVITE packet will get truncated, > which appears to be the case in your example. To fix this, enable only th= e > codecs you want or even better use TCP or TLS as the SIP transport. > > To add more codecs, you will need to write a mediastreamer2 filter either > built-in mediastreamer2 or as a mediastreamer2 plugin. Take a look at > mediastreamer2 code to see how it is done. > > Cheers, > Ghislain > > Le 16/06/2015 17:00, Konstantin.O a =C3=A9crit : > > Hi Linphone Developer! > > Yesterday I cloned from Git and built latest Linphone for Android, exactl= y as it is hinted in README.md. > It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and= SPEEX. > I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G= 726, G722 in list. > There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INV= ITE message. > I used tcpdump to examine SIP dialogs with asterisk, here is example of I= NVITE from Linphone to asterisk: > > A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472 > INVITE sip:100000@Q.W.E.R SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.2:60191;branch=3Dz9hs4bK.YuOjUMR-c;rpo= rt > From: ;tag=3D-GsMdk1kU > To: sip:100000@Q.W.E.R > CSeq: 21 INVITE > Call-ID: MFuoHrcVVt > Max-Forwards: 70 > Supported: outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,= SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 1692 > Contact: ;+sip.instance=3D"" > User-Agent: LinphoneIphone/X > Authorization: Digest realm=3D"ASTASTAST", nonce=3D"aa372dce", a= lgorithm=3DMD5, username=3D"20029", uri=3D"sip:100000@Q.W.E.R", response= =3D"1eb25ee20e29e7f87be9542eed3d0e18" > > v=3D0 > o=3D20029 3033 2572 IN IP4 192.168.2.224 > s=3DTalk > c=3DIN IP4 192.168.2.224 > b=3DAS:512 > t=3D0 0 > a=3Drtcp-xr:rcvr-rtt=3Dall:10000 stat-summary=3Dloss,dup,jitt,TTL= voip-metrics > m=3Daudio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 10= 6 107 101 108 109 110 111 112 113 > a=3Drtpmap:96 opus/48000/2 > a=3Dfmtp:96 useinbandfec=3D1; stereo=3D0; sprop-stereo=3D0 > a=3Drtpmap:97 SILK/16000 > a=3Drtpmap:98 speex/16000 > a=3Dfmtp:98 vbr=3Don > a=3Drtpmap:99 speex/8000 > a=3Dfmtp:99 vbr=3Don > a=3Drtpmap:100 iLBC/8000 > a=3Dfmtp:100 mode=3D30 > a=3Drtpmap:102 mpeg4-generic/16000 > a=3Dfmtp:102 config=3DF8EE2000; constantDuration=3D512; indexDelt= aLength=3D3; indexLength=3D3; mode=3DAAC-hbr; profile-level-id=3D76; sizeLe= ngth=3D13; streamType=3D5 > a=3Drtpmap:103 mpeg4-generi[|sip] > > My questions are: > > 1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 i= n Android version of Linphone? > > 2. How can I add other codes, say, Codec2? > > > , > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > > -- > =D0=AF. > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a1147732e623bfe0518ab88c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
why would you want to?
On Tue, Jun 16, 2015 at 7:31 PM, Odiemius <od= iemius@yandex.ru> wrote:
Hi,
=C2=A0
I understand your answer, when I compare = Linphone with other softphones and "hardware" phones, I must note= they are sending static payloads in attributes too.
When asteris= k call for other asterisk they are exchanging with a complete list of attri= butes, including static payloads.
=C2=A0
Then I have ne= xt question:
=C2=A0
How I can force Linphone to include= static payloads into attributes and send complete list info in INVITE, bei= ng even excessive?
=C2=A0
I tried to disable allmost al= l codecs, just PCMU, PCMA, G722 and GSM were left enabled, and it failed ag= ain to make a call to my asterisk with the same error:
=C2=A0
ASTER*CLI>
=C2=A0 =3D=3D Using SIP VIDEO CoS mark 4
=C2=A0= =3D=3D Using SIP RTP CoS mark 6
=C2=A0 =3D=3D Using UDPTL CoS mark 6[2015-06-17 02:11:11.255] NOTICE[20959][C-000000da]: chan_sip.c:10542 proc= ess_sdp: No compatible codecs, not accepting this offer!
=C2=A0 =3D=3D U= sing SIP VIDEO CoS mark 4
=C2=A0 =3D=3D Using SIP RTP CoS mark 6
=C2= =A0 =3D=3D Using UDPTL CoS mark 6
[2015-06-17 02:11:11.352] NOTICE[20959= ][C-000000db]: chan_sip.c:10109 process_sdp: Received AVP profile in audio = answer but AVPF is enabled, disabling: audio 7076 RTP/AVP 8 9 3 0 101
[2= 015-06-17 02:11:11.354] NOTICE[20959][C-000000db]: chan_sip.c:10542 process= _sdp: No compatible codecs, not accepting this offer!
ASTER*CLI>
From tcpdump this session looks like:
=C2=A0
IP = A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 834
INVITE sip: INVITE= sip:100000@Q.W.E.R SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;bra= nch=3Dz9hE6bK.JvY1i7rdC;rport
From: <sip:20026@Q.W.E.R>;tag=3Dir~A= Gdkap
To: sip:10008@Q.W.E.R
CSeq: 20 INVITE
Call-ID: 70dukWC1PS
Max-Forwards: 70
Supported: outbound
Allow: INVITE,= ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE=
Content-Type: application/sdp
Content-Length: 260
Contact:= <sip:20026@A.B.C.D:1032>;+sip.instance=3D"<urn:uuid:0c6153c7= -0318-45b0-9e02-0bf7198ba52f>"
User-Agent: LinphoneAndroid/2.4.1= -3-g77a0dc6 (belle-sip/1.4.1)

v=3D0
o=3D20026 2428 43 IN IP4 192.= 168.2.2
s=3DTalk
c=3DIN IP4 192.168.2.2
b=3DAS:380
t=3D0 0
a=3Drtcp-xr:rcvr-rtt=3Dall:10000 stat-summary=3Dloss,dup,ji= tt,TTL voip-metrics
m=3Daudio 7076 RTP/AVPF 8 9 3 0 101
a=3Drt= pmap:101 telephone-event/8000
a=3Drtcp-fb:* trr-int 3000
This = one SIP INVITE does fits into one UDP-packet.
=C2=A0
16= .06.2015, 18:39, "Ghislain MARY" <ghislain.mary@linphone.org>:
Hi,

The payload type numbers for PCMA, PCMU, GSM and G722 are sta= tic, respectively (8, 0, 3 and 9). In your example of INVITE they appear co= rrectly in:
m=3Daudio 7078 RTP/AVP 96 97 98 99 
0 8 3 9
 100 102 103 104 105 106 107 101 108 10=
9 110 111 112 113
These codecs are included in Linphone for Android. However it appears you are using SIP over UDP and have enabled all the c= odecs. This can not work because the INVITE packet will get truncated, whic= h appears to be the case in your example. To fix this, enable only the code= cs you want or even better use TCP or TLS as the SIP transport.

To= add more codecs, you will need to write a mediastreamer2 filter either bui= lt-in mediastreamer2 or as a mediastreamer2 plugin. Take a look at mediastr= eamer2 code to see how it is done.

Cheers,
Ghislain

Le 16/06/2015 17:00, Konstantin.O a =C3=A9crit=C2=A0:
Hi Linphone Developer!

Yesterday I cloned from Git and built latest Linphone for Android, exactly =
as it is hinted in README.md.
It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and S=
PEEX.
I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G72=
6, G722 in list.
There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVIT=
E message.
I used tcpdump to examine SIP dialogs with asterisk, here is example of INV=
ITE from Linphone to asterisk:

     A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472
        INVITE sip:100000@Q.W.E.R SIP/2.0
        Via: SIP/2.0/UDP 192.168.2.2:60191;branch=3Dz9hs4bK.YuOjUMR-c;rport
        From: <sip:20029@Q.W.E.R>;tag=3D-GsMdk1kU
        To: sip:100000@Q.W.E.R
        CSeq: 21 INVITE
        Call-ID: MFuoHrcVVt
        Max-Forwards: 70
        Supported: outbound
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, S=
UBSCRIBE, INFO, UPDATE
        Content-Type: application/sdp
        Content-Length: 1692
        Contact: <sip:20029@A.B.C.D:60191>;+sip.instance=3D&qu=
ot;<urn:uuid:2523207c-9b19-3451-8a48-60bf31868=
4eb>"
        User-Agent: LinphoneIphone/X
        Authorization:  Digest realm=3D"ASTASTAST", nonce=3D"=
;aa372dce", algorithm=3DMD5, username=3D"20029",  uri=3D&=
quot;sip:100000@Q.W.E.R", response=3D"1eb25ee20e29e7f87be9542=
eed3d0e18"

        v=3D0
        o=3D20029 3033 2572 IN IP4 192.168.2.224
        s=3DTalk
        c=3DIN IP4 192.168.2.224
        b=3DAS:512
        t=3D0 0
        a=3Drtcp-xr:rcvr-rtt=3Dall:10000 stat-summary=3Dloss,dup,jitt,TTL v=
oip-metrics
        m=3Daudio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 10=
5 106 107 101 108 109 110 111 112 113
        a=3Drtpmap:96 opus/48000/2
        a=3Dfmtp:96 useinbandfec=3D1; stereo=3D0; sprop-stereo=3D0
        a=3Drtpmap:97 SILK/16000
        a=3Drtpmap:98 speex/16000
        a=3Dfmtp:98 vbr=3Don
        a=3Drtpmap:99 speex/8000
        a=3Dfmtp:99 vbr=3Don
        a=3Drtpmap:100 iLBC/8000
        a=3Dfmtp:100 mode=3D30
        a=3Drtpmap:102 mpeg4-generic/16000
        a=3Dfmtp:102 config=3DF8EE2000; constantDuration=3D512; indexDeltaL=
ength=3D3; indexLength=3D3; mode=3DAAC-hbr; profile-level-id=3D76; sizeLeng=
th=3D13; streamType=3D5
        a=3Drtpmap:103 mpeg4-generi[|sip]

My questions are:

1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in =
Android version of Linphone?

2. How can I add other codes, say, Codec2?

,

_________________= ______________________________
Linphone-developers mailing list
Linphone-dev= elopers@nongnu.org
https://lists.nongnu.org/mailman= /listinfo/linphone-developers

=C2=A0
=C2=A0
--
= =D0=AF.
=C2=A0

___________________________= ____________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--001a1147732e623bfe0518ab88c6-- From MAILER-DAEMON Tue Jun 16 20:17:58 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z513G-00050K-Iu for mharc-linphone-developers@gnu.org; Tue, 16 Jun 2015 20:17:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z513D-0004zt-RI for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5139-0003wK-M4 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:17:55 -0400 Received: from forward2h.mail.yandex.net ([84.201.187.147]:44894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5139-0003vO-67 for linphone-developers@nongnu.org; Tue, 16 Jun 2015 20:17:51 -0400 Received: from web10h.yandex.ru (web10h.yandex.ru [IPv6:2a02:6b8:0:f05::20]) by forward2h.mail.yandex.net (Yandex) with ESMTP id 286FB7014DA for ; Wed, 17 Jun 2015 03:17:39 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web10h.yandex.ru (Yandex) with ESMTP id B03BD10001B3; Wed, 17 Jun 2015 03:17:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1434500259; bh=WUKqHL6Ez+8QoNNb9LuwsBNx+V9kTVa3gKT3p5hAdno=; h=From:To:In-Reply-To:References:Subject:Date; b=OuJ7g8mwLS3wwEy003Oy4XaNRTG4sjIr9aTtqntqus6sIptrzQBp7glnmb6lYP4Vs lEIs28niIK2o4uLhMTX44ti9vL0f5uOXlOCojKzFTda1FJVkyr/TCsMogaUMFBVS4z HCIT17OXhoe3ihY1ruK5Hgr5v8n3PCIbYwT/OtN4= Received: by web10h.yandex.ru with HTTP; Wed, 17 Jun 2015 03:17:39 +0300 From: Odiemius To: "linphone-developers@nongnu.org" In-Reply-To: <15061434497462@web2g.yandex.ru> References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> MIME-Version: 1.0 Message-Id: <3529541434500259@web10h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 17 Jun 2015 03:17:39 +0300 Content-Transfer-Encoding: base64 Content-Type: text/html; charset=utf-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.187.147 Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? - yes, they are! X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 00:17:57 -0000 PGRpdj5IaSE8L2Rpdj48ZGl2PsKgPC9kaXY+PGRpdj5Mb29rcyBsaWtlIEkgaGF2ZSBmb3VuZCBh IGJ1ZyBzb21ld2hlcmUgaW4gYSBjb2RlLCBoYWQgbm8gdGltZSB0byBkaWcgZGVlcGVyIGFuZCB0 cmFjZSBhbmQgZml4IGl0LCBidXQgaGFja2VkIHRvIGVuc3VyZSBpdCBpcyB0aGVyZSBzb21ld2hl cmU6PC9kaXY+PGRpdj7CoDwvZGl2PjxkaXY+Y29yZWFwaS9saW5waG9uZWNvcmUuYzo8L2Rpdj48 ZGl2P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9saXN0aW5mby9saW5waG9uZS1kZXZlbG9wZXJzPC9hPjwvcD48L2Jsb2NrcXVv dGU+PGRpdj7CoDwvZGl2PjxkaXY+wqA8L2Rpdj48ZGl2Pi0tIDxiciAvPtCvLjwvZGl2PjxkaXY+ wqA8L2Rpdj4sPHA+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X188YnIgLz5MaW5waG9uZS1kZXZlbG9wZXJzIG1haWxpbmcgbGlzdDxiciAvPjxhIGhyZWY9Im1h aWx0bzpMaW5waG9uZS1kZXZlbG9wZXJzQG5vbmdudS5vcmciPkxpbnBob25lLWRldmVsb3BlcnNA bm9uZ251Lm9yZzwvYT48YnIgLz48YSBocmVmPSJodHRwczovL2xpc3RzLm5vbmdudS5vcmcvbWFp bG1hbi9saXN0aW5mby9saW5waG9uZS1kZXZlbG9wZXJzIj5odHRwczovL2xpc3RzLm5vbmdudS5v cmcvbWFpbG1hbi9saXN0aW5mby9saW5waG9uZS1kZXZlbG9wZXJzPC9hPjwvcD48L2Jsb2NrcXVv dGU+PGRpdj7CoDwvZGl2PjxkaXY+wqA8L2Rpdj48ZGl2Pi0tIDxiciAvPtCvLjwvZGl2PjxkaXY+ wqA8L2Rpdj4= From MAILER-DAEMON Wed Jun 17 03:03:34 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z57Nm-0006tr-Ik for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 03:03:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57Nh-0006t8-Dy for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:03:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z57Nb-0004K3-Nc for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:03:29 -0400 Received: from mbob.nabble.com ([162.253.133.15]:54448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57Nb-0004JE-J3 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:03:23 -0400 Received: from mtom.nabble.com (unknown [162.253.133.81]) by mbob.nabble.com (Postfix) with ESMTP id A397CF22317 for ; Wed, 17 Jun 2015 00:03:42 -0700 (PDT) Date: Tue, 16 Jun 2015 23:41:02 -0700 (MST) From: piyush To: linphone-developers@nongnu.org Message-ID: <1434523262378-201591.post@n7.nabble.com> In-Reply-To: References: <1430483610945-199510.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 162.253.133.15 Subject: Re: [Linphone-developers] LinPhone build support for both 32 bit and 64 bit X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:03:33 -0000 Ok. Thank you so much for the help. -- View this message in context: http://nongnu.13855.n7.nabble.com/LinPhone-build-support-for-both-32-bit-and-64-bit-tp199510p201591.html Sent from the linphone-developers mailing list archive at Nabble.com. From MAILER-DAEMON Wed Jun 17 03:18:31 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z57cF-0006hr-GI for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 03:18:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57cD-0006gr-0e for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:18:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z57c9-0003rJ-M7 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:18:28 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:38312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57c9-0003qy-Fx for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:18:25 -0400 Received: by igblz2 with SMTP id lz2so30747511igb.1 for ; Wed, 17 Jun 2015 00:18:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=vO96KMlP7Ghw+h48E4mRc73tx8XMkejskqjWrhJSCrE=; b=WmjofdGLnJM8lJ1hHwGIjmAGnLw0mEKBq3WfaJ3aMqiNu6C71hz0R70FhRswKVVmWu V9IKi3zsK17gWjGwja0RMSZ+hdI/bFz9Zz9N1iaVy0c7ch7wBLa5hi9GVhS5ChO6QG0L AqBZCCVQv6YiUFuM4oOAa5VUWC5cbsV4ko42qJIXkOJvqmwX+jsYT/4tPPrfga9Q/kUW /MTPUhSO9OnVOdvlsWmcF20TQUPBz9Dvt35VABjOH6DJUYvZAJxgW81ovLNosnBWLudl 84anItDuR+KCP6xMFHRTSgFIlzurvJAbYioiF8Pu6FqspA8LlLo0F8suvNYURGuTlHrT /oxA== X-Gm-Message-State: ALoCoQnx9ihJjkQ1TItclXh4IOcZqvWDByNzaU6rcL6bL65pMH3n/Aq+JcJd+lX0xrySeOIYqPE9 MIME-Version: 1.0 X-Received: by 10.107.167.73 with SMTP id q70mr5755840ioe.82.1434525504419; Wed, 17 Jun 2015 00:18:24 -0700 (PDT) Received: by 10.79.109.5 with HTTP; Wed, 17 Jun 2015 00:18:24 -0700 (PDT) Date: Wed, 17 Jun 2015 12:48:24 +0530 Message-ID: From: Ankur Singh To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1142a4801d2f680518b17f06 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.178 Subject: [Linphone-developers] iPhone Background Incoming Calling issue(iPhone) X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:18:29 -0000 --001a1142a4801d2f680518b17f06 Content-Type: text/plain; charset=UTF-8 Hi, is possible that incoming call notify when app in background mode? Presently i have compile linphone and test it but no notification is showing when incoming call is coming. If it is possible then please help me ! How? Thanks Best Regards Ankur Singh --001a1142a4801d2f680518b17f06 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

is possible that incoming call noti= fy when app in background mode?=C2=A0

Presently i = have compile linphone and test it but no notification is showing when incom= ing call is coming.

If it is possible then please = help me ! How?


Thanks
Bes= t Regards
Ankur Singh

--001a1142a4801d2f680518b17f06-- From MAILER-DAEMON Wed Jun 17 03:27:36 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z57l2-0005L9-8K for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 03:27:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57l0-0005I9-I8 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z57kx-0003Y4-2p for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:27:34 -0400 Received: from col004-omc4s8.hotmail.com ([65.55.34.210]:54549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z57kw-0003XY-RB for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:27:31 -0400 Received: from COL130-W58 ([65.55.34.199]) by COL004-OMC4S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 17 Jun 2015 00:27:29 -0700 X-TMN: [Rr4WxO2tD0aX9FoQYPfApbmtxln23R0MXyKwmcpqCMI=] X-Originating-Email: [nir_jntn@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_45a61c83-895f-4a5e-addd-8917a5ac5dfc_" From: Yonatan Nir To: "linphone-developers@nongnu.org" Date: Wed, 17 Jun 2015 07:27:28 +0000 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 17 Jun 2015 07:27:29.0550 (UTC) FILETIME=[1149F2E0:01D0A8CF] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 65.55.34.210 Subject: Re: [Linphone-developers] LinphoneChatRoom PeerAddress is not getting updated X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:27:35 -0000 --_45a61c83-895f-4a5e-addd-8917a5ac5dfc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Someone? =0A= =0A= = --_45a61c83-895f-4a5e-addd-8917a5ac5dfc_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Someone?





=0A= =0A=
I'm trying to create a new LinphoneChat= Room using this code:

public void createNewChatRoom(String destinati= on=2C String name)
 =3B =3B =3B {
 =3B =3B = =3B  =3B =3B =3B LinphoneChatRoom[] rooms =3D core.getChatRooms= ()=3B
 =3B =3B =3B  =3B =3B =3B for (LinphoneCha= tRoom room : rooms)
 =3B =3B =3B  =3B =3B =3B {<= br> =3B =3B =3B  =3B =3B =3B  =3B =3B = =3B Log.d("name1: " + room.getPeerAddress().getDisplayName())=3B
 = =3B =3B =3B  =3B =3B =3B }
 =3B =3B =3B =  =3B =3B =3B LinphoneChatRoom room =3D core.getOrCreateChatRoom= (destination)=3B
 =3B =3B =3B  =3B =3B =3B if (r= oom !=3D null)
 =3B =3B =3B  =3B =3B =3B {
&n= bsp=3B =3B =3B  =3B =3B =3B  =3B =3B =3B ro= om.getPeerAddress().setDisplayName(name)=3B
 =3B =3B =3B &nb= sp=3B =3B =3B }
 =3B =3B =3B  =3B =3B = =3B rooms =3D core.getChatRooms()=3B
 =3B =3B =3B  =3B&n= bsp=3B =3B for (LinphoneChatRoom room2 : rooms)
 =3B =3B&nbs= p=3B  =3B =3B =3B {
 =3B =3B =3B  =3B = =3B =3B  =3B =3B =3B Log.d("name2: " + room2.getPeerAddress= ().getDisplayName())=3B
 =3B =3B =3B  =3B =3B = =3B }
 =3B =3B =3B }

During the first iteration on th= e rooms (name1 iteration) all of the display names I'm getting are null. At= the second iteration over the rooms (name2 iteration)=2C There is indeed a= new room that was added and the array is +1 in size=2C but again=2C all th= e display names are null even though I just set it.
Why is this happenin= g?

=0A=
_______________________________________________=0A= Linphone-developers mailing list=0A= Linphone-developers@nongnu.org=0A= https://lists.nongnu.org/mailman/listinfo/linphone-developers
=
= --_45a61c83-895f-4a5e-addd-8917a5ac5dfc_-- From MAILER-DAEMON Wed Jun 17 03:45:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5824-0003sy-5o for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 03:45:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z581y-0003mI-LD for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z581u-0003Cz-ID for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:45:06 -0400 Received: from mbob.nabble.com ([162.253.133.15]:55797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z581u-0003CI-C0 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:45:02 -0400 Received: from mtom.nabble.com (unknown [162.253.133.81]) by mbob.nabble.com (Postfix) with ESMTP id 51243F22C4B for ; Wed, 17 Jun 2015 00:45:22 -0700 (PDT) Date: Wed, 17 Jun 2015 00:22:41 -0700 (MST) From: "Konstantin.O" To: linphone-developers@nongnu.org Message-ID: <1434525761765-201596.post@n7.nabble.com> In-Reply-To: References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 162.253.133.15 Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:45:07 -0000 I just wanted to make simplest possible usecase to understand why Linphone is not including static payload into attributes. I identified problem now, there is no need to "force" Linphone, just need to fix bugs in Linphone's setup code. -- View this message in context: http://nongnu.13855.n7.nabble.com/Are-PCMA-and-PCMU-working-in-android-version-tp201560p201596.html Sent from the linphone-developers mailing list archive at Nabble.com. From MAILER-DAEMON Wed Jun 17 03:59:44 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z58G8-00052j-8t for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 03:59:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58G4-00051k-Kh for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:59:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z58G1-0003O4-Gw for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:59:40 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:35382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58G0-0003Nn-VR for linphone-developers@nongnu.org; Wed, 17 Jun 2015 03:59:37 -0400 Received: by wgbhy7 with SMTP id hy7so29739698wgb.2 for ; Wed, 17 Jun 2015 00:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=J7c4dMbYh6E9sN8EF3HULM94bjiUypQ1vKI2wbQZtgc=; b=GsuT3Biulp/XXI+73uWF8frD4SMXT7wtKeVqDKJWplmgL/zvTuYsACGQmmJFfkEYba XPu2tGe7dR1v2vnorjffH/8nZLzj6MJF7STRD1GSJ5lxowR3mDCCKFnEkum1ou8e+9k/ PkrREnPi/QOj9OP/d7oHuJ7gbASB8KZoFA+Ac4eGKn7Isw65Xmf6t0W7YO2aTcb+6IVX DK/qJzuCT3Pw5gV/ARxn8+H6zaFZ+6GoFyDdIkcDhDDqhFlwqEIe58wyeDDpjbx42RuL 22mHLGqJmTevkF+DU0EId0UU/hdsJ+uga2oROMSFeJ5J9Gba1pRn2M4s5UTy3SKsCckp S4BQ== X-Received: by 10.194.22.105 with SMTP id c9mr3450681wjf.120.1434527976237; Wed, 17 Jun 2015 00:59:36 -0700 (PDT) Received: from ?IPv6:2a01:e35:2e97:fb90:8500:1f3:9441:e27a? ([2a01:e35:2e97:fb90:8500:1f3:9441:e27a]) by mx.google.com with ESMTPSA id v3sm5395850wja.31.2015.06.17.00.59.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 00:59:35 -0700 (PDT) Sender: Ghislain Mary Message-ID: <558128EB.3080409@linphone.org> Date: Wed, 17 Jun 2015 09:59:39 +0200 From: Ghislain MARY Organization: Linphone User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> <3529541434500259@web10h.yandex.ru> In-Reply-To: <3529541434500259@web10h.yandex.ru> Content-Type: multipart/alternative; boundary="------------030309010809090805070504" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::232 Subject: Re: [Linphone-developers] Are PCMA and PCMU working in android version? - yes, they are! X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:59:43 -0000 This is a multi-part message in MIME format. --------------030309010809090805070504 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, The initial code is correct. There are two settings to enable/disable AVPF. One setting is at the proxy config level, the other one at the linphone core level. If using a proxy config to make the call, the setting from the proxy config is used, otherwise the setting from the linphone core is used. The default value for the linphone core level setting is AVPF disabled. It appears it has been changed in your case. Check your linphonerc file, searching for the "avpf" setting in the "[rtp]" section. It should have the value 0. Cheers, Ghislain Le 17/06/2015 02:17, Odiemius a écrit : > Hi! > Looks like I have found a bug somewhere in a code, had no time to dig > deeper and trace and fix it, but hacked to ensure it is there somewhere: > coreapi/linphonecore.c: > @@ -3190,7 +3190,8 @@ LinphoneCall * > linphone_core_invite_address_with_params(LinphoneCore *lc, const > cp->avpf_enabled = > linphone_proxy_config_avpf_enabled(proxy); > cp->avpf_rr_interval = > linphone_proxy_config_get_avpf_rr_interval(proxy) * 1000; > }else{ > - cp->avpf_enabled=linphone_core_get_avpf_mode(lc)==LinphoneAVPFEnabled; > + //cp->avpf_enabled=linphone_core_get_avpf_mode(lc)==LinphoneAVPFEnabled; > + cp->avpf_enabled=LinphoneAVPFDisabled; > if (cp->avpf_enabled) > cp->avpf_rr_interval=linphone_core_get_avpf_rr_interval(lc) * 1000; > } > This change broke AVP, disabling it explicitly, without possibility to > enable via user setup. > Before this change applied, disabling AVP in setup did not affected > Linphone's behaviour and Linphone was always sending "shortened" list > of codec attributes in INVITE, making call negotiation with asterisk > impossible. > With this change applied Linphone DOES send full attributes ALWAYS, > making audio calls possible (I tested with PCMA and G72): > IP A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 871 > INVITE sip:10008@Q.W.E.R SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hr4bK.eEOyHPIh3;rport > From: ;tag=NTh-MSGeW > To: sip:10008@Q.W.E.R > CSeq: 20 INVITE > Call-ID: cGT--oFupy > Max-Forwards: 70 > Supported: outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 297 > Contact: > ;+sip.instance="" > User-Agent: LinphoneAndroid/2.4.1-3-g77a0dc6 (belle-sip/1.4.1) > > v=0 > o=20026 2978 983 IN IP4 192.168.2.2 > s=Talk > c=IN IP4 192.168.2.2 > b=AS:380 > t=0 0 > a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics > m=audio 7076 RTP/AVP 9 3 0 101 > a=rtpmap:9 G722/8000 > a=rtpmap:3 GSM/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > It looks like something is broken in settings code, returning always > LinphoneAVPFEnabled, instead of a state of a setting switch. > this issue must be fixed....it's 03:17 night... i'm gonna sleep... > 17.06.2015, 02:31, "Odiemius" : >> Hi, >> I understand your answer, when I compare Linphone with other >> softphones and "hardware" phones, I must note they are sending static >> payloads in attributes too. >> When asterisk call for other asterisk they are exchanging with a >> complete list of attributes, including static payloads. >> Then I have next question: >> How I can force Linphone to include static payloads into attributes >> and send complete list info in INVITE, being even excessive? >> I tried to disable allmost all codecs, just PCMU, PCMA, G722 and GSM >> were left enabled, and it failed again to make a call to my asterisk >> with the same error: >> ASTER*CLI> >> == Using SIP VIDEO CoS mark 4 >> == Using SIP RTP CoS mark 6 >> == Using UDPTL CoS mark 6 >> [2015-06-17 02:11:11.255] NOTICE[20959][C-000000da]: chan_sip.c:10542 >> process_sdp: No compatible codecs, not accepting this offer! >> == Using SIP VIDEO CoS mark 4 >> == Using SIP RTP CoS mark 6 >> == Using UDPTL CoS mark 6 >> [2015-06-17 02:11:11.352] NOTICE[20959][C-000000db]: chan_sip.c:10109 >> process_sdp: Received AVP profile in audio answer but AVPF is >> enabled, disabling: audio 7076 RTP/AVP 8 9 3 0 101 >> [2015-06-17 02:11:11.354] NOTICE[20959][C-000000db]: chan_sip.c:10542 >> process_sdp: No compatible codecs, not accepting this offer! >> ASTER*CLI> >> From tcpdump this session looks like: >> IP A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 834 >> INVITE sip: INVITE sip:100000@Q.W.E.R SIP/2.0 >> Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hE6bK.JvY1i7rdC;rport >> From: >;tag=ir~AGdkap >> To: sip:10008@Q.W.E.R >> CSeq: 20 INVITE >> Call-ID: 70dukWC1PS >> Max-Forwards: 70 >> Supported: outbound >> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, >> SUBSCRIBE, INFO, UPDATE >> Content-Type: application/sdp >> Content-Length: 260 >> Contact: > :1032>;+sip.instance="" >> User-Agent: LinphoneAndroid/2.4.1-3-g77a0dc6 (belle-sip/1.4.1) >> >> v=0 >> o=20026 2428 43 IN IP4 192.168.2.2 >> s=Talk >> c=IN IP4 192.168.2.2 >> b=AS:380 >> t=0 0 >> a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics >> m=audio 7076 RTP/AVPF 8 9 3 0 101 >> a=rtpmap:101 telephone-event/8000 >> a=rtcp-fb:* trr-int 3000 >> This one SIP INVITE does fits into one UDP-packet. >> 16.06.2015, 18:39, "Ghislain MARY" > >: >>> Hi, >>> >>> The payload type numbers for PCMA, PCMU, GSM and G722 are static, >>> respectively (8, 0, 3 and 9). In your example of INVITE they appear >>> correctly in: >>> m=audio 7078 RTP/AVP 96 97 98 99 >>> *0 8 3 9* >>> 100 102 103 104 105 106 107 101 108 109 110 111 112 113 >>> These codecs are included in Linphone for Android. >>> However it appears you are using SIP over UDP and have enabled all >>> the codecs. This can not work because the INVITE packet will get >>> truncated, which appears to be the case in your example. To fix >>> this, enable only the codecs you want or even better use TCP or TLS >>> as the SIP transport. >>> >>> To add more codecs, you will need to write a mediastreamer2 filter >>> either built-in mediastreamer2 or as a mediastreamer2 plugin. Take a >>> look at mediastreamer2 code to see how it is done. >>> >>> Cheers, >>> Ghislain >>> >>> Le 16/06/2015 17:00, Konstantin.O a écrit : >>>> Hi Linphone Developer! >>>> >>>> Yesterday I cloned from Git and built latest Linphone for Android, exactly as it is hinted in README.md. >>>> It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX. >>>> I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, G722 in list. >>>> There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE message. >>>> I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE from Linphone to asterisk: >>>> >>>> A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472 >>>> INVITEsip:100000@Q.W.E.R SIP/2.0 >>>> Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport >>>> From:;tag=-GsMdk1kU >>>> To:sip:100000@Q.W.E.R >>>> CSeq: 21 INVITE >>>> Call-ID: MFuoHrcVVt >>>> Max-Forwards: 70 >>>> Supported: outbound >>>> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE >>>> Content-Type: application/sdp >>>> Content-Length: 1692 >>>> Contact:;+sip.instance="" >>>> User-Agent: LinphoneIphone/X >>>> Authorization: Digest realm="ASTASTAST", nonce="aa372dce", algorithm=MD5, username="20029", uri="sip:100000@Q.W.E.R", response="1eb25ee20e29e7f87be9542eed3d0e18" >>>> >>>> v=0 >>>> o=20029 3033 2572 IN IP4 192.168.2.224 >>>> s=Talk >>>> c=IN IP4 192.168.2.224 >>>> b=AS:512 >>>> t=0 0 >>>> a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics >>>> m=audio 7078 RTP/AVP96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113 >>>> a=rtpmap:96 opus/48000/2 >>>> a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0 >>>> a=rtpmap:97 SILK/16000 >>>> a=rtpmap:98 speex/16000 >>>> a=fmtp:98 vbr=on >>>> a=rtpmap:99 speex/8000 >>>> a=fmtp:99 vbr=on >>>> a=rtpmap:100 iLBC/8000 >>>> a=fmtp:100 mode=30 >>>> a=rtpmap:102 mpeg4-generic/16000 >>>> a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5 >>>> a=rtpmap:103 mpeg4-generi[|sip] >>>> >>>> My questions are: >>>> >>>> 1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in Android version of Linphone? >>>> >>>> 2. How can I add other codes, say, Codec2? >>>> >>> , >>> >>> _______________________________________________ >>> Linphone-developers mailing list >>> Linphone-developers@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/linphone-developers >>> >> -- >> Я. >> , >> >> _______________________________________________ >> Linphone-developers mailing list >> Linphone-developers@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/linphone-developers >> > -- > Я. > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers --------------030309010809090805070504 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi,

The initial code is correct. There are two settings to enable/disable AVPF. One setting is at the proxy config level, the other one at the linphone core level.
If using a proxy config to make the call, the setting from the proxy config is used, otherwise the setting from the linphone core is used.
The default value for the linphone core level setting is AVPF disabled. It appears it has been changed in your case.
Check your linphonerc file, searching for the "avpf" setting in the "[rtp]" section. It should have the value 0.

Cheers,
Ghislain

Le 17/06/2015 02:17, Odiemius a écrit :
Hi!
 
Looks like I have found a bug somewhere in a code, had no time to dig deeper and trace and fix it, but hacked to ensure it is there somewhere:
 
coreapi/linphonecore.c:
@@ -3190,7 +3190,8 @@ LinphoneCall * linphone_core_invite_address_with_params(LinphoneCore *lc, const
                cp->avpf_enabled = linphone_proxy_config_avpf_enabled(proxy);
                cp->avpf_rr_interval = linphone_proxy_config_get_avpf_rr_interval(proxy) * 1000;
        }else{
-               cp->avpf_enabled=linphone_core_get_avpf_mode(lc)==LinphoneAVPFEnabled;
+               //cp->avpf_enabled=linphone_core_get_avpf_mode(lc)==LinphoneAVPFEnabled;
+               cp->avpf_enabled=LinphoneAVPFDisabled;
                if (cp->avpf_enabled) cp->avpf_rr_interval=linphone_core_get_avpf_rr_interval(lc) * 1000;
        }
This change broke AVP, disabling it explicitly, without possibility to enable via user setup.
Before this change applied, disabling AVP in setup did not affected Linphone's behaviour and Linphone was always sending "shortened" list of codec attributes in INVITE, making call negotiation with asterisk impossible.
With this change applied Linphone DOES send full attributes ALWAYS, making audio calls possible (I tested with PCMA and G72):
 
IP A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 871
INVITE sip:10008@Q.W.E.R SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hr4bK.eEOyHPIh3;rport
From: <sip:20026@Q.W.E.R>;tag=NTh-MSGeW
To: sip:10008@Q.W.E.R
CSeq: 20 INVITE
Call-ID: cGT--oFupy
Max-Forwards: 70
Supported: outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 297
Contact: <sip:20026@A.B.C.D:1032>;+sip.instance="<urn:uuid:274e7399-da60-4220-84fa-bcfd965ca9dc>"
User-Agent: LinphoneAndroid/2.4.1-3-g77a0dc6 (belle-sip/1.4.1)

v=0
o=20026 2978 983 IN IP4 192.168.2.2
s=Talk
c=IN IP4 192.168.2.2
b=AS:380
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7076 RTP/AVP 9 3 0 101
a=rtpmap:9 G722/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
It looks like something is broken in settings code, returning always LinphoneAVPFEnabled, instead of a state of a setting switch.
this issue must be fixed....it's 03:17 night... i'm gonna sleep...
 
17.06.2015, 02:31, "Odiemius" <odiemius@yandex.ru>:
Hi,
 
I understand your answer, when I compare Linphone with other softphones and "hardware" phones, I must note they are sending static payloads in attributes too.
When asterisk call for other asterisk they are exchanging with a complete list of attributes, including static payloads.
 
Then I have next question:
 
How I can force Linphone to include static payloads into attributes and send complete list info in INVITE, being even excessive?
 
I tried to disable allmost all codecs, just PCMU, PCMA, G722 and GSM were left enabled, and it failed again to make a call to my asterisk with the same error:
 
ASTER*CLI>
  == Using SIP VIDEO CoS mark 4
  == Using SIP RTP CoS mark 6
  == Using UDPTL CoS mark 6
[2015-06-17 02:11:11.255] NOTICE[20959][C-000000da]: chan_sip.c:10542 process_sdp: No compatible codecs, not accepting this offer!
  == Using SIP VIDEO CoS mark 4
  == Using SIP RTP CoS mark 6
  == Using UDPTL CoS mark 6
[2015-06-17 02:11:11.352] NOTICE[20959][C-000000db]: chan_sip.c:10109 process_sdp: Received AVP profile in audio answer but AVPF is enabled, disabling: audio 7076 RTP/AVP 8 9 3 0 101
[2015-06-17 02:11:11.354] NOTICE[20959][C-000000db]: chan_sip.c:10542 process_sdp: No compatible codecs, not accepting this offer!
ASTER*CLI>
From tcpdump this session looks like:
 
IP A.B.C.D.iad3 > Q.W.E.R.sip: UDP, length 834
INVITE sip: INVITE sip:100000@Q.W.E.R SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hE6bK.JvY1i7rdC;rport
From: <sip:20026@Q.W.E.R>;tag=ir~AGdkap
To: sip:10008@Q.W.E.R
CSeq: 20 INVITE
Call-ID: 70dukWC1PS
Max-Forwards: 70
Supported: outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 260
Contact: <sip:20026@A.B.C.D:1032>;+sip.instance="<urn:uuid:0c6153c7-0318-45b0-9e02-0bf7198ba52f>"
User-Agent: LinphoneAndroid/2.4.1-3-g77a0dc6 (belle-sip/1.4.1)

v=0
o=20026 2428 43 IN IP4 192.168.2.2
s=Talk
c=IN IP4 192.168.2.2
b=AS:380
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7076 RTP/AVPF 8 9 3 0 101
a=rtpmap:101 telephone-event/8000
a=rtcp-fb:* trr-int 3000
This one SIP INVITE does fits into one UDP-packet.
 
16.06.2015, 18:39, "Ghislain MARY" <ghislain.mary@linphone.org>:
Hi,

The payload type numbers for PCMA, PCMU, GSM and G722 are static, respectively (8, 0, 3 and 9). In your example of INVITE they appear correctly in:
m=audio 7078 RTP/AVP 96 97 98 99 
0 8 3 9
 100 102 103 104 105 106 107 101 108 109 110 111 112 113
These codecs are included in Linphone for Android.
However it appears you are using SIP over UDP and have enabled all the codecs. This can not work because the INVITE packet will get truncated, which appears to be the case in your example. To fix this, enable only the codecs you want or even better use TCP or TLS as the SIP transport.

To add more codecs, you will need to write a mediastreamer2 filter either built-in mediastreamer2 or as a mediastreamer2 plugin. Take a look at mediastreamer2 code to see how it is done.

Cheers,
Ghislain

Le 16/06/2015 17:00, Konstantin.O a écrit :
Hi Linphone Developer!

Yesterday I cloned from Git and built latest Linphone for Android, exactly as it is hinted in README.md.
It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX.
I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, G722 in list.
There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE message.
I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE from Linphone to asterisk:

     A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472
        INVITE sip:100000@Q.W.E.R SIP/2.0
        Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport
        From: <sip:20029@Q.W.E.R>;tag=-GsMdk1kU
        To: sip:100000@Q.W.E.R
        CSeq: 21 INVITE
        Call-ID: MFuoHrcVVt
        Max-Forwards: 70
        Supported: outbound
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
        Content-Type: application/sdp
        Content-Length: 1692
        Contact: <sip:20029@A.B.C.D:60191>;+sip.instance="<urn:uuid:2523207c-9b19-3451-8a48-60bf318684eb>"
        User-Agent: LinphoneIphone/X
        Authorization:  Digest realm="ASTASTAST", nonce="aa372dce", algorithm=MD5, username="20029",  uri="sip:100000@Q.W.E.R", response="1eb25ee20e29e7f87be9542eed3d0e18"

        v=0
        o=20029 3033 2572 IN IP4 192.168.2.224
        s=Talk
        c=IN IP4 192.168.2.224
        b=AS:512
        t=0 0
        a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
        m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 101 108 109 110 111 112 113
        a=rtpmap:96 opus/48000/2
        a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0
        a=rtpmap:97 SILK/16000
        a=rtpmap:98 speex/16000
        a=fmtp:98 vbr=on
        a=rtpmap:99 speex/8000
        a=fmtp:99 vbr=on
        a=rtpmap:100 iLBC/8000
        a=fmtp:100 mode=30
        a=rtpmap:102 mpeg4-generic/16000
        a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5
        a=rtpmap:103 mpeg4-generi[|sip]

My questions are:

1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in Android version of Linphone?

2. How can I add other codes, say, Codec2?

,

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 
 
--
Я.
 
,

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 
 
--
Я.
 


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

--------------030309010809090805070504-- From MAILER-DAEMON Wed Jun 17 04:30:39 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z58k3-0000h3-S9 for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 04:30:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58k1-0000dZ-5v for linphone-developers@nongnu.org; Wed, 17 Jun 2015 04:30:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z58ju-0004pi-Vw for linphone-developers@nongnu.org; Wed, 17 Jun 2015 04:30:37 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58ju-0004ov-Mo for linphone-developers@nongnu.org; Wed, 17 Jun 2015 04:30:30 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:454e:e9e2:422f:552b] (unknown [IPv6:2a01:e35:2e97:fb90:454e:e9e2:422f:552b]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 063A6172067 for ; Wed, 17 Jun 2015 10:30:28 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: Date: Wed, 17 Jun 2015 10:30:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6CEC04D3-4575-418B-B37D-CB4D5D0D807A@belledonne-communications.com> References: To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol 148, Issue 19 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 08:30:38 -0000 Can you point me to the fix please? I think this is the wrong way to correct this issue, but I'd like to = understand what's going on before updating the README. Cheers, =20 Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 17 Jun 2015, at 00:31, William Hutchison = wrote: >=20 > RE Thread: linphone-android not building: >=20 > Member Konstantin suggested a fix to me that had worked for him, and = it worked for me: simply create symlinks to the aapt and the other = required tools. That almost seems necessary, since the build file is = looking in "/linphone-android/${aapt}" for that tool, and of course the = tool itself won't be there. It might be helpful to add this to the = Readme instructions (or a better fix, assuming there is one) for Linux = lightweights like me. Anyway, it built smoothly after that fix.=20 > Bill Hutchison >=20 > On Sun, Jun 14, 2015 at 10:00 AM, = wrote: > Send Linphone-developers mailing list submissions to > linphone-developers@nongnu.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.nongnu.org/mailman/listinfo/linphone-developers > or, via email, send a message with subject or body 'help' to > linphone-developers-request@nongnu.org >=20 > You can reach the person managing the list at > linphone-developers-owner@nongnu.org >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Linphone-developers digest..." >=20 >=20 > Today's Topics: >=20 > 1. Followup RE: Problem building Linphone from sources > (William Hutchison) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Sat, 13 Jun 2015 11:18:02 -0600 > From: William Hutchison > To: linphone-developers@nongnu.org > Subject: [Linphone-developers] Followup RE: Problem building Linphone > from sources > Message-ID: > = > Content-Type: text/plain; charset=3D"utf-8" >=20 > Gautier, > Sorry for not responding in the same thread, but I don't see how to = do > that. The digest instructions and the information on your site for > developers only says how to submit questions, as far as I could find. = Can > you point me to how to respond in a thread? >=20 > I finally figured out that the problem was that I had previously = done > the git clone into Windows to try building using minGW, but that = didn't > work. I just copied those files to Linux, knowing it might not work, = but I > assumed the compiler would give me an error about the files, not to = say the > file didn't exist. But git cloning directly in Linux fixed the = problem. > Sorry for the trouble! >=20 > Now I can run make in the top linphone-android directory. It starts = fine, > but hits: >=20 > Buildfile: /home/whutchi/linphone-android/build.xml > No sub-builds to iterate on > BUILD FAILED > /home/whutchi/android-sdks/tools/ant/build.xml:649: The following = error > occurred while executing this line: > /home/whutchi/android-sdks/tools/ant/build.xml:694: Execute failed: > java.io.IOException: Cannot run program > /home/whutchi/linphone-android/${aapt}": error=3D2, No such file or = directory >=20 > I see that line 694 is the last line of this block constructing the = aapt: > command=3D"package" > verbose=3D"${verbose}" > manifest=3D"${out.manifest.abs.file}" > originalManifestPackage=3D"${project.app.package}" > androidjar=3D"${project.target.android.jar}" > rfolder=3D"${gen.absolute.dir}" > nonConstantId=3D"${android.library}" >=20 > libraryResFolderPathRefid=3D"project.library.res.folder.path" > libraryPackagesRefid=3D"project.library.packages" > = libraryRFileRefid=3D"project.library.bin.r.file.path" > ignoreAssets=3D"${aapt.ignore.assets}" > binFolder=3D"${out.absolute.dir}" > proguardFile=3D"${out.absolute.dir}/proguard.txt"> >=20 > The top-level README and other guides I've seen don't say that the > submodules have to be manually built in advance, but I decided to try > building the submodules separately. Following the instructions I built = the > submodules belle-sip and linphone successfully. But I still get the = same > error message when I try "make" at the top level. What do I need to = do? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers >=20 >=20 > End of Linphone-developers Digest, Vol 148, Issue 19 > **************************************************** >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Wed Jun 17 09:21:10 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5DHC-0006jI-7O for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 09:21:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5DGh-00062C-0w for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5DGU-0000lD-M1 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:20:38 -0400 Received: from st11p00im-amstp002.me.com ([17.172.80.96]:44963 helo=st11p00im-asmtp002.me.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5DGU-0000dz-Hq for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:20:26 -0400 Received: from Office (c-76-30-215-141.hsd1.tx.comcast.net [76.30.215.141]) by st11p00im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NQ300FTKBPV9Q20@st11p00im-asmtp002.me.com> for linphone-developers@nongnu.org; Wed, 17 Jun 2015 13:20:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-06-17_05:2015-06-16, 2015-06-17, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1506170226 Message-id: <162EDFEEE2724D6390DCBE6A1A72DEE6@Office> From: Mbebs Kunuwo To: linphone-developers@nongnu.org References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> In-reply-to: <15061434497462@web2g.yandex.ru> Date: Wed, 17 Jun 2015 08:20:19 -0500 MIME-version: 1.0 Content-type: multipart/alternative; boundary="----=_NextPart_000_0373_01D0A8D6.72CB05C0" X-Priority: 3 X-MSMail-priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MIMEOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 17.172.80.96 Subject: [Linphone-developers] Android background mode X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 13:21:06 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0373_01D0A8D6.72CB05C0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dear Developers, How do I disable the background mode in Linphone android? Thanks, Mbebs ------=_NextPart_000_0373_01D0A8D6.72CB05C0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Dear=20 Developers,
 
How do I = disable the=20 background mode in Linphone android?
 
Thanks,
 
Mbebs
------=_NextPart_000_0373_01D0A8D6.72CB05C0-- From MAILER-DAEMON Wed Jun 17 09:38:43 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5DYB-0002ri-J7 for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 09:38:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5DY5-0002kj-5K for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:38:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5DXz-000621-Pv for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:38:36 -0400 Received: from mxf908.netcup.net ([46.38.249.8]:52314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5DXz-00061Y-8u for linphone-developers@nongnu.org; Wed, 17 Jun 2015 09:38:31 -0400 X-No-Relay: not in my network Received: from [192.168.12.26] (p4FF613B2.dip0.t-ipconnect.de [79.246.19.178]) by mxf908.netcup.net (Postfix) with ESMTPSA id D9D7E1615F8 for ; Wed, 17 Jun 2015 15:38:28 +0200 (CEST) Message-ID: <55817854.8040108@hamburgfreewalkingtours.com> Date: Wed, 17 Jun 2015 15:38:28 +0200 From: =?UTF-8?B?Um9iaW4g4oCTIEhhbWJ1cmcgRnJlZSBXYWxraW5nIFRvdXJz?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary="------------090609060708080701050203" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 46.38.249.8 Subject: [Linphone-developers] Linphone in standby on Windows Phone X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 13:38:41 -0000 This is a multi-part message in MIME format. --------------090609060708080701050203 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear Linphone-Team, we are using your software for our company hotline. It works great on our Andorid phones, however, there is a problem with the Windows Phone 8.1 Nokia Lumia 630. It's only possible to receive calls when the phone is on, but not in standby :-( - however, I receive Skype-calls when the phone is on standby. I defined an exception for Linphone in power save mode, but that didn't worked. And there is no "Leave Wifi activated in Screentimeout" setting available in the phones settings. Your support in this issue would be awesome! All the best Robin ********************************************************* *Robin Meyborg* /Back Office / Online Services/ Mail: robin@hamburgfreewalkingtours.com Tel.: +49 (0)175 1230 511 HAMBURG FREE WALKING TOURS /Hamburgs No. 1 sightseeing tours on Tripadvisor! / Mail: info@hamburgfreewalkingtours.com Web: www.hamburgfreewalkingtours.com A brand of "Robin and the Tourguides". --------------090609060708080701050203 Content-Type: multipart/related; boundary="------------030805020508040601070606" --------------030805020508040601070606 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear Linphone-Team,

we are using your software for our company hotline. It works great on our Andorid phones, however, there is a problem with the Windows Phone 8.1 Nokia Lumia 630.
It's only possible to receive calls when the phone is on, but not in standby :-( - however, I receive Skype-calls when the phone is on standby.

I defined an exception for Linphone in power save mode, but that didn't worked.
And there is no "Leave Wifi activated in Screentimeout" setting available in the phones settings.

Your support in this issue would be awesome!

All the best
Robin



**************************= *******************************
Robin Meyborg
Back Office / Online Services
<= small>=C2=A0
Mail: robin@hamburgfreewalkingtours.com
Tel.: +49 (0)175 1230 511

3D"HAMBURG
Hamburgs No. 1 sightseeing tours on Tripadvisor!
<= /font>=C2=A0
Mail: info@hamburgfreewalkingtours.com
Web: www.hamburgfreewalkingtours.com


A brand of "Robin and the Tourguides".


--------------030805020508040601070606 Content-Type: image/png; name="signatur_v1.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="signatur_v1.png" iVBORw0KGgoAAAANSUhEUgAAAdgAAAAzCAIAAAC7T447AAAAAXNSR0IArs4c6QAAAARnQU1B AACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5l dCA0LjAuNWWFMmUAAChkSURBVHhe7Z1bsBbVlcd9mIc8zEOmKg95yMM8ZKqsSjI1mTJTOkFF MagICIqAiFEBEaMoZlBJRIkxBoWgjKLIQYUIeEWJIeg46BijFWeiGRIxOomJxngNhvudc3F+ xz9ZLtfq7q+/czRYqe6HU32692Xtdfmv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L48 9+2u/BS2jBIWMrDwuy1hIxTpBZK/O/fsWv7s3Q+uW1j2VUzxfN2rz9301JwNG9/Ys6/3Z5M8 vlR82AEd06iRtel2UCcfnalZZYclC69OYe3IwsmgyRmIQ6a40AUCYSGW1/JmH6KEMn+WPz+Q j5D4ugwwTIOMJxBW9oO5KDMGmBNZPGFOkLUl6FVGAAJQvxEg7LYiLCPmK9wmQI/5kxeBOfv3 vjC7KdsyBcW88m/pUk+y6vjWKaaVcZyJZxb+EAYRv2Q/xhMozjzKT+AybfI3k6GHbX0dilCR aTtJA/hQMSgkgbS40BuGUDZHo4XqX1OGS3QknlfzsE6oyEjrjxeyNQRuKlbJaNMTZjoQNKGC PKqrMFdLbtQZpi+DsDQKLnANjChzt1DOfBAl1Ietq6fVe7v27u7cUU3M3s595JR7ITgt5Wmi xkWPGnh1dzXVCe4FBjIoOEBHJOL8KxlmHW4j3+pivKX9+uJuS4IIC/PH5RN/MJCWIKXGGazY a6hSMzxnsKAqDgYdqIAF2pdGAdNYR9mCJEyu2OrDW3oxIrmvaeAF371vi6dN4YYDDQcaDjQc 6CcHGiDuJwOb6g0HGg40HOgvBxog7i8Hm/oNBxoONBzoJwcaIO4nA5vqDQcaDjQc6C8HGiDu Lweb+g0HGg40HOgnBxog7icDm+oNBxoONBzoLwcaIO4vB5v6DQcaDjQc6CcHGiDuJwOb6g0H Gg40HOgvBxog7i8Hm/oNBxoONBzoJwcaIO4nA5vqDQcaDjQc6C8H/h+iRxbcKQ2pSAAAAABJ RU5ErkJggg== --------------030805020508040601070606-- --------------090609060708080701050203-- From MAILER-DAEMON Wed Jun 17 12:10:32 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5Fv6-00061q-Q8 for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 12:10:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Fv3-0005xR-DY for linphone-developers@nongnu.org; Wed, 17 Jun 2015 12:10:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Fuy-0001aY-TZ for linphone-developers@nongnu.org; Wed, 17 Jun 2015 12:10:29 -0400 Received: from smtp21.services.sfr.fr ([93.17.128.2]:19716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Fuy-0001Zp-KO for linphone-developers@nongnu.org; Wed, 17 Jun 2015 12:10:24 -0400 Received: from filter.sfr.fr (localhost [62.23.15.76]) by msfrf2116.sfr.fr (SMTP Server) with ESMTP id 915A0700011E for ; Wed, 17 Jun 2015 18:10:22 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=vnguyen@neuf.fr Received: from [10.0.1.24] (host.76.15.23.62.rev.coltfrance.com [62.23.15.76]) by msfrf2116.sfr.fr (SMTP Server) with ESMTP id 7AC967000114 for ; Wed, 17 Jun 2015 18:10:22 +0200 (CEST) X-SFR-UUID: 20150617161022503.7AC967000114@msfrf2116.sfr.fr Message-ID: <55819BD3.7090702@neuf.fr> Date: Wed, 17 Jun 2015 18:09:55 +0200 From: Vincent Nguyen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org References: <55817854.8040108@hamburgfreewalkingtours.com> In-Reply-To: <55817854.8040108@hamburgfreewalkingtours.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 93.17.128.2 Subject: [Linphone-developers] bitrate used for codecs vs available bandwidth X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 16:10:31 -0000 Hello guys, I have an issue here and I do not understand the logic. If I initiate a call with : audio codec = speex32 vbr=on video codec = h264 if I do not set the max up/down bandwidth and leave it to zero, then the upstream audio max out at 24 kbps (see below the log) if I set the max up/down bandwidth at 1500 or 2000 for instance, then the audio max out at 40 kbps the quality difference is huge. HOW to explain the 6th line of the log below which triggers this. thanks message: 2015-06-17 17:55:23:494 Call 02C1BED0: moving from state LinphoneCallOutgoingProgress to LinphoneCallConnected message: 2015-06-17 17:55:23:494 Linphone core [018BFCE8] notifying [call_state_changed] message: 2015-06-17 17:55:23:497 Call 02C1BED0 is locking sound resources. message: 2015-06-17 17:55:23:498 Linphone core [018BFCE8] notifying [display_status] message: 2015-06-17 17:55:23:498 linphone_call_start_media_streams() call=[02C1BED0] local upload_bandwidth=[0] kbit/s; local download_bandwidth=[0] kbit/s message: 2015-06-17 17:55:23:498 Audio bandwidth for this call is 24 message: 2015-06-17 17:55:23:498 RtpSession [02C9C120] sending to rtp [10.0.1.142:16894] rtcp [10.0.1.142:16895] message: 2015-06-17 17:55:23:498 Stun packet sent for session [02C9C120] message: 2015-06-17 17:55:23:498 ms_filter_unlink: MSRtpRecv:02BFC078,0-->MSVoidSink:02BFC0B8,0 message: 2015-06-17 17:55:23:498 speex_lib_ctl init without neon error: 2015-06-17 17:55:23:498 No such filter with id 117 message: 2015-06-17 17:55:23:498 target bitrate not set for stream [02CCDDD8] using payload's bitrate is 24000 message: 2015-06-17 17:55:23:498 Setting audio encoder network bitrate to [24000] on stream [02CCDDD8] message: 2015-06-17 17:55:23:498 MSSpeexEnc: got ptime=20 message: 2015-06-17 17:55:23:498 MSSpeexEnc: got ptime=20 message: 2015-06-17 17:55:23:498 Equalizer rate: 8000, selecting 128 steps for FFT message: 2015-06-17 17:55:23:498 Equalizer rate: 32000, selecting 512 steps for FFT message: 2015-06-17 17:55:23:498 ms_filter_link: MSWinSndRead:02BFC078,0-->MSVolume:02BFBE78,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSVolume:02BFBE78,0-->MSAudioMixer:02BFC678,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSAudioMixer:02BFC678,0-->MSSpeexEnc:02BFC5B8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSSpeexEnc:02BFC5B8,0-->MSRtpSend:02BFBFB8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSRtpRecv:02BFC538,0-->MSSpeexDec:02BFC5F8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSSpeexDec:02BFC5F8,0-->MSDtmfGen:02BFC578,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSDtmfGen:02BFC578,0-->MSVolume:02BFC638,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSVolume:02BFC638,0-->MSTee:02BFC738,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSTee:02BFC738,0-->MSEqualizer:02BFC778,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSEqualizer:02BFC778,0-->MSAudioMixer:02CD9FD8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSFilePlayer:02CDA018,0-->MSResample:02CDA058,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSResample:02CDA058,0-->MSAudioMixer:02CD9FD8,1 message: 2015-06-17 17:55:23:498 ms_filter_link: MSAudioMixer:02CD9FD8,0-->MSWinSndWrite:02BFC0B8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSAudioMixer:02BFC678,1-->MSAudioMixer:02BFC6F8,0 message: 2015-06-17 17:55:23:498 ms_filter_link: MSTee:02BFC738,1-->MSAudioMixer:02BFC6F8,1 message: 2015-06-17 17:55:23:498 ms_filter_link: MSAudioMixer:02BFC6F8,0-->MSFileRec:02BFC6B8,0 message: 2015-06-17 17:55:23:517 Setting maxbitrate=8000 to speex encoder. message: 2015-06-17 17:55:23:517 Using bitrate 7550 for speex encoder, ip bitrate is 23200 message: 2015-06-17 17:55:23:517 Initializing speex resampler in mode [voip] message: 2015-06-17 17:55:23:522 Filter MSRtpRecv is already being scheduled; nothing to do. message: 2015-06-17 17:55:23:522 MSVolume set gain to [0,000000 db], [1,000000] linear message: 2015-06-17 17:55:23:522 Setting video size 352x288 on stream [02C1C438] message: 2015-06-17 17:55:23:522 linphone_call_start_video_stream lc rotation:0 From MAILER-DAEMON Wed Jun 17 15:33:14 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5J5G-00031c-HI for mharc-linphone-developers@gnu.org; Wed, 17 Jun 2015 15:33:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5J5C-0002x4-Q6 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 15:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5J58-0007im-N4 for linphone-developers@nongnu.org; Wed, 17 Jun 2015 15:33:10 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:34942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5J58-0007hi-HW for linphone-developers@nongnu.org; Wed, 17 Jun 2015 15:33:06 -0400 Received: by iesa3 with SMTP id a3so40927678ies.2 for ; Wed, 17 Jun 2015 12:33:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=m6t3H0aV9NauNnLKw4eHELwIWZJ+YxFBsl/ksE720AI=; b=CNmepqaBwEOVAsLnylA0BX6F07K5zzLx+DuAxxBOMDSE+4zM/IQ1XYeW08x/0cVzDX n+zJ4qiEqBTa2bzO8ibGDgvELlHd5Fg79/6RcLChnygXw5kwu04/bktVwgfxCH3KnPvB j4KXbTF+z/c0VgbHDs2eJeRKkyktS6g6rwj5KzmFwi10oqz61KJ971G+76tWRwVBYgCr yB3ACRxEDiKLclJSv2FzVE+Ab8hV/jz1ww+V8MZgn/mEMOifMQk+NpM6MBl4qIprx9ig O1zxaP7/NVQT6GAFNwekQMDvrw2rjoMxTyRRzWoGZ+D1QJmbinI+JMvqAPVbhVOrVcJE sGTg== X-Gm-Message-State: ALoCoQmg6DgOW4RYlndanoVNbXadIgUWF8EvDfQ4oHn0tNylnFqm/TeydNxVUufby/GP2tluLq9P X-Received: by 10.42.215.11 with SMTP id hc11mr2014705icb.78.1434569585537; Wed, 17 Jun 2015 12:33:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.168.98 with HTTP; Wed, 17 Jun 2015 12:32:45 -0700 (PDT) From: Manuel Camargo Lominchar Date: Wed, 17 Jun 2015 21:32:45 +0200 Message-ID: To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=20cf301d41148d4d990518bbc2aa X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.174 Subject: [Linphone-developers] Issues compiling X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 19:33:12 -0000 --20cf301d41148d4d990518bbc2aa Content-Type: text/plain; charset=UTF-8 For some reason I'm unable to compile anyhow under Ubuntu 14.10 BUILD FAILED /home/manuel/Android/Sdk/tools/ant/build.xml:649: The following error occurred while executing this line: /home/manuel/Android/Sdk/tools/ant/build.xml:694: Execute failed: java.io.IOException: Cannot run program "/home/mcamargo/androidlib/linphone-android/${aapt}": error=2, No such file or directory I've tried: To install all 32 bits libraries known: lib32stdc++6 lib32z1 gcc-multilib Even following this guide: http://www.coders-hub.com/2015/04/start-working-on-linphone-android-part-1.html I was able to install it on my office's PC with ubuntu 14.04 so i'm councious it could be something related with this one... both 64bit versions. Any ideas where may I find the solution? -- Manuel --20cf301d41148d4d990518bbc2aa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For some reason I'm unable to compile anyhow under Ubunt= u 14.10

BUILD FAILED
/home/manuel/A= ndroid/Sdk/tools/ant/build.xml:649: The following error occurred while exec= uting this line:
/home/manuel/Android/Sdk/tools/ant/build.xml:694= : Execute failed: java.io.IOException: Cannot run program "/home/mcama= rgo/androidlib/linphone-android/${aapt}": error=3D2, No such file or d= irectory

I've tried:
To instal= l all 32 bits libraries known:
lib32stdc++6 lib32z1=C2=A0gcc-mult= ilib

Even following this guide:

I was able to install it= on my office's PC with ubuntu 14.04 so i'm councious it could be s= omething related with this one... both 64bit versions.

=
Any ideas where may I find the solution?

--
Manuel
--20cf301d41148d4d990518bbc2aa-- From MAILER-DAEMON Thu Jun 18 03:56:07 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5UgB-0002sq-I3 for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 03:56:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ug8-0002sY-Cz for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ug4-0003l4-1d for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:04 -0400 Received: from [2001:41d0:52:300::b4] (port=44060 helo=berfini.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ug3-0003ie-1I for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:55:59 -0400 Received: from [192.168.0.107] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: sylvain) by berfini.me (Postfix) with ESMTPSA id 7493F1CC0220 for ; Thu, 18 Jun 2015 09:55:54 +0200 (CEST) To: linphone-developers@nongnu.org References: From: Sylvain Berfini Organization: Belledonne Communications Message-ID: <55827972.5060202@linphone.org> Date: Thu, 18 Jun 2015 09:55:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------080602020009050506050405" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:41d0:52:300::b4 Subject: Re: [Linphone-developers] LinphoneChatRoom PeerAddress is not getting updated X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 07:56:05 -0000 This is a multi-part message in MIME format. --------------080602020009050506050405 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi Yonatan, You will only get a displayName if the SIP address used to create the=20 chatRoom contains one. Your problem is you don't set the displayName when creating the=20 chatRoom, you set it on a variable you get once it has been created (and=20 not on the chatRoom itself). Here's how to do that: LinphoneAddress addr =3D=20 LinphoneCoreFactory.instance().createLinphoneAddress(destination); addr.setDisplayName(name); LinphoneChatRoom room =3D core.getOrCreateChatRoom(addr.asString()); Cheers. Sylvain Berfini Software Engineer @ Belledonne Communications Le 17/06/2015 09:27, Yonatan Nir a =E9crit : > Someone? > > > -----------------------------------------------------------------------= - > > > I'm trying to create a new LinphoneChatRoom using this code: > > public void createNewChatRoom(String destination, String name) > { > LinphoneChatRoom[] rooms =3D core.getChatRooms(); > for (LinphoneChatRoom room : rooms) > { > Log.d("name1: " + room.getPeerAddress().getDisplayName()); > } > LinphoneChatRoom room =3D core.getOrCreateChatRoom(destination)= ; > if (room !=3D null) > { > room.getPeerAddress().setDisplayName(name); > } > rooms =3D core.getChatRooms(); > for (LinphoneChatRoom room2 : rooms) > { > Log.d("name2: " + room2.getPeerAddress().getDisplayName()); > } > } > > During the first iteration on the rooms (name1 iteration) all of the=20 > display names I'm getting are null. At the second iteration over the=20 > rooms (name2 iteration), There is indeed a new room that was added and=20 > the array is +1 in size, but again, all the display names are null=20 > even though I just set it. > Why is this happening? > > > _______________________________________________ Linphone-developers=20 > mailing list Linphone-developers@nongnu.org=20 > https://lists.nongnu.org/mailman/listinfo/linphone-developers > !DSPAM:5581216b17625645616360! > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > !DSPAM:5581216b17625645616360! --------------080602020009050506050405 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Yonatan,

You will only get a displayName if the SIP address used to create the chatRoom contains one.
Your problem is you don't set the displayName when creating the chatRoom, you set it on a variable you get once it has been created (and not on the chatRoom itself).

Here's how to do that:
LinphoneAddress addr =3D LinphoneCoreFactory.instance().createLinphoneAddress(destination);<= br> addr.setDisplayName(name);
LinphoneChatRoom room =3D core.getOrCreateChatRoom(addr.asString())= ;

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 09:27, Yonatan Nir a =E9crit=A0:
Someone?





I'm trying to create a new LinphoneChatRoom using this code:

public void createNewChatRoom(String destination, String name)
=A0=A0=A0 {
=A0=A0=A0 =A0=A0=A0 LinphoneChatRoom[] rooms =3D core.getChat= Rooms();
=A0=A0=A0 =A0=A0=A0 for (LinphoneChatRoom room : rooms)
=A0=A0=A0 =A0=A0=A0 {
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 Log.d("name1: " + room.getPeerAddress().getDisplayName());
=A0=A0=A0 =A0=A0=A0 }
=A0=A0=A0 =A0=A0=A0 LinphoneChatRoom room =3D core.getOrCreateChatRoom(destination);
=A0=A0=A0 =A0=A0=A0 if (room !=3D null)
=A0=A0=A0 =A0=A0=A0 {
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 room.getPeerAddress().setDispla= yName(name);
=A0=A0=A0 =A0=A0=A0 }
=A0=A0=A0 =A0=A0=A0 rooms =3D core.getChatRooms();
=A0=A0=A0 =A0=A0=A0 for (LinphoneChatRoom room2 : rooms)
=A0=A0=A0 =A0=A0=A0 {
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 Log.d("name2: " + room2.getPeerAddress().getDisplayName());
=A0=A0=A0 =A0=A0=A0 }
=A0=A0=A0 }

During the first iteration on the rooms (name1 iteration) all of the display names I'm getting are null. At the second iteration over the rooms (name2 iteration), There is indeed a new room that was added and the array is +1 in size, but again, all the display names are null even though I just set it.
Why is this happening?


_______________________________________________ Linphone-developers mailing list Linphone-developers@nongnu.org https://lists.nongnu.org/mailm= an/listinfo/linphone-developers
!DSPAM:5581216b17625645616360!

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinf=
o/linphone-developers


!DSPAM:5581216b17625645616360!

--------------080602020009050506050405-- From MAILER-DAEMON Thu Jun 18 03:56:40 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5Ugi-0003DO-Qe for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 03:56:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ugg-0003DG-2c for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ugc-00040U-20 for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:37 -0400 Received: from [2001:41d0:52:300::b4] (port=44237 helo=berfini.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ugb-00040E-RK for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:33 -0400 Received: from [192.168.0.107] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: sylvain) by berfini.me (Postfix) with ESMTPSA id AD7531CC0227 for ; Thu, 18 Jun 2015 09:56:32 +0200 (CEST) To: linphone-developers@nongnu.org References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> <162EDFEEE2724D6390DCBE6A1A72DEE6@Office> From: Sylvain Berfini Organization: Belledonne Communications Message-ID: <55827999.3090402@linphone.org> Date: Thu, 18 Jun 2015 09:56:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <162EDFEEE2724D6390DCBE6A1A72DEE6@Office> Content-Type: multipart/alternative; boundary="------------000601000303070209070200" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:41d0:52:300::b4 Subject: Re: [Linphone-developers] Android background mode X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 07:56:39 -0000 This is a multi-part message in MIME format. --------------000601000303070209070200 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi Mbebs, There is a setting in the advanced section of the settings that does=20 exactly that. Cheers. Sylvain Berfini Software Engineer @ Belledonne Communications Le 17/06/2015 15:20, Mbebs Kunuwo a =E9crit : > Dear Developers, > How do I disable the background mode in Linphone android? > Thanks, > Mbebs > !DSPAM:5581744c18155589320092! > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > !DSPAM:5581744c18155589320092! --------------000601000303070209070200 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Mbebs,

There is a setting in the advanced section of the settings that does exactly that.

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 15:20, Mbebs Kunuwo a =E9crit=A0:
= Dear Developers,
=A0
= How do I disable the background mode in Linphone android?
=A0
= Thanks,
=A0
= Mbebs
!DSPAM:5581744c18155589320092!

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinf=
o/linphone-developers


!DSPAM:5581744c18155589320092!

--------------000601000303070209070200-- From MAILER-DAEMON Thu Jun 18 03:56:59 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5Uh1-0003aV-JH for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 03:56:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ugy-0003V9-Ca for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ugu-00045O-9m for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:56 -0400 Received: from [2001:41d0:52:300::b4] (port=44319 helo=berfini.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ugt-00045C-OK for linphone-developers@nongnu.org; Thu, 18 Jun 2015 03:56:51 -0400 Received: from [192.168.0.107] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: sylvain) by berfini.me (Postfix) with ESMTPSA id 550D71CC0227 for ; Thu, 18 Jun 2015 09:56:50 +0200 (CEST) To: linphone-developers@nongnu.org References: From: Sylvain Berfini Organization: Belledonne Communications Message-ID: <558279AA.8060004@linphone.org> Date: Thu, 18 Jun 2015 09:56:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------020006030302030309030208" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:41d0:52:300::b4 Subject: Re: [Linphone-developers] Issues compiling X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 07:56:57 -0000 This is a multi-part message in MIME format. --------------020006030302030309030208 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi Manuel, Yes there is a compilation issue with the latest Android SDK Tools (24.3.= X). We are aware of that and we are working on finding a way to fix this. To=20 my knowledge there is now way to downgrade, but if you know how to, I'm=20 interested. If you already compiled the library at least once, you can use Eclipse=20 or Android Studio to recompile the changes in the java source code. However if you don't have any liblinphone*.so in the libs directory you=20 can use our nightly SDK=20 (http://linphone.org/snapshots/android/liblinphone-android-sdk-latest.zip= ). It contains all the libraries (and a jar of the linphone java classes).=20 Fortunately we didn't update the SDK tools on this machine... I'll keep you updated when this issue will be fixed. Cheers. Sylvain Berfini Software Engineer @ Belledonne Communications Le 17/06/2015 21:32, Manuel Camargo Lominchar a =E9crit : > For some reason I'm unable to compile anyhow under Ubuntu 14.10 > > BUILD FAILED > /home/manuel/Android/Sdk/tools/ant/build.xml:649: The following error=20 > occurred while executing this line: > /home/manuel/Android/Sdk/tools/ant/build.xml:694: Execute failed:=20 > java.io.IOException: Cannot run program=20 > "/home/mcamargo/androidlib/linphone-android/${aapt}": error=3D2, No suc= h=20 > file or directory > > I've tried: > To install all 32 bits libraries known: > lib32stdc++6 lib32z1 gcc-multilib > > Even following this guide: > http://www.coders-hub.com/2015/04/start-working-on-linphone-android-par= t-1.html > > I was able to install it on my office's PC with ubuntu 14.04 so i'm=20 > councious it could be something related with this one... both 64bit=20 > versions. > > Any ideas where may I find the solution? > > -- > Manuel > !DSPAM:5581cb8918991925520742! > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > !DSPAM:5581cb8918991925520742! --------------020006030302030309030208 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Manuel,

Yes there is a compilation issue with the latest Android SDK Tools (24.3.X).
We are aware of that and we are working on finding a way to fix this. To my knowledge there is now way to downgrade, but if you know how to, I'm interested.

If you already compiled the library at least once, you can use Eclipse or Android Studio to recompile the changes in the java source code.
However if you don't have any liblinphone*.so in the libs directory you can use our nightly SDK (http://linphone.org/snapshots/android/liblinphone-android-sdk-la= test.zip).
It contains all the libraries (and a jar of the linphone java classes). Fortunately we didn't update the SDK tools on this machine...

I'll keep you updated when this issue will be fixed.

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 21:32, Manuel Camargo Lominchar a =E9crit=A0:
For some reason I'm unable to compile anyhow under Ubuntu 14.10

BUILD FAILED
/home/manuel/Android/Sdk/tools/ant/build= .xml:649: The following error occurred while executing this line:
/home/manuel/Android/Sdk/tools/ant/build= .xml:694: Execute failed: java.io.IOException: Cannot run program "/home/mcamargo/androidlib/linphone-android= /${aapt}": error=3D2, No such file or directory

I've tried:
To install all 32 bits libraries known:
lib32stdc++6 lib32z1=A0gcc-multilib

Even following this guide:

I was able to install it on my office's PC with ubuntu 14.04 so i'm councious it could be something related with this one... both 64bit versions.

Any ideas where may I find the solution?

--
Manuel
!DSPAM:5581cb8918991925520742!

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinf=
o/linphone-developers


!DSPAM:5581cb8918991925520742!

--------------020006030302030309030208-- From MAILER-DAEMON Thu Jun 18 04:02:09 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5Um1-00071i-60 for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 04:02:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Uly-00070p-LM for linphone-developers@nongnu.org; Thu, 18 Jun 2015 04:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ulr-0006px-Sh for linphone-developers@nongnu.org; Thu, 18 Jun 2015 04:02:06 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:58700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ulr-0006pm-Ly for linphone-developers@nongnu.org; Thu, 18 Jun 2015 04:01:59 -0400 Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id D6C8DFBF41 for ; Thu, 18 Jun 2015 10:01:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter13-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 04-cFC4AKPRa for ; Thu, 18 Jun 2015 10:01:57 +0200 (CEST) X-Originating-IP: 82.233.127.185 Received: from [192.168.0.128] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 75F31FBF44 for ; Thu, 18 Jun 2015 10:01:57 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: Date: Thu, 18 Jun 2015 10:01:59 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1372912E-8676-4BF6-A944-73E1373A7AE4@belledonne-communications.com> References: To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::198 Subject: Re: [Linphone-developers] Issues compiling X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 08:02:07 -0000 It seems you are running the exact same problem than William Hutchison = here 2 days ago: = http://lists.nongnu.org/archive/html/linphone-developers/2015-06/msg00060.= html BUT before applying the brut force-linking of executable can you do the = following: 1) assuming $ANDROID_HOME is set to your Android SDK directory 2) output of: find $ANDROID_HOME -name aapt 3) output of: find $ANDROID_HOME -name aapt -exec bash -c "{} = &>/dev/null ; echo $?" \; 3) meant to test that aapt is runnable on your computer (if output is = "permission denied", it is probably another missing 32 bits library). =20 Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 17 Jun 2015, at 21:32, Manuel Camargo Lominchar = wrote: >=20 > For some reason I'm unable to compile anyhow under Ubuntu 14.10 >=20 > BUILD FAILED > /home/manuel/Android/Sdk/tools/ant/build.xml:649: The following error = occurred while executing this line: > /home/manuel/Android/Sdk/tools/ant/build.xml:694: Execute failed: = java.io.IOException: Cannot run program = "/home/mcamargo/androidlib/linphone-android/${aapt}": error=3D2, No such = file or directory >=20 > I've tried: > To install all 32 bits libraries known: > lib32stdc++6 lib32z1 gcc-multilib >=20 > Even following this guide: > = http://www.coders-hub.com/2015/04/start-working-on-linphone-android-part-1= .html >=20 > I was able to install it on my office's PC with ubuntu 14.04 so i'm = councious it could be something related with this one... both 64bit = versions. >=20 > Any ideas where may I find the solution? >=20 > -- > Manuel >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Thu Jun 18 07:29:53 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5Y13-0006Tw-GK for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 07:29:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Y0v-0006TL-O8 for linphone-developers@nongnu.org; Thu, 18 Jun 2015 07:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Y0s-0006K9-9F for linphone-developers@nongnu.org; Thu, 18 Jun 2015 07:29:45 -0400 Received: from [2001:41d0:52:300::b4] (port=54709 helo=berfini.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Y0r-0006JM-Va for linphone-developers@nongnu.org; Thu, 18 Jun 2015 07:29:42 -0400 Received: from [192.168.0.107] (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: sylvain) by berfini.me (Postfix) with ESMTPSA id EEACA1CC013B; Thu, 18 Jun 2015 13:29:40 +0200 (CEST) To: linphone-developers@nongnu.org References: From: Sylvain Berfini Organization: Belledonne Communications Message-ID: <5582ABA4.9020100@linphone.org> Date: Thu, 18 Jun 2015 13:29:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------060108020607000106040102" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:41d0:52:300::b4 Cc: mcamargo@boizu.com Subject: Re: [Linphone-developers] Issues compiling X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 11:29:52 -0000 This is a multi-part message in MIME format. --------------060108020607000106040102 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi again Manuel, This compilation has been fixed. It was caused by the removal of the binaries properties declarations in=20 the main build.xml: The commit id with the fix is: f5dd5cf4fd878b3b34a3b0c3eb7d3a3f37aa5a63 Cheers. Sylvain Berfini Software Engineer @ Belledonne Communications Le 17/06/2015 21:32, Manuel Camargo Lominchar a =E9crit : > For some reason I'm unable to compile anyhow under Ubuntu 14.10 > > BUILD FAILED > /home/manuel/Android/Sdk/tools/ant/build.xml:649: The following error=20 > occurred while executing this line: > /home/manuel/Android/Sdk/tools/ant/build.xml:694: Execute failed:=20 > java.io.IOException: Cannot run program=20 > "/home/mcamargo/androidlib/linphone-android/${aapt}": error=3D2, No suc= h=20 > file or directory > > I've tried: > To install all 32 bits libraries known: > lib32stdc++6 lib32z1 gcc-multilib > > Even following this guide: > http://www.coders-hub.com/2015/04/start-working-on-linphone-android-par= t-1.html > > I was able to install it on my office's PC with ubuntu 14.04 so i'm=20 > councious it could be something related with this one... both 64bit=20 > versions. > > Any ideas where may I find the solution? > > -- > Manuel > !DSPAM:5581cb8918991925520742! > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > !DSPAM:5581cb8918991925520742! --------------060108020607000106040102 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi again Manuel,

This compilation has been fixed.
It was caused by the removal of the binaries properties declarations in the main build.xml:
<property name=3D"aidl" location=3D"${android.build.tools.dir}/aidl${exe}" />
<property name=3D"aapt" location=3D"${android.build.tools.dir}/aapt${exe}" />
<property name=3D"dx" location=3D"${android.build.tools.dir}/dx${bat}" />
<property name=3D"zipalign" location=3D"${android.build.tools.dir}/zipalign${exe}" />

The commit id with the fix is: f5dd5cf4fd878b3b34a3b0c3eb7d3a3f37aa5a63

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 21:32, Manuel Camargo Lominchar a =E9crit=A0:
For some reason I'm unable to compile anyhow under Ubuntu 14.10

BUILD FAILED
/home/manuel/Android/Sdk/tools/ant/build= .xml:649: The following error occurred while executing this line:
/home/manuel/Android/Sdk/tools/ant/build= .xml:694: Execute failed: java.io.IOException: Cannot run program "/home/mcamargo/androidlib/linphone-android= /${aapt}": error=3D2, No such file or directory

I've tried:
To install all 32 bits libraries known:
lib32stdc++6 lib32z1=A0gcc-multilib

Even following this guide:

I was able to install it on my office's PC with ubuntu 14.04 so i'm councious it could be something related with this one... both 64bit versions.

Any ideas where may I find the solution?

--
Manuel
!DSPAM:5581cb8918991925520742!

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinf=
o/linphone-developers


!DSPAM:5581cb8918991925520742!

--------------060108020607000106040102-- From MAILER-DAEMON Thu Jun 18 08:59:53 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5ZQ9-0004h7-66 for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 08:59:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5ZQ7-0004gr-2b for linphone-developers@nongnu.org; Thu, 18 Jun 2015 08:59:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5ZQ2-00046d-TP for linphone-developers@nongnu.org; Thu, 18 Jun 2015 08:59:51 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5ZQ2-00046C-My for linphone-developers@nongnu.org; Thu, 18 Jun 2015 08:59:46 -0400 Received: from mfilter27-d.gandi.net (mfilter27-d.gandi.net [217.70.178.155]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 758B017208B for ; Thu, 18 Jun 2015 14:59:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter27-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter27-d.gandi.net (mfilter27-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id zWh85sFBx0vq for ; Thu, 18 Jun 2015 14:59:44 +0200 (CEST) X-Originating-IP: 10.58.1.142 Received: from webmail.gandi.net (webmail2-d.mgt.gandi.net [10.58.1.142]) (Authenticated sender: virginie.falzone@ezbeez.eu) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 1DE191720DB for ; Thu, 18 Jun 2015 14:59:44 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Jun 2015 14:59:44 +0200 From: virginie.falzone@ezbeez.eu To: linphone-developers@nongnu.org Message-ID: X-Sender: virginie.falzone@ezbeez.eu User-Agent: Roundcube Webmail/1.1.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: [Linphone-developers] Help for Linphone X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 12:59:51 -0000 Hello I don't know if you receive my first email I have a problem with linphone : it doesn't recognize my audio headphones Could you please help me? Thank you in advance Virginie Sales manager @Ezbeez France From MAILER-DAEMON Thu Jun 18 09:03:55 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5ZU3-0005YI-UC for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 09:03:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5ZU1-0005Y4-5D for linphone-developers@nongnu.org; Thu, 18 Jun 2015 09:03:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5ZTv-0005eX-Cg for linphone-developers@nongnu.org; Thu, 18 Jun 2015 09:03:53 -0400 Received: from st11p00im-asmtp004.me.com ([17.172.80.98]:49065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5ZTv-0005eT-6t for linphone-developers@nongnu.org; Thu, 18 Jun 2015 09:03:47 -0400 Received: from Office (c-76-30-215-141.hsd1.tx.comcast.net [76.30.215.141]) by st11p00im-asmtp004.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NQ500MQP5M9L720@st11p00im-asmtp004.me.com> for linphone-developers@nongnu.org; Thu, 18 Jun 2015 13:03:46 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-06-18_03:2015-06-18, 2015-06-18, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1506180225 Message-id: <7FD240B24F8E420B9DEE70CB5750F7B5@Office> From: Mbebs Kunuwo To: linphone-developers@nongnu.org References: <20150616180031.959ce3b3e6995670b3a7b746@yandex.ru> <55804327.8080501@linphone.org> <15061434497462@web2g.yandex.ru> <162EDFEEE2724D6390DCBE6A1A72DEE6@Office> <55827999.3090402@linphone.org> In-reply-to: <55827999.3090402@linphone.org> Date: Thu, 18 Jun 2015 08:03:46 -0500 MIME-version: 1.0 Content-type: multipart/alternative; boundary="----=_NextPart_000_0784_01D0A99D.4D2B3020" X-Priority: 3 X-MSMail-priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MIMEOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 17.172.80.98 Subject: Re: [Linphone-developers] Android background mode. X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 13:03:55 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0784_01D0A99D.4D2B3020 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Sylvain, How do you disable that programmatically in the code? Thanks Mbebs From: Sylvain Berfini=20 Sent: Thursday, June 18, 2015 2:56 AM To: linphone-developers@nongnu.org=20 Subject: Re: [Linphone-developers] Android background mode Hi Mbebs, There is a setting in the advanced section of the settings that does = exactly that. Cheers.=20 Sylvain Berfini Software Engineer @ Belledonne CommunicationsLe 17/06/2015 15:20, Mbebs = Kunuwo a =E9crit : Dear Developers, How do I disable the background mode in Linphone android? Thanks, Mbebs !DSPAM:5581744c18155589320092!=20 =20 _______________________________________________ Linphone-developers mailing list Linphone-developers@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-developers !DSPAM:5581744c18155589320092! -------------------------------------------------------------------------= ------- _______________________________________________ Linphone-developers mailing list Linphone-developers@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-developers ------=_NextPart_000_0784_01D0A99D.4D2B3020 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi Sylvain,
How do you disable that programmatically in the code?
Thanks
Mbebs
 
From: Sylvain Berfini
Sent: Thursday, June 18, 2015 2:56 AM
Subject: Re: [Linphone-developers] Android background=20 mode
 
Hi Mbebs,

There is a setting in the = advanced=20 section of the settings that does exactly that.

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 15:20, = Mbebs=20 Kunuwo a =E9crit :
Dear=20 Developers,
 
How do I = disable the=20 background mode in Linphone android?
 
Thanks,
 
Mbebs
!DSPAM:5581744c18155589320092= !

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu=
.org
ht=
tps://lists.nongnu.org/mailman/listinfo/linphone-developers


!DSPAM:5581744c18155589320092!


_______________________________________________
Linphone-developers = mailing=20 list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailma= n/listinfo/linphone-developers
------=_NextPart_000_0784_01D0A99D.4D2B3020-- From MAILER-DAEMON Thu Jun 18 10:14:11 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5aa3-000573-PZ for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 10:14:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5aa1-00054q-1s for Linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:14:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5aZx-0003fz-RK for Linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:14:09 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:34275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5aZx-0003ft-Ns for Linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:14:05 -0400 Received: by igboe5 with SMTP id oe5so19538236igb.1 for ; Thu, 18 Jun 2015 07:14:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=8ukN9e+amWxCjAiiPTD+sDPPXVQxbbSv4n1k5IWnXqo=; b=UN0X2gIWtGE9L9rIxA1oRbwZr7MXyLvmJgqJoC10G9ieO/9slcp1q+99jNpvoqzp7s QjxfoEMS94VfQxl9+o/dPEX+aJsOkUyxlqYRCkBdbbrZYoXmliyo4y0br/QEKcjXgVt9 FeCYtdKxhY8tl0L/Ebk2EwZvXXptsJx544rQZsFysBNdLqnxJ5mTmnJH6UzYKjOc1SmB ICPQNO5426r1A5mwT2C+kw4nZ/Eo1Q/x07tNGwQQO/nJGX60wpwXOSIlMdWkv1oLDGdL lKlSCV5nsDOWXl2u82HS6PcbgaXPgIbdA7+12Q1P1We3UefTLex8q7oZAiZBf7csXMy3 Wu4w== X-Gm-Message-State: ALoCoQnJ5Zn4W9SD5/tbLGiSRY/IHUTTDGUiQs7cq1iyuAQUDqJePpRGg2F7mks5a79YpvCPM1dS X-Received: by 10.42.131.202 with SMTP id a10mr6130950ict.49.1434636845071; Thu, 18 Jun 2015 07:14:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.15.231 with HTTP; Thu, 18 Jun 2015 07:13:44 -0700 (PDT) From: Manuel Camargo Lominchar Date: Thu, 18 Jun 2015 16:13:44 +0200 Message-ID: To: Linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=bcaec552378088695a0518cb6b92 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.180 Subject: [Linphone-developers] Android application run errors X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:14:10 -0000 --bcaec552378088695a0518cb6b92 Content-Type: text/plain; charset=UTF-8 For some reason, I've found most of the dev is based on eclipse including documentation READMEs Thing is i'm trying to run an app based on Android Studio and Gradle and I'm not able to solve this issue: Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.linphone.linphonetest-1/base.apk"], nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "liblinphone-x86.so" But liblinphone-x86 is in the root folder under libs/x86/ Any ideas of what might be causing this? Regards Manuel --bcaec552378088695a0518cb6b92 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For some= reason, I've found most of the dev is based on eclipse including docum= entation READMEs

Thin= g is i'm trying to run an app based on Android Studio and Gradle and I&= #39;m not able to solve this issue:

Caused by: java.lang.
UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/= com.example.linphone.li= nphonetest-1/base.apk&q= uot;],nativeLibraryDire= ctories=3D[/vendor/lib,= /system/lib]]] couldn't find "liblinphone-x86.so"
But liblinphone-x86 is in the root fo= lder under libs/x86/

= Any ideas of what might be causing this?

Regards
Manuel
--bcaec552378088695a0518cb6b92-- From MAILER-DAEMON Thu Jun 18 10:19:17 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5aez-0006K6-GY for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 10:19:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5aer-0006Jx-Vg for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:19:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5aeo-0005Y2-K3 for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:19:09 -0400 Received: from smtpbguseast2.qq.com ([54.204.34.130]:55458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5aeo-0005VW-Eq for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:19:06 -0400 X-QQ-GoodBg: 0 X-QQ-SSF: 00100000000000F0 X-QQ-FEAT: kFVouW1L/5jHQvIiwABGXPcvCe2cLTElHzdijp2QXtVPbdUWtuROnsmxAmQvr 4rIsvihrt6GAxCj660m5nsXs1WguNOJH7Q6i4/FB35HbQcnwSowiJ/XOfurIWeHs39O20Qs 0bl6H9FXYk5Wsn5RnZxJ1HF4x1++Whvq2RI3K9bv9nl1MUUU9a+iJV/4LdIupkT5LSN2SJM = X-QQ-BUSINESS-ORIGIN: 2 X-Originating-IP: 180.150.229.189 X-QQ-STYLE: X-QQ-mid: bizmail38t1434637131t334849 From: "=?utf-8?B?5pu56LS15p6X?=" To: "=?utf-8?B?TGlucGhvbmUtZGV2ZWxvcGVycw==?=" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_5582D34B_0A433FF8_124A5447" Content-Transfer-Encoding: 8Bit Date: Thu, 18 Jun 2015 22:18:51 +0800 X-Priority: 3 Message-ID: X-QQ-MIME: TCMime 1.0 by Tencent X-Mailer: QQMail 2.x X-QQ-Mailer: QQMail 2.x X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 54.204.34.130 Subject: [Linphone-developers] [Help] Is it possible for linphone-android to decode video stream with GPU? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:19:16 -0000 This is a multi-part message in MIME format. ------=_NextPart_5582D34B_0A433FF8_124A5447 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgZnJpZW5kcywNCkkndmUgYmVlbiB3b3JraW5nIG9uIGxpbnBob25lLWFuZHJvaWQgZm9y IG1vbnRocy4gV2UgaGF2ZSBvdXIgb3duIGhhcmR3YXJlIGRldmljZSwgd2hpY2ggaXMgYmFz ZWQgb24gYW4gQWxsLVdpbm5lciBBODAgTUNVIGFuZCBydW5zIGFuZHJvaWQgNC40LnguIE91 ciB0ZWFtIHN1Y2Nlc3NmdWxseSBtYWtlIGxpbnBob25lLWFuZHJvaWQgd29yayBvbiB0aGlz IGRldmljZS4gQm90aCB2aWRlbyBhbmQgYXVkaW8gYmVnaW4gdG8gd29yay4gDQoNCg0KVGhl IHByb2JsZW0gaXMgdGhhdCB0aGUgdmlkZW8gc3RyZWFtIGlzIGluIEJBRCBxdWFsaXR5LiBU aGUgdmlkZW8gZGlzcGxheWVkIG9uIG91ciBkZXZpY2UgaXMgbm90IHZlcnkgY2xlYXIsIGNv bXBhcmVkIHdpdGggU2t5cGUuIEkgdGhpbmsgbGlucGhvbmUtYW5kcm9pZCBzaG91bGQgZGVj b2RlIHZpZGVvIHN0ZWFtIHdpdGggQ1BVIGJ5IGRlZmF1bHQuIEkgd29uZGVyIGlmIGl0IGlz IHBvc3NpYmxlIGZvciBsaW5waG9uZS1hbmRyb2lkIHRvIGRlY29kZSB2aWRlbyBzdHJlYW0g d2l0aCBHUFUsIHNvIHRoYXQgdGhlIHZpZGVvIHF1YWxpdHkgY2FuIGJlIGltcHJvdmVkLiAN Cg0KDQpBbnkgaWRlYSBpcyBhcHByZWNpYXRlZCEgVGhhbmtzIGluIGFkdm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F0ZWQhIFRoYW5rcyBpbiBhZHZh bmNlIDopPC9kaXY+PGRpdj48c2lnbiBzaWduaWQ9IjAiPjxkaXYgc3R5bGU9ImNvbG9yOiM5 MDkwOTA7Zm9udC1mYW1pbHk6QXJpYWwgTmFycm93O2ZvbnQtc2l6ZToxMnB4Ij48YnI+PGJy Pi0tLS0tLS0tLS0tLS0tLS0tLTwvZGl2PjxkaXYgc3R5bGU9ImZvbnQtc2l6ZToxNHB4O2Zv bnQtZmFtaWx5OlZlcmRhbmE7Y29sb3I6IzAwMDsiPjxkaXY+5pu56LS15p6XIChEZW5uaXMg Q2FvKTwvZGl2Pg0KPC9kaXY+PC9zaWduPjwvZGl2PjxkaXY+Jm5ic3A7PC9kaXY+PGRpdj48 aW5jbHVkZXRhaWw+PCEtLTwhW2VuZGlmXS0tPjwvaW5jbHVkZXRhaWw+PC9kaXY+ ------=_NextPart_5582D34B_0A433FF8_124A5447-- From MAILER-DAEMON Thu Jun 18 10:54:00 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5bCa-0006XE-ND for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 10:54:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5bCX-0006UG-0a for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:53:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5bCT-0007JR-PO for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:53:56 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:33173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5bCT-0007JI-KB for linphone-developers@nongnu.org; Thu, 18 Jun 2015 10:53:53 -0400 Received: by iebgx4 with SMTP id gx4so56257739ieb.0 for ; Thu, 18 Jun 2015 07:53:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=nHwhm1zbuLJpvdaQ2/Kyw0veXPVQOC6CKepPa3Z2Ytc=; b=duolqRX/LXvrg3wpVainYVv5aIB2dikxDUacBS7DU8cWrEwAH3go5fBLR7XodyFEKP PxZh9Jzs+RhBJR4a5WEMXixb8AW4HKLwm4FcSkbd31DYyNASyvooy0TVMMT6x0Bn/6Yz WXnjBfCgGwpEDZonkZvFCSOAeMbPDe74+TV02Lcr/gOGsstZ7j8GcfLPBw11JJSR3MYI HQNnx9amcBp1fXhE7hSPporHjabwYeo3LJvOlkXlIenqJ06AbSzZ9ZgC5kfg07OLY7eq xgN9Jn8X/OXP59EyrDphZr9WmNHsTDLEa6dFdPtXD6eAQ6IVS8OvGiJ5eb8fIweU4OiL n2FA== X-Gm-Message-State: ALoCoQmX2tTgO2uQwbi3JT0qwWX9P+CQQtzGJPJ4TfHGPc8z/dSeUqN+C41Gj2TU7V6WWh3bYaet X-Received: by 10.107.12.202 with SMTP id 71mr15694453iom.73.1434639232791; Thu, 18 Jun 2015 07:53:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.15.231 with HTTP; Thu, 18 Jun 2015 07:53:32 -0700 (PDT) In-Reply-To: <5582ABA4.9020100@linphone.org> References: <5582ABA4.9020100@linphone.org> From: Manuel Camargo Lominchar Date: Thu, 18 Jun 2015 16:53:32 +0200 Message-ID: To: Sylvain Berfini Content-Type: multipart/alternative; boundary=001a113fc42cda30590518cbf963 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.169 Cc: linphone-developers@nongnu.org Subject: Re: [Linphone-developers] Issues compiling X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:53:58 -0000 --001a113fc42cda30590518cbf963 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I can confirm it is working now fine Thank you for the info 2015-06-18 13:29 GMT+02:00 Sylvain Berfini : > Hi again Manuel, > > This compilation has been fixed. > It was caused by the removal of the binaries properties declarations in > the main build.xml: > > > > location=3D"${android.build.tools.dir}/zipalign${exe}" /> > > The commit id with the fix is: f5dd5cf4fd878b3b34a3b0c3eb7d3a3f37aa5a63 > > Cheers. > > Sylvain Berfini > Software Engineer @ Belledonne Communications > > Le 17/06/2015 21:32, Manuel Camargo Lominchar a =C3=A9crit : > > For some reason I'm unable to compile anyhow under Ubuntu 14.10 > > BUILD FAILED > /home/manuel/Android/Sdk/tools/ant/build.xml:649: The following error > occurred while executing this line: > /home/manuel/Android/Sdk/tools/ant/build.xml:694: Execute failed: > java.io.IOException: Cannot run program > "/home/mcamargo/androidlib/linphone-android/${aapt}": error=3D2, No such = file > or directory > > I've tried: > To install all 32 bits libraries known: > lib32stdc++6 lib32z1 gcc-multilib > > Even following this guide: > > http://www.coders-hub.com/2015/04/start-working-on-linphone-android-part-= 1.html > > I was able to install it on my office's PC with ubuntu 14.04 so i'm > councious it could be something related with this one... both 64bit > versions. > > Any ideas where may I find the solution? > > -- > Manuel > !DSPAM:5581cb8918991925520742! > > _______________________________________________ > Linphone-developers mailing listLinphone-developers@nongnu.orghttps://lis= ts.nongnu.org/mailman/listinfo/linphone-developers > > > !DSPAM:5581cb8918991925520742! > > > --001a113fc42cda30590518cbf963 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can confirm it is working now fine

Th= ank you for the info

2015-06-18 13:29 GMT+02:00 Sylvain Berfini <= span dir=3D"ltr"><sylvain.berfini@linphone.org>:
=20 =20 =20
Hi again Manuel,

This compilation has been fixed.
It was caused by the removal of the binaries properties declarations in the main build.xml:
<property name=3D"aidl" location=3D"${android.build.tools.dir}/aidl${exe}" /> <property name=3D"aapt" location=3D"${android.build.tools.dir}/aapt${exe}" /> <property name=3D"dx" location=3D"${android.build.tools.dir}/dx${bat}" />
<property name=3D"zipalign" location=3D"${android.build.tools.dir}/zipalign${exe}" />= ;

The commit id with the fix is: f5dd5cf4fd878b3b34a3b0c3eb7d3a3f37aa5a63

Cheers.
Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 17/06/2015 21:32, Manuel Camargo Lominchar a =C3=A9crit=C2=A0:
For some reason I'm unable to compile anyhow under Ubuntu 14.10

BUILD FAILED
/home/manuel/Android/Sdk/tools/ant/build.x= ml:649: The following error occurred while executing this line:
/home/manuel/Android/Sdk/tools/ant/build.x= ml:694: Execute failed: java.io.IOException: Cannot run program "/home/mcamargo/androidlib/linphone-andr= oid/${aapt}": error=3D2, No such file or directory

I've tried:
To install all 32 bits libraries known:
lib32stdc++6 lib32z1=C2=A0gcc-multilib

Even following this guide:

I was able to install it on my office's PC with ubuntu 14.04 so i'm councious it could be something related with this one... both 64bit versions.

Any ideas where may I find the solution?

--
Manuel
!DSPAM:5581cb8918991925520742!

_______________________________________________
Linphone-developers mailing list
Linphon=
e-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop=
ers


!DSPAM:5581cb8918991925520742!


--001a113fc42cda30590518cbf963-- From MAILER-DAEMON Thu Jun 18 15:27:58 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5fTi-0000mB-7r for mharc-linphone-developers@gnu.org; Thu, 18 Jun 2015 15:27:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5fTf-0000li-TD for linphone-developers@nongnu.org; Thu, 18 Jun 2015 15:27:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5fTZ-00045a-Mj for linphone-developers@nongnu.org; Thu, 18 Jun 2015 15:27:55 -0400 Received: from mail-by2on0068.outbound.protection.outlook.com ([207.46.100.68]:17184 helo=na01-by2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5fTZ-000459-DI for linphone-developers@nongnu.org; Thu, 18 Jun 2015 15:27:49 -0400 Received: from DM2PR0701MB1344.namprd07.prod.outlook.com (10.161.251.144) by DM2PR0701MB1341.namprd07.prod.outlook.com (10.161.251.141) with Microsoft SMTP Server (TLS) id 15.1.190.14; Thu, 18 Jun 2015 18:54:21 +0000 Received: from DM2PR0701MB1344.namprd07.prod.outlook.com ([10.161.251.144]) by DM2PR0701MB1344.namprd07.prod.outlook.com ([10.161.251.144]) with mapi id 15.01.0190.013; Thu, 18 Jun 2015 18:54:21 +0000 From: Loren Honeycutt To: "linphone-developers@nongnu.org" Thread-Topic: dockable and minimize to notification area Thread-Index: AdCp+AIv64xOeObCSY2JXzUe/GjABA== Date: Thu, 18 Jun 2015 18:54:21 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nongnu.org; dkim=none (message not signed) header.d=none; x-originating-ip: [38.78.197.97] x-microsoft-exchange-diagnostics: 1; DM2PR0701MB1341; 3:TNRn337kcJ6lMfDEA4wwqlDXbjd7gtWcQ7wT8aDOUTwmUqMhmUKe2oJ/uloCK/hKSnMrHVQKob3vjCfBF2jqXdr3O4Cir7cQtyPLhKzqGFl0MPiBNspjf5RI9WIAtKrWGrkLIGiyCVp5gZH1Q5J4OA==; 10:hRlfdzXyX1bo58NqqOV5/bAWiVhOGS2l8TauYSchlIIL4kqbM5tbPoS2php8NDqvY3pNYO/TOlqCdA0uQzaGLuZe8ybMFXronSbMgMr/0dQ=; 6:n2fdMYKiv+pUevxdt9/U6yecNjO1PO2GLxNa/ra5Ao7+1KoTJz49jxwEOPvrnHAd x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0701MB1341; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:DM2PR0701MB1341; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1341; x-forefront-prvs: 0611A21987 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(2900100001)(46102003)(77096005)(102836002)(54356999)(16236675004)(50986999)(74316001)(87936001)(2656002)(19625215002)(92566002)(5002640100001)(2420400003)(15975445007)(66066001)(558084003)(5001960100002)(2351001)(77156002)(62966003)(99286002)(229853001)(110136002)(107886002)(122556002)(5003600100002)(40100003)(19300405004)(189998001)(7110500001)(76576001)(86362001)(19580395003)(450100001)(2501003)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1341; H:DM2PR0701MB1344.namprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: multipart/alternative; boundary="_000_DM2PR0701MB13440DD2623ECFB765C31A3098A50DM2PR0701MB1344_" MIME-Version: 1.0 X-OriginatorOrg: luxonvideo.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2015 18:54:21.2795 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5559c60c-c297-41d1-b1b8-811125a3322d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1341 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.46.100.68 Subject: [Linphone-developers] dockable and minimize to notification area X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 19:27:57 -0000 --_000_DM2PR0701MB13440DD2623ECFB765C31A3098A50DM2PR0701MB1344_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is there any work being done on these two features? 1) Dockable client window (like Pidgin XMPP client is capable of) 2) Minimize client window removes from task bar and show icon only in = notification area --_000_DM2PR0701MB13440DD2623ECFB765C31A3098A50DM2PR0701MB1344_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Is there any work being done on these two features?<= o:p>

 

1)      Dockable client window (like Pidgin XMPP client is = capable of)

2)      Minimize client window removes from task bar and sh= ow icon only in notification area

--_000_DM2PR0701MB13440DD2623ECFB765C31A3098A50DM2PR0701MB1344_-- From MAILER-DAEMON Fri Jun 19 03:24:13 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5qer-0001nL-E1 for mharc-linphone-developers@gnu.org; Fri, 19 Jun 2015 03:24:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5qeo-0001mk-KF for linphone-developers@nongnu.org; Fri, 19 Jun 2015 03:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5qen-0006Tn-AH for linphone-developers@nongnu.org; Fri, 19 Jun 2015 03:24:10 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5qen-0006Ro-4D for linphone-developers@nongnu.org; Fri, 19 Jun 2015 03:24:09 -0400 Received: from vmware.localnet (unknown [IPv6:2a01:e35:2e97:fb90:20c:29ff:feb1:c9af]) (Authenticated sender: francois.grisez@belledonne-communications.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 99A2617209A for ; Fri, 19 Jun 2015 09:24:07 +0200 (CEST) From: =?ISO-8859-1?Q?Fran=E7ois?= Grisez To: linphone-developers@nongnu.org Date: Fri, 19 Jun 2015 09:24:03 +0200 Message-ID: <51239894.ig05ILL2ai@vmware> User-Agent: KMail/4.14.9 (Linux/4.0.5-1-ARCH; KDE/4.14.9; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2267163.mJJzdoryRu"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: Re: [Linphone-developers] dockable and minimize to notification area X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 07:24:11 -0000 --nextPart2267163.mJJzdoryRu Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi Loren, First of all, could you precise these points: 1. What OS do you use ? What version ? 2. If you are on GNU/Linux, what distribution and desktop environment ?= 3. What version of Linphone do you use ? =2D-=20 Fran=E7ois Grisez Software Engineer Belledonne Communications --nextPart2267163.mJJzdoryRu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVg8OTAAoJEITUG7ypc4AFvN4IALOmYQsywN19dKmc+d/ERG0Z sXKRbMHURXNNXR2Qx4/IX4irO07QnM4y6K0kMbMEcGKEWz390LmSFcjemJ7lgXCv QQ9PB8qaoQEyeksjllgvw1Isc9t1ExJeGUDwyvyFv3U5DpseEdSvYSjCY8HJckLe SB2DsQThkAvQryVMo8VxRRU/xMacFGBQW9WTNrRTK95rYkOMxhxwMlHIgcN6iz9B 3OTx4v8bhxirQKludMKqs3JSAZqS1cH14/IRvNhW3aAVueBzOWi2lEyMSWzc8XiW La/XHyyVnLblgi5/lxJiOevxr/NDqISMExss02fDM0FKx0q55gevWRJc9M1ONJs= =uKX3 -----END PGP SIGNATURE----- --nextPart2267163.mJJzdoryRu-- From MAILER-DAEMON Fri Jun 19 05:30:30 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5sd4-00085R-Ei for mharc-linphone-developers@gnu.org; Fri, 19 Jun 2015 05:30:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5sd2-00084g-17 for linphone-developers@nongnu.org; Fri, 19 Jun 2015 05:30:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5sd0-0005cm-Vt for linphone-developers@nongnu.org; Fri, 19 Jun 2015 05:30:27 -0400 Received: from mail-yh0-x22e.google.com ([2607:f8b0:4002:c01::22e]:35967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5sd0-0005cU-RN for linphone-developers@nongnu.org; Fri, 19 Jun 2015 05:30:26 -0400 Received: by yhan67 with SMTP id n67so74374258yha.3 for ; Fri, 19 Jun 2015 02:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jEaQZAqlTAPgiNOAga8rlTt4HWT79FnXCWcmL+DBHpY=; b=dKsKtVIPyFc5cHxyWY8EnEmPWYlaHlS1OoK7Z7oQ95M01uZy/jX5BzDuHXVO4yeFsi krO1dj2OL8ZEp2EumzXs/9ikE8Z2n1bzVvcduMzpwpuCL/vyOgeGZUM8R6wLQ80ehY0I Za1SB7kExjBe3JsUL2/InFUQtzRFevaybkxTcRDJmu8uILMWjJnowhJGEUr26/MDBwpQ uA76GHncD8adUfslb6QfNmL55wFuZR8T8Mhd8Us0R/ciuxHHZZk4m2ne+PwZTuo9Qksx UHjLKHtOFd7UC81qsSPCtFKcluhxEZZicxxO2kppjVCM5J1WccPGVwVJV8inLgflSjdG F5fw== MIME-Version: 1.0 X-Received: by 10.52.232.227 with SMTP id tr3mr3851248vdc.38.1434706225864; Fri, 19 Jun 2015 02:30:25 -0700 (PDT) Received: by 10.31.54.17 with HTTP; Fri, 19 Jun 2015 02:30:25 -0700 (PDT) Date: Fri, 19 Jun 2015 17:30:25 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e01182fb0f326220518db92b0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::22e Subject: [Linphone-developers] compiling linphone python for raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 09:30:29 -0000 --089e01182fb0f326220518db92b0 Content-Type: text/plain; charset=UTF-8 Hi, I have cross-compiled linphone python module for raspberry pi, by following tutorials in https://wiki.linphone.org/wiki/index.php/Raspberrypi:start. However, after installing the resulting whl package on raspberry pi, I got this error when trying to import linphone from python: File "/usr/local/lib/python2.7/dist-packages/linphone/__init__.py", line 1, in from linphone import * ImportError: /usr/local/lib/python2.7/dist-packages/linphone/linphone.so: undefined symbol: antlr3NewAsciiStringCopyStream How can I fix this? Thanks --089e01182fb0f326220518db92b0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have cross-compiled linphone pyth= on module for raspberry pi, by following tutorials in=C2=A0https://wiki.linphon= e.org/wiki/index.php/Raspberrypi:start. However, after installing the r= esulting whl package on raspberry pi, I got this error when trying to impor= t linphone from python:

=C2=A0 File "/us= r/local/lib/python2.7/dist-packages/linphone/__init__.py", line 1, in = <module>
=C2=A0 =C2=A0 from linphone import *
Imp= ortError: /usr/local/lib/python2.7/dist-packages/linphone/linphone.so: unde= fined symbol: antlr3NewAsciiStringCopyStream


How can I fix this?

Thanks
--089e01182fb0f326220518db92b0-- From MAILER-DAEMON Fri Jun 19 09:53:19 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z5wjO-00023S-Qy for mharc-linphone-developers@gnu.org; Fri, 19 Jun 2015 09:53:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5wjI-0001mz-Df for Linphone-developers@nongnu.org; Fri, 19 Jun 2015 09:53:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5wjE-0004iI-Ce for Linphone-developers@nongnu.org; Fri, 19 Jun 2015 09:53:12 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:37936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5wjE-0004i3-7G for Linphone-developers@nongnu.org; Fri, 19 Jun 2015 09:53:08 -0400 Received: by igblz2 with SMTP id lz2so13530043igb.1 for ; Fri, 19 Jun 2015 06:53:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=prEHpQwkjP4TJsqHyeBrsQJvV2OTzVhcoZnR7BF4/0o=; b=dtgujuqo5/oMS5Q1o15gs07HjNWK68zEAgJmIPYNgtQsmb7xkLAteKRQM52znLtJqm KmgrroKLAroVZbTRkS6mm6MzQy4RNm3CSCfEGD33XkEcE4xAVlfHv50wXqo9b3+OcgQE CjWucMgiVENe507pXSYT8UFy4F43Oj5wmY/HwOvV1j2Fz3IGIWCKtC1tsLFsU2OVkMfP qsekIO0IXm5peBVdYscu+UnM6L2Sct/+Rrebr8vP+Dxq3kmgGiGD81sceF+tneryUV6R Kk87tnot5SAdk9CPBbm9vgW9gxaJqC3sv5ugJBuj+tqu9jLivwRX3HFHaf1MiF2RfcKg fMCw== X-Gm-Message-State: ALoCoQk7sKK6TNZDM68MI1/GXI8AKXIBac8iaWntXBUhHov2KAgeFsms90IvIJpNbcei0R52eF6F X-Received: by 10.50.109.138 with SMTP id hs10mr4636842igb.48.1434721986938; Fri, 19 Jun 2015 06:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.15.231 with HTTP; Fri, 19 Jun 2015 06:52:47 -0700 (PDT) In-Reply-To: References: From: Manuel Camargo Lominchar Date: Fri, 19 Jun 2015 15:52:47 +0200 Message-ID: To: Linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e0122e6aa6248f70518df3e31 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.213.178 Subject: Re: [Linphone-developers] Android application run errors X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 13:53:17 -0000 --089e0122e6aa6248f70518df3e31 Content-Type: text/plain; charset=UTF-8 Solved: Despite linphone.jar could be under libs/ folder by default, the (.so) libraries must be introduced under app/main/jniLib (x86, arm,...) (Java Native/Shared Libraries) This seems to be the dir for Android Studio unless you use LoadLibrary function to select the path Regards Manuel 2015-06-18 16:13 GMT+02:00 Manuel Camargo Lominchar : > For some reason, I've found most of the dev is based on eclipse including > documentation READMEs > > Thing is i'm trying to run an app based on Android Studio and Gradle and > I'm not able to solve this issue: > > Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip > file "/data/app/com.example.linphone.linphonetest-1/base.apk"], > nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find > "liblinphone-x86.so" > > But liblinphone-x86 is in the root folder under libs/x86/ > > Any ideas of what might be causing this? > > Regards > Manuel > --089e0122e6aa6248f70518df3e31 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Solved:=C2=A0

Despite linphone.jar coul= d be under libs/ folder by default, the (.so) libraries must be introduced = under app/main/jniLib (x86, arm,...) (Java Native/Shared Libraries)
This seems to be the dir for Android Studio unless you use LoadLibrary f= unction to select the path

Regards
=
Manuel

2015-06-18 16:13 GMT+02:00 Manuel Camargo Lo= minchar <mcamargo@boizu.com>:
Fo= r some reason, I've found most of the dev is based on eclipse including= documentation READMEs

Thing is i'm trying to run an app based on Android Studio and Gradle = and I'm not able to solve this issue:
<= br>
Caused by: java.lang.
UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/dat= a/app/com.example.linph= one.linphonetest-1/base= .apk"],nativeLibra= ryDirectories=3D[/vendo= r/lib, /system/lib]]] couldn't find "liblinphone-x86.so"

<= span style=3D"font-size:12.8000001907349px">But liblinphone-x86 is in the r= oot folder under libs/x86/

Any ideas of what might be causing this?

Regards
Manuel

--089e0122e6aa6248f70518df3e31-- From MAILER-DAEMON Sat Jun 20 20:26:02 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z6T5G-0002P4-06 for mharc-linphone-developers@gnu.org; Sat, 20 Jun 2015 20:26:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6T5D-0002ON-VP for linphone-developers@nongnu.org; Sat, 20 Jun 2015 20:26:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6T5A-0004rL-Hw for linphone-developers@nongnu.org; Sat, 20 Jun 2015 20:25:59 -0400 Received: from smtpbgau1.qq.com ([54.206.16.166]:54021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6T59-0004j0-TR for linphone-developers@nongnu.org; Sat, 20 Jun 2015 20:25:56 -0400 X-QQ-GoodBg: 0 X-QQ-SSF: 00100000000000F0 X-QQ-FEAT: X+WajiLcmiM20ppEOzValySyX4slxix/vZ+AsArg10bzgYI5Gtm89U1Z/cfqM ZHQjy+sTNnqr2iNw1YL3aYGpMggczCWrSSOUtqkCqPq5pk1td/fybX7QZ01V1XXOHa8/9WO 1+V6kw2piJgsHP1oqKfY7718EbC+nC/9znaJJhqimj0JgnfV/IymfifrSARSuIwX8Sh36KA = X-QQ-BUSINESS-ORIGIN: 2 X-Originating-IP: 101.90.110.32 X-QQ-STYLE: X-QQ-mid: bizmail38t1434846342t3737549 From: "=?utf-8?B?5pu56LS15p6X?=" To: "=?utf-8?B?bGlucGhvbmUtZGV2ZWxvcGVycw==?=" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_55860486_0A52F6D8_36E03C1A" Content-Transfer-Encoding: 8Bit Date: Sun, 21 Jun 2015 08:25:42 +0800 X-Priority: 3 Message-ID: X-QQ-MIME: TCMime 1.0 by Tencent X-Mailer: QQMail 2.x X-QQ-Mailer: QQMail 2.x References: In-Reply-To: X-QQ-ReplyHash: 3672515059 X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 54.206.16.166 Subject: Re: [Linphone-developers] [Help] Is it possible for linphone-android to decode video stream with GPU? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 00:26:01 -0000 This is a multi-part message in MIME format. ------=_NextPart_55860486_0A52F6D8_36E03C1A Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Q2FuIHNvbWVib2R5IGhlbHAgbWUgdG8gdXNlIGhhcmR3YXJlIGFjY2VsZXJhdGlvbiBmb3Ig dmlkZW8gZGVjb2RpbmcgaW4gbGlucGhvbmUtYW5kcm9pZCA/IFRoYW5rcyEgDQoNCg0KTWF5 YmUgaSBoYXZlIG1hZGUgYSBtaXN0YWtlIGluIG15IHByZXZpb3VzIG1haWwuIEl0IGlzIE5P VCBuZWNlc3NhcmlseSB0aGUgR1BVIHRvIGRvIHRoZSB2aWRlbyBkZWNvZGluZy4gSXQgc2hv dWxkIGJlIGNhbGxlZCAnaGFyZHdhcmUgYWNjZWxlcmF0aW9uJyBmb3IgdmlkZW8gZGVjb2Rp bmcuIA0KDQoNCg0KDQotLS0tLS0tLS0tL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FsIE5hcnJvdztmb250LXNpemU6MTJweCI+PGJy Pjxicj4tLS0tLS0tLS0tLS0tLS0tLS08L2Rpdj48ZGl2IHN0eWxlPSJmb250LXNpemU6MTRw eDtmb250LWZhbWlseTpWZXJkYW5hO2NvbG9yOiMwMDA7Ij48ZGl2Puabuei0teaelyAoRGVu bmlzIENhbyk8L2Rpdj4NCjwvZGl2PjwvZGl2PjxkaXY+Jm5ic3A7PC9kaXY+PGRpdj48L2Rp dj48L2Rpdj48IS0tPCFbZW5kaWZdLS0+PC9pbmNsdWRldGFpbD48L2Rpdj4= ------=_NextPart_55860486_0A52F6D8_36E03C1A-- From MAILER-DAEMON Sun Jun 21 11:00:39 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z6gjf-0004uK-Nd for mharc-linphone-developers@gnu.org; Sun, 21 Jun 2015 11:00:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6gjd-0004u4-O8 for linphone-developers@nongnu.org; Sun, 21 Jun 2015 11:00:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6gjd-0004kX-24 for linphone-developers@nongnu.org; Sun, 21 Jun 2015 11:00:37 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:33563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6gjc-0004f9-Ol for linphone-developers@nongnu.org; Sun, 21 Jun 2015 11:00:36 -0400 Received: by oiyy130 with SMTP id y130so90255577oiy.0 for ; Sun, 21 Jun 2015 08:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/kW+Yx9Gy057Xx+F/uETmnnz3HNOTEpNU/c9T0vAtFU=; b=bh8tqcT9mj36XVGmD8GS6wY9BFpEJmiCAq099oVADKA5y8tNPJkw93IN4ktcUuS6yn innUxQxSkHuwntsviDfaPJYyZPPgZsFs8CEQYRVEJbTA/YGVvpD7DV2N7Bl9VLg12izK spxGmt+WoDaL+idIxgS1tSmKiBou6GPBRapeElunhvFUuAyyQJ9ppqtej59KRHEK0nkr XiQ6e/QKCUAyotLKk95Dfmxee0Vy0SO0U/yHT9psOq9hih7dfIKJ93ssvINkvZLZSrZm lyZjhHE/rE5PtTUzQEbhh7ooqPmSYluQpmgcfR67PKkUprlOkR36R5FHdIl1ZBttOCcr Kc8Q== MIME-Version: 1.0 X-Received: by 10.182.68.45 with SMTP id s13mr21005084obt.11.1434898834325; Sun, 21 Jun 2015 08:00:34 -0700 (PDT) Received: by 10.202.191.133 with HTTP; Sun, 21 Jun 2015 08:00:34 -0700 (PDT) Received: by 10.202.191.133 with HTTP; Sun, 21 Jun 2015 08:00:34 -0700 (PDT) Date: Sun, 21 Jun 2015 22:00:34 +0700 Message-ID: From: christianto darmadi To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=e89a8fb1ec284f05b00519086b20 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::236 Subject: [Linphone-developers] Flexisip PSTN route X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 15:00:38 -0000 --e89a8fb1ec284f05b00519086b20 Content-Type: text/plain; charset=UTF-8 Hi there, How to setup an outbound call to route to pstn gateway using flexisip? Regards, -chris- --e89a8fb1ec284f05b00519086b20 Content-Type: text/html; charset=UTF-8

Hi there,
How to setup an outbound call to route to pstn gateway using flexisip?

Regards,
-chris-

--e89a8fb1ec284f05b00519086b20-- From MAILER-DAEMON Mon Jun 22 03:13:57 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z6vvZ-0007kc-QT for mharc-linphone-developers@gnu.org; Mon, 22 Jun 2015 03:13:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6vvX-0007jy-Li for linphone-developers@nongnu.org; Mon, 22 Jun 2015 03:13:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6vvW-0000xg-Ni for linphone-developers@nongnu.org; Mon, 22 Jun 2015 03:13:55 -0400 Received: from mail-vn0-x22f.google.com ([2607:f8b0:400c:c0f::22f]:37587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6vvW-0000xZ-IR for linphone-developers@nongnu.org; Mon, 22 Jun 2015 03:13:54 -0400 Received: by vnbf129 with SMTP id f129so1046261vnb.4 for ; Mon, 22 Jun 2015 00:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=pc47xeyTDqMc9HPM75O6/65qPYbmCY7C+1Aul6LBsrI=; b=ftMjJs9G8swT7rq1CLVqEysj0x/UDz8RFMQY7QGSZ06z4NxFGrQ9UsiFIQiAfr8rP/ ugHQcMzFTjtjb0w1+BuQ6T9bVyeblmplJKj5dHlKphIG2/LDpOpyjuZd5NmjsDUkX3yw 5cFIU+//quEbcdCAm33cUBsmKzV85JJjByMcrhvZ9cGFwCOMCgfpgSD9YDvrjLp+Sjj3 VmEkHJrbZDs+6rObArrIsUhV8bQBmNklc7bngc5IIPazrhgsclkw5GG8+cpRK302W2Ux E06r5Gfw8bE2ccnCt1HpWEzuD7bSz7ojo/oDSUKTRjafDsZTPfjPJ+P6dwqmVoGpKN7q OSsg== MIME-Version: 1.0 X-Received: by 10.52.3.166 with SMTP id d6mr23818648vdd.69.1434957233597; Mon, 22 Jun 2015 00:13:53 -0700 (PDT) Sender: liamdevelop@gmail.com Received: by 10.52.188.230 with HTTP; Mon, 22 Jun 2015 00:13:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Jun 2015 10:13:53 +0300 X-Google-Sender-Auth: I8NyAM52Z5N9NtlWdbsTODT2P6s Message-ID: From: Yakir Sayada To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=20cf3033477d2d320905191604d5 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c0f::22f Subject: Re: [Linphone-developers] Flexisip PSTN route X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 07:13:56 -0000 --20cf3033477d2d320905191604d5 Content-Type: text/plain; charset=UTF-8 I can't compile the package in xcode , you have any tutorial ? On Sun, Jun 21, 2015 at 6:00 PM, christianto darmadi < darmadi.chris@gmail.com> wrote: > Hi there, > How to setup an outbound call to route to pstn gateway using flexisip? > > Regards, > -chris- > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --20cf3033477d2d320905191604d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can't compile the package in xcode , you have any tu= torial ?

On = Sun, Jun 21, 2015 at 6:00 PM, christianto darmadi <darmadi.chris@gma= il.com> wrote:

Hi there,
How to setup an outbound call to route to pstn gateway using flexisip?
<= /p>

Regards,
-chris-


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--20cf3033477d2d320905191604d5-- From MAILER-DAEMON Mon Jun 22 12:47:42 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z74so-0006k5-PP for mharc-linphone-developers@gnu.org; Mon, 22 Jun 2015 12:47:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74sm-0006j0-2N for linphone-developers@nongnu.org; Mon, 22 Jun 2015 12:47:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z74sj-0006bJ-R2 for linphone-developers@nongnu.org; Mon, 22 Jun 2015 12:47:40 -0400 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:36136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74sj-0006bE-LX for linphone-developers@nongnu.org; Mon, 22 Jun 2015 12:47:37 -0400 Received: by oigb199 with SMTP id b199so84217428oig.3 for ; Mon, 22 Jun 2015 09:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bkMdVIZvSgByCSoGj8UwrXxbnzoVwtqjM0EqnMRk5FU=; b=gY2fUiGGP3h3VOuONvQef+ywXO4VpRLLCFNh1Rtal3b0FshJwVR0mOl0454ztxp0qI OmstnnfolokIlvrRE8YazNPUNj06QZuSl7Jw3svz6j+SnTxNx69rpG/um88KitmETtLs DJVcyRUjTk6VRr0kNEJmACVj+wMJaOXg/1Zyuj+wxTxPKxskvI8rTbGQDFor3tcaUsEM WUT3aLDtRMqyPPXVQCQVOVaMnVibIbVV5Tlei8QB9BLWgG0wz0AMVhqL2gO+obOIirh3 Ub+lm2Z00sY7JpBNm+OxVpC5l88XTxPdBTU3Qlm++JGJ7EWtaKzoLA+Mdg3qVzfG/ELa AaVQ== MIME-Version: 1.0 X-Received: by 10.182.63.106 with SMTP id f10mr17555892obs.87.1434991656766; Mon, 22 Jun 2015 09:47:36 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Mon, 22 Jun 2015 09:47:36 -0700 (PDT) Date: Mon, 22 Jun 2015 10:47:36 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=e89a8fb20348f5125905191e07e9 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::235 Subject: [Linphone-developers] Getting erroneous remoteParams in Linphone-Android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 16:47:41 -0000 --e89a8fb20348f5125905191e07e9 Content-Type: text/plain; charset=UTF-8 I'm having a strange problem getting video to work in certain situations. I have an Eclipse project for the basic Linphone-Android app that works perfectly. I see that during an Outgoing or Incoming call to another contact whose preferences are set to always accept video and initiate with video, LinphoneCall's remoteParams.getVideoEnabled changes from false to true at the point of transitioning from the state of OutgoingRinging to the state of Connected--that makes sense. Then the local getVideoEnabled changes from false to true when transitioning to the state of StreamsRunning starts. Everything works perfectly. I cloned this project and added my own application code and resources, but have not connected any of it to Linphone, so Linphone should operate the same. But the remoteParams.getVideoEnabled remains false always, even though it is calling the same contact under the same conditions. The call connects and audio works, but not video. What could make the system fail to detect that the remote caller is video enabled? I can't debug beyond the LinphoneCallImpl, where it gets the parameters from native code. --e89a8fb20348f5125905191e07e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm having a strange problem getting video to work in certa= in situations. I have an Eclipse project for the basic Linphone-Android app= that works perfectly. I see that during an Outgoing or Incoming call to an= other contact whose preferences are set to always accept video and initiate= with video, LinphoneCall's remoteParams.getVideoEnabled changes from f= alse to true at the point of transitioning from the state of OutgoingRingin= g to the state of Connected--that makes sense. Then the local getVideoEnabl= ed changes from false to true when transitioning to the state of StreamsRun= ning starts. Everything works perfectly.

I cloned this project an= d added my own application code and resources, but have not connected any o= f it to Linphone, so Linphone should operate the same. But the remoteParams= .getVideoEnabled remains false always, even though it is calling the same c= ontact under the same conditions. The call connects and audio works, but no= t video. What could make the system fail to detect that the remote caller i= s video enabled? I can't debug beyond the LinphoneCallImpl, where it ge= ts the parameters from native code.
--e89a8fb20348f5125905191e07e9-- From MAILER-DAEMON Mon Jun 22 18:56:15 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7AdT-0005Za-4j for mharc-linphone-developers@gnu.org; Mon, 22 Jun 2015 18:56:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7AdQ-0005Z3-OA for linphone-developers@nongnu.org; Mon, 22 Jun 2015 18:56:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7AdP-000680-SI for linphone-developers@nongnu.org; Mon, 22 Jun 2015 18:56:12 -0400 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:33395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7AdP-00067w-Ne for linphone-developers@nongnu.org; Mon, 22 Jun 2015 18:56:11 -0400 Received: by oiyy130 with SMTP id y130so115605847oiy.0 for ; Mon, 22 Jun 2015 15:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=K/3ryrvaySsDwN1K6Giht/cvFRtqlvmaZ+yGHRwgsU0=; b=FycVrvpcasJC8fFKzzGqNKvy3K+gfuKerj/UjzOXvgi4ma7NIFI479eVOqk948mfZH ia9bboAl9D6sj8OWqxNrQpPwIt8btwzJITbMZmfUFc6Zl52X6WY1EVILJgfE0EWzxQ+B /txc5//W+9YFdwIvWHCFE7KiNXSBBYZGM15Z25WX8PHomTk0crP6UskflcThFtexoGlm dipcJHoBvY9xIeFUO04fUhqlW1YZjrNl69SZsDjt3g7qBcRv2yH9HN33Iq7+jG0mJMkI Nk8BoFFcIPGrqowypnuZdTpITiXGmrKLy319FKeiDNHlQQy+5E1OZBK3x8r4qoFNm1N9 Quqw== MIME-Version: 1.0 X-Received: by 10.182.63.106 with SMTP id f10mr18837168obs.87.1435013771076; Mon, 22 Jun 2015 15:56:11 -0700 (PDT) Received: by 10.76.11.40 with HTTP; Mon, 22 Jun 2015 15:56:11 -0700 (PDT) Date: Mon, 22 Jun 2015 16:56:11 -0600 Message-ID: From: William Hutchison To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=e89a8fb2034812a6c70519232efc X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22a Subject: Re: [Linphone-developers] Getting erroneous remoteParams in Linphone-Android X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 22:56:13 -0000 --e89a8fb2034812a6c70519232efc Content-Type: text/plain; charset=UTF-8 I rebuilt the project and the remoteParams.videoEnabled problem is gone, so it will remain a mystery. I did notice that setting auto_answer to true in just one of the 2 participants caused similar problems, but logically whether it answers automatically or not should not affect whether the remote contact's videoEnabled is read incorrectly. I will be doing more diagnosis and share any useful insights. William Hutchison --e89a8fb2034812a6c70519232efc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2= =A0 =C2=A0I rebuilt the project and the remoteParams.videoEnabled problem i= s gone, so it will remain a mystery. I did notice that setting=C2=A0auto_an= swer to true in just one of the 2 participants caused similar problems, but= logically whether it answers automatically or not should not affect whethe= r the remote contact's videoEnabled is read incorrectly. I will be doin= g more diagnosis and share any useful insights.
=C2=A0 =C2=A0William Hutchison
--e89a8fb2034812a6c70519232efc-- From MAILER-DAEMON Tue Jun 23 00:57:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7GGm-0006PU-EQ for mharc-linphone-developers@gnu.org; Tue, 23 Jun 2015 00:57:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7GGj-0006PN-SL for linphone-developers@nongnu.org; Tue, 23 Jun 2015 00:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7GGh-0003rp-R7 for linphone-developers@nongnu.org; Tue, 23 Jun 2015 00:57:09 -0400 Received: from mail-vn0-x231.google.com ([2607:f8b0:400c:c0f::231]:43652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7GGh-0003ri-Km for linphone-developers@nongnu.org; Tue, 23 Jun 2015 00:57:07 -0400 Received: by vnbf62 with SMTP id f62so570379vnb.10 for ; Mon, 22 Jun 2015 21:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/bwPGqxUnusRBif6c8PM7RqbGwkqKTf4iInT94zOHq0=; b=lySs7ZDp0RkaCXvWdacfiYoihhpnKCeh0/O1fnP4JLMZTz9l+5E55mww8hEIMDFh6d KZYeWidnYLvM0CiORzUNFbMMp12KStyMwrBK8wRPPEc9vOmO8n7xS0xYzKjKzkPCHN2c 7TUgIACr5xRK26SG3ZglQBspZ2NrVx8ghkxcmfrvwm9ZDeoRGgIyG3RsLCiIOkwt+5v8 teXf8Dmfd993Tl6+ySbt2xR4HvDWMZ8tQliVTLkNsbcs8bfocbXH3twJaFQxVn4CwJww MuqXZ9ybmJdkNkiEoetWCWEej+n1yySf3iWF8aZgvE+6YT2T+dYRYrQmY0+gHQ8TVwjs LZ0Q== MIME-Version: 1.0 X-Received: by 10.52.183.233 with SMTP id ep9mr15823222vdc.38.1435035426461; Mon, 22 Jun 2015 21:57:06 -0700 (PDT) Received: by 10.31.54.17 with HTTP; Mon, 22 Jun 2015 21:57:06 -0700 (PDT) In-Reply-To: References: <4AA6024F-200E-4C1B-9FC3-21A5899F052B@belledonne-communications.com> Date: Tue, 23 Jun 2015 12:57:06 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=bcaec548ab25d5a0810519283859 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c0f::231 Subject: Re: [Linphone-developers] video call on raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 04:57:11 -0000 --bcaec548ab25d5a0810519283859 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Guillaume Actually linphone-python does have log outputs, I just forgot that I had configured python logging to write log output to a file. So following is lines of output before my application aborted. INFO:root:open '/dev/snd/pcmC0D0c' failed (-2) WARNING:root:alsa_open_r: Error opening PCM device default INFO:root:Stun packet sent for session [0x17356e8] INFO:root:RtpSession [0x1747060] sending to rtp [218.5.96.230:36576] rtcp [ 218.5.96.230:36577] INFO:root:Using permissive algorithm INFO:root:Stun packet sent for session [0x1747060] INFO:root:Using WebM Project VP8 Encoder v1.3.0 INFO:root:Using the default video configuration list INFO:root:Limiting bitrate of video encoder to 1500000 bits/s for stream [0x75590fd8] INFO:root:Video configuration set: bitrate=3D1500000bits/s, fps=3D12.000000= , vsize=3D352x288 for encoder [0x7554fca8] INFO:root:Driver is bm2835 mmal, version is 201230 INFO:root:format MS_YUV420P : max_fps=3D90, native=3D1, compressed=3D0 INFO:root:format MS_YUYV : max_fps=3D90, native=3D1, compressed=3D0 INFO:root:format MS_RGB24 : max_fps=3D90, native=3D1, compressed=3D0 INFO:root:format MS_MJPEG : max_fps=3D90, native=3D1, compressed=3D1 INFO:root:Candidate: 0 INFO:root:MSAudioMixer [0x7555e7b0] is entering bypass mode. INFO:root:alsa_open_w: opening default at 8000Hz, bits=3D16, stereo=3D0 WARNING:root:alsa_set_params: periodsize:256 Using 512 INFO:root:V4L2: selected format is MS_YUV420P WARNING:root:alsa_set_params: period:8 Using 8 INFO:root:alsa_open_w: Audio params set INFO:root:Size of webcam delivered pictures is 352x288. Format:0x00000001 INFO:root:Output video size adjusted to match camera resolution (352x288) INFO:root:Video configuration set: bitrate=3D300000bits/s, fps=3D18.000000, vsize=3D352x288 for encoder [0x7554fca8] INFO:root:Setting sent vsize=3D352x288, fps=3D18.000000 INFO:root:Video configuration set: bitrate=3D300000bits/s, fps=3D18.000000, vsize=3D352x288 for encoder [0x7554fca8] INFO:root:ms_filter_link: MSV4L2Capture:0x7554f718,0-->MSPixConv:0x7558c058,0 INFO:root:ms_filter_link: MSPixConv:0x7558c058,0-->MSTee:0x7558fa58,0 INFO:root:ms_filter_link: MSTee:0x7558fa58,0-->MSSizeConv:0x7554f830,0 INFO:root:ms_filter_link: MSSizeConv:0x7554f830,0-->MSVp8Enc:0x7554fca8,0 INFO:root:ms_filter_link: MSVp8Enc:0x7554fca8,0-->MSRtpSend:0x7554d7b0,0 INFO:root:ms_filter_link: MSTee:0x7558fa58,2-->MSJpegWriter:0x75595910,0 INFO:root:Using WebM Project VP8 Decoder v1.3.0 ERROR:root:no such method on filter MSVp8Dec, fid=3D16389 method index=3D7 CRITICAL:root:No video display filter could be instantiated. Please check build-time configuration Aborted I spent some time with mediastreamer2 recently, before I noticed that I missed above log outputs. It does not seems a difficult probelm to solve, I will look into it in details, but if you can provide some guidance, that would be very helpful. We will build the mediastreamer2 plugin for raspberrypi if we feel neccessary. I am glad to contribute, although I have little experience with C. By the way, distribution provided linphoen of ubuntu-mate running on raspberrypi is of version 3.6.1, which use GLXVideo as the video display filter by default. That is why linphone on can display video on ubuntu-mate= . On Tue, Jun 2, 2015 at 11:43 AM, Russell wrote: > Hi > > this is what I got on gdb session, any idea that I can get a full > stacktrace? > > Program received signal SIGABRT, Aborted. > 0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6 > (gdb) bt > #0 0x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6 > #1 0x76d1e65c in abort () from /lib/arm-linux-gnueabihf/libc.so.6 > #2 0x00000120 in ?? () > #3 0x00000120 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?= ) > (gdb) > > > On Mon, Jun 1, 2015 at 6:50 PM, Guillaume Bienkowski < > guillaume.bienkowski@belledonne-communications.com> wrote: > >> Well, there=E2=80=99s no automatic way to use the OMX driver of the RasP= i through >> V4L, so no, we don=E2=80=99t use it (yet). >> If you feel like contributing to the effort of adding a mediastreamer2 >> plugin for it, be our guest! >> >> Also, your problem with XV is that you must be using a non-accelerated >> desktop which does not support XV as graphics acceleration. >> Check out how to enable it in your distribution. >> >> The problem of python on RPi2 is strange though. Could you run it into >> GDB and grab a stracktrace to have an idea of the problem ? >> >> Guillaume Bienkowski >> guillaume.bienkowski@belledonne-communications.com >> >> >> >> Le 1 juin 2015 =C3=A0 12:39, Russell a =C3=A9crit= : >> >> There is a saying >> >> that the video lags because linphone does not "use the PI hardware >> acceleration for video encode/decode". Is that (still) true? maybe that = is >> what causes the problem of ubuntu mate on raspberry pi. >> >> On Mon, Jun 1, 2015 at 6:35 PM, Russell wrote: >> >>> Hi, >>> >>> Is it possible to make a video call on the raspbian system, I tested it >>> with linphone 3.8.2 and the video preview windows just shows a black sc= reen >>> (ortp-error-Could not find suitable format or Xv port to work with). Th= e >>> ubuntu mate system installed on raspberry pi 2 does show video preview,= but >>> it lag a pretty long time. >>> >>> linphone python >>> claims to >>> be working on raspberry pi, but when I enable video on the other end (a >>> linphone-android app), the end running linphone python aborted without = much >>> information. >>> >>> Thanks, >>> Russell >>> >> >> _______________________________________________ >> Linphone-developers mailing list >> Linphone-developers@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/linphone-developers >> >> >> >> _______________________________________________ >> Linphone-developers mailing list >> Linphone-developers@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/linphone-developers >> >> > --bcaec548ab25d5a0810519283859 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Guillaume

Actually linphone-python = does have log outputs, I just forgot that I had configured python logging t= o write log output to a file.
So following is lines of output bef= ore my application aborted.

INFO:root:open '= ;/dev/snd/pcmC0D0c' failed (-2)
WARNING:root:alsa_open_r: Err= or opening PCM device default
INFO:root:Stun packet sent for sess= ion [0x17356e8]
INFO:root:RtpSession [0x1747060] sending to rtp [= 218.5.96.230:36576] rtcp [218.5.96.230:36577]=C2=A0
INFO= :root:Using permissive algorithm
INFO:root:Stun packet sent for s= ession [0x1747060]
INFO:root:Using WebM Project VP8 Encoder v1.3.= 0
INFO:root:Using the default video configuration list
= INFO:root:Limiting bitrate of video encoder to 1500000 bits/s for stream [0= x75590fd8]
INFO:root:Video configuration set: bitrate=3D1500000bi= ts/s, fps=3D12.000000, vsize=3D352x288 for encoder [0x7554fca8]
I= NFO:root:Driver is bm2835 mmal, version is 201230
INFO:root:forma= t MS_YUV420P : max_fps=3D90, native=3D1, compressed=3D0
INFO:root= :format MS_YUYV : max_fps=3D90, native=3D1, compressed=3D0
INFO:r= oot:format MS_RGB24 : max_fps=3D90, native=3D1, compressed=3D0
IN= FO:root:format MS_MJPEG : max_fps=3D90, native=3D1, compressed=3D1
INFO:root:Candidate: 0
INFO:root:MSAudioMixer [0x7555e7b0] is e= ntering bypass mode.
INFO:root:alsa_open_w: opening default at 80= 00Hz, bits=3D16, stereo=3D0
WARNING:root:alsa_set_params: periods= ize:256 Using 512
INFO:root:V4L2: selected format is MS_YUV420P
WARNING:root:alsa_set_params: period:8 Using 8
INFO:root= :alsa_open_w: Audio params set
INFO:root:Size of webcam delivered= pictures is 352x288. Format:0x00000001
INFO:root:Output video si= ze adjusted to match camera resolution (352x288)
INFO:root:Video = configuration set: bitrate=3D300000bits/s, fps=3D18.000000, vsize=3D352x288= for encoder [0x7554fca8]
INFO:root:Setting sent vsize=3D352x288,= fps=3D18.000000
INFO:root:Video configuration set: bitrate=3D300= 000bits/s, fps=3D18.000000, vsize=3D352x288 for encoder [0x7554fca8]
<= div>INFO:root:ms_filter_link: MSV4L2Capture:0x7554f718,0-->MSPixConv:0x7= 558c058,0
INFO:root:ms_filter_link: MSPixConv:0x7558c058,0-->M= STee:0x7558fa58,0
INFO:root:ms_filter_link: MSTee:0x7558fa58,0--&= gt;MSSizeConv:0x7554f830,0
INFO:root:ms_filter_link: MSSizeConv:0= x7554f830,0-->MSVp8Enc:0x7554fca8,0
INFO:root:ms_filter_link: = MSVp8Enc:0x7554fca8,0-->MSRtpSend:0x7554d7b0,0
INFO:root:ms_fi= lter_link: MSTee:0x7558fa58,2-->MSJpegWriter:0x75595910,0
INFO= :root:Using WebM Project VP8 Decoder v1.3.0
ERROR:root:no such me= thod on filter MSVp8Dec, fid=3D16389 method index=3D7
CRITICAL:ro= ot:No video display filter could be instantiated. Please check build-time c= onfiguration
Aborted


I spent some time with mediastreamer2 recently, before I noticed th= at I missed above log outputs. It does not seems a difficult probelm to sol= ve, I will look into it in details, but if you can provide some guidance, t= hat would be very helpful.
We will build the mediastreamer2 plugi= n for raspberrypi if we feel neccessary. I am glad to contribute, although = I have little experience with C.

By the way, distr= ibution provided linphoen of ubuntu-mate running on raspberrypi is of versi= on 3.6.1, which use GLXVideo as the video display filter by default. That i= s why linphone on can display video on ubuntu-mate.




=
On Tue, Jun 2, 2015 at 11:43 AM, Russell <danrenjian@gmail.com> wrote:
Hi=C2=A0

this is what I got on gdb = session, any idea that I can get a full stacktrace?

Program received signal SIGABRT, Aborted.
0x76d1a8dc in ra= ise () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0 =C2=A00x76d1a8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
#1 =C2=A00x76d1e65c in abort () from /lib/arm-linux-gnueabihf/libc.= so.6
#2 =C2=A00x00000120 in ?? ()
#3 =C2=A00x00000120 i= n ?? ()
Backtrace stopped: previous frame identical to this frame= (corrupt stack?)
(gdb)


On Mon, Jun 1, 2015 at 6:50 PM, Guillaume Bienkowski <guillaume.bienkowski@belledonne-communications.c= om> wrote:
Well, there=E2=80=99s no automatic way to use the OMX d= river of the RasPi through V4L, so no, we don=E2=80=99t use it (yet).
<= div>If you feel like contributing to the effort of adding a mediastreamer2 = plugin for it, be our guest!

Also, your problem wi= th XV is that you must be using a non-accelerated desktop which does not su= pport XV as graphics acceleration.=C2=A0
Check out how to enable = it in your distribution.

The problem of python on RP= i2 is strange though. Could you run it into GDB and grab a stracktrace to h= ave an idea of the problem ?

Guillaume Bienkowski
Le 1 juin 2015 =C3=A0 12:= 39, Russell <d= anrenjian@gmail.com> a =C3=A9crit :

<= div>
There is a saying that the video lags because linphone does= not "use the PI hardware acceleration for video encode/decode". = Is that (still) true? maybe that is what causes the problem of ubuntu mate = on raspberry pi.

On Mon, Jun 1, 2015 at 6:35 PM, Russell <danrenjian@gmail.com= > wrote:
Hi,
Is it possible to make a video call on the raspbian syste= m, I tested it with linphone 3.8.2 and the video preview windows just shows= a black screen (ortp-error-Could not find suitable format or Xv port to wo= rk with). The ubuntu mate system installed on raspberry pi 2 does show vide= o preview, but it lag a pretty long time.

linphone python claims to be working on raspberry pi, but when I= enable video on the other end (a linphone-android app), the end running li= nphone python aborted without much information.

Th= anks,
Russell

_______________________________________________
Linphone-developers mail= ing list
Linphone-developers@nongnu.org
https://lists.n= ongnu.org/mailman/listinfo/linphone-developers


___________________________= ____________________
Linphone-developers mailing list
Linphon= e-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-develop= ers



--bcaec548ab25d5a0810519283859-- From MAILER-DAEMON Tue Jun 23 12:46:28 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7RLA-0004JD-BP for mharc-linphone-developers@gnu.org; Tue, 23 Jun 2015 12:46:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7RL7-0004HE-CE for linphone-developers@nongnu.org; Tue, 23 Jun 2015 12:46:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7RL6-0000se-Dk for linphone-developers@nongnu.org; Tue, 23 Jun 2015 12:46:25 -0400 Received: from mail-yk0-x22a.google.com ([2607:f8b0:4002:c07::22a]:35195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7RL6-0000s9-9t for linphone-developers@nongnu.org; Tue, 23 Jun 2015 12:46:24 -0400 Received: by ykdy1 with SMTP id y1so8791618ykd.2 for ; Tue, 23 Jun 2015 09:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JFIocSTyv3nx8LdRkF2sGHQ19oRCEhEKr1OngY0XYIU=; b=KkOEcZm6QnfQsX0Cj3m/frM0gOL30YPftqo+YtcnfviRtDKmw5M4ygzYxQaJjq6CSP /tQW3ojT/RbEYJxRp2xe0jh3WM1Tif0qPyH6Dwkv3/bfBwN2gyaCoraw/9rLam/Cru6X UY1XewjFRzlp5fZNLSAJzzCwqREPQFpX6F7NEJ0nXvy7XbvkOUQSbFWxwI+np7LzALeD hYWeg5fxWOTvHwgLN0Q795kgmi2eqmg2ksyD3j4nid42WQYT8mXSDVa9SDewbDZvadQs c+Uq8nHlKg8tPPXWR12iU9p1oOldsSPXJ98KG8/zH2BQeCzKVr0DH3Q36f59Pjh97u00 m1gA== MIME-Version: 1.0 X-Received: by 10.170.83.213 with SMTP id z204mr12651244ykz.63.1435077983207; Tue, 23 Jun 2015 09:46:23 -0700 (PDT) Received: by 10.37.98.137 with HTTP; Tue, 23 Jun 2015 09:46:23 -0700 (PDT) Date: Tue, 23 Jun 2015 17:46:23 +0100 Message-ID: From: Peter Villeneuve To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a113a66126a05e00519322106 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22a Subject: [Linphone-developers] flexisip presence? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 16:46:26 -0000 --001a113a66126a05e00519322106 Content-Type: text/plain; charset=UTF-8 Hi guys, I've been experimenting with flexisip and I like what I see so far. However, I'm not sure if flexisip (or linphone for that matter) has any support for presence since I can't find any info on it. So do they support presence? Cheers, Peter --001a113a66126a05e00519322106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys,

I've been experimenting wi= th flexisip and I like what I see so far.

However,= I'm not sure if flexisip (or linphone for that matter) has any support= for presence since I can't find any info on it.

So do they support presence?


Che= ers,
Peter
--001a113a66126a05e00519322106-- From MAILER-DAEMON Tue Jun 23 15:25:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7Tom-0005Ji-5K for mharc-linphone-developers@gnu.org; Tue, 23 Jun 2015 15:25:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Tok-0005JX-93 for linphone-developers@nongnu.org; Tue, 23 Jun 2015 15:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Toi-0002IF-2L for linphone-developers@nongnu.org; Tue, 23 Jun 2015 15:25:10 -0400 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:33795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Toh-0002HX-UJ for linphone-developers@nongnu.org; Tue, 23 Jun 2015 15:25:08 -0400 Received: by oigx81 with SMTP id x81so14515555oig.1 for ; Tue, 23 Jun 2015 12:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=P9aIztzRQowJx8hQHmtV7dde08Zyrhf2KtryFvK2Vhw=; b=jyopDTEMjEumwyP4xhzmn+8fTzbjdONPDoVr5mJVD0fgDUDyRO+TxJ3rq6qScPsXZO R7nTqkz/URIeUdccN1IH+JN5Y86CbsnX6KF5nuaU2YfOxL8WBMyuDnkfYVc8ylWmhs8L Q5eeKsulcGW565f5NyDDET6bRsSegt9ug3NtoJEkPmjPg6qOG6NSPQzZiGi+i8K9JueM o+DgXqOEY8S7dZnd2Sbqx4gTitgtLypw9AHsDbgUIUGWcs2EgCsZHg2vRfO1kFG6OyFA gDD54RuEoTKNKZedJe0pRUIldOjBlr2kXq/oX7Pg5kYV7t6Ln7II8oW1sDtkSauDk1ow LRZg== MIME-Version: 1.0 X-Received: by 10.182.60.103 with SMTP id g7mr25780544obr.70.1435087503925; Tue, 23 Jun 2015 12:25:03 -0700 (PDT) Sender: rghigliazza@gmail.com Received: by 10.76.152.5 with HTTP; Tue, 23 Jun 2015 12:25:03 -0700 (PDT) Date: Tue, 23 Jun 2015 16:25:03 -0300 X-Google-Sender-Auth: P_Hbi-h1DcculR2BOTIi_XW69lY Message-ID: From: Ricardo Ghigliazza To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=047d7b5d9b57e4d63b05193458e1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::232 Subject: [Linphone-developers] Using CISCO DX650 and Asterisk X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 19:25:11 -0000 --047d7b5d9b57e4d63b05193458e1 Content-Type: text/plain; charset=UTF-8 To everyone there, we got to make a CISCO IP PHONE 650DX with Asterisk and Linphone, everythings look great, but we wonder if its possible that the app allow the phone physical keyboard to function, because it dont! Any help or ideas will be really appreciated. -- Ricardo Ghigliazza, Wavenet S.A. http://ar.linkedin.com/in/rghigliazza/ 0800-345-HOST (4678) --047d7b5d9b57e4d63b05193458e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To everyone there, we got to make a CISCO IP PHONE 650DX w= ith Asterisk and Linphone, everythings look great, but we wonder if its pos= sible that the app allow the phone physical keyboard to function, because i= t dont!

Any help or ideas will be really appreciated.

--
Ricardo Ghigliazza,
=C2=A0
Wavenet S.A.<= br>

=
0800-345-HOST (4678)


--047d7b5d9b57e4d63b05193458e1-- From MAILER-DAEMON Tue Jun 23 22:52:03 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7anD-00038m-2j for mharc-linphone-developers@gnu.org; Tue, 23 Jun 2015 22:52:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7an9-00037s-NH for linphone-developers@nongnu.org; Tue, 23 Jun 2015 22:52:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7an6-0001MZ-H8 for linphone-developers@nongnu.org; Tue, 23 Jun 2015 22:51:59 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:36326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7an6-0001MG-5G for linphone-developers@nongnu.org; Tue, 23 Jun 2015 22:51:56 -0400 Received: by paceq1 with SMTP id eq1so19224017pac.3 for ; Tue, 23 Jun 2015 19:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; bh=IblVpTey689pkV0yZzReQZphgHp4E3oclCxytnQv9tk=; b=zQldJDsV+2Zs1/VtRYLkG/qtlObK9ZO5ZDEJcftlArV7phTXwhCxspBNpWP3k7F0Yf 7SaVFTUcttokUs9RnBrMkz+p3aTVMjq0v795jUQl/v2BTQc15V7iwSMtIHsryQZCZZbU xFB87HQJmoQ9WpmS497OQpL3HkOkszZWSOVLIgAICuZZNTdtMO4p1C8eANWye9vLzcEK zRppINTX9y50PLxZmoYqSqcJ5pVYKqY2aOLrAJzlqa61974yIBa0PZRaEMl2gvzruw61 yIViHRxXGgdaIcr1LFdOuWLnFVW0Clu4XucMiONFkvVyPD2MkV3fSSq2OrWeRAmmIoVD fg9g== X-Received: by 10.68.131.41 with SMTP id oj9mr76683378pbb.39.1435114315270; Tue, 23 Jun 2015 19:51:55 -0700 (PDT) Received: from [10.6.9.194] (119.81.185.223-static.reverse.softlayer.com. [119.81.185.223]) by mx.google.com with ESMTPSA id oa14sm24819252pdb.47.2015.06.23.19.51.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Jun 2015 19:51:54 -0700 (PDT) From: tmpgogogo@gmail.com Content-Type: multipart/alternative; boundary=Apple-Mail-DA3D5204-D9BB-41C8-AB10-5742C2592ABA Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Message-Id: <5598C7EE-AA2E-400B-A6D3-E98DE2B81767@gmail.com> Date: Wed, 24 Jun 2015 10:51:49 +0800 To: "linphone-developers@nongnu.org" X-Mailer: iPhone Mail (12F70) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::231 Subject: [Linphone-developers] Linphone Compilation ARM64 Error - iOS 8.3 SDK, Xcode 6.3.2 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 02:52:00 -0000 --Apple-Mail-DA3D5204-D9BB-41C8-AB10-5742C2592ABA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I recently upgrade my Linphone project to support arm64, when I build the pr= oject show below error, but I sure aarch64-apple-darwin already build succes= s and have the libmsilbc.a file.=20 Undefined symbols for architecture arm64:=20 "_initDecode", referenced from:=20 _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 (maybe you meant: _initDecodeLSP, _initDecodeAdaptativeCodeVector , _in= itDecodeGains )=20 "_iLBC_decode", referenced from:=20 _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 "_iLBC_encode", referenced from:=20 _enc_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 "_initEncode", referenced from:=20 _enc_preprocess in libmsilbc.a(libmsilbc_la-ilbc.o)=20 ld: symbol(s) not found for architecture arm64=20 clang: error: linker command failed with exit code 1 (use -v to see invocati= on) Regards, Tom Zhang= --Apple-Mail-DA3D5204-D9BB-41C8-AB10-5742C2592ABA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

I recently upgrade my Linph= one project to support arm64, when I build the project show below error, but= I sure aarch64-apple-darwin already build success and have the libmsilbc.a f= ile. 


<= span style=3D"color: rgba(0, 0, 0, 0.701961); -webkit-composition-fill-color= : rgba(130, 98, 83, 0.0980392); text-decoration: -webkit-letterpress;">Undef= ined symbols for architecture arm64: 
  "_initDecode", referenced from:=  
      _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)&nbs= p;
&= nbsp;    (maybe you meant: _initDecodeLSP, _initDecodeAdaptativeCo= deVector , _initDecodeGains ) 
  "_iLBC_decode", referenced from: =
&nb= sp;     _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o) 
  "= _iLBC_encode", referenced from: 

      _enc_process in libms= ilbc.a(libmsilbc_la-ilbc.o) 
  "_initEncode", referenced from: 
<= span style=3D"color: rgba(0, 0, 0, 0.701961); -webkit-composition-fill-color= : rgba(130, 98, 83, 0.0980392); text-decoration: -webkit-letterpress;"> = ;     _enc_preprocess in libmsilbc.a(libmsilbc_la-ilbc.o) 
ld: sy= mbol(s) not found for architecture arm64 

clang: error: linker command fail= ed with exit code 1 (use -v to see invocation)

Regards,
To= m Zhang
= --Apple-Mail-DA3D5204-D9BB-41C8-AB10-5742C2592ABA-- From MAILER-DAEMON Wed Jun 24 04:42:05 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7gFw-0008Qe-WB for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 04:42:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7gFt-0008PR-MT for linphone-developers@nongnu.org; Wed, 24 Jun 2015 04:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7gFo-0000JK-2o for linphone-developers@nongnu.org; Wed, 24 Jun 2015 04:42:01 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:60246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7gFn-0000J0-TQ for linphone-developers@nongnu.org; Wed, 24 Jun 2015 04:41:56 -0400 Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 7D381172077 for ; Wed, 24 Jun 2015 10:41:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id UGstNHLnME5n for ; Wed, 24 Jun 2015 10:41:26 +0200 (CEST) X-Originating-IP: 82.233.127.185 Received: from poulitos.bc-lan (vig38-4-82-233-127-185.fbx.proxad.net [82.233.127.185]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 834101720BC for ; Wed, 24 Jun 2015 10:41:26 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: <5598C7EE-AA2E-400B-A6D3-E98DE2B81767@gmail.com> Date: Wed, 24 Jun 2015 10:41:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5598C7EE-AA2E-400B-A6D3-E98DE2B81767@gmail.com> To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: Re: [Linphone-developers] Linphone Compilation ARM64 Error - iOS 8.3 SDK, Xcode 6.3.2 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 08:42:03 -0000 Check linphone-iphone repository which compiles fine on arm64; = double-check specially xcodeproj architecture settings. Cheers, Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 24 Jun 2015, at 04:51, tmpgogogo@gmail.com wrote: >=20 >=20 > I recently upgrade my Linphone project to support arm64, when I build = the project show below error, but I sure aarch64-apple-darwin already = build success and have the libmsilbc.a file.=20 >=20 >=20 > Undefined symbols for architecture arm64:=20 > "_initDecode", referenced from:=20 > _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 > (maybe you meant: _initDecodeLSP, _initDecodeAdaptativeCodeVector = , _initDecodeGains )=20 > "_iLBC_decode", referenced from:=20 > _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 > "_iLBC_encode", referenced from:=20 > _enc_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 > "_initEncode", referenced from:=20 > _enc_preprocess in libmsilbc.a(libmsilbc_la-ilbc.o)=20 > ld: symbol(s) not found for architecture arm64=20 > clang: error: linker command failed with exit code 1 (use -v to see = invocation) >=20 > Regards, > Tom Zhang > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Wed Jun 24 05:55:14 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7hOk-0002We-BT for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 05:55:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7hOh-0002QF-46 for linphone-developers@nongnu.org; Wed, 24 Jun 2015 05:55:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7hOb-0003as-L9 for linphone-developers@nongnu.org; Wed, 24 Jun 2015 05:55:11 -0400 Received: from mail-yh0-x234.google.com ([2607:f8b0:4002:c01::234]:33933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7hOb-0003a0-Hm for linphone-developers@nongnu.org; Wed, 24 Jun 2015 05:55:05 -0400 Received: by yhnv31 with SMTP id v31so14516744yhn.1 for ; Wed, 24 Jun 2015 02:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=76tziagSpOsfF6qOwCYtUXel17oKA+lADPxN5ZhT5Yc=; b=j29R+q14Hm+Thljw6KqxvykHVKwL85W26j7ryhqHYej4E5B67pSA2YIQqk+GHnbTc3 75+GKkxnA2mwe8rUlZVMRld+DOSGkmipiOmNt0k+/mmBUxhC/6Z81WzvB2NXB4OM63wY w/08wLi/JNWGn2L8qIZZKZrg2Ln/jepTUB6esjACfCD6V25CBZT4BOlJfJDNl1NIamh2 OGkdpD6EesH8bTPOJTsjrGmShpnPfkdlvwicuw/DqVO5iFnfyLkoe6a3WJ0tNOd0h0Hw JKyECKUdcxnNSkZ0tWTRNZgIh0lnwyLjOWiheB1X3iw9EfB1w6NzydwmqMjNb030319c X8tQ== MIME-Version: 1.0 X-Received: by 10.170.48.134 with SMTP id 128mr47327514ykq.36.1435139704870; Wed, 24 Jun 2015 02:55:04 -0700 (PDT) Received: by 10.37.98.137 with HTTP; Wed, 24 Jun 2015 02:55:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Jun 2015 10:55:04 +0100 Message-ID: From: Peter Villeneuve To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1139bb4a4fdd21051940805a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::234 Subject: Re: [Linphone-developers] flexisip presence? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 09:55:12 -0000 --001a1139bb4a4fdd21051940805a Content-Type: text/plain; charset=UTF-8 Anyone? On Tue, Jun 23, 2015 at 5:46 PM, Peter Villeneuve wrote: > Hi guys, > > I've been experimenting with flexisip and I like what I see so far. > > However, I'm not sure if flexisip (or linphone for that matter) has any > support for presence since I can't find any info on it. > > So do they support presence? > > > Cheers, > Peter > --001a1139bb4a4fdd21051940805a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Anyone?

On Tue, Jun 23, 2015 at 5:46 PM, Peter Villeneuve <petervnv= 1@gmail.com> wrote:
Hi guys,

I've been experimenting with flex= isip and I like what I see so far.

However, I'= m not sure if flexisip (or linphone for that matter) has any support for pr= esence since I can't find any info on it.

So d= o they support presence?


Cheers,
Peter

--001a1139bb4a4fdd21051940805a-- From MAILER-DAEMON Wed Jun 24 06:18:54 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7hle-0004kM-5y for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 06:18:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7hlb-0004jM-AG for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:18:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7hlV-0008AW-CP for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:18:51 -0400 Received: from mx1.inovaspa.it ([151.9.128.118]:41736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7hlV-0008AP-1c for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:18:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mx1.inovaspa.it (Postfix) with ESMTP id 7C6DB1E0769 for ; Wed, 24 Jun 2015 12:18:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at inovaspa.it Received: from mx1.inovaspa.it ([127.0.0.1]) by localhost (mx1.inovaspa.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TInjhwUqgWMt for ; Wed, 24 Jun 2015 12:18:44 +0200 (CEST) Received: from [10.51.0.207] (unknown [10.51.0.207]) by mx1.inovaspa.it (Postfix) with ESMTPSA id E186C7DB44 for ; Wed, 24 Jun 2015 12:18:43 +0200 (CEST) Message-ID: <558A8403.4020709@inovaspa.it> Date: Wed, 24 Jun 2015 12:18:43 +0200 From: Gennaro Di Falco User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary="------------080309020006050601010809" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 151.9.128.118 Subject: [Linphone-developers] bug stopRinging linphone web plugin X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 10:18:52 -0000 This is a multi-part message in MIME format. --------------080309020006050601010809 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi and thank you all for your support with linphone, you guys are great. Lately i have been working with the StopRinging (for ignore the call) with the latest version to develop my own plugin, but it doesn't seem to work. Is this a known bug and/or is there an ETA for this to be sorted out? Thank you all for your patience, -- *Ing. Gennaro Di Falco* /Software Developer/ *Cell.* +39 340 4926504 *Mail* g.difalco@mywatson.it *Skype* gennylee84 WatsON S.r.l Via Alfredo Nobel, 281 - 81031 Aversa CE *Tel.* +39 02 944 376 19 *Fax.* +39 02 944 37 031 *Web* www.mywatson.it --------------080309020006050601010809 Content-Type: multipart/related; boundary="------------070205010708010803020509" --------------070205010708010803020509 Content-Type: text/html; charset=iso-8859-15 Content-Transfer-Encoding: 7bit
Hi and thank you all for your support with linphone, you guys are great.

Lately i have been working with the StopRinging (for ignore the call) with the latest version to develop my own plugin, but it doesn't seem to work.

Is this a known bug and/or is there an ETA for this to be sorted out?

Thank you all for your patience,
--
Ing. Gennaro Di Falco
Software Developer

Cell. +39 340 4926504
Mail g.difalco@mywatson.it
Skype gennylee84
WatsON S.r.l
Via Alfredo Nobel, 281 - 81031 Aversa CE
Tel. +39 02 944 376 19
Fax. +39 02 944 37 031
Web www.mywatson.it

--------------070205010708010803020509 Content-Type: image/png; name="icon-facebook.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="icon-facebook.png" iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9i ZSBJbWFnZVJlYWR5ccllPAAAAcpJREFUeNpsk79Lw1AQxy8/2lIUESyIDpKhiEsRBx38sbiI nTqoOAouHbs5iX+Ai+A/4CCom7Pg5ugorVALXSRpsK01TdKkSeu7a19Ikx4cee/d+37evbs8 oVarrQ+Hw2fmCnMYDAaAX+7heSRWTyQSZzKKZVlW0uk0BbhFx1FAt9tVmN8hgMSMBtOMwUGS JBBFkRzNsizwfR8Mw1AQQBumGYLfyw14eauC1evDR7UBEoM8XBdIg1oCcHLYcMNnvQ1Xt68s LjChAHOzKciuLATXCwBR41nhyVxcPN2C/F4WbNuGXq8X1CMG4EUSBAH0lkliTBvFuq6TkHsM gONkMgmpVGpctJEYU8diZjIZ2ocF1DRtEsBPRmG+eB+cjF/b8eC49Ejjk8Mc7G8uT2YQ9Y21 JTq9/KWDKI0gudVFWjvYZVfRvqcDcNFxHLgs7lALj0pPgfjifJsKaHRa4HleHMAXEIAbsRbS uAN4Mq41m81YEcWwOBygViKAXUFkHQnHw04A3tcwaPQziUEGUYDruqMM2OTXNE2CRLNw+x44 fR/aHTuIYQtRjFfCF4k1KLHHccMg8+HrqKoKjZ8uZaLqf1CpzMSeMwsV/gUYAIDr10dkjvYJ AAAAAElFTkSuQmCC --------------070205010708010803020509 Content-Type: image/png; name="icon-linkedin.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="icon-linkedin.png" iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9i ZSBJbWFnZVJlYWR5ccllPAAAAotJREFUeNpEU7tuE1EQPfexaxMrJNghFiIEkEgUiYaKBlAK mogGiY4voKSDX6ChQBRQQYVQqPiGFDRIISBARCkQMigPCCZ+rPfu3gczd23lSrO787gzZ87M ijvrn89fatUfN6f0qvdeWhdQeo/CeZQkhXXVt61shXMwZOsb+2G3Zx7opbn6k2uL07fJx0YI BBLEoJyMeekwIslJz+idFSJKTYmbFPNcthvJqhISw5HBxcRiVguqEigN4H2ohBRHDxYbpUKT KrEsfQihm5doKo/ry22sLZ8hBCLCdxRoQ3WBL7pomySKfqctZ6CgI69xaCR+9oYE1VLVEJFw IktiiINs3E4RbRUazVUkwf1DKF5vdagiIKWgAAflHWHnSx7TWmI2raM7KrHzdxjJZBSaDbVE oi0t1pZmkIUEr7YPsZAG3LpwCnsG6OYOVxdOQimNgsh+82UPz95/j6jkkOAeDAyUlJiba2G+ OROrMIut001cPjePlbMtbPeJWF3DiXoNd68sojWVYlRYVHMnOEJyIxXbQ3JwKyAyyY1HGzu4 93YT6586MSZRAo1URy4kc8BQIES8wIcdgXWSnnH48S9DCB47v3uYHD+ehGaWhaDlETImoKlX CTFBQKxbXiiaDI7PZCc0r60vObZqgXvnLQzjBBM9p0mEMcKYgBDxXmiecUGuVKvoaKQqrq+W xzpX4rYSJSdpqSVUCOihaMTY2u/DeET4hkjdOhhAffyFQUF7YC045ivZXmx24mrv93PORX/E y3cb843kRs+UxL6LWVMK5o2L0yA9ocXinnlDB/TDMW81QpMV9pvePcrvl9Y+rWm5EnknbFnh I8NxLqRzS6Ubs85GLlDYzsCUD/8LMABkO+thxQth6wAAAABJRU5ErkJggg== --------------070205010708010803020509-- --------------080309020006050601010809-- From MAILER-DAEMON Wed Jun 24 06:47:36 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7iDQ-0006u5-Bc for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 06:47:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7iDN-0006tq-Ot for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:47:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7iDM-0000EH-9d for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:47:33 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:48277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7iDM-0000Cp-0g for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:47:32 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:6838:ab75:2946:3a2a] (unknown [IPv6:2a01:e35:2e97:fb90:6838:ab75:2946:3a2a]) (Authenticated sender: jehan.monnier@belledonne-communications.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 431C3A8788 for ; Wed, 24 Jun 2015 12:47:27 +0200 (CEST) From: jehan monnier Content-Type: multipart/alternative; boundary="Apple-Mail=_9093CDBB-53A8-4A46-8B8A-2763F85451A9" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Date: Wed, 24 Jun 2015 12:47:26 +0200 References: To: linphone-developers@nongnu.org In-Reply-To: X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::195 Subject: Re: [Linphone-developers] flexisip presence? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 10:47:34 -0000 --Apple-Mail=_9093CDBB-53A8-4A46-8B8A-2763F85451A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Peter, > Le 23 juin 2015 =C3=A0 18:46, Peter Villeneuve a = =C3=A9crit : >=20 > Hi guys, >=20 > I've been experimenting with flexisip and I like what I see so far. >=20 Thanks > However, I'm not sure if flexisip (or linphone for that matter) has = any support for presence since I can't find any info on it. >=20 > So do they support presence? >=20 Well, yes for Linphone and not yet for Flexisip.=20 -For Linphone, only missing item is list suscription. -For Flexisip, this is definitively something we would like to have but = nothing is committed yet.=20 >=20 > Cheers, > Peter Jehan www.linphone.org > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers --Apple-Mail=_9093CDBB-53A8-4A46-8B8A-2763F85451A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Peter,



Le 23 juin 2015 =C3=A0 18:46, Peter Villeneuve <petervnv1@gmail.com>= a =C3=A9crit :

Hi guys,

I've been experimenting with flexisip = and I like what I see so far.


Thanks

However, I'm not sure if flexisip (or linphone for that = matter) has any support for presence since I can't find any info on = it.

So do they = support presence?


Well, = yes for Linphone  and not yet for Flexisip. 
-For = Linphone, only missing item is list suscription.
-For = Flexisip, this is definitively something we would like to have but = nothing is committed yet. 


Cheers,
Peter


<= br class=3D"">
_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

= --Apple-Mail=_9093CDBB-53A8-4A46-8B8A-2763F85451A9-- From MAILER-DAEMON Wed Jun 24 06:58:12 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7iNg-0002Ta-D0 for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 06:58:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7iNd-0002TG-U6 for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7iNa-00053r-Jr for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:58:09 -0400 Received: from atlantis.cis.za.net ([176.12.107.90]:59180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7iNa-000538-Av for linphone-developers@nongnu.org; Wed, 24 Jun 2015 06:58:06 -0400 Received: from [10.201.0.9] (cis02.cislondon.co.uk [176.12.107.94]) (authenticated bits=0) by atlantis.cis.za.net (8.13.8/8.13.8) with ESMTP id t5OAv1iG013862 for ; Wed, 24 Jun 2015 10:57:02 GMT Message-ID: <558A8CFF.10002@osbourne.uk.eu.org> Date: Wed, 24 Jun 2015 11:57:03 +0100 From: DaveO User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linphone-developers@nongnu.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 176.12.107.90 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 176.12.107.90 Subject: [Linphone-developers] SIP REGISTER loop (too quick to attempt re-registration) X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 10:58:10 -0000 Hi, I'm seeing a SIP REGISTER request (with the correctly encoded nonce response) be followed by a SIP OK, this pattern repeats very fast. It's almost like the 2nd REGISTER is being sent by Linphone before the reply from the first is received. (there is an ALG in my SIP path so quite possibly a cause of a slight delay). Where could I look in the code to see how feasible it would be be to add a delay in before the check to see if the PBX has sent the 200 OK? If it helps, my Linphone has 6 identities in it and only 1 is failing. The peer *is* showing as registered in Asterisk and does receive an inbound call, I'm sure this is just a throughput issue... Dave From MAILER-DAEMON Wed Jun 24 08:02:35 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7jNz-00076m-CE for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 08:02:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7jNt-00076B-Vl for linphone-developers@nongnu.org; Wed, 24 Jun 2015 08:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7jNs-00036l-QU for linphone-developers@nongnu.org; Wed, 24 Jun 2015 08:02:29 -0400 Received: from mail-yh0-x232.google.com ([2607:f8b0:4002:c01::232]:33169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7jNs-00036d-MQ for linphone-developers@nongnu.org; Wed, 24 Jun 2015 08:02:28 -0400 Received: by yhpn97 with SMTP id n97so15478555yhp.0 for ; Wed, 24 Jun 2015 05:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rZe3kaE7+rWbO+XdSe/peYQytoGzJeQnY6cK+pKrQ3A=; b=sTuFrh39RP1F63U/o3w0WJDLaEp6CcArYx51Ak2Os15VPYJCT2DgGlV1UNG50e/vU9 Y33xkQxPTSaC8na5bA6vcEBCH4W0vEQ1lg3hdFQvPsCnjQ69166oUxssALWmWJPQ3D53 GJhGriuVdO4lXpB5mGxmi4pwICjUPn9p2EKf9fa8w7RRT4X3yaiW5C5RmjJr6MAdXG/L u5z26VOu4Y9Xwv86cAC70snSl12dG56ynDcKqPn0EpZ3fIR7+1kMDVx2HuXjexXUfwZP dE6kkA082oKy2jO9n4L0640AEB4vAFG0AKqWuuR/fWhdYbfDI6Wd/vXFuVKw0HBk6+W7 S98Q== MIME-Version: 1.0 X-Received: by 10.129.49.198 with SMTP id x189mr50055007ywx.47.1435147348216; Wed, 24 Jun 2015 05:02:28 -0700 (PDT) Received: by 10.37.98.137 with HTTP; Wed, 24 Jun 2015 05:02:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Jun 2015 13:02:28 +0100 Message-ID: From: Peter Villeneuve To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a114216d4e40fda05194247d1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::232 Subject: Re: [Linphone-developers] flexisip presence? X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 12:02:34 -0000 --001a114216d4e40fda05194247d1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great. Thanks for filling me in. And congrats again on flexisip. Looks pretty good to me. By the way, is there any GUI available (=C3=A0 la Siremis for kamailio) for Flexisip? If not, maybe Siremis could be adapted to work with it? On Wed, Jun 24, 2015 at 11:47 AM, jehan monnier wrote: > Hi Peter, > > > > Le 23 juin 2015 =C3=A0 18:46, Peter Villeneuve a = =C3=A9crit : > > Hi guys, > > I've been experimenting with flexisip and I like what I see so far. > > > Thanks > > However, I'm not sure if flexisip (or linphone for that matter) has any > support for presence since I can't find any info on it. > > So do they support presence? > > > Well, yes for Linphone and not yet for Flexisip. > -For Linphone, only missing item is list suscription. > -For Flexisip, this is definitively something we would like to have but > nothing is committed yet. > > > Cheers, > Peter > > > > Jehan > www.linphone.org > > > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a114216d4e40fda05194247d1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great. Thanks for filling me in.
And congrats again on= flexisip. Looks pretty good to me.

By the way, is= there any GUI available (=C3=A0 la Siremis for kamailio) for Flexisip? If = not, maybe Siremis could be adap= ted to work with it?

<= br>
On Wed, Jun 24, 2015 at 11:47 AM, jehan monni= er <jehan.monnier@linphone.org> wrote:
Hi Peter,


Le 23 juin 2015 = =C3=A0 18:46, Peter Villeneuve <petervnv1@gmail.com> a =C3=A9crit :

<= div dir=3D"ltr">Hi guys,

I've been experimenting wit= h flexisip and I like what I see so far.


Thanks

However, I'm not sure if flexisip= (or linphone for that matter) has any support for presence since I can'= ;t find any info on it.

So do they support presenc= e?


Well,= yes for Linphone =C2=A0and not yet for Flexisip.=C2=A0
-For Linp= hone, only missing item is list suscription.
-For Flexisip, this = is definitively something we would like to have but nothing is committed ye= t.=C2=A0


Cheers,
Peter
=


_______________________________________________
Linphone-developers mail= ing list
Linphone-developers@nongnu.org
https://lists.n= ongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--001a114216d4e40fda05194247d1-- From MAILER-DAEMON Wed Jun 24 22:39:03 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7x4B-0004T7-4T for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 22:39:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7x47-0004S1-W3 for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:39:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7x43-0002YP-SM for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:38:59 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:34919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7x43-0002YB-Lj for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:38:55 -0400 Received: by pactm7 with SMTP id tm7so40347542pac.2 for ; Wed, 24 Jun 2015 19:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=R/45zZoIo7FRJK1nVOpveMIR+UI6Qq8EYF74tHSwtFc=; b=TRpXymAhXtA2NRVcweO2jA99BrgEkyKRAnGtm4ZFB14/d4pRNvwMCZmY81ax/4EPDh 4SFBS954lFwDObTIsvj0DVOI6ZUTufnNxXqPR0nwKIEXdl264N9fk8Xi4yRFCiM7bGzI mLvNiZF1Lhctl2sHAbv4oA8j9nBbnVyZMvOmvsuxj7haa+iALEKkMgMKt691nWGQQLTF hrSd2sorR/qYWkpmQfRX8txhblFu8m7K+/zOyBX7TNW2L3b1hLWR+jBlVjldRNwip56w OaUHbGlSYrx4KCLC6KGpA6NJGOPwa2/GDRFEFKX5bWMNle3ePoezVNdr/OEFrdiksAmF gKSw== X-Received: by 10.68.68.167 with SMTP id x7mr63892383pbt.161.1435199933621; Wed, 24 Jun 2015 19:38:53 -0700 (PDT) Received: from [10.6.9.83] (119.81.130.103-static.reverse.softlayer.com. [119.81.130.103]) by mx.google.com with ESMTPSA id k5sm28214388pda.34.2015.06.24.19.38.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jun 2015 19:38:52 -0700 (PDT) From: tmpgogogo@gmail.com Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Message-Id: <5C9B6456-2338-4FA7-A946-4692D3BF7BF8@gmail.com> Date: Thu, 25 Jun 2015 10:38:49 +0800 References: <5598C7EE-AA2E-400B-A6D3-E98DE2B81767@gmail.com> In-Reply-To: To: "linphone-developers@nongnu.org" X-Mailer: iPhone Mail (12F70) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::231 Subject: Re: [Linphone-developers] Linphone Compilation ARM64 Error - iOS 8.3 SDK, Xcode 6.3.2 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 02:39:01 -0000 I confirmed already compiled fine on arm64, and Xcode project architecture s= et up armv7 and arm64. Seems Xcode project can't find arm64 lib,always link t= o armv7, is anyway let Xcode project link to arm64? Regards, Tom Zhang Website: http://chirpapps.com > =D4=DA 2015=C4=EA6=D4=C224=C8=D5=A3=AC16:41=A3=ACGautier Pelloux-Prayer =D0=B4=B5=C0=A3=BA >=20 > Check linphone-iphone repository which compiles fine on arm64; double-chec= k specially xcodeproj architecture settings. >=20 > Cheers, >=20 > Gautier Pelloux-Prayer > Software Engineer @ Belledonne Communications >=20 >> On 24 Jun 2015, at 04:51, tmpgogogo@gmail.com wrote: >>=20 >>=20 >> I recently upgrade my Linphone project to support arm64, when I build the= project show below error, but I sure aarch64-apple-darwin already build suc= cess and have the libmsilbc.a file.=20 >>=20 >>=20 >> Undefined symbols for architecture arm64:=20 >> "_initDecode", referenced from:=20 >> _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 >> (maybe you meant: _initDecodeLSP, _initDecodeAdaptativeCodeVector , _= initDecodeGains )=20 >> "_iLBC_decode", referenced from:=20 >> _dec_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 >> "_iLBC_encode", referenced from:=20 >> _enc_process in libmsilbc.a(libmsilbc_la-ilbc.o)=20 >> "_initEncode", referenced from:=20 >> _enc_preprocess in libmsilbc.a(libmsilbc_la-ilbc.o)=20 >> ld: symbol(s) not found for architecture arm64=20 >> clang: error: linker command failed with exit code 1 (use -v to see invoc= ation) >>=20 >> Regards, >> Tom Zhang >> _______________________________________________ >> Linphone-developers mailing list >> Linphone-developers@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/linphone-developers >=20 >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers From MAILER-DAEMON Wed Jun 24 22:40:39 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7x5j-0004sB-Je for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 22:40:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7x5g-0004s1-OK for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:40:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7x5c-0003tP-Kc for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:40:36 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:35022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7x5c-0003tH-9B for linphone-developers@nongnu.org; Wed, 24 Jun 2015 22:40:32 -0400 Received: by pactm7 with SMTP id tm7so40368846pac.2 for ; Wed, 24 Jun 2015 19:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=gsCA9keg2u2MUVyuyKqbWKeJOalSYYIQ08bFhRgGwkM=; b=TZ0+BFKMU/bCovRr3WYIDyZKwhDj0KUsWsNBsG2FFbwlveYRBH1bNV7EhsEd0z1gIZ RmlHzKhjXZZETlh7ps/ajN/kfNlk1c58EDekYD2ysH4E79N7u0QO+wNlIRnCRkkYGCM7 vrYvDPHoiLjH743Ey32fcZ3nEsc020Qww7AkUZn63S5psC9LqxsdAtyAazFihZEvsrxR IrO57S8O6zP9iT+oLJGuWDToEFNjbU88e6pXx3XVJbcYMZZ/cDylsA5iFQWxbPFYNunT yLkJ8WnOOpjhYIQCerWMx/zYFjYG2QtQSQEn8mGmQ4aFBkfNF+xaQA3GotDpWZNm/JWY wKeA== X-Received: by 10.68.95.129 with SMTP id dk1mr81603439pbb.8.1435200031548; Wed, 24 Jun 2015 19:40:31 -0700 (PDT) Received: from [192.168.1.103] (bb116-14-28-7.singnet.com.sg. [116.14.28.7]) by mx.google.com with ESMTPSA id js8sm28149876pbb.9.2015.06.24.19.40.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jun 2015 19:40:31 -0700 (PDT) From: Winona Kwok Content-Type: multipart/alternative; boundary="Apple-Mail=_D7130627-BF64-411C-9DCE-9EFF9052A12C" Message-Id: <4FA02A3E-83A5-4351-873C-6B9432F8C435@gmail.com> Date: Thu, 25 Jun 2015 10:40:27 +0800 To: linphone-developers@nongnu.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::232 Subject: [Linphone-developers] Linphone Android Error: Cannot find input file "Makefile.in" in libilbc-rfc3951 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 02:40:37 -0000 --Apple-Mail=_D7130627-BF64-411C-9DCE-9EFF9052A12C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi all,=20 I am trying to build linphone for android, I have installed all the = necessary tools (i.e. yasm, nasm, curl, ant, rsync, autoconf, automake, = aclocal, libtoolize, pkgconfig), set all needed directories pointed to = the right path. I=92m building it on my mac.=20 When trying to build, I met with this error,=20 configure: creating ./config.status config.status: error: cannot find input file: `Makefile.in' make: *** = [/Users/winonakwok/Desktop/linphone/linphone-android/submodules/libilbc-rf= c3951/Makefile] Error 1 I have also tried replacing if test -f /opt/local/bin/glibtoolize ; then # darwin LIBTOOLIZE=3D/opt/local/bin/glibtoolize with if test -f /usr/local/bin/glibtoolize ; then # darwin LIBTOOLIZE=3D/usr/local/bin/glibtoolize I am wondering if I am missing any steps? Can anyone guide and help me = on this? Thanks!=20 Best Regards, Winona Kwok --Apple-Mail=_D7130627-BF64-411C-9DCE-9EFF9052A12C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi = all, 

I am trying to build linphone for android, = I have installed all the necessary tools (i.e. yasm, nasm, curl, ant, = rsync, autoconf, automake, aclocal, libtoolize, pkgconfig), set all = needed directories pointed to the right path. I=92m building it on my = mac. 

When trying to build, I met with = this error, 

configure: creating ./config.status
config.status: error: cannot find input file: = `Makefile.in'
make: *** = [/Users/winonakwok/Desktop/linphone/linphone-android/submodules/libilbc-rf= c3951/Makefile] Error 1
I = have also tried replacing

if =
test -f =
/opt/local/bin/glibtoolize =
; then
# darwin
LIBTOOLIZE=3D/opt/local/bin/glibtoolize

with

if test -f /usr/local/bin/glibtoolize ; then
# darwin
LIBTOOLIZE=3D/usr/local/bin/glibtoolize


I am wondering if I am = missing any steps? Can anyone guide and help me on this? Thanks! 
Best Regards,
Winona Kwok



= --Apple-Mail=_D7130627-BF64-411C-9DCE-9EFF9052A12C-- From MAILER-DAEMON Wed Jun 24 23:28:29 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7xq1-0000XU-8J for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 23:28:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7xpx-0000Wd-KT for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7xpt-0003UA-CS for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:28:25 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:36071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7xpt-0003TS-67 for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:28:21 -0400 Received: by iecvh10 with SMTP id vh10so46294948iec.3 for ; Wed, 24 Jun 2015 20:28:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=wGe/n1JI8PT7udaakS/N+bi9n4ZeNOqmC2HT6YylWX0=; b=SdyU47VzVyHjkKgzbBQtDirC6TaaSiUKvfx1A29U91FpJ4AMDsQyCqrQHWM3B2Pvmu IaXsLXYoq2PEEXfRCuKzVBVdcxE67lDrB5qcBS0Gifn00nV1iOFebwHDYo+7hHKBOUNg D7vi+sfN+5Y7tm/FOChs9NdxGQLatM9XPFbuaNVT2FxjslssTpzRFTkDm4Nb+XRJTe9J 60FigQ5Ql/tv7keQxQipROwmpgcW7yXv94vxyDcQoAB33JhXnB7UKJbDEsemDuV18P4+ G8lebRy5zJcJmHAyKdwTa4XUmePM99OV8wvIte8YwGeZmwrmRS6I1Nzw7F8h++0G3Dzz ZVUg== X-Gm-Message-State: ALoCoQlsEw1yns+TK4Hi7efYJM/vRpJhjmaoEaoVo26PA+Qafo+xO5D1Ai4FFVXSsRtIscfncIjI MIME-Version: 1.0 X-Received: by 10.107.4.6 with SMTP id 6mr1154435ioe.49.1435202899996; Wed, 24 Jun 2015 20:28:19 -0700 (PDT) Received: by 10.64.137.6 with HTTP; Wed, 24 Jun 2015 20:28:19 -0700 (PDT) In-Reply-To: <4FA02A3E-83A5-4351-873C-6B9432F8C435@gmail.com> References: <4FA02A3E-83A5-4351-873C-6B9432F8C435@gmail.com> Date: Thu, 25 Jun 2015 08:58:19 +0530 Message-ID: From: Shruti Goyal To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a113ef45a090c3105194f37f0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.180 Subject: Re: [Linphone-developers] Linphone Android Error: Cannot find input file "Makefile.in" in libilbc-rfc3951 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 03:28:26 -0000 --001a113ef45a090c3105194f37f0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stucked into the same issue. Latest linphone android code is not stable i guess. *With Warm Regards,* Shruti Goyal VVDN Technologies Pvt Ltd *Cell : *+91 9872048482 | *Skype :* shrutigoyal703 On Thu, Jun 25, 2015 at 8:10 AM, Winona Kwok wrote: > Hi all, > > I am trying to build linphone for android, I have installed all the > necessary tools (i.e. yasm, nasm, curl, ant, rsync, autoconf, automake, > aclocal, libtoolize, pkgconfig), set all needed directories pointed to th= e > right path. I=E2=80=99m building it on my mac. > > When trying to build, I met with this error, > > configure: creating ./config.status > config.status: error: cannot find input file: `Makefile.in' > make: *** [/Users/winonakwok/Desktop/linphone/linphone-android/submodules= /libilbc-rfc3951/Makefile] Error 1 > > I have also tried replacing > > if test -f /opt/local/bin/glibtoolize ; then# darwin > LIBTOOLIZE=3D/opt/local/bin/glibtoolize > > with > > if test -f /usr/local/bin/glibtoolize ; then# darwin > LIBTOOLIZE=3D/usr/local/bin/glibtoolize > > > > I am wondering if I am missing any steps? Can anyone guide and help me on > this? Thanks! > Best Regards, > Winona Kwok > > > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > --001a113ef45a090c3105194f37f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stucked into the same issue. Latest linphone android code = is not stable i guess.



With Warm Regards,

= Shruti Goyal

VVDN Technologies Pvt Ltd

= Cell :=C2=A0+91 9872048482 |=C2=A0Skype :=C2=A0shrutig= oyal703


On Thu, Jun 25, 2015 at 8:10 AM, Winona Kwok= <kwok.winona@gmail.com> wrote:
Hi all,=C2=A0

<= div>I am trying to build linphone for android, I have installed all the nec= essary tools (i.e. yasm, nasm, curl, ant, rsync, autoconf, automake, acloca= l, libtoolize, pkgconfig), set all needed directories pointed to the right = path. I=E2=80=99m building it on my mac.=C2=A0

Whe= n trying to build, I met with this error,=C2=A0

configure: creating ./c= onfig.status
config.status: error: cannot find inp= ut file: `Makefile.in'
make: *** [/Users/winon= akwok/Desktop/linphone/linphone-android/submodules/libilbc-rfc3951/Makefile= ] Error 1
I have also tried repl= acing

if test -f /opt/local/bin/glibtoolize ; then # darwin LIBTOOLIZE=3D/opt/local/bin/glibtoolize

with

if test -f /usr/local/bin/glibtoolize=
 =
;=
 then
# darwin
LIBTOOLIZE=3D/usr/local/bin/glibtoolize


I am wondering if I am missing any steps? Can anyone = guide and help me on this? Thanks!=C2=A0<= /span>
Best Regards,
Winona Kwok




_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers


--001a113ef45a090c3105194f37f0-- From MAILER-DAEMON Wed Jun 24 23:29:52 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z7xrM-0001Oz-Ir for mharc-linphone-developers@gnu.org; Wed, 24 Jun 2015 23:29:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7xrK-0001Oq-0C for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7xrF-00044R-OC for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:29:49 -0400 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:36054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7xrF-00044I-By for linphone-developers@nongnu.org; Wed, 24 Jun 2015 23:29:45 -0400 Received: by pdcu2 with SMTP id u2so43776178pdc.3 for ; Wed, 24 Jun 2015 20:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=QjI/5Ut6aK6rHGNeUN6HThVk8515dsj9+cbHD/2SiUg=; b=UBOkimcLQ5RVp9vhkr2yxD/F6/gH/8aKX0YyRhBZdW7jggdIM09BJqmP+f6yqTQeWb gDy+Qt+JAvpB0SGJIv+RJcitaS7oMsGYYoSnt4lIYUYWFasoCmQtqLa4SDCk5qISSqav RBbMQkgY385LxK27ijWyXF66dB2zbjZxS6syHk+gXOdfqHqzX3+ALnmQLrkZPiInqvwt Fqy6l5SAyu0TLglq+meZy2HI3Btg6mrzBXjglySjmE14uqBfLYV2M1Z889YHOhfgdjtx oNVAE/h/YfWcOBkhFPbqxY+CjOTUi8EQtTUMvyPZNCO5iqYVxNwRuUdO/Cd6YwI/JrFM QWAg== X-Received: by 10.66.139.167 with SMTP id qz7mr86510272pab.135.1435202984527; Wed, 24 Jun 2015 20:29:44 -0700 (PDT) Received: from [192.168.1.103] (bb116-14-28-7.singnet.com.sg. [116.14.28.7]) by mx.google.com with ESMTPSA id fy5sm28283114pdb.93.2015.06.24.20.29.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jun 2015 20:29:44 -0700 (PDT) From: Winona Kwok Content-Type: multipart/alternative; boundary="Apple-Mail=_69D749B4-FA56-4E92-AC7A-7B16DE6111E5" Message-Id: <2A001041-38A8-44AC-BA4C-124A9E09F318@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Date: Thu, 25 Jun 2015 11:29:40 +0800 References: <4FA02A3E-83A5-4351-873C-6B9432F8C435@gmail.com> To: linphone-developers@nongnu.org In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::231 Subject: Re: [Linphone-developers] Linphone Android Error: Cannot find input file "Makefile.in" in libilbc-rfc3951 X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 03:29:51 -0000 --Apple-Mail=_69D749B4-FA56-4E92-AC7A-7B16DE6111E5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Oh man, is there any place where I could get a stable release? Kinda = need this urgently.=20 Best Regards, Winona Kwok On 25 Jun, 2015, at 11:28 am, Shruti Goyal = wrote: > Stucked into the same issue. Latest linphone android code is not = stable i guess. >=20 >=20 >=20 > With Warm Regards, > Shruti Goyal > VVDN Technologies Pvt Ltd > Cell : +91 9872048482 | Skype : shrutigoyal703 >=20 >=20 > On Thu, Jun 25, 2015 at 8:10 AM, Winona Kwok = wrote: > Hi all,=20 >=20 > I am trying to build linphone for android, I have installed all the = necessary tools (i.e. yasm, nasm, curl, ant, rsync, autoconf, automake, = aclocal, libtoolize, pkgconfig), set all needed directories pointed to = the right path. I=92m building it on my mac.=20 >=20 > When trying to build, I met with this error,=20 >=20 > configure: creating ./config.status > config.status: error: cannot find input file: `Makefile.in' > make: *** = [/Users/winonakwok/Desktop/linphone/linphone-android/submodules/libilbc-rf= c3951/Makefile] Error 1 > I have also tried replacing >=20 > if test -f /opt/local/bin/glibtoolize ; then > # darwin > LIBTOOLIZE=3D/opt/local/bin/glibtoolize > with >=20 > if test -f /usr/local/bin/glibtoolize ; then > # darwin > LIBTOOLIZE=3D/usr/local/bin/glibtoolize >=20 >=20 > I am wondering if I am missing any steps? Can anyone guide and help me = on this? Thanks!=20 > Best Regards, > Winona Kwok >=20 >=20 >=20 >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers >=20 >=20 > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers --Apple-Mail=_69D749B4-FA56-4E92-AC7A-7B16DE6111E5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Oh = man, is there any place where I could get a stable release? Kinda need = this urgently. 

Best Regards,
Winona Kwok



On 25 Jun, 2015, at 11:28 am, Shruti Goyal <shruti.goyal@vvdntech.com>= ; wrote:

Stucked into the same issue. Latest = linphone android code is not stable i guess.



With Warm = Regards,
Shruti Goyal
VVDN Technologies Pvt = Ltd
Cell : +91 9872048482 | Skype = : shrutigoyal703


On Thu, Jun 25, 2015 at 8:10 AM, Winona = Kwok <kwok.winona@gmail.com> = wrote:
Hi all, 

I am = trying to build linphone for android, I have installed all the necessary = tools (i.e. yasm, nasm, curl, ant, rsync, autoconf, automake, aclocal, = libtoolize, pkgconfig), set all needed directories pointed to the right = path. I=92m building it on my mac. 

When = trying to build, I met with this error, 

configure: creating ./config.status
config.status: error: cannot find input file: = `Makefile.in'
make: *** = [/Users/winonakwok/Desktop/linphone/linphone-android/submodules/libilbc-rf= c3951/Makefile] Error 1
I = have also tried replacing

if test -f /opt/local/bin/glibtoolize =
; =
then=

# =
darwin
LIBTOOLIZE=3D/opt/local/bin/glibtoolize

with

if test -f /usr/local/bin/glibtoolize =
; =
then=

# =
darwin
LIBTOOLIZE=3D/usr/local/bin/glibtoolize


I am wondering if I am missing any steps? Can = anyone guide and help me on this? Thanks! 
Best Regards,
Winona Kwok




_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.= org
https://lists.nongnu.org/mailman/listinfo/linphone-devel= opers


_______________________________________________
Linphone-developers = mailing list
Linphone-developers@nongnu.= org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

= --Apple-Mail=_69D749B4-FA56-4E92-AC7A-7B16DE6111E5-- From MAILER-DAEMON Thu Jun 25 07:10:06 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z852k-0003Hs-22 for mharc-linphone-developers@gnu.org; Thu, 25 Jun 2015 07:10:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z852h-0003Fi-1H for linphone-developers@nongnu.org; Thu, 25 Jun 2015 07:10:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z852e-0004Jz-At for linphone-developers@nongnu.org; Thu, 25 Jun 2015 07:10:02 -0400 Received: from mout.gmx.com ([74.208.4.200]:58987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z852e-0004Im-4S for linphone-developers@nongnu.org; Thu, 25 Jun 2015 07:10:00 -0400 Received: from [69.245.204.9] by 3capp-mailcom-lxa13.server.lan (via HTTP); Thu, 25 Jun 2015 13:09:57 +0200 MIME-Version: 1.0 Message-ID: From: "P. S." To: linphone-developers@nongnu.org Content-Type: text/html; charset=UTF-8 Date: Thu, 25 Jun 2015 13:09:57 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:6Lbc48eWnt5jj1X1PnbL2HFCniTIo99W9lusTzC0G9d v5RJE1QQ2aGllJ7Zd+xib7IhS4D8FZ5hRbSKN3IT2zLs/j2zt0 TkukaXrrC8Rj2zDfIDrFIdIKRj4liYDKfAyhrpolCxH2k8Jlb2 fStuXGN3f5NqslM7Qs97FeYeuEuJVmOMAOBOkIVPYpCNbFqznf si5RWZ3Zj0GTiOyU7Dlg/Zh7sJonjg/l6D9i4v2Ts2USAN6nUe UTKbG5/XeF1I9XUJdoXo68WsetpZZY0zzmgxeGYezwpU1Tf4DY otpFrRAPARSdxncjbItKSvs7Yf9 X-UI-Out-Filterresults: notjunk:1;V01:K0:34J7ajnotaA=:bgs88Bb0vFayTu571iQ3UZ gL2/YUmlCZi2Dwwmd6OP59VfpxgbaLZ047boKFcT+1RgVhunUwbF2km7dKr/kGO+7pt4JRd36 7uc4jThb998YIaDe/jgeI6lGbpAXfW9BBLtr8BVD0puaBs+usxCBjM2JO+jmseGG9r4DzlYL5 NjQTDdqkMXFRo6pzPH7XdlCGCvvEwEzuIyEpXldqKSWu3mGQovOS1TFcwflBeFKW1Br5GmjFY 5XTBOlcbEGXXNhlJEy7QY8AS9q5q6IaE2+gDNb/5DE4IVSg7EaCJBPVp6MJmqz4Ws4d1JbYTP u2GNLyuvLNA38gJLOKSO45o7GsEtNXw7FU1v49t4xXGCpYkbQhnWlbI1umt9RrZlrce+5oDw+ aC/zR6nNL9rYxjMgOgOSYRtJhA3sesDyyxy9COHfxBWEDnUMKTKJp47Zk4NomWuorUtigDvGK mQrtPW9FSg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 74.208.4.200 Subject: [Linphone-developers] linphone-android crashes on call hangup X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 11:10:04 -0000
Greetings All!
 
I have built my own test version of linphone using android studio on mac os X using code i downloaded about two weeks ago. The APK built, and i can run the app on my s4 - so cool! :)
 
When making calls I see two issues that I am hoping folks here have some guidance on:
1.  after 30 - 60 seconds of a video call depending on the codec, screen freezes and android alert that says wait or close? I am not sure why the ANR comes as the call is still on.
2.  When i hang up the video call, it seems the apk crashes (on both sides). As an added, sometimes the native camera crashes - as it doesnt seem to release the camera. 
 
Since it is possible that it happens because of my config, I have pasted my linphonerc file is pasted below - the linhpone-android code has not been modified.
 
linphonerc_default-----------------------------------------------------------
[net]
download_bw=380
upload_bw=380
firewall_policy=2
stun_server=<stun server>
[sip]
contact=sip:unknown@unknown-host
use_info=0
use_ipv6=0
keepalive_period=30000
ping_with_options=1
default_proxy=0
sip_port=0
sip_tcp_port=5060
sip_tls_port=0
udp_port=0
[proxy_0]
reg_proxy=<sip:xx.xx.xx.xx;transport=tcp>
reg_route=<sip:xx.xx.xx.xx;transport=tcp>
[video]
size=qvga
enabled=1
display=1
show_local=1
self_view=1
automatically_initiate=1
automatically_accept=1
[app]
tunnel=disabled
 
Thanks
 
 
 
From MAILER-DAEMON Thu Jun 25 09:18:15 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z872l-0004RG-EZ for mharc-linphone-developers@gnu.org; Thu, 25 Jun 2015 09:18:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z872i-0004QA-Er for linphone-developers@nongnu.org; Thu, 25 Jun 2015 09:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z872c-0002sy-L2 for linphone-developers@nongnu.org; Thu, 25 Jun 2015 09:18:12 -0400 Received: from mail.antanta.ru ([212.118.48.37]:2545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z872c-0002rK-8R for linphone-developers@nongnu.org; Thu, 25 Jun 2015 09:18:06 -0400 X-MDAV-Result: clean X-MDAV-Processed: mail.antanta.ru, Thu, 25 Jun 2015 14:05:29 +0300 Received: from BETELGEUSE ([212.118.48.99]) by mail.antanta.ru (mail.antanta.ru) (MDaemon PRO v13.5.1) with ESMTP id md50028706610.msg for ; Thu, 25 Jun 2015 14:05:28 +0300 X-MDRemoteIP: 212.118.48.99 X-Return-Path: kiselev@molot.ru X-Envelope-From: kiselev@molot.ru X-MDaemon-Deliver-To: linphone-developers@nongnu.org From: "Max A. Kiselev" To: References: In-Reply-To: Date: Thu, 25 Jun 2015 14:05:25 +0300 Message-ID: <003c01d0af36$d67040c0$8350c240$@molot.ru> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003D_01D0AF4F.FBBE8A30" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac85QJP5LGclaf/4TpeqHnYbqjSwfF19U0ug Content-Language: ru X-detected-operating-system: by eggs.gnu.org: Windows XP X-Received-From: 212.118.48.37 Subject: [Linphone-developers] FW: Play file to specific call X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 13:18:13 -0000 This is a multipart message in MIME format. ------=_NextPart_000_003D_01D0AF4F.FBBE8A30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello linphone_player_get_duration and linphone_player_get_current_position on call player seem to be broken in release 3.8.4. Call to these functions result in access violation. Judging by player.c and local_player.c the callbacks for the call player are simply not set in linphone_call_build_player. Is it a purposed behavior or a bug? Regards, Max A. Kiselev ------=_NextPart_000_003D_01D0AF4F.FBBE8A30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello

 

linphone_player_get_duration and = linphone_player_get_current_position on call player seem to be broken in = release 3.8.4. Call to these functions result in access = violation.

 

Judging by player.c and local_player.c = the callbacks for the call player are simply not set in = linphone_call_build_player. Is it a purposed behavior or a = bug?

 

Regards,

Max A. = Kiselev

------=_NextPart_000_003D_01D0AF4F.FBBE8A30-- From MAILER-DAEMON Thu Jun 25 11:11:06 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z88ny-0005B9-7d for mharc-linphone-developers@gnu.org; Thu, 25 Jun 2015 11:11:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z88nu-0005Az-Vm for linphone-developers@nongnu.org; Thu, 25 Jun 2015 11:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z88no-0000Aq-Nc for linphone-developers@nongnu.org; Thu, 25 Jun 2015 11:11:02 -0400 Received: from mail.antanta.ru ([212.118.48.37]:3889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z88no-00008x-9u for linphone-developers@nongnu.org; Thu, 25 Jun 2015 11:10:56 -0400 X-MDAV-Result: clean X-MDAV-Processed: mail.antanta.ru, Thu, 25 Jun 2015 18:10:52 +0300 Received: from BETELGEUSE ([212.118.48.99]) by mail.antanta.ru (mail.antanta.ru) (MDaemon PRO v13.5.1) with ESMTP id md50028709278.msg for ; Thu, 25 Jun 2015 18:10:51 +0300 X-MDRemoteIP: 212.118.48.99 X-Return-Path: kiselev@molot.ru X-Envelope-From: kiselev@molot.ru X-MDaemon-Deliver-To: linphone-developers@nongnu.org From: "Max A. Kiselev" To: Date: Thu, 25 Jun 2015 18:10:49 +0300 Message-ID: <004b01d0af59$1ed6ad00$5c840700$@molot.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004C_01D0AF72.442592B0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdCvWM9hF+rG8lNNTuqS4NAuF5plYQ== Content-Language: ru X-detected-operating-system: by eggs.gnu.org: Windows XP X-Received-From: 212.118.48.37 Subject: [Linphone-developers] [PATCH] fix DTMF event handler receiving pointer to the current call instead of the call receiving the DTMF X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 15:11:04 -0000 This is a multipart message in MIME format. ------=_NextPart_000_004C_01D0AF72.442592B0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_004D_01D0AF72.442592B0" ------=_NextPart_001_004D_01D0AF72.442592B0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit --- coreapi/linphonecall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 4f2a571..a3e6881 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2105,12 +2105,12 @@ void linphone_call_init_media_streams(LinphoneCall *call){ static int dtmf_tab[16]={'0','1','2','3','4','5','6','7','8','9','*','#','A','B','C','D '}; -static void linphone_core_dtmf_received(LinphoneCore *lc, int dtmf){ +static void linphone_core_dtmf_received(LinphoneCall *call, int dtmf){ if (dtmf<0 || dtmf>15){ ms_warning("Bad dtmf value %i",dtmf); return; } - linphone_core_notify_dtmf_received(lc, linphone_core_get_current_call(lc), dtmf_tab[dtmf]); + linphone_core_notify_dtmf_received(call->core, call, dtmf_tab[dtmf]); } static void parametrize_equalizer(LinphoneCore *lc, AudioStream *st){ @@ -3628,7 +3628,7 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){ || (evt == ORTP_EVENT_ICE_LOSING_PAIRS_COMPLETED) || (evt == ORTP_EVENT_ICE_RESTART_NEEDED)) { handle_ice_events(call, ev); } else if (evt==ORTP_EVENT_TELEPHONE_EVENT){ - linphone_core_dtmf_received(call->core,evd->info.telephone_event); + linphone_core_dtmf_received(call,evd->info.telephone_event); } ortp_event_destroy(ev); } -- 1.9.5.msysgit.0 ------=_NextPart_001_004D_01D0AF72.442592B0 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable

---

coreapi/linphonecall.c | 6 +++---

1 file changed, 3 insertions(+), 3 = deletions(-)

 

diff --git a/coreapi/linphonecall.c = b/coreapi/linphonecall.c

index 4f2a571..a3e6881 100644

--- = a/coreapi/linphonecall.c

+++ b/coreapi/linphonecall.c

@@ -2105,12 +2105,12 @@ void = linphone_call_init_media_streams(LinphoneCall = *call){

=

=9Astatic = int = dtmf_tab[16]=3D{'0','1','2','3','4','5','6','7','8','9','*','#','A','B','= C','D'};

=

-static = void linphone_core_dtmf_received(LinphoneCore *lc, int = dtmf){

+static void linphone_core_dtmf_received(LinphoneCall = *call, int dtmf){

=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A if (dtmf<0 = || dtmf>15){

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A ms_warning("Bad dtmf value = %i",dtmf);

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A return;

=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = }

-=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = linphone_core_notify_dtmf_received(lc, = linphone_core_get_current_call(lc), = dtmf_tab[dtmf]);

+=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = linphone_core_notify_dtmf_received(call->core, call, = dtmf_tab[dtmf]);

}

=9Astatic void parametrize_equalizer(LinphoneCore *lc, = AudioStream *st){

@@ -3628,7 +3628,7 @@ void = linphone_call_handle_stream_events(LinphoneCall *call, int = stream_index){

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A || (evt = =3D=3D ORTP_EVENT_ICE_LOSING_PAIRS_COMPLETED) || (evt =3D=3D = ORTP_EVENT_ICE_RESTART_NEEDED)) {

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = handle_ice_events(call, ev);

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A } else if = (evt=3D=3DORTP_EVENT_TELEPHONE_EVENT){

-=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = linphone_core_dtmf_received(call->core,evd->info.telephone_event);<= o:p>

+=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A = linphone_core_dtmf_received(call,evd->info.telephone_event);

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A }

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A ortp_event_destroy(ev);

= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A }

--

1.9.5.msysgit.0

------=_NextPart_001_004D_01D0AF72.442592B0-- ------=_NextPart_000_004C_01D0AF72.442592B0 Content-Type: application/octet-stream; name="0001-fix-DTMF-event-handler-receiving-pointer-to-the-curr.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-fix-DTMF-event-handler-receiving-pointer-to-the-curr.patch" >From 9e81e49ec22800a13183b641bf1913c672dac939 Mon Sep 17 00:00:00 2001=0A= From: "Max A. Kiselev" =0A= Date: Thu, 25 Jun 2015 18:05:05 +0300=0A= Subject: [PATCH] fix DTMF event handler receiving pointer to the current = call=0A= instead of the call receiving the DTMF=0A= =0A= ---=0A= coreapi/linphonecall.c | 6 +++---=0A= 1 file changed, 3 insertions(+), 3 deletions(-)=0A= =0A= diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c=0A= index 4f2a571..a3e6881 100644=0A= --- a/coreapi/linphonecall.c=0A= +++ b/coreapi/linphonecall.c=0A= @@ -2105,12 +2105,12 @@ void = linphone_call_init_media_streams(LinphoneCall *call){=0A= =0A= static int = dtmf_tab[16]=3D{'0','1','2','3','4','5','6','7','8','9','*','#','A','B','= C','D'};=0A= =0A= -static void linphone_core_dtmf_received(LinphoneCore *lc, int dtmf){=0A= +static void linphone_core_dtmf_received(LinphoneCall *call, int dtmf){=0A= if (dtmf<0 || dtmf>15){=0A= ms_warning("Bad dtmf value %i",dtmf);=0A= return;=0A= }=0A= - linphone_core_notify_dtmf_received(lc, = linphone_core_get_current_call(lc), dtmf_tab[dtmf]);=0A= + linphone_core_notify_dtmf_received(call->core, call, dtmf_tab[dtmf]);=0A= }=0A= =0A= static void parametrize_equalizer(LinphoneCore *lc, AudioStream *st){=0A= @@ -3628,7 +3628,7 @@ void = linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){=0A= || (evt =3D=3D ORTP_EVENT_ICE_LOSING_PAIRS_COMPLETED) || (evt =3D=3D = ORTP_EVENT_ICE_RESTART_NEEDED)) {=0A= handle_ice_events(call, ev);=0A= } else if (evt=3D=3DORTP_EVENT_TELEPHONE_EVENT){=0A= - linphone_core_dtmf_received(call->core,evd->info.telephone_event);=0A= + linphone_core_dtmf_received(call,evd->info.telephone_event);=0A= }=0A= ortp_event_destroy(ev);=0A= }=0A= -- =0A= 1.9.5.msysgit.0=0A= =0A= ------=_NextPart_000_004C_01D0AF72.442592B0-- From MAILER-DAEMON Thu Jun 25 20:18:19 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8HLX-00008B-0x for mharc-linphone-developers@gnu.org; Thu, 25 Jun 2015 20:18:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8HLT-000071-Iu for linphone-developers@nongnu.org; Thu, 25 Jun 2015 20:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8HLS-0001By-1Q for linphone-developers@nongnu.org; Thu, 25 Jun 2015 20:18:15 -0400 Received: from mail-vn0-x22e.google.com ([2607:f8b0:400c:c0f::22e]:40431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8HLR-00019J-RB for linphone-developers@nongnu.org; Thu, 25 Jun 2015 20:18:13 -0400 Received: by vnbf7 with SMTP id f7so13445900vnb.7 for ; Thu, 25 Jun 2015 17:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JrGQp4N/XjGRXJh4ypK3lF4pvgDSIfn2rMPuAe/Z+00=; b=xL7hm/R59bt9VBZFoQ4TPIXk6JMLwe/E+n3ria61fdMGmo0baf7rdWb+/+OWfYHFgk FCpmek10xAqJemIf8E5uxr2mAxDTipY4uAfqb+fCy76fmMNfxJe/DQIwoJNtu/cmlGMU HZ/abe63J+sZ9AqNjALSjkdPqvD8njuFlSULxEWzbD59bxhWBkB03nXa3XxZUBJz66Gr eFTSVMupvVVU56makS7CB1qKAsKpN3CjVxJ4D3f+odcQpi9yko0FFCqpKmzfb432bPXn GPosXINRwFHtHVhmZDIlLlQ3uys+RtP5eDW8q4IEj+jNQQi7gQTnPGAPUo1GiTJnI6mH SH0g== MIME-Version: 1.0 X-Received: by 10.52.53.10 with SMTP id x10mr44090224vdo.36.1435277893034; Thu, 25 Jun 2015 17:18:13 -0700 (PDT) Received: by 10.31.54.17 with HTTP; Thu, 25 Jun 2015 17:18:12 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jun 2015 08:18:12 +0800 Message-ID: From: Russell To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=089e0122f0eef7e8c2051960acbd X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c0f::22e Subject: Re: [Linphone-developers] compiling linphone python for raspberry pi X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 00:18:17 -0000 --089e0122f0eef7e8c2051960acbd Content-Type: text/plain; charset=UTF-8 Hi, When compiling, bellesip seems to locate antlr header files from the system directory, thus /usr/include/antlr3.h and /usr/include/antlr3defs.h. My raspbian system on raspberry pi has 3.2 version of antlr installed, but linphone-cmake-builder tags/3.8.4 has 3.4 version of antlr. antlr3.2 has antlr3NewAsciiStringCopyStream, while antlr3.4 not but has antlr3StringStreamNew. So I am guessing that bellesip use system provided header files (version 3.2) to decide whether to call antlr3NewAsciiStringCopyStream or antlr3StringStreamNew, but when linking, it links to the antlr ( version 3.4) come with linphone-cmake-builder. Anybody can help? I have been investigating this problem long enough, any help will be appreciated. Thanks On Fri, Jun 19, 2015 at 5:30 PM, Russell wrote: > Hi, > > I have cross-compiled linphone python module for raspberry pi, by > following tutorials in > https://wiki.linphone.org/wiki/index.php/Raspberrypi:start. However, > after installing the resulting whl package on raspberry pi, I got this > error when trying to import linphone from python: > > File "/usr/local/lib/python2.7/dist-packages/linphone/__init__.py", line > 1, in > from linphone import * > ImportError: /usr/local/lib/python2.7/dist-packages/linphone/linphone.so: > undefined symbol: antlr3NewAsciiStringCopyStream > > > How can I fix this? > > Thanks > --089e0122f0eef7e8c2051960acbd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0

When compiling, bellesip seem= s to locate antlr header files from the system directory, thus /usr/include= /antlr3.h and /usr/include/antlr3defs.h.
My raspbian system on ra= spberry pi has 3.2 version of antlr installed, but linphone-cmake-builder t= ags/3.8.4 has 3.4 version of antlr.
antlr3.2 has=C2=A0antlr3NewAsciiStringCopyStream, while ant= lr3.4 not but has=C2=A0antlr3StringStreamNew.

So I am guessing that bellesip use system provide= d header files (version 3.2) to decide whether to call=C2=A0antlr3NewAsciiStringCopyStream or=C2= =A0antlr3StringStreamNe= w, but when linking, it links to the antlr ( version 3.4) come with linphon= e-cmake-builder.

Anyb= ody can help? I have been investigating this problem long enough, any help = will be appreciated.

= Thanks

On Fri, Jun 19, 2015 at 5:30 PM, Russell <danrenjian@gmail.com<= /a>> wrote:
Hi= ,

I have cross-compiled linphone python module for raspb= erry pi, by following tutorials in=C2=A0https://wiki.linphone= .org/wiki/index.php/Raspberrypi:start. However, after installing the re= sulting whl package on raspberry pi, I got this error when trying to import= linphone from python:

=C2=A0 File "/usr= /local/lib/python2.7/dist-packages/linphone/__init__.py", line 1, in &= lt;module>
=C2=A0 =C2=A0 from linphone import *
Impo= rtError: /usr/local/lib/python2.7/dist-packages/linphone/linphone.so: undef= ined symbol: antlr3NewAsciiStringCopyStream

=
How can I fix this?

Thanks

--089e0122f0eef7e8c2051960acbd-- From MAILER-DAEMON Fri Jun 26 02:16:04 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8Mvk-0004Xk-9x for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 02:16:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Mvi-0004Vp-8b for linphone-developers@nongnu.org; Fri, 26 Jun 2015 02:16:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Mvf-0005WB-4K for linphone-developers@nongnu.org; Fri, 26 Jun 2015 02:16:02 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:37218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Mve-0005W7-Rr for linphone-developers@nongnu.org; Fri, 26 Jun 2015 02:15:59 -0400 Received: by wicgi11 with SMTP id gi11so8161583wic.0 for ; Thu, 25 Jun 2015 23:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; bh=ouGlXwHDCvHRfeWZxcK72dZa0TOEE6g8kbnKMSJp38o=; b=c8aYXHtTVGQ5CiH/XPKiPQ5LLaSoaf5La1JPj8HrxibrKJkkEnFU8mKNpIvDqMgcBx aht//UoEeOsaG7DFZBF/KjOaahifQPc5+xpQfC+H8e7VGzpDxwgVe4SOYVIVROrFgLzM 2KgIQSFxiFxAwb6TkFf1xA/a9rbEZXZAGqStfGUeLwggbb/T3S3+RpoeAawWzopvoLlu qK8xpJsMlGy6Rn5+dakxBaS9g/RnFeDCB6wyoY94tY7zXX5h9MyTGRW8AYiI2lCOLDSv XDBziqnt91xoVzRdplRW7qe6yjCmPh+fjcSSME45kVk6bmBitcuM1XUFs3gsD88VHoM3 IO7w== X-Received: by 10.194.179.200 with SMTP id di8mr35990wjc.56.1435299357757; Thu, 25 Jun 2015 23:15:57 -0700 (PDT) Received: from [192.168.0.107] (host23-113-dynamic.252-95-r.retail.telecomitalia.it. [95.252.113.23]) by mx.google.com with ESMTPSA id z9sm735233wiv.9.2015.06.25.23.15.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Jun 2015 23:15:57 -0700 (PDT) From: Giuseppe Persico Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Message-Id: <0D0E6360-191D-4145-A410-95EFA4770117@gmail.com> Date: Fri, 26 Jun 2015 08:15:56 +0200 To: "linphone-developers@nongnu.org" X-Mailer: iPhone Mail (12F70) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a Subject: [Linphone-developers] Reproduce remote sound X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 06:16:03 -0000 Hi everyone! Does anybody know how to reproduce a .wav file from a host to another host? Thank you! Giuseppe Persico Software Developer giuseppe.persico91@gmail.com From MAILER-DAEMON Fri Jun 26 08:26:01 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8Shk-0003lb-OM for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 08:26:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Shg-0003jv-G7 for linphone-developers@nongnu.org; Fri, 26 Jun 2015 08:25:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Shc-0003nM-8d for linphone-developers@nongnu.org; Fri, 26 Jun 2015 08:25:56 -0400 Received: from eint1.ti.uam.es ([150.244.9.160]:44483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Shb-0003my-MC for linphone-developers@nongnu.org; Fri, 26 Jun 2015 08:25:51 -0400 Received: from imsvain2.ti.uam.es (pip9.ti.uam.es [150.244.8.254]) by eint1.ti.uam.es (Postfix) with ESMTP id 58D336010C for ; Fri, 26 Jun 2015 14:25:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=estudiante.uam.es; s=uam-estudiante; t=1435321550; bh=E5Nj1wV9kQX6qD3maNTH6kR9FyNaSorCfS4m6+326c0=; h=Date:From:To:Subject; b=DomHWNGb+k1dhjrvJ7NgcTrYtEIzz+jytMvqA70KxRe2M/nWE5UiRUFIvMev2GfBA MVG17TltNwFRjfnPW2D5rqXtqr1G3kUx5mXMVoCkVxUbTEWBaA2x56E6hqdMiG21mI LCe9zk0+SVinzCSp1fzZ/r8O5EmAzd6YFU7IFqF0= Received: from imsvain2.ti.uam.es (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3F99121DD6 for ; Fri, 26 Jun 2015 14:25:50 +0200 (CEST) Received: from eint1.ti.uam.es (unknown [150.244.8.254]) by imsvain2.ti.uam.es (Postfix) with ESMTP id 24A6D219EB for ; Fri, 26 Jun 2015 14:25:50 +0200 (CEST) Received: from webmail5.ti.uam.es (pip9.ti.uam.es [150.244.8.254]) by eint1.ti.uam.es (Postfix) with ESMTP id 185416010C for ; Fri, 26 Jun 2015 14:25:50 +0200 (CEST) Received: from webmail5.ti.uam.es (localhost [127.0.0.1]) by webmail5.ti.uam.es (Postfix) with ESMTPA id 0AEC521F50 for ; Fri, 26 Jun 2015 14:25:49 +0200 (CEST) Received: from leon.fg.uam.es (leon.fg.uam.es [150.244.195.175]) by webmail.uam.es (Horde Framework) with HTTP; Fri, 26 Jun 2015 14:25:49 +0200 Date: Fri, 26 Jun 2015 14:25:48 +0200 Message-ID: <20150626142548.Horde._twzAtmPdJlvtk_w5iRU-w1@webmail.uam.es> From: carlos.alfaro@estudiante.uam.es To: linphone-developers@nongnu.org User-Agent: Internet Messaging Program (IMP) H5 (6.1.6) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-TM-AS-MML: disable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 150.244.9.160 Subject: [Linphone-developers] ERROR JNI newGlobalRef X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 12:25:57 -0000 Hi, I am getting this error while trying to call the native method invite(sipAddress) JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception 'java.lang.SecurityException' thrown in unknown throw location in call to NewGlobalRef. Any ideas to solve it? Thanks From MAILER-DAEMON Fri Jun 26 09:04:30 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8TJ0-0003j8-Db for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 09:04:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8TIs-0003fR-Mx for linphone-developers@nongnu.org; Fri, 26 Jun 2015 09:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8TIo-0004ZD-J3 for linphone-developers@nongnu.org; Fri, 26 Jun 2015 09:04:22 -0400 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:32993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8TIo-0004Y9-DL for linphone-developers@nongnu.org; Fri, 26 Jun 2015 09:04:18 -0400 Received: by igtg8 with SMTP id g8so480370igt.0 for ; Fri, 26 Jun 2015 06:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=arukIamB308pzTRGpa1BZ/rPpcHtGhgS3OJDZxik74A=; b=JBhExIWwZWii6OqfCqlfTu8shhbsxaTz0+1S7c05IDbGmd52QRrqQ4nsW/KuojvNKd nEFQ1gjVFYGCyobXGOL2jpwr0uA1mvpFc4F2f2BLou+b4y3Mqpg19miSm385K2fIPVyM L+PtkWPhaiprZz9kCpbFN8NIyw9a2L3Ru/h/KvZa2UgM+iNU5sw3TLd+U07P1tiIdLun H+PAeTRf1ancWNXl2Itj+Ga/PzBgcHitKitykbmzlOA7BHHNgCNw6Zzs2/G6irwX35eb PxUZFrN+74sVd/KlfnZ+B8d+oNk8PqP7TT/EgR86QaclA5eq97kzNpJ1/kIm74fB9VoP C06w== MIME-Version: 1.0 X-Received: by 10.43.164.66 with SMTP id mr2mr3140926icc.85.1435323857390; Fri, 26 Jun 2015 06:04:17 -0700 (PDT) Received: by 10.64.163.97 with HTTP; Fri, 26 Jun 2015 06:04:17 -0700 (PDT) Date: Fri, 26 Jun 2015 15:04:17 +0200 Message-ID: From: Henrik Husted To: "linphone-developers@nongnu.org" Content-Type: multipart/alternative; boundary=001a11c2f3b2a8542305196b608e X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22b Subject: [Linphone-developers] Flexisip: Sending notification to specific client X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 13:04:29 -0000 --001a11c2f3b2a8542305196b608e Content-Type: text/plain; charset=UTF-8 Hi all I've been playing a bit with Flexisip to see if it fits my needs. So far I've created a new module that listens for specific subscribes from clients. Now I want to send notifies to a given client but it's not obvious to me how it should be done. Should I create a new outgoing transaction and somehow inject it? There's some code in presence/subscription.cc but it doesn't look like it's included in the build so I'm sure if its working code. Any hints available from the developers? /Henrik --001a11c2f3b2a8542305196b608e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all

I've been= playing a bit with Flexisip to see if it fits my needs.
So far I&= #39;ve created a new module that listens for specific subscribes from clien= ts. Now I want to send notifies to a given client but it's not obvious = to me how it should be done. Should I create a new outgoing transaction and= somehow inject it?

There's some code in presence/subscr= iption.cc but it doesn't look like it's included in the build so I&= #39;m sure if its working code.

Any hints available from the develop= ers?

/Henrik
--001a11c2f3b2a8542305196b608e-- From MAILER-DAEMON Fri Jun 26 10:47:27 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8Uud-0007vL-QZ for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 10:47:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Uua-0007rT-RB for linphone-developers@nongnu.org; Fri, 26 Jun 2015 10:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8UuZ-0000AW-BE for linphone-developers@nongnu.org; Fri, 26 Jun 2015 10:47:24 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8UuZ-00009w-5i for linphone-developers@nongnu.org; Fri, 26 Jun 2015 10:47:23 -0400 Received: from [IPv6:2a01:e35:2e97:fb90:696a:4122:d77:a2d4] (unknown [IPv6:2a01:e35:2e97:fb90:696a:4122:d77:a2d4]) (Authenticated sender: gautier.pelloux-prayer@belledonne-communications.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 80860172098 for ; Fri, 26 Jun 2015 16:47:21 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Gautier Pelloux-Prayer In-Reply-To: <004b01d0af59$1ed6ad00$5c840700$@molot.ru> Date: Fri, 26 Jun 2015 16:47:20 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <004b01d0af59$1ed6ad00$5c840700$@molot.ru> To: linphone-developers@nongnu.org X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::196 Subject: Re: [Linphone-developers] [PATCH] fix DTMF event handler receiving pointer to the current call instead of the call receiving the DTMF X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 14:47:25 -0000 Indeed, thanks for patch! Integrated in master. Cheers, Gautier Pelloux-Prayer Software Engineer @ Belledonne Communications > On 25 Jun 2015, at 17:10, Max A. Kiselev wrote: > > <0001-fix-DTMF-event-handler-receiving-pointer-to-the-curr.patch> From MAILER-DAEMON Fri Jun 26 14:03:25 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8XyH-00086W-E0 for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 14:03:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Xy3-0007so-4s for Linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:03:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Xxr-0005ZZ-Aa for Linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:03:11 -0400 Received: from smtp24.services.sfr.fr ([93.17.128.82]:31515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Xxq-0005W5-AV for Linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:02:59 -0400 Received: from filter.sfr.fr (localhost [62.23.15.76]) by msfrf2413.sfr.fr (SMTP Server) with ESMTP id 80629700006E for ; Fri, 26 Jun 2015 20:02:54 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=vnguyen@neuf.fr Received: from [10.0.2.13] (host.76.15.23.62.rev.coltfrance.com [62.23.15.76]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by msfrf2413.sfr.fr (SMTP Server) with ESMTP id B850D700006F for ; Fri, 26 Jun 2015 20:02:53 +0200 (CEST) X-SFR-UUID: 20150626180253755.B850D700006F@msfrf2413.sfr.fr Message-ID: <558D93D2.10304@neuf.fr> Date: Fri, 26 Jun 2015 20:02:58 +0200 From: Vincent Nguyen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Linphone-developers@nongnu.org References: <5587BDD0.5020106@neuf.fr> In-Reply-To: <5587BDD0.5020106@neuf.fr> X-Forwarded-Message-Id: <5587BDD0.5020106@neuf.fr> Content-Type: multipart/alternative; boundary=------------080708030001040202040009 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 93.17.128.82 Subject: [Linphone-developers] Question vbr / bitrate file misc.c X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 18:03:23 -0000 This is a multi-part message in MIME format. --------------080708030001040202040009 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi I got a question regarding the misc.c file handling bitrate at call setup. For instance : If I pick the audio codec SPEEX32 (wide band 32Khz and vbr bitrate up to 44) When max bandwidth are set to zero (default value) and if a video stream h264 is on, then call is set at 24 bps upstream, and remains at this value. If I remove the video stream, or if I set a maxbandwidth up at 1500 ou 2000 then the bitrate goes up, butmax out at 38.4 is this a bug ? or due to what is in bold below ? I really would like to setp wide band calls using the speex32 or speex16. /* linphone Copyright (C) 2000 Simon MORLAT (simon.morlat@linphone.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "private.h" #include "lpconfig.h" #include "mediastreamer2/mediastream.h" #include #include #ifdef HAVE_SIGHANDLER_T #include #endif /*HAVE_SIGHANDLER_T*/ #include #if !defined(_WIN32_WCE) #include #include #include #if _MSC_VER #include #else #include #endif #include #endif /*_WIN32_WCE*/ #undef snprintf #include #ifdef HAVE_GETIFADDRS #include #include #endif #include #if _MSC_VER #define snprintf _snprintf #define popen _popen #define pclose _pclose #endif #define UDP_HDR_SZ 8 #define RTP_HDR_SZ 12 #define IP4_HDR_SZ 20 /*20 is the minimum, but there may be some options*/ bool_t linphone_core_payload_type_enabled(LinphoneCore *lc, const LinphonePayloadType *pt){ if (ms_list_find(lc->codecs_conf.audio_codecs, (PayloadType*) pt) || ms_list_find(lc->codecs_conf.video_codecs, (PayloadType*)pt)){ return payload_type_enabled(pt); } ms_error("Getting enablement status of codec not in audio or video list of PayloadType !"); return FALSE; } bool_t linphone_core_payload_type_is_vbr(LinphoneCore *lc, const LinphonePayloadType *pt){ if (pt->type==PAYLOAD_VIDEO) return TRUE; return !!(pt->flags & PAYLOAD_TYPE_IS_VBR); } int linphone_core_enable_payload_type(LinphoneCore *lc, LinphonePayloadType *pt, bool_t enabled){ if (ms_list_find(lc->codecs_conf.audio_codecs,pt) || ms_list_find(lc->codecs_conf.video_codecs,pt)){ payload_type_set_enable(pt,enabled); _linphone_core_codec_config_write(lc); linphone_core_update_allocated_audio_bandwidth(lc); return 0; } ms_error("Enabling codec not in audio or video list of PayloadType !"); return -1; } int linphone_core_get_payload_type_number(LinphoneCore *lc, const PayloadType *pt){ return payload_type_get_number(pt); } void linphone_core_set_payload_type_number(LinphoneCore *lc, PayloadType *pt, int number){ payload_type_set_number(pt,number); } const char *linphone_core_get_payload_type_description(LinphoneCore *lc, PayloadType *pt){ if (ms_filter_codec_supported(pt->mime_type)){ MSFilterDesc *desc=ms_filter_get_encoder(pt->mime_type); #ifdef ENABLE_NLS return dgettext("mediastreamer",desc->text); #else return desc->text; #endif } return NULL; } void linphone_core_set_payload_type_bitrate(LinphoneCore *lc, LinphonePayloadType *pt, int bitrate){ if (ms_list_find(lc->codecs_conf.audio_codecs, (PayloadType*) pt) || ms_list_find(lc->codecs_conf.video_codecs, (PayloadType*)pt)){ if (pt->type==PAYLOAD_VIDEO || pt->flags & PAYLOAD_TYPE_IS_VBR){ pt->normal_bitrate=bitrate*1000; pt->flags|=PAYLOAD_TYPE_BITRATE_OVERRIDE; linphone_core_update_allocated_audio_bandwidth(lc); }else{ ms_error("Cannot set an explicit bitrate for codec %s/%i, because it is not VBR.",pt->mime_type,pt->clock_rate); return; } } else { ms_error("linphone_core_set_payload_type_bitrate() payload type not in audio or video list !"); } } /* *((codec-birate*ptime/8) + RTP header + UDP header + IP header)*8/ptime; *ptime=1/npacket */ static double get_audio_payload_bandwidth_from_codec_bitrate(const PayloadType *pt){ double npacket=50; double packet_size; int bitrate; if (strcmp(payload_type_get_mime(&payload_type_aaceld_44k), payload_type_get_mime(pt))==0) { /*special case of aac 44K because ptime= 10ms*/ npacket=100; }else if (strcmp(payload_type_get_mime(&payload_type_ilbc), payload_type_get_mime(pt))==0) { npacket=1000/30.0; } bitrate=pt->normal_bitrate; packet_size= (((double)bitrate)/(npacket*8))+UDP_HDR_SZ+RTP_HDR_SZ+IP4_HDR_SZ; return packet_size*8.0*npacket; } typedef struct vbr_codec_bitrate{ int max_avail_bitrate; int min_rate; int recomended_bitrate; }vbr_codec_bitrate_t; *static vbr_codec_bitrate_t defauls_vbr[]={** ** //{ 100, 44100, 100 },** ** { 64, 44100, 50 },** ** { 64, 16000, 40 },** ** { 32, 16000, 32 },** ** { 32, 8000, 32 },** ** { 0 , 8000, 24 },** ** { 0 , 0, 0 }** **};* static int lookup_vbr_typical_bitrate(int maxbw, int clock_rate){ vbr_codec_bitrate_t *it; if (maxbw<=0) maxbw=defauls_vbr[0].max_avail_bitrate; for(it=defauls_vbr;it->min_rate!=0;it++){ if (maxbw>=it->max_avail_bitrate && clock_rate>=it->min_rate) return it->recomended_bitrate; } ms_error("lookup_vbr_typical_bitrate(): should not happen."); return 32; } static int get_audio_payload_bandwidth(LinphoneCore *lc, const PayloadType *pt, int maxbw){ if (linphone_core_payload_type_is_vbr(lc,pt)){ if (pt->flags & PAYLOAD_TYPE_BITRATE_OVERRIDE){ ms_debug("PayloadType %s/%i has bitrate override",pt->mime_type,pt->clock_rate); return pt->normal_bitrate/1000; } return lookup_vbr_typical_bitrate(maxbw,pt->clock_rate); }else return (int)ceil(get_audio_payload_bandwidth_from_codec_bitrate(pt)/1000.0);/*rounding codec bandwidth should be avoid, specially for AMR*/ } int linphone_core_get_payload_type_bitrate(LinphoneCore *lc, const LinphonePayloadType *pt){ int maxbw=get_min_bandwidth(linphone_core_get_download_bandwidth(lc), linphone_core_get_upload_bandwidth(lc)); if (pt->type==PAYLOAD_AUDIO_CONTINUOUS || pt->type==PAYLOAD_AUDIO_PACKETIZED){ return get_audio_payload_bandwidth(lc,pt,maxbw); }else if (pt->type==PAYLOAD_VIDEO){ int video_bw; if (maxbw<=0) { video_bw=1500; /*default bitrate for video stream when no bandwidth limit is set, around 1.5 Mbit/s*/ }else{ video_bw=get_remaining_bandwidth_for_video(maxbw,lc->audio_bw); } return video_bw; } return 0; } void linphone_core_update_allocated_audio_bandwidth_in_call(LinphoneCall *call, const PayloadType *pt, int maxbw){ call->audio_bw=get_audio_payload_bandwidth(call->core,pt,maxbw); ms_message("Audio bandwidth for this call is %i",call->audio_bw); } void linphone_core_update_allocated_audio_bandwidth(LinphoneCore *lc){ const MSList *elem; int maxbw=get_min_bandwidth(linphone_core_get_download_bandwidth(lc), linphone_core_get_upload_bandwidth(lc)); int max_codec_bitrate=0; for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){ PayloadType *pt=(PayloadType*)elem->data; if (payload_type_enabled(pt)){ int pt_bitrate=get_audio_payload_bandwidth(lc,pt,maxbw); if (max_codec_bitrate==0) { max_codec_bitrate=pt_bitrate; }else if (max_codec_bitrateaudio_bw=max_codec_bitrate; } } bool_t linphone_core_is_payload_type_usable_for_bandwidth(LinphoneCore *lc, const PayloadType *pt, int bandwidth_limit) { double codec_band; bool_t ret=FALSE; switch (pt->type){ case PAYLOAD_AUDIO_CONTINUOUS: case PAYLOAD_AUDIO_PACKETIZED: codec_band=get_audio_payload_bandwidth(lc,pt,bandwidth_limit); ret=bandwidth_is_greater(bandwidth_limit*1000,codec_band); //ms_message("Payload %s: %g",pt->mime_type,codec_band); break; case PAYLOAD_VIDEO: if (bandwidth_limit!=0) {/* infinite (-1) or strictly positive*/ ret=TRUE; } else ret=FALSE; break; } return ret; } /* return TRUE if codec can be used with bandwidth, FALSE else*/ bool_t linphone_core_check_payload_type_usability(LinphoneCore *lc, const PayloadType *pt){ bool_t ret=linphone_core_is_payload_type_usable_for_bandwidth(lc, pt, linphone_core_get_payload_type_bitrate(lc,pt)); if ((pt->type==PAYLOAD_AUDIO_CONTINUOUS || pt->type==PAYLOAD_AUDIO_PACKETIZED) && lc->sound_conf.capt_sndcard && !(ms_snd_card_get_capabilities(lc->sound_conf.capt_sndcard) & MS_SND_CARD_CAP_BUILTIN_ECHO_CANCELLER) && linphone_core_echo_cancellation_enabled(lc) && (pt->clock_rate!=16000 && pt->clock_rate!=8000) && strcasecmp(pt->mime_type,"opus")!=0 && ms_filter_lookup_by_name("MSWebRTCAEC")!=NULL){ ms_warning("Payload type %s/%i cannot be used because software echo cancellation is required but is unable to operate at this rate.", pt->mime_type,pt->clock_rate); ret=FALSE; } return ret; } bool_t lp_spawn_command_line_sync(const char *command, char **result,int *command_ret){ #if !defined(_WIN32_WCE) FILE *f=popen(command,"r"); if (f!=NULL){ int err; *result=ms_malloc(4096); err=fread(*result,1,4096-1,f); if (err<0){ ms_warning("Error reading command output:%s",strerror(errno)); ms_free(result); return FALSE; } (*result)[err]=0; err=pclose(f); if (command_ret!=NULL) *command_ret=err; return TRUE; } #endif /*_WIN32_WCE*/ return FALSE; } static ortp_socket_t create_socket(int local_port){ struct sockaddr_in laddr; ortp_socket_t sock; int optval; sock=socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP); if (sock<0) { ms_error("Fail to create socket"); return -1; } memset (&laddr,0,sizeof(laddr)); laddr.sin_family=AF_INET; laddr.sin_addr.s_addr=INADDR_ANY; laddr.sin_port=htons(local_port); if (bind(sock,(struct sockaddr*)&laddr,sizeof(laddr))<0){ ms_error("Bind socket to 0.0.0.0:%i failed: %s",local_port,getSocketError()); close_socket(sock); return -1; } optval=1; if (setsockopt (sock, SOL_SOCKET, SO_REUSEADDR, (SOCKET_OPTION_VALUE)&optval, sizeof (optval))<0){ ms_warning("Fail to set SO_REUSEADDR"); } set_non_blocking_socket(sock); return sock; } static int sendStunRequest(int sock, const struct sockaddr *server, socklen_t addrlen, int id, bool_t changeAddr){ char buf[STUN_MAX_MESSAGE_SIZE]; int len = STUN_MAX_MESSAGE_SIZE; StunAtrString username; StunAtrString password; StunMessage req; int err; memset(&req, 0, sizeof(StunMessage)); memset(&username,0,sizeof(username)); memset(&password,0,sizeof(password)); stunBuildReqSimple( &req, &username, changeAddr , changeAddr , id); len = stunEncodeMessage( &req, buf, len, &password); if (len<=0){ ms_error("Fail to encode stun message."); return -1; } err=sendto(sock,buf,len,0,server,addrlen); if (err<0){ ms_error("sendto failed: %s",strerror(errno)); return -1; } return 0; } int linphone_parse_host_port(const char *input, char *host, size_t hostlen, int *port){ char tmphost[NI_MAXHOST]={0}; char *p1, *p2; if ((sscanf(input, "[%64[^]]]:%d", tmphost, port) == 2) || (sscanf(input, "[%64[^]]]", tmphost) == 1)) { } else { p1 = strchr(input, ':'); p2 = strrchr(input, ':'); if (p1 && p2 && (p1 != p2)) {/* an ipv6 address without port*/ strncpy(tmphost, input, sizeof(tmphost) - 1); } else if (sscanf(input, "%[^:]:%d", tmphost, port) != 2) { /*no port*/ strncpy(tmphost, input, sizeof(tmphost) - 1); } } strncpy(host,tmphost,hostlen); return 0; } int parse_hostname_to_addr(const char *server, struct sockaddr_storage *ss, socklen_t *socklen, int default_port){ struct addrinfo hints,*res=NULL; char port[6]; char host[NI_MAXHOST]; int port_int=default_port; int ret; linphone_parse_host_port(server,host,sizeof(host),&port_int); snprintf(port, sizeof(port), "%d", port_int); memset(&hints,0,sizeof(hints)); hints.ai_family=AF_UNSPEC; hints.ai_socktype=SOCK_DGRAM; hints.ai_protocol=IPPROTO_UDP; ret=getaddrinfo(host,port,&hints,&res); if (ret!=0){ ms_error("getaddrinfo() failed for %s:%s : %s",host,port,gai_strerror(ret)); return -1; } if (!res) return -1; memcpy(ss,res->ai_addr,res->ai_addrlen); *socklen=res->ai_addrlen; freeaddrinfo(res); return 0; } static int recvStunResponse(ortp_socket_t sock, char *ipaddr, int *port, int *id){ char buf[STUN_MAX_MESSAGE_SIZE]; int len = STUN_MAX_MESSAGE_SIZE; StunMessage resp; len=recv(sock,buf,len,0); if (len>0){ struct in_addr ia; stunParseMessage(buf,len, &resp ); *id=resp.msgHdr.tr_id.octet[0]; if (resp.hasXorMappedAddress){ *port = resp.xorMappedAddress.ipv4.port; ia.s_addr=htonl(resp.xorMappedAddress.ipv4.addr); }else if (resp.hasMappedAddress){ *port = resp.mappedAddress.ipv4.port; ia.s_addr=htonl(resp.mappedAddress.ipv4.addr); }else return -1; strncpy(ipaddr,inet_ntoa(ia),LINPHONE_IPADDR_SIZE); } return len; } /* this functions runs a simple stun test and return the number of milliseconds to complete the tests, or -1 if the test were failed.*/ int linphone_core_run_stun_tests(LinphoneCore *lc, LinphoneCall *call){ const char *server=linphone_core_get_stun_server(lc); StunCandidate *ac=&call->ac; StunCandidate *vc=&call->vc; if (lc->sip_conf.ipv6_enabled){ ms_warning("stun support is not implemented for ipv6"); return -1; } if (call->media_ports[0].rtp_port==-1){ ms_warning("Stun-only support not available for system random port"); return -1; } if (server!=NULL){ const struct addrinfo *ai=linphone_core_get_stun_server_addrinfo(lc); ortp_socket_t sock1=-1, sock2=-1; int loops=0; bool_t video_enabled=linphone_core_video_enabled(lc); bool_t got_audio,got_video; bool_t cone_audio=FALSE,cone_video=FALSE; struct timeval init,cur; double elapsed; int ret=0; if (ai==NULL){ ms_error("Could not obtain stun server addrinfo."); return -1; } linphone_core_notify_display_status(lc,_("Stun lookup in progress...")); /*create the two audio and video RTP sockets, and send STUN message to our stun server */ sock1=create_socket(call->media_ports[0].rtp_port); if (sock1==-1) return -1; if (video_enabled){ sock2=create_socket(call->media_ports[1].rtp_port); if (sock2==-1) return -1; } got_audio=FALSE; got_video=FALSE; ortp_gettimeofday(&init,NULL); do{ int id; if (loops%20==0){ ms_message("Sending stun requests..."); sendStunRequest(sock1,ai->ai_addr,ai->ai_addrlen,11,TRUE); sendStunRequest(sock1,ai->ai_addr,ai->ai_addrlen,1,FALSE); if (sock2!=-1){ sendStunRequest(sock2,ai->ai_addr,ai->ai_addrlen,22,TRUE); sendStunRequest(sock2,ai->ai_addr,ai->ai_addrlen,2,FALSE); } } ms_usleep(10000); if (recvStunResponse(sock1,ac->addr, &ac->port,&id)>0){ ms_message("STUN test result: local audio port maps to %s:%i", ac->addr, ac->port); if (id==11) cone_audio=TRUE; got_audio=TRUE; } if (recvStunResponse(sock2,vc->addr, &vc->port,&id)>0){ ms_message("STUN test result: local video port maps to %s:%i", vc->addr, vc->port); if (id==22) cone_video=TRUE; got_video=TRUE; } ortp_gettimeofday(&cur,NULL); elapsed=((cur.tv_sec-init.tv_sec)*1000.0) + ((cur.tv_usec-init.tv_usec)/1000.0); if (elapsed>2000) { ms_message("Stun responses timeout, going ahead."); ret=-1; break; } loops++; }while(!(got_audio && (got_video||sock2==-1) ) ); if (ret==0) ret=(int)elapsed; if (!got_audio){ ms_error("No stun server response for audio port."); }else{ if (!cone_audio) { ms_message("NAT is symmetric for audio port"); } } if (sock2!=-1){ if (!got_video){ ms_error("No stun server response for video port."); }else{ if (!cone_video) { ms_message("NAT is symmetric for video port."); } } } close_socket(sock1); if (sock2!=-1) close_socket(sock2); return ret; } return -1; } int linphone_core_get_edge_bw(LinphoneCore *lc){ int edge_bw=lp_config_get_int(lc->config,"net","edge_bw",20); return edge_bw; } int linphone_core_get_edge_ptime(LinphoneCore *lc){ int edge_ptime=lp_config_get_int(lc->config,"net","edge_ptime",100); return edge_ptime; } void linphone_core_adapt_to_network(LinphoneCore *lc, int ping_time_ms, LinphoneCallParams *params){ int threshold; if (ping_time_ms>0 && lp_config_get_int(lc->config,"net","activate_edge_workarounds",0)==1){ ms_message("Stun server ping time is %i ms",ping_time_ms); threshold=lp_config_get_int(lc->config,"net","edge_ping_time",500); if (ping_time_ms>threshold){ /* we might be in a 2G network*/ params->low_bandwidth=TRUE; }/*else use default settings */ } if (params->low_bandwidth){ params->up_bw=params->down_bw=linphone_core_get_edge_bw(lc); params->up_ptime=params->down_ptime=linphone_core_get_edge_ptime(lc); params->has_video=FALSE; } } static void stun_server_resolved(LinphoneCore *lc, const char *name, struct addrinfo *addrinfo){ if (lc->net_conf.stun_addrinfo){ belle_sip_freeaddrinfo(lc->net_conf.stun_addrinfo); lc->net_conf.stun_addrinfo=NULL; } if (addrinfo){ ms_message("Stun server resolution successful."); }else{ ms_warning("Stun server resolution failed."); } lc->net_conf.stun_addrinfo=addrinfo; lc->net_conf.stun_res=NULL; } void linphone_core_resolve_stun_server(LinphoneCore *lc){ /* * WARNING: stun server resolution only done in IPv4. * TODO: use IPv6 resolution if linphone_core_ipv6_enabled()==TRUE and use V4Mapped addresses for ICE gathering. */ const char *server=lc->net_conf.stun_server; if (lc->sal && server && !lc->net_conf.stun_res){ char host[NI_MAXHOST]; int port=3478; linphone_parse_host_port(server,host,sizeof(host),&port); lc->net_conf.stun_res=sal_resolve_a(lc->sal,host,port,AF_INET,(SalResolverCallback)stun_server_resolved,lc); } } /* * This function returns the addrinfo representation of the stun server address. * It is critical not to block for a long time if it can't be resolved, otherwise this stucks the main thread when making a call. * On the contrary, a fully asynchronous call initiation is complex to develop. * The compromise is then: * - have a cache of the stun server addrinfo * - this cached value is returned when it is non-null * - an asynchronous resolution is asked each time this function is called to ensure frequent refreshes of the cached value. * - if no cached value exists, block for a short time; this case must be unprobable because the resolution will be asked each time the stun server value is * changed. **/ const struct addrinfo *linphone_core_get_stun_server_addrinfo(LinphoneCore *lc){ const char *server=linphone_core_get_stun_server(lc); if (server){ int wait_ms=0; int wait_limit=1000; linphone_core_resolve_stun_server(lc); while (!lc->net_conf.stun_addrinfo && lc->net_conf.stun_res!=NULL && wait_mssal); ms_usleep(50000); wait_ms+=50; } } return lc->net_conf.stun_addrinfo; } int linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call) { char local_addr[64]; const struct addrinfo *ai; IceCheckList *audio_check_list; IceCheckList *video_check_list; const char *server = linphone_core_get_stun_server(lc); if ((server == NULL) || (call->ice_session == NULL)) return -1; audio_check_list = ice_session_check_list(call->ice_session, 0); video_check_list = ice_session_check_list(call->ice_session, 1); if (audio_check_list == NULL) return -1; if (call->af==AF_INET6){ ms_warning("Ice gathering is not implemented for ipv6"); return -1; } ai=linphone_core_get_stun_server_addrinfo(lc); if (ai==NULL){ ms_warning("Fail to resolve STUN server for ICE gathering."); return -1; } linphone_core_notify_display_status(lc, _("ICE local candidates gathering in progress...")); /* Gather local host candidates. */ if (linphone_core_get_local_ip_for(AF_INET, NULL, local_addr) < 0) { ms_error("Fail to get local ip"); return -1; } if ((ice_check_list_state(audio_check_list) != ICL_Completed) && (ice_check_list_candidates_gathered(audio_check_list) == FALSE)) { ice_add_local_candidate(audio_check_list, "host", local_addr, call->media_ports[0].rtp_port, 1, NULL); ice_add_local_candidate(audio_check_list, "host", local_addr, call->media_ports[0].rtcp_port, 2, NULL); call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateInProgress; } if (linphone_core_video_enabled(lc) && (video_check_list != NULL) && (ice_check_list_state(video_check_list) != ICL_Completed) && (ice_check_list_candidates_gathered(video_check_list) == FALSE)) { ice_add_local_candidate(video_check_list, "host", local_addr, call->media_ports[1].rtp_port, 1, NULL); ice_add_local_candidate(video_check_list, "host", local_addr, call->media_ports[1].rtcp_port, 2, NULL); call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateInProgress; } ms_message("ICE: gathering candidate from [%s]",server); /* Gather local srflx candidates. */ ice_session_gather_candidates(call->ice_session, ai->ai_addr, ai->ai_addrlen); return 0; } const char *linphone_ice_state_to_string(LinphoneIceState state){ switch(state){ case LinphoneIceStateFailed: return "IceStateFailed"; case LinphoneIceStateHostConnection: return "IceStateHostConnection"; case LinphoneIceStateInProgress: return "IceStateInProgress"; case LinphoneIceStateNotActivated: return "IceStateNotActivated"; case LinphoneIceStateReflexiveConnection: return "IceStateReflexiveConnection"; case LinphoneIceStateRelayConnection: return "IceStateRelayConnection"; } return "invalid"; } void linphone_core_update_ice_state_in_call_stats(LinphoneCall *call) { IceCheckList *audio_check_list; IceCheckList *video_check_list; IceSessionState session_state; if (call->ice_session == NULL) return; audio_check_list = ice_session_check_list(call->ice_session, 0); video_check_list = ice_session_check_list(call->ice_session, 1); if (audio_check_list == NULL) return; session_state = ice_session_state(call->ice_session); if ((session_state == IS_Completed) || ((session_state == IS_Failed) && (ice_session_has_completed_check_list(call->ice_session) == TRUE))) { if (ice_check_list_state(audio_check_list) == ICL_Completed) { switch (ice_check_list_selected_valid_candidate_type(audio_check_list)) { case ICT_HostCandidate: call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateHostConnection; break; case ICT_ServerReflexiveCandidate: case ICT_PeerReflexiveCandidate: call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateReflexiveConnection; break; case ICT_RelayedCandidate: call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateRelayConnection; break; } } else { call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateFailed; } if (call->params->has_video && (video_check_list != NULL)) { if (ice_check_list_state(video_check_list) == ICL_Completed) { switch (ice_check_list_selected_valid_candidate_type(video_check_list)) { case ICT_HostCandidate: call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateHostConnection; break; case ICT_ServerReflexiveCandidate: case ICT_PeerReflexiveCandidate: call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateReflexiveConnection; break; case ICT_RelayedCandidate: call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateRelayConnection; break; } } else { call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateFailed; } }else call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateNotActivated; } else if (session_state == IS_Running) { call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateInProgress; if (call->params->has_video && (video_check_list != NULL)) { call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateInProgress; } } else { call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state = LinphoneIceStateFailed; if (call->params->has_video && (video_check_list != NULL)) { call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state = LinphoneIceStateFailed; } } ms_message("Call [%p] New ICE state: audio: [%s] video: [%s]", call, linphone_ice_state_to_string(call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state),linphone_ice_state_to_string(call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state)); } void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSession *session) { const char *rtp_addr, *rtcp_addr; IceSessionState session_state = ice_session_state(session); int nb_candidates; int i, j; bool_t result; if (session_state == IS_Completed) { desc->ice_completed = TRUE; result = ice_check_list_selected_valid_local_candidate(ice_session_check_list(session, 0), &rtp_addr, NULL, NULL, NULL); if (result == TRUE) { strncpy(desc->addr, rtp_addr, sizeof(desc->addr)); } else { ms_warning("If ICE has completed successfully, rtp_addr should be set!"); } } else { desc->ice_completed = FALSE; } strncpy(desc->ice_pwd, ice_session_local_pwd(session), sizeof(desc->ice_pwd)); strncpy(desc->ice_ufrag, ice_session_local_ufrag(session), sizeof(desc->ice_ufrag)); for (i = 0; i < desc->nb_streams; i++) { SalStreamDescription *stream = &desc->streams[i]; IceCheckList *cl = ice_session_check_list(session, i); nb_candidates = 0; if (!sal_stream_description_active(stream) || (cl == NULL)) continue; if (ice_check_list_state(cl) == ICL_Completed) { stream->ice_completed = TRUE; result = ice_check_list_selected_valid_local_candidate(ice_session_check_list(session, i), &rtp_addr, &stream->rtp_port, &rtcp_addr, &stream->rtcp_port); } else { stream->ice_completed = FALSE; result = ice_check_list_default_local_candidate(ice_session_check_list(session, i), &rtp_addr, &stream->rtp_port, &rtcp_addr, &stream->rtcp_port); } if (result == TRUE) { strncpy(stream->rtp_addr, rtp_addr, sizeof(stream->rtp_addr)); strncpy(stream->rtcp_addr, rtcp_addr, sizeof(stream->rtcp_addr)); } else { memset(stream->rtp_addr, 0, sizeof(stream->rtp_addr)); memset(stream->rtcp_addr, 0, sizeof(stream->rtcp_addr)); } if ((strlen(ice_check_list_local_pwd(cl)) != strlen(desc->ice_pwd)) || (strcmp(ice_check_list_local_pwd(cl), desc->ice_pwd))) strncpy(stream->ice_pwd, ice_check_list_local_pwd(cl), sizeof(stream->ice_pwd)); else memset(stream->ice_pwd, 0, sizeof(stream->ice_pwd)); if ((strlen(ice_check_list_local_ufrag(cl)) != strlen(desc->ice_ufrag)) || (strcmp(ice_check_list_local_ufrag(cl), desc->ice_ufrag))) strncpy(stream->ice_ufrag, ice_check_list_local_ufrag(cl), sizeof(stream->ice_ufrag)); else memset(stream->ice_pwd, 0, sizeof(stream->ice_pwd)); stream->ice_mismatch = ice_check_list_is_mismatch(cl); if ((ice_check_list_state(cl) == ICL_Running) || (ice_check_list_state(cl) == ICL_Completed)) { memset(stream->ice_candidates, 0, sizeof(stream->ice_candidates)); for (j = 0; j < MIN(ms_list_size(cl->local_candidates), SAL_MEDIA_DESCRIPTION_MAX_ICE_CANDIDATES); j++) { SalIceCandidate *sal_candidate = &stream->ice_candidates[nb_candidates]; IceCandidate *ice_candidate = ms_list_nth_data(cl->local_candidates, j); const char *default_addr = NULL; int default_port = 0; if (ice_candidate->componentID == 1) { default_addr = stream->rtp_addr; default_port = stream->rtp_port; } else if (ice_candidate->componentID == 2) { default_addr = stream->rtcp_addr; default_port = stream->rtcp_port; } else continue; if (default_addr[0] == '\0') default_addr = desc->addr; /* Only include the candidates matching the default destination for each component of the stream if the state is Completed as specified in RFC5245 section 9.1.2.2. */ if ((ice_check_list_state(cl) == ICL_Completed) && !((ice_candidate->taddr.port == default_port) && (strlen(ice_candidate->taddr.ip) == strlen(default_addr)) && (strcmp(ice_candidate->taddr.ip, default_addr) == 0))) continue; strncpy(sal_candidate->foundation, ice_candidate->foundation, sizeof(sal_candidate->foundation)); sal_candidate->componentID = ice_candidate->componentID; sal_candidate->priority = ice_candidate->priority; strncpy(sal_candidate->type, ice_candidate_type(ice_candidate), sizeof(sal_candidate->type)); strncpy(sal_candidate->addr, ice_candidate->taddr.ip, sizeof(sal_candidate->addr)); sal_candidate->port = ice_candidate->taddr.port; if ((ice_candidate->base != NULL) && (ice_candidate->base != ice_candidate)) { strncpy(sal_candidate->raddr, ice_candidate->base->taddr.ip, sizeof(sal_candidate->raddr)); sal_candidate->rport = ice_candidate->base->taddr.port; } nb_candidates++; } } if ((ice_check_list_state(cl) == ICL_Completed) && (ice_session_role(session) == IR_Controlling)) { int rtp_port, rtcp_port; memset(stream->ice_remote_candidates, 0, sizeof(stream->ice_remote_candidates)); if (ice_check_list_selected_valid_remote_candidate(cl, &rtp_addr, &rtp_port, &rtcp_addr, &rtcp_port) == TRUE) { strncpy(stream->ice_remote_candidates[0].addr, rtp_addr, sizeof(stream->ice_remote_candidates[0].addr)); stream->ice_remote_candidates[0].port = rtp_port; strncpy(stream->ice_remote_candidates[1].addr, rtcp_addr, sizeof(stream->ice_remote_candidates[1].addr)); stream->ice_remote_candidates[1].port = rtcp_port; } else { ms_error("ice: Selected valid remote candidates should be present if the check list is in the Completed state"); } } else { for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) { stream->ice_remote_candidates[j].addr[0] = '\0'; stream->ice_remote_candidates[j].port = 0; } } } } static void get_default_addr_and_port(uint16_t componentID, const SalMediaDescription *md, const SalStreamDescription *stream, const char **addr, int *port) { if (componentID == 1) { *addr = stream->rtp_addr; *port = stream->rtp_port; } else if (componentID == 2) { *addr = stream->rtcp_addr; *port = stream->rtcp_port; } else return; if ((*addr)[0] == '\0') *addr = md->addr; } static void clear_ice_check_list(LinphoneCall *call, IceCheckList *removed){ if (call->audiostream && call->audiostream->ms.ice_check_list==removed) call->audiostream->ms.ice_check_list=NULL; if (call->videostream && call->videostream->ms.ice_check_list==removed) call->videostream->ms.ice_check_list=NULL; } void linphone_call_update_ice_from_remote_media_description(LinphoneCall *call, const SalMediaDescription *md) { bool_t ice_restarted = FALSE; bool_t ice_params_found=FALSE; if ((md->ice_pwd[0] != '\0') && (md->ice_ufrag[0] != '\0')) { ice_params_found=TRUE; } else { int i; for (i = 0; i < md->nb_streams; i++) { const SalStreamDescription *stream = &md->streams[i]; IceCheckList *cl = ice_session_check_list(call->ice_session, i); if (cl) { if ((stream->ice_pwd[0] != '\0') && (stream->ice_ufrag[0] != '\0')) { ice_params_found=TRUE; } else { ice_params_found=FALSE; break; } } } } if (ice_params_found) { int i, j; /* Check for ICE restart and set remote credentials. */ if ((strcmp(md->addr, "0.0.0.0") == 0) || (strcmp(md->addr, "::0") == 0)) { ice_session_restart(call->ice_session); ice_restarted = TRUE; } else { for (i = 0; i < md->nb_streams; i++) { const SalStreamDescription *stream = &md->streams[i]; IceCheckList *cl = ice_session_check_list(call->ice_session, i); if (cl && (strcmp(stream->rtp_addr, "0.0.0.0") == 0)) { ice_session_restart(call->ice_session); ice_restarted = TRUE; break; } } } if ((ice_session_remote_ufrag(call->ice_session) == NULL) && (ice_session_remote_pwd(call->ice_session) == NULL)) { ice_session_set_remote_credentials(call->ice_session, md->ice_ufrag, md->ice_pwd); } else if (ice_session_remote_credentials_changed(call->ice_session, md->ice_ufrag, md->ice_pwd)) { if (ice_restarted == FALSE) { ice_session_restart(call->ice_session); ice_restarted = TRUE; } ice_session_set_remote_credentials(call->ice_session, md->ice_ufrag, md->ice_pwd); } for (i = 0; i < md->nb_streams; i++) { const SalStreamDescription *stream = &md->streams[i]; IceCheckList *cl = ice_session_check_list(call->ice_session, i); if (cl && (stream->ice_pwd[0] != '\0') && (stream->ice_ufrag[0] != '\0')) { if (ice_check_list_remote_credentials_changed(cl, stream->ice_ufrag, stream->ice_pwd)) { if (ice_restarted == FALSE && ice_check_list_get_remote_ufrag(cl) && ice_check_list_get_remote_pwd(cl)) { /* restart onlu if remote ufrag/paswd was already set*/ ice_session_restart(call->ice_session); ice_restarted = TRUE; } ice_check_list_set_remote_credentials(cl, stream->ice_ufrag, stream->ice_pwd); break; } } } /* Create ICE check lists if needed and parse ICE attributes. */ for (i = 0; i < md->nb_streams; i++) { const SalStreamDescription *stream = &md->streams[i]; IceCheckList *cl = ice_session_check_list(call->ice_session, i); /* if ((cl == NULL) && (i < md->n_active_streams)) { cl = ice_check_list_new(); ice_session_add_check_list(call->ice_session, cl); switch (stream->type) { case SalAudio: if (call->audiostream != NULL) call->audiostream->ms.ice_check_list = cl; break; case SalVideo: if (call->videostream != NULL) call->videostream->ms.ice_check_list = cl; break; default: break; } } */ if (cl==NULL) continue; if (stream->ice_mismatch == TRUE) { ice_check_list_set_state(cl, ICL_Failed); } else if (stream->rtp_port == 0) { ice_session_remove_check_list(call->ice_session, cl); clear_ice_check_list(call,cl); } else { if ((stream->ice_pwd[0] != '\0') && (stream->ice_ufrag[0] != '\0')) ice_check_list_set_remote_credentials(cl, stream->ice_ufrag, stream->ice_pwd); for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_CANDIDATES; j++) { const SalIceCandidate *candidate = &stream->ice_candidates[j]; bool_t default_candidate = FALSE; const char *addr = NULL; int port = 0; if (candidate->addr[0] == '\0') break; if ((candidate->componentID == 0) || (candidate->componentID > 2)) continue; get_default_addr_and_port(candidate->componentID, md, stream, &addr, &port); if (addr && (candidate->port == port) && (strlen(candidate->addr) == strlen(addr)) && (strcmp(candidate->addr, addr) == 0)) default_candidate = TRUE; ice_add_remote_candidate(cl, candidate->type, candidate->addr, candidate->port, candidate->componentID, candidate->priority, candidate->foundation, default_candidate); } if (ice_restarted == FALSE) { bool_t losing_pairs_added = FALSE; for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) { const SalIceRemoteCandidate *candidate = &stream->ice_remote_candidates[j]; const char *addr = NULL; int port = 0; int componentID = j + 1; if (candidate->addr[0] == '\0') break; get_default_addr_and_port(componentID, md, stream, &addr, &port); if (j == 0) { /* If we receive a re-invite and we finished ICE processing on our side, use the candidates given by the remote. */ ice_check_list_unselect_valid_pairs(cl); } ice_add_losing_pair(cl, j + 1, candidate->addr, candidate->port, addr, port); losing_pairs_added = TRUE; } if (losing_pairs_added == TRUE) ice_check_list_check_completed(cl); } } } for (i = 0; i < md->nb_streams; i++) { IceCheckList * cl = ice_session_check_list(call->ice_session, i); if (!sal_stream_description_active(&md->streams[i]) && (cl != NULL)) { ice_session_remove_check_list_from_idx(call->ice_session, i); clear_ice_check_list(call, cl); } } ice_session_check_mismatch(call->ice_session); } else { /* Response from remote does not contain mandatory ICE attributes, delete the session. */ linphone_call_delete_ice_session(call); return; } if (ice_session_nb_check_lists(call->ice_session) == 0) { linphone_call_delete_ice_session(call); } } bool_t linphone_core_media_description_contains_video_stream(const SalMediaDescription *md){ int i; for (i = 0; md && i < md->nb_streams; i++) { if (md->streams[i].type == SalVideo && md->streams[i].rtp_port!=0) return TRUE; } return FALSE; } unsigned int linphone_core_get_audio_features(LinphoneCore *lc){ unsigned int ret=0; const char *features=lp_config_get_string(lc->config,"sound","features",NULL); if (features){ char tmp[256]={0}; char name[256]; char *p,*n; strncpy(tmp,features,sizeof(tmp)-1); for(p=tmp;*p!='\0';p++){ if (*p==' ') continue; n=strchr(p,'|'); if (n) *n='\0'; sscanf(p,"%s",name); ms_message("Found audio feature %s",name); if (strcasecmp(name,"PLC")==0) ret|=AUDIO_STREAM_FEATURE_PLC; else if (strcasecmp(name,"EC")==0) ret|=AUDIO_STREAM_FEATURE_EC; else if (strcasecmp(name,"EQUALIZER")==0) ret|=AUDIO_STREAM_FEATURE_EQUALIZER; else if (strcasecmp(name,"VOL_SND")==0) ret|=AUDIO_STREAM_FEATURE_VOL_SND; else if (strcasecmp(name,"VOL_RCV")==0) ret|=AUDIO_STREAM_FEATURE_VOL_RCV; else if (strcasecmp(name,"DTMF")==0) ret|=AUDIO_STREAM_FEATURE_DTMF; else if (strcasecmp(name,"DTMF_ECHO")==0) ret|=AUDIO_STREAM_FEATURE_DTMF_ECHO; else if (strcasecmp(name,"MIXED_RECORDING")==0) ret|=AUDIO_STREAM_FEATURE_MIXED_RECORDING; else if (strcasecmp(name,"LOCAL_PLAYING")==0) ret|=AUDIO_STREAM_FEATURE_LOCAL_PLAYING; else if (strcasecmp(name,"REMOTE_PLAYING")==0) ret|=AUDIO_STREAM_FEATURE_REMOTE_PLAYING; else if (strcasecmp(name,"ALL")==0) ret|=AUDIO_STREAM_FEATURE_ALL; else if (strcasecmp(name,"NONE")==0) ret=0; else ms_error("Unsupported audio feature %s requested in config file.",name); if (!n) break; p=n; } }else ret=AUDIO_STREAM_FEATURE_ALL; if (ret==AUDIO_STREAM_FEATURE_ALL){ /*since call recording is specified before creation of the stream in linphonecore, * it will be requested on demand. It is not necessary to include it all the time*/ ret&=~AUDIO_STREAM_FEATURE_MIXED_RECORDING; } return ret; } bool_t linphone_core_tone_indications_enabled(LinphoneCore*lc){ return lp_config_get_int(lc->config,"sound","tone_indications",1); } #ifdef HAVE_GETIFADDRS #include static int get_local_ip_with_getifaddrs(int type, char *address, int size){ struct ifaddrs *ifp; struct ifaddrs *ifpstart; char retaddr[LINPHONE_IPADDR_SIZE]={0}; bool_t found=FALSE; if (getifaddrs(&ifpstart) < 0) { return -1; } #ifndef __linux #define UP_FLAG IFF_UP /* interface is up */ #else #define UP_FLAG IFF_RUNNING /* resources allocated */ #endif for (ifp = ifpstart; ifp != NULL; ifp = ifp->ifa_next) { if (ifp->ifa_addr && ifp->ifa_addr->sa_family == type && (ifp->ifa_flags & UP_FLAG) && !(ifp->ifa_flags & IFF_LOOPBACK)) { if(getnameinfo(ifp->ifa_addr, (type == AF_INET6) ? sizeof(struct sockaddr_in6) : sizeof(struct sockaddr_in), retaddr, size, NULL, 0, NI_NUMERICHOST) == 0) { if (strchr(retaddr, '%') == NULL) { /*avoid ipv6 link-local addresses */ /*ms_message("getifaddrs() found %s",address);*/ found=TRUE; break; } } } } freeifaddrs(ifpstart); if (found) strncpy(address,retaddr,size); return found; } #endif static int get_local_ip_for_with_connect(int type, const char *dest, char *result){ int err,tmp; struct addrinfo hints; struct addrinfo *res=NULL; struct sockaddr_storage addr; struct sockaddr *p_addr=(struct sockaddr*)&addr; ortp_socket_t sock; socklen_t s; memset(&hints,0,sizeof(hints)); hints.ai_family=type; hints.ai_socktype=SOCK_DGRAM; /*hints.ai_flags=AI_NUMERICHOST|AI_CANONNAME;*/ err=getaddrinfo(dest,"5060",&hints,&res); if (err!=0){ ms_error("getaddrinfo() error for %s : %s",dest, gai_strerror(err)); return -1; } if (res==NULL){ ms_error("bug: getaddrinfo returned nothing."); return -1; } sock=socket(res->ai_family,SOCK_DGRAM,0); tmp=1; err=setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(SOCKET_OPTION_VALUE)&tmp,sizeof(int)); if (err<0){ ms_warning("Error in setsockopt: %s",strerror(errno)); } err=connect(sock,res->ai_addr,res->ai_addrlen); if (err<0) { /*the network isn't reachable*/ if (getSocketErrorCode()!=ENETUNREACH) ms_error("Error in connect: %s",strerror(errno)); freeaddrinfo(res); close_socket(sock); return -1; } freeaddrinfo(res); res=NULL; s=sizeof(addr); err=getsockname(sock,(struct sockaddr*)&addr,&s); if (err!=0) { ms_error("Error in getsockname: %s",strerror(errno)); close_socket(sock); return -1; } if (p_addr->sa_family==AF_INET){ struct sockaddr_in *p_sin=(struct sockaddr_in*)p_addr; if (p_sin->sin_addr.s_addr==0){ close_socket(sock); return -1; } } err=getnameinfo((struct sockaddr *)&addr,s,result,LINPHONE_IPADDR_SIZE,NULL,0,NI_NUMERICHOST); if (err!=0){ ms_error("getnameinfo error: %s",strerror(errno)); } /*avoid ipv6 link-local addresses*/ if (p_addr->sa_family==AF_INET6 && strchr(result,'%')!=NULL){ strcpy(result,"::1"); close_socket(sock); return -1; } close_socket(sock); return 0; } int linphone_core_get_local_ip_for(int type, const char *dest, char *result){ int err; #ifdef HAVE_GETIFADDRS int found_ifs; #endif strcpy(result,type==AF_INET ? "127.0.0.1" : "::1"); if (dest==NULL){ if (type==AF_INET) dest="87.98.157.38"; /*a public IP address*/ else dest="2a00:1450:8002::68"; } err=get_local_ip_for_with_connect(type,dest,result); if (err==0) return 0; /* if the connect method failed, which happens when no default route is set, * try to find 'the' running interface with getifaddrs*/ #ifdef HAVE_GETIFADDRS /*we use getifaddrs for lookup of default interface */ found_ifs=get_local_ip_with_getifaddrs(type,result,LINPHONE_IPADDR_SIZE); if (found_ifs==1){ return 0; }else if (found_ifs<=0){ /*absolutely no network on this machine */ return -1; } #endif return 0; } void linphone_core_get_local_ip(LinphoneCore *lc, int af, const char *dest, char *result) { if (af == AF_UNSPEC) { if (linphone_core_ipv6_enabled(lc)) { bool_t has_ipv6 = linphone_core_get_local_ip_for(AF_INET6, dest, result) == 0; if (strcmp(result, "::1") != 0) return; /*this machine has real ipv6 connectivity*/ if ((linphone_core_get_local_ip_for(AF_INET, dest, result) == 0) && (strcmp(result, "127.0.0.1") != 0)) return; /*this machine has only ipv4 connectivity*/ if (has_ipv6) { /*this machine has only local loopback for both ipv4 and ipv6, so prefer ipv6*/ strncpy(result, "::1", LINPHONE_IPADDR_SIZE); return; } } /*in all other cases use IPv4*/ af = AF_INET; } linphone_core_get_local_ip_for(af, dest, result); } SalReason linphone_reason_to_sal(LinphoneReason reason){ switch(reason){ case LinphoneReasonNone: return SalReasonNone; case LinphoneReasonNoResponse: return SalReasonRequestTimeout; case LinphoneReasonForbidden: return SalReasonForbidden; case LinphoneReasonDeclined: return SalReasonDeclined; case LinphoneReasonNotFound: return SalReasonNotFound; case LinphoneReasonTemporarilyUnavailable: return SalReasonTemporarilyUnavailable; case LinphoneReasonBusy: return SalReasonBusy; case LinphoneReasonNotAcceptable: return SalReasonNotAcceptable; case LinphoneReasonIOError: return SalReasonServiceUnavailable; case LinphoneReasonDoNotDisturb: return SalReasonDoNotDisturb; case LinphoneReasonUnauthorized: return SalReasonUnauthorized; case LinphoneReasonUnsupportedContent: return SalReasonUnsupportedContent; case LinphoneReasonNoMatch: return SalReasonNoMatch; case LinphoneReasonMovedPermanently: return SalReasonMovedPermanently; case LinphoneReasonGone: return SalReasonGone; case LinphoneReasonAddressIncomplete: return SalReasonAddressIncomplete; case LinphoneReasonNotImplemented: return SalReasonNotImplemented; case LinphoneReasonBadGateway: return SalReasonBadGateway; case LinphoneReasonServerTimeout: return SalReasonServerTimeout; case LinphoneReasonNotAnswered: return SalReasonRequestTimeout; case LinphoneReasonUnknown: return SalReasonUnknown; } return SalReasonUnknown; } LinphoneReason linphone_reason_from_sal(SalReason r){ LinphoneReason ret=LinphoneReasonNone; switch(r){ case SalReasonNone: ret=LinphoneReasonNone; break; case SalReasonIOError: ret=LinphoneReasonIOError; break; case SalReasonUnknown: ret=LinphoneReasonUnknown; break; case SalReasonBusy: ret=LinphoneReasonBusy; break; case SalReasonDeclined: ret=LinphoneReasonDeclined; break; case SalReasonDoNotDisturb: ret=LinphoneReasonDoNotDisturb; break; case SalReasonForbidden: ret=LinphoneReasonBadCredentials; break; case SalReasonNotAcceptable: ret=LinphoneReasonNotAcceptable; break; case SalReasonNotFound: ret=LinphoneReasonNotFound; break; case SalReasonRedirect: ret=LinphoneReasonNone; break; case SalReasonTemporarilyUnavailable: ret=LinphoneReasonTemporarilyUnavailable; break; case SalReasonServiceUnavailable: ret=LinphoneReasonIOError; break; case SalReasonRequestPending: ret=LinphoneReasonNone; break; case SalReasonUnauthorized: ret=LinphoneReasonUnauthorized; break; case SalReasonUnsupportedContent: ret=LinphoneReasonUnsupportedContent; break; case SalReasonNoMatch: ret=LinphoneReasonNoMatch; break; case SalReasonRequestTimeout: ret=LinphoneReasonNotAnswered; break; case SalReasonMovedPermanently: ret=LinphoneReasonMovedPermanently; break; case SalReasonGone: ret=LinphoneReasonGone; break; case SalReasonAddressIncomplete: ret=LinphoneReasonAddressIncomplete; break; case SalReasonNotImplemented: ret=LinphoneReasonNotImplemented; break; case SalReasonBadGateway: ret=LinphoneReasonBadGateway; break; case SalReasonServerTimeout: ret=LinphoneReasonServerTimeout; break; } return ret; } /** * Get reason code from the error info. * @param ei the error info. * @return a #LinphoneReason * @ingroup misc **/ LinphoneReason linphone_error_info_get_reason(const LinphoneErrorInfo *ei){ const SalErrorInfo *sei=(const SalErrorInfo*)ei; return linphone_reason_from_sal(sei->reason); } /** * Get textual phrase from the error info. * This is the text that is provided by the peer in the protocol (SIP). * @param ei the error info. * @return the error phrase * @ingroup misc **/ const char *linphone_error_info_get_phrase(const LinphoneErrorInfo *ei){ const SalErrorInfo *sei=(const SalErrorInfo*)ei; return sei->status_string; } /** * Provides additional information regarding the failure. * With SIP protocol, the "Reason" and "Warning" headers are returned. * @param ei the error info. * @return more details about the failure. * @ingroup misc **/ const char *linphone_error_info_get_details(const LinphoneErrorInfo *ei){ const SalErrorInfo *sei=(const SalErrorInfo*)ei; return sei->warnings; } /** * Get the status code from the low level protocol (ex a SIP status code). * @param ei the error info. * @return the status code. * @ingroup misc **/ int linphone_error_info_get_protocol_code(const LinphoneErrorInfo *ei){ const SalErrorInfo *sei=(const SalErrorInfo*)ei; return sei->protocol_code; } /** * Set the name of the mediastreamer2 filter to be used for rendering video. * This is for advanced users of the library, mainly to workaround hardware/driver bugs. * @ingroup media_parameters **/ void linphone_core_set_video_display_filter(LinphoneCore *lc, const char *filter_name){ lp_config_set_string(lc->config,"video","displaytype",filter_name); } /** * Get the name of the mediastreamer2 filter used for rendering video. * @ingroup media_parameters **/ const char *linphone_core_get_video_display_filter(LinphoneCore *lc){ return lp_config_get_string(lc->config,"video","displaytype",NULL); } /** * Queue a task into the main loop. The data pointer must remain valid until the task is completed. * task_fun must return BELLE_SIP_STOP when job is finished. **/ void linphone_core_queue_task(LinphoneCore *lc, belle_sip_source_func_t task_fun, void *data, const char *task_description){ belle_sip_source_t *s=sal_create_timer(lc->sal,task_fun,data, 20, task_description); belle_sip_object_unref(s); } static int get_unique_transport(LinphoneCore *lc, LinphoneTransportType *type, int *port){ LCSipTransports tp; linphone_core_get_sip_transports(lc,&tp); if (tp.tcp_port==0 && tp.tls_port==0 && tp.udp_port!=0){ *type=LinphoneTransportUdp; *port=tp.udp_port; return 0; }else if (tp.tcp_port==0 && tp.udp_port==0 && tp.tls_port!=0){ *type=LinphoneTransportTls; *port=tp.tls_port; return 0; }else if (tp.tcp_port!=0 && tp.udp_port==0 && tp.tls_port==0){ *type=LinphoneTransportTcp; *port=tp.tcp_port; return 0; } return -1; } static void linphone_core_migrate_proxy_config(LinphoneCore *lc, LinphoneTransportType type){ const MSList *elem; for(elem=linphone_core_get_proxy_config_list(lc);elem!=NULL;elem=elem->next){ LinphoneProxyConfig *cfg=(LinphoneProxyConfig*)elem->data; const char *proxy=linphone_proxy_config_get_addr(cfg); const char *route=linphone_proxy_config_get_route(cfg); LinphoneAddress *proxy_addr=linphone_address_new(proxy); LinphoneAddress *route_addr=NULL; char *tmp; if (route) route_addr=linphone_address_new(route); if (proxy_addr){ linphone_address_set_transport(proxy_addr,type); tmp=linphone_address_as_string(proxy_addr); linphone_proxy_config_set_server_addr(cfg,tmp); ms_free(tmp); linphone_address_destroy(proxy_addr); } if (route_addr){ linphone_address_set_transport(route_addr,type); tmp=linphone_address_as_string(route_addr); linphone_proxy_config_set_route(cfg,tmp); ms_free(tmp); linphone_address_destroy(route_addr); } } } /** * Migrate configuration so that all SIP transports are enabled. * Versions of linphone < 3.7 did not support using multiple SIP transport simultaneously. * This function helps application to migrate the configuration so that all transports are enabled. * Existing proxy configuration are added a transport parameter so that they continue using the unique transport that was set previously. * This function must be used just after creating the core, before any call to linphone_core_iterate() * @param lc the linphone core * @return 1 if migration was done, 0 if not done because unnecessary or already done, -1 in case of error. * @ingroup initializing **/ int linphone_core_migrate_to_multi_transport(LinphoneCore *lc){ if (!lp_config_get_int(lc->config,"sip","multi_transport_migration_done",0)){ LinphoneTransportType tpt; int port; if (get_unique_transport(lc,&tpt,&port)==0){ LCSipTransports newtp={0}; if (lp_config_get_int(lc->config,"sip","sip_random_port",0)) port=-1; ms_message("Core is using a single SIP transport, migrating proxy config and enabling multi-transport."); linphone_core_migrate_proxy_config(lc,tpt); newtp.udp_port=port; newtp.tcp_port=port; newtp.tls_port=LC_SIP_TRANSPORT_RANDOM; lp_config_set_string(lc->config, "sip","sip_random_port",NULL); /*remove*/ linphone_core_set_sip_transports(lc,&newtp); } lp_config_set_int(lc->config,"sip","multi_transport_migration_done",1); return 1; } return 0; } LinphoneToneDescription * linphone_tone_description_new(LinphoneReason reason, LinphoneToneID id, const char *audiofile){ LinphoneToneDescription *obj=ms_new0(LinphoneToneDescription,1); obj->reason=reason; obj->toneid=id; obj->audiofile=audiofile ? ms_strdup(audiofile) : NULL; return obj; } void linphone_tone_description_destroy(LinphoneToneDescription *obj){ if (obj->audiofile) ms_free(obj->audiofile); ms_free(obj); } LinphoneToneDescription *linphone_core_get_call_error_tone(const LinphoneCore *lc, LinphoneReason reason){ const MSList *elem; for (elem=lc->tones;elem!=NULL;elem=elem->next){ LinphoneToneDescription *tone=(LinphoneToneDescription*)elem->data; if (tone->reason==reason) return tone; } return NULL; } const char *linphone_core_get_tone_file(const LinphoneCore *lc, LinphoneToneID id){ const MSList *elem; for (elem=lc->tones;elem!=NULL;elem=elem->next){ LinphoneToneDescription *tone=(LinphoneToneDescription*)elem->data; if (tone->toneid==id && tone->reason==LinphoneReasonNone && tone->audiofile!=NULL) return tone->audiofile; } return NULL; } void _linphone_core_set_tone(LinphoneCore *lc, LinphoneReason reason, LinphoneToneID id, const char *audiofile){ LinphoneToneDescription *tone=linphone_core_get_call_error_tone(lc,reason); if (tone){ lc->tones=ms_list_remove(lc->tones,tone); linphone_tone_description_destroy(tone); } tone=linphone_tone_description_new(reason,id,audiofile); lc->tones=ms_list_append(lc->tones,tone); } /** * Assign an audio file to be played locally upon call failure, for a given reason. * @param lc the core * @param reason the #LinphoneReason representing the failure error code. * @param audiofile a wav file to be played when such call failure happens. * @ingroup misc **/ void linphone_core_set_call_error_tone(LinphoneCore *lc, LinphoneReason reason, const char *audiofile){ _linphone_core_set_tone(lc,reason,LinphoneToneUndefined, audiofile); } /** * Assign an audio file to be played as a specific tone id. * This function typically allows to customize telephony tones per country. * @param lc the core * @param id the tone id * @param audiofile a wav file to be played. **/ void linphone_core_set_tone(LinphoneCore *lc, LinphoneToneID id, const char *audiofile){ _linphone_core_set_tone(lc, LinphoneReasonNone, id, audiofile); } const MSCryptoSuite * linphone_core_get_srtp_crypto_suites(LinphoneCore *lc){ const char *config=lp_config_get_string(lc->config,"sip","srtp_crypto_suites","AES_CM_128_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_32, AES_CM_256_HMAC_SHA1_80, AES_CM_256_HMAC_SHA1_32"); char *tmp=ms_strdup(config); char *sep; char *pos; char *nextpos; char *params; int found=0; MSCryptoSuite *result=NULL; pos=tmp; do{ sep=strchr(pos,','); if (!sep) { sep=pos+strlen(pos); nextpos=NULL; }else { *sep='\0'; nextpos=sep+1; } while(*pos==' ') ++pos; /*strip leading spaces*/ params=strchr(pos,' '); /*look for params that arrive after crypto suite name*/ if (params){ while(*params==' ') ++params; /*strip parameters leading space*/ } if (sep-pos>0){ MSCryptoSuiteNameParams np; MSCryptoSuite suite; np.name=pos; np.params=params; suite=ms_crypto_suite_build_from_name_params(&np); if (suite!=MS_CRYPTO_SUITE_INVALID){ result=ms_realloc(result,(found+2)*sizeof(MSCryptoSuite)); result[found]=suite; result[found+1]=MS_CRYPTO_SUITE_INVALID; found++; ms_message("Configured srtp crypto suite: %s %s",np.name,np.params ? np.params : ""); } } pos=nextpos; }while(pos); ms_free(tmp); if (lc->rtp_conf.srtp_suites){ ms_free(lc->rtp_conf.srtp_suites); lc->rtp_conf.srtp_suites=NULL; } lc->rtp_conf.srtp_suites=result; return result; } static char * seperate_string_list(char **str) { char *ret; if (str == NULL) return NULL; if (*str == NULL) return NULL; if (**str == '\0') return NULL; ret = *str; for ( ; **str!='\0' && **str!=' ' && **str!=','; (*str)++); if (**str == '\0') { return ret; } else { **str = '\0'; do { (*str)++; } while (**str!='\0' && (**str==' ' || **str==',')); return ret; } } MsZrtpCryptoTypesCount linphone_core_get_zrtp_key_agreement_suites(LinphoneCore *lc, MSZrtpKeyAgreement keyAgreements[MS_MAX_ZRTP_CRYPTO_TYPES]){ char * zrtpConfig = (char*)lp_config_get_string(lc->config, "sip", "zrtp_key_agreements_suites", NULL); MsZrtpCryptoTypesCount key_agreements_count = 0; char * entry, * origPtr; if (zrtpConfig == NULL) { return 0; } origPtr = strdup(zrtpConfig); zrtpConfig = origPtr; while ((entry = seperate_string_list(&zrtpConfig))) { const MSZrtpKeyAgreement agreement = ms_zrtp_key_agreement_from_string(entry); if (agreement != MS_ZRTP_KEY_AGREEMENT_INVALID) { ms_message("Configured zrtp key agreement: '%s'", ms_zrtp_key_agreement_to_string(agreement)); keyAgreements[key_agreements_count++] = agreement; } } free(origPtr); return key_agreements_count; } MsZrtpCryptoTypesCount linphone_core_get_zrtp_cipher_suites(LinphoneCore *lc, MSZrtpCipher ciphers[MS_MAX_ZRTP_CRYPTO_TYPES]){ char * zrtpConfig = (char*)lp_config_get_string(lc->config, "sip", "zrtp_cipher_suites", NULL); MsZrtpCryptoTypesCount cipher_count = 0; char * entry, * origPtr; if (zrtpConfig == NULL) { return 0; } origPtr = strdup(zrtpConfig); zrtpConfig = origPtr; while ((entry = seperate_string_list(&zrtpConfig))) { const MSZrtpCipher cipher = ms_zrtp_cipher_from_string(entry); if (cipher != MS_ZRTP_CIPHER_INVALID) { ms_message("Configured zrtp cipher: '%s'", ms_zrtp_cipher_to_string(cipher)); ciphers[cipher_count++] = cipher; } } free(origPtr); return cipher_count; } MsZrtpCryptoTypesCount linphone_core_get_zrtp_hash_suites(LinphoneCore *lc, MSZrtpHash hashes[MS_MAX_ZRTP_CRYPTO_TYPES]){ char * zrtpConfig = (char*)lp_config_get_string(lc->config, "sip", "zrtp_hash_suites", NULL); MsZrtpCryptoTypesCount hash_count = 0; char * entry, * origPtr; if (zrtpConfig == NULL) { return 0; } origPtr = strdup(zrtpConfig); zrtpConfig = origPtr; while ((entry = seperate_string_list(&zrtpConfig))) { const MSZrtpHash hash = ms_zrtp_hash_from_string(entry); if (hash != MS_ZRTP_HASH_INVALID) { ms_message("Configured zrtp hash: '%s'", ms_zrtp_hash_to_string(hash)); hashes[hash_count++] = hash; } } free(origPtr); return hash_count; } MsZrtpCryptoTypesCount linphone_core_get_zrtp_auth_suites(LinphoneCore *lc, MSZrtpAuthTag authTags[MS_MAX_ZRTP_CRYPTO_TYPES]){ char * zrtpConfig = (char*)lp_config_get_string(lc->config, "sip", "zrtp_auth_suites", NULL); MsZrtpCryptoTypesCount auth_tag_count = 0; char * entry, * origPtr; if (zrtpConfig == NULL) { return 0; } origPtr = strdup(zrtpConfig); zrtpConfig = origPtr; while ((entry = seperate_string_list(&zrtpConfig))) { const MSZrtpAuthTag authTag = ms_zrtp_auth_tag_from_string(entry); if (authTag != MS_ZRTP_AUTHTAG_INVALID) { ms_message("Configured zrtp auth tag: '%s'", ms_zrtp_auth_tag_to_string(authTag)); authTags[auth_tag_count++] = authTag; } } free(origPtr); return auth_tag_count; } MsZrtpCryptoTypesCount linphone_core_get_zrtp_sas_suites(LinphoneCore *lc, MSZrtpSasType sasTypes[MS_MAX_ZRTP_CRYPTO_TYPES]){ char * zrtpConfig = (char*)lp_config_get_string(lc->config, "sip", "zrtp_sas_suites", NULL); MsZrtpCryptoTypesCount sas_count = 0; char * entry, * origPtr; if (zrtpConfig == NULL) { return 0; } origPtr = strdup(zrtpConfig); zrtpConfig = origPtr; while ((entry = seperate_string_list(&zrtpConfig))) { const MSZrtpSasType type = ms_zrtp_sas_type_from_string(entry); if (type != MS_ZRTP_SAS_INVALID) { ms_message("Configured zrtp SAS type: '%s'", ms_zrtp_sas_type_to_string(type)); sasTypes[sas_count++] = type; } } free(origPtr); return sas_count; } const char ** linphone_core_get_supported_file_formats(LinphoneCore *core){ static const char *mkv="mkv"; static const char *wav="wav"; if (core->supported_formats==NULL){ core->supported_formats=ms_malloc0(3*sizeof(char*)); core->supported_formats[0]=wav; if (ms_factory_lookup_filter_by_id(ms_factory_get_fallback(),MS_MKV_RECORDER_ID)){ core->supported_formats[1]=mkv; } } return core->supported_formats; } bool_t linphone_core_symmetric_rtp_enabled(LinphoneCore*lc){ return lp_config_get_int(lc->config,"rtp","symmetric",1); } int linphone_core_set_network_simulator_params(LinphoneCore *lc, const OrtpNetworkSimulatorParams *params){ if (params!=&lc->net_conf.netsim_params) lc->net_conf.netsim_params=*params; /*TODO: should we make some sanity checks on the parameters here*/ return 0; } const OrtpNetworkSimulatorParams *linphone_core_get_network_simulator_params(const LinphoneCore *lc){ return &lc->net_conf.netsim_params; } static const char *_tunnel_mode_str[3] = { "disable", "enable", "auto" }; LinphoneTunnelMode linphone_tunnel_mode_from_string(const char *string) { if(string != NULL) { int i; for(i=0; i<3 && strcmp(string, _tunnel_mode_str[i]) != 0; i++); if(i<3) { return (LinphoneTunnelMode)i; } else { ms_error("Invalid tunnel mode '%s'", string); return LinphoneTunnelModeDisable; } } else { return LinphoneTunnelModeDisable; } } const char *linphone_tunnel_mode_to_string(LinphoneTunnelMode mode) { switch(mode){ case LinphoneTunnelModeAuto: return "auto"; case LinphoneTunnelModeDisable: return "disable"; case LinphoneTunnelModeEnable: return "enable"; } return "invalid"; } --------------080708030001040202040009 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi

I got a question regarding the misc.c file handling bitrate at call setup.

For instance :

If I pick the audio codec SPEEX32 (wide band 32Khz and vbr bitrate up to 44)
When max bandwidth are set to zero (default value) and if a=C2=A0 video stream h264 is on, then call is set at 24 bps upstream, and remains at this value.
If I remove the video stream, or if I set a maxbandwidth up at 1500 ou 2000 then the bitrate goes up, butmax out at 38.4

is this a bug ? or due to what is in bold below ?

I really would like to setp wide band calls using the speex32 or speex16.


/*
linphone
Copyright (C) 2000=C2=A0 Simon MORLAT (simon.morlat@linphone= .org)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See th= e
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA=C2=A0 02111-1307, USA.
*/

#include "private.h"
#include "lpconfig.h"
#include "mediastreamer2/mediastream.h"
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_SIGHANDLER_T
#include <signal.h>
#endif /*HAVE_SIGHANDLER_T*/

#include <string.h>
#if !defined(_WIN32_WCE)
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#if _MSC_VER
#include <io.h>
#else
#include <unistd.h>
#endif
#include <fcntl.h>
#endif /*_WIN32_WCE*/

#undef snprintf
#include <mediastreamer2/stun.h>

#ifdef HAVE_GETIFADDRS
#include <net/if.h>
#include <ifaddrs.h>
#endif
#include <math.h>
#if _MSC_VER
#define snprintf _snprintf
#define popen _popen
#define pclose _pclose
#endif


#define UDP_HDR_SZ 8
#define RTP_HDR_SZ 12
#define IP4_HDR_SZ 20=C2=A0=C2=A0 /*20 is the minimum, but there = may be some options*/


bool_t linphone_core_payload_type_enabled(LinphoneCore *lc, const LinphonePayloadType *pt){
=C2=A0=C2=A0=C2=A0 if (ms_list_find(lc->codecs_conf.audio_code= cs, (PayloadType*) pt) || ms_list_find(lc->codecs_conf.video_codecs, (PayloadType*)pt)){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return payload_type_enabled= (pt);
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 ms_error("Getting enablement status of codec n= ot in audio or video list of PayloadType !");
=C2=A0=C2=A0=C2=A0 return FALSE;
}

bool_t linphone_core_payload_type_is_vbr(LinphoneCore *lc, const LinphonePayloadType *pt){
=C2=A0=C2=A0=C2=A0 if (pt->type=3D=3DPAYLOAD_VIDEO) return TRU= E;
=C2=A0=C2=A0=C2=A0 return !!(pt->flags & PAYLOAD_TYPE_IS_V= BR);
}

int linphone_core_enable_payload_type(LinphoneCore *lc, LinphonePayloadType *pt, bool_t enabled){
=C2=A0=C2=A0=C2=A0 if (ms_list_find(lc->codecs_conf.audio_code= cs,pt) || ms_list_find(lc->codecs_conf.video_codecs,pt)){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 payload_type_set_enable(pt,= enabled);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 _linphone_core_codec_config= _write(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_core_update_alloca= ted_audio_bandwidth(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 ms_error("Enabling codec not in audio or video= list of PayloadType !");
=C2=A0=C2=A0=C2=A0 return -1;
}

int linphone_core_get_payload_type_number(LinphoneCore *lc, const PayloadType *pt){
=C2=A0=C2=A0=C2=A0 return payload_type_get_number(pt);
}

void linphone_core_set_payload_type_number(LinphoneCore *lc, PayloadType *pt, int number){
=C2=A0=C2=A0=C2=A0 payload_type_set_number(pt,number);
}

const char *linphone_core_get_payload_type_description(LinphoneCore *lc, PayloadType *pt){
=C2=A0=C2=A0=C2=A0 if (ms_filter_codec_supported(pt->mime_type= )){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 MSFilterDesc *desc=3Dms_filter_get_encoder(pt->mime_type);
#ifdef ENABLE_NLS
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return dgettext("mediastrea= mer",desc->text);
#else
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return desc->text;
#endif
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return NULL;
}

void linphone_core_set_payload_type_bitrate(LinphoneCore *lc, LinphonePayloadType *pt, int bitrate){
=C2=A0=C2=A0=C2=A0 if (ms_list_find(lc->codecs_conf.audio_code= cs, (PayloadType*) pt) || ms_list_find(lc->codecs_conf.video_codecs, (PayloadType*)pt)){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (pt->type=3D=3DPAYLOA= D_VIDEO || pt->flags & PAYLOAD_TYPE_IS_VBR){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pt->n= ormal_bitrate=3Dbitrate*1000;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pt->f= lags|=3DPAYLOAD_TYPE_BITRATE_OVERRIDE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _core_update_allocated_audio_bandwidth(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else{
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error= ("Cannot set an explicit bitrate for codec %s/%i, because it is not VBR.",pt->mime_type,pt->clock_rate);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return;<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("linphone_core_set= _payload_type_bitrate() payload type not in audio or video list !");
=C2=A0=C2=A0=C2=A0 }
}


/*
=C2=A0*((codec-birate*ptime/8) + RTP header + UDP header + IP header)*8/ptime;
=C2=A0*ptime=3D1/npacket
=C2=A0*/

static double get_audio_payload_bandwidth_from_codec_bitrate(const PayloadType *pt){
=C2=A0=C2=A0=C2=A0 double npacket=3D50;
=C2=A0=C2=A0=C2=A0 double packet_size;
=C2=A0=C2=A0=C2=A0 int bitrate;

=C2=A0=C2=A0=C2=A0 if (strcmp(payload_type_get_mime(&payload_type_aaceld_44k), payload_type_get_mime(pt))=3D=3D0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*special case of aac 44K b= ecause ptime=3D 10ms*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 npacket=3D100;
=C2=A0=C2=A0=C2=A0 }else if (strcmp(payload_type_get_mime(&payload_type_ilbc), payload_type_get_mime(pt))=3D=3D0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 npacket=3D1000/30.0;
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 bitrate=3Dpt->normal_bitrate;
=C2=A0=C2=A0=C2=A0 packet_size=3D (((double)bitrate)/(npacket*8))+UDP_HDR_SZ+RTP_HDR_SZ+IP4_HDR_SZ;=
=C2=A0=C2=A0=C2=A0 return packet_size*8.0*npacket;
}

typedef struct vbr_codec_bitrate{
=C2=A0=C2=A0=C2=A0 int max_avail_bitrate;
=C2=A0=C2=A0=C2=A0 int min_rate;
=C2=A0=C2=A0=C2=A0 int recomended_bitrate;
}vbr_codec_bitrate_t;

static vbr_codec_bitrate_t defauls_vbr[]=3D{
=C2=A0=C2=A0=C2=A0 //{ 100, 44100, 100 },
=C2=A0=C2=A0=C2=A0 { 64, 44100, 50 },
=C2=A0=C2=A0=C2=A0 { 64, 16000, 40 },
=C2=A0=C2=A0=C2=A0 { 32, 16000, 32 },
=C2=A0=C2=A0=C2=A0 { 32, 8000, 32 },
=C2=A0=C2=A0=C2=A0 { 0 , 8000, 24 },
=C2=A0=C2=A0=C2=A0 { 0 , 0, 0 }
};

static int lookup_vbr_typical_bitrate(int maxbw, int clock_rate){
=C2=A0=C2=A0=C2=A0 vbr_codec_bitrate_t *it;
=C2=A0=C2=A0=C2=A0 if (maxbw<=3D0) maxbw=3Ddefauls_vbr[0].max_= avail_bitrate;
=C2=A0=C2=A0=C2=A0 for(it=3Ddefauls_vbr;it->min_rate!=3D0;it++= ){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (maxbw>=3Dit->max_= avail_bitrate && clock_rate>=3Dit->min_rate)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return i= t->recomended_bitrate;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 ms_error("lookup_vbr_typical_bitrate(): should= not happen.");
=C2=A0=C2=A0=C2=A0 return 32;
}

static int get_audio_payload_bandwidth(LinphoneCore *lc, const PayloadType *pt, int maxbw){
=C2=A0=C2=A0=C2=A0 if (linphone_core_payload_type_is_vbr(lc,pt)){=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (pt->flags & PAYL= OAD_TYPE_BITRATE_OVERRIDE){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_debug= ("PayloadType %s/%i has bitrate override",pt->mime_type,pt->clock_rate);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return p= t->normal_bitrate/1000;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return lookup_vbr_typical_bitrate(maxbw,pt->clock_rate);
=C2=A0=C2=A0=C2=A0 }else return (int)ceil(get_audio_payload_bandwidth_from_codec_bitrate(pt)/1000= .0);/*rounding codec bandwidth should be avoid, specially for AMR*/
}

int linphone_core_get_payload_type_bitrate(LinphoneCore *lc, const LinphonePayloadType *pt){
=C2=A0=C2=A0=C2=A0 int maxbw=3Dget_min_bandwidth(linphone_core_get_download_bandwidth(lc= ),
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_core_get_upload_bandwidth(lc));
=C2=A0=C2=A0=C2=A0 if (pt->type=3D=3DPAYLOAD_AUDIO_CONTINUOUS = || pt->type=3D=3DPAYLOAD_AUDIO_PACKETIZED){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return get_audio_payload_ba= ndwidth(lc,pt,maxbw);
=C2=A0=C2=A0=C2=A0 }else if (pt->type=3D=3DPAYLOAD_VIDEO){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int video_bw;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (maxbw<=3D0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 video_bw= =3D1500; /*default bitrate for video stream when no bandwidth limit is set, around 1.5 Mbit/s*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else{
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 video_bw=3Dget_remaining_bandwidth_for_video(maxbw,lc->audio_b= w);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return video_bw;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return 0;
}

void linphone_core_update_allocated_audio_bandwidth_in_call(LinphoneCa= ll *call, const PayloadType *pt, int maxbw){
=C2=A0=C2=A0=C2=A0 call->audio_bw=3Dget_audio_payload_bandwidth(call->core,pt,= maxbw);
=C2=A0=C2=A0=C2=A0 ms_message("Audio bandwidth for this call is %i",call->audio_bw);
}

void linphone_core_update_allocated_audio_bandwidth(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 const MSList *elem;
=C2=A0=C2=A0=C2=A0 int maxbw=3Dget_min_bandwidth(linphone_core_get_download_bandwidth(lc= ),
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_core_get_upload_bandwidth(lc));
=C2=A0=C2=A0=C2=A0 int max_codec_bitrate=3D0;

=C2=A0=C2=A0=C2=A0 for(elem=3Dlinphone_core_get_audio_codecs(lc);elem!=3DNULL;elem=3Delem-&g= t;next){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 PayloadType *pt=3D(PayloadT= ype*)elem->data;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (payload_type_enabled(pt= )){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int pt_bitrate=3Dget_audio_payload_bandwidth(lc,pt,maxbw);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (max_= codec_bitrate=3D=3D0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 max_codec_bitrate=3Dpt_bitrate;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else if= (max_codec_bitrate<pt_bitrate){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 max_codec_bitrate=3Dpt_bitrate;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (max_codec_bitrate) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->audio_bw=3Dmax_codec= _bitrate;
=C2=A0=C2=A0=C2=A0 }
}

bool_t linphone_core_is_payload_type_usable_for_bandwidth(LinphoneCore *lc, const PayloadType *pt,=C2=A0 int bandwidth_limit)
{
=C2=A0=C2=A0=C2=A0 double codec_band;
=C2=A0=C2=A0=C2=A0 bool_t ret=3DFALSE;

=C2=A0=C2=A0=C2=A0 switch (pt->type){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case PAYLOAD_AUDIO_CONTINUO= US:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case PAYLOAD_AUDIO_PACKETIZ= ED:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 codec_band=3Dget_audio_payload_bandwidth(lc,pt,bandwidth_limit);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3Dbandwidth_is_greater(bandwidth_limit*1000,codec_band);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 //ms_mes= sage("Payload %s: %g",pt->mime_type,codec_band);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case PAYLOAD_VIDEO:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (band= width_limit!=3D0) {/* infinite (-1) or strictly positive*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ret=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else ret= =3DFALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return ret;
}

/* return TRUE if codec can be used with bandwidth, FALSE else*/<= br> bool_t linphone_core_check_payload_type_usability(LinphoneCore *lc, const PayloadType *pt){
=C2=A0=C2=A0=C2=A0 bool_t ret=3Dlinphone_core_is_payload_type_usable_for_bandwidth(lc, pt, linphone_core_get_payload_type_bitrate(lc,pt));
=C2=A0=C2=A0=C2=A0 if ((pt->type=3D=3DPAYLOAD_AUDIO_CONTINUOUS= || pt->type=3D=3DPAYLOAD_AUDIO_PACKETIZED)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && lc->sound_con= f.capt_sndcard
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && !(ms_snd_card_get_capabilities(lc->sound_conf.capt_sndcard) & MS_SND_CARD_CAP_BUILTIN_ECHO_CANCELLER)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && linphone_core_ec= ho_cancellation_enabled(lc)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && (pt->clock_ra= te!=3D16000 && pt->clock_rate!=3D8000)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && strcasecmp(pt-&g= t;mime_type,"opus")!=3D0
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && ms_filter_lookup_by_name("MSWebRTCAEC")!=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Payload type %s= /%i cannot be used because software echo cancellation is required but is unable to operate at this rate.",
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0 pt->mime_type,pt->clock_rate);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DFALSE;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return ret;
}

bool_t lp_spawn_command_line_sync(const char *command, char **result,int *command_ret){
#if !defined(_WIN32_WCE)
=C2=A0=C2=A0=C2=A0 FILE *f=3Dpopen(command,"r");
=C2=A0=C2=A0=C2=A0 if (f!=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int err;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *result=3Dms_malloc(4096);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 err=3Dfread(*result,1,4096-= 1,f);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (err<0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warni= ng("Error reading command output:%s",strerror(errno));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_free(= result);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return F= ALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (*result)[err]=3D0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 err=3Dpclose(f);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (command_ret!=3DNULL) *c= ommand_ret=3Derr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return TRUE;
=C2=A0=C2=A0=C2=A0 }
#endif /*_WIN32_WCE*/
=C2=A0=C2=A0=C2=A0 return FALSE;
}

static ortp_socket_t create_socket(int local_port){
=C2=A0=C2=A0=C2=A0 struct sockaddr_in laddr;
=C2=A0=C2=A0=C2=A0 ortp_socket_t sock;
=C2=A0=C2=A0=C2=A0 int optval;
=C2=A0=C2=A0=C2=A0 sock=3Dsocket(PF_INET,SOCK_DGRAM,IPPROTO_UDP);=
=C2=A0=C2=A0=C2=A0 if (sock<0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("Fail to create so= cket");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 memset (&laddr,0,sizeof(laddr));
=C2=A0=C2=A0=C2=A0 laddr.sin_family=3DAF_INET;
=C2=A0=C2=A0=C2=A0 laddr.sin_addr.s_addr=3DINADDR_ANY;
=C2=A0=C2=A0=C2=A0 laddr.sin_port=3Dhtons(local_port);
=C2=A0=C2=A0=C2=A0 if (bind(sock,(struct sockaddr*)&laddr,sizeof(laddr))<0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("Bind socket to 0.= 0.0.0:%i failed: %s",local_port,getSocketError());
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_socket(sock);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 optval=3D1;
=C2=A0=C2=A0=C2=A0 if (setsockopt (sock, SOL_SOCKET, SO_REUSEADDR= ,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 (SOCKET_OPTION_VALUE)&optval, sizeof (optval))<0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Fail to set SO_= REUSEADDR");
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 set_non_blocking_socket(sock);
=C2=A0=C2=A0=C2=A0 return sock;
}

static int sendStunRequest(int sock, const struct sockaddr *server, socklen_t addrlen, int id, bool_t changeAddr){
=C2=A0=C2=A0=C2=A0 char buf[STUN_MAX_MESSAGE_SIZE];
=C2=A0=C2=A0=C2=A0 int len =3D STUN_MAX_MESSAGE_SIZE;
=C2=A0=C2=A0=C2=A0 StunAtrString username;
=C2=A0=C2=A0=C2=A0 StunAtrString password;
=C2=A0=C2=A0=C2=A0 StunMessage req;
=C2=A0=C2=A0=C2=A0 int err;
=C2=A0=C2=A0=C2=A0 memset(&req, 0, sizeof(StunMessage));
=C2=A0=C2=A0=C2=A0 memset(&username,0,sizeof(username));
=C2=A0=C2=A0=C2=A0 memset(&password,0,sizeof(password));
=C2=A0=C2=A0=C2=A0 stunBuildReqSimple( &req, &username, c= hangeAddr , changeAddr , id);
=C2=A0=C2=A0=C2=A0 len =3D stunEncodeMessage( &req, buf, len,= &password);
=C2=A0=C2=A0=C2=A0 if (len<=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("Fail to encode st= un message.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 err=3Dsendto(sock,buf,len,0,server,addrlen); =C2=A0=C2=A0=C2=A0 if (err<0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("sendto failed: %s= ",strerror(errno));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return 0;
}

int linphone_parse_host_port(const char *input, char *host, size_t hostlen, int *port){
=C2=A0=C2=A0=C2=A0 char tmphost[NI_MAXHOST]=3D{0};
=C2=A0=C2=A0=C2=A0 char *p1, *p2;

=C2=A0=C2=A0=C2=A0 if ((sscanf(input, "[%64[^]]]:%d", tmphost, po= rt) =3D=3D 2) || (sscanf(input, "[%64[^]]]", tmphost) =3D=3D 1)) {

=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p1 =3D strchr(input, ':');<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p2 =3D strrchr(input, ':');=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (p1 && p2 &&= amp; (p1 !=3D p2)) {/* an ipv6 address without port*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= tmphost, input, sizeof(tmphost) - 1);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else if (sscanf(input, "%= [^:]:%d", tmphost, port) !=3D 2) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*no por= t*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= tmphost, input, sizeof(tmphost) - 1);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 strncpy(host,tmphost,hostlen);
=C2=A0=C2=A0=C2=A0 return 0;
}

int parse_hostname_to_addr(const char *server, struct sockaddr_storage *ss, socklen_t *socklen, int default_port){
=C2=A0=C2=A0=C2=A0 struct addrinfo hints,*res=3DNULL;
=C2=A0=C2=A0=C2=A0 char port[6];
=C2=A0=C2=A0=C2=A0 char host[NI_MAXHOST];
=C2=A0=C2=A0=C2=A0 int port_int=3Ddefault_port;
=C2=A0=C2=A0=C2=A0 int ret;

=C2=A0=C2=A0=C2=A0 linphone_parse_host_port(server,host,sizeof(host),&port_int);=

=C2=A0=C2=A0=C2=A0 snprintf(port, sizeof(port), "%d", port_int);<= br> =C2=A0=C2=A0=C2=A0 memset(&hints,0,sizeof(hints));
=C2=A0=C2=A0=C2=A0 hints.ai_family=3DAF_UNSPEC;
=C2=A0=C2=A0=C2=A0 hints.ai_socktype=3DSOCK_DGRAM;
=C2=A0=C2=A0=C2=A0 hints.ai_protocol=3DIPPROTO_UDP;
=C2=A0=C2=A0=C2=A0 ret=3Dgetaddrinfo(host,port,&hints,&re= s);
=C2=A0=C2=A0=C2=A0 if (ret!=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("getaddrinfo() fai= led for %s:%s : %s",host,port,gai_strerror(ret));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (!res) return -1;
=C2=A0=C2=A0=C2=A0 memcpy(ss,res->ai_addr,res->ai_addrlen);=
=C2=A0=C2=A0=C2=A0 *socklen=3Dres->ai_addrlen;
=C2=A0=C2=A0=C2=A0 freeaddrinfo(res);
=C2=A0=C2=A0=C2=A0 return 0;
}

static int recvStunResponse(ortp_socket_t sock, char *ipaddr, int *port, int *id){
=C2=A0=C2=A0=C2=A0 char buf[STUN_MAX_MESSAGE_SIZE];
=C2=A0=C2=A0=C2=A0 int len =3D STUN_MAX_MESSAGE_SIZE;
=C2=A0=C2=A0=C2=A0 StunMessage resp;
=C2=A0=C2=A0=C2=A0 len=3Drecv(sock,buf,len,0);
=C2=A0=C2=A0=C2=A0 if (len>0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 struct in_addr ia;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 stunParseMessage(buf,len, &= amp;resp );
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *id=3Dresp.msgHdr.tr_id.oct= et[0];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (resp.hasXorMappedAddres= s){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port =3D= resp.xorMappedAddress.ipv4.port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ia.s_add= r=3Dhtonl(resp.xorMappedAddress.ipv4.addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else if (resp.hasMappedAdd= ress){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port =3D= resp.mappedAddress.ipv4.port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ia.s_add= r=3Dhtonl(resp.mappedAddress.ipv4.addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else return -1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(ipaddr,inet_ntoa(ia= ),LINPHONE_IPADDR_SIZE);
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return len;
}

/* this functions runs a simple stun test and return the number of milliseconds to complete the tests, or -1 if the test were failed.*/
int linphone_core_run_stun_tests(LinphoneCore *lc, LinphoneCall *call){
=C2=A0=C2=A0=C2=A0 const char *server=3Dlinphone_core_get_stun_se= rver(lc);
=C2=A0=C2=A0=C2=A0 StunCandidate *ac=3D&call->ac;
=C2=A0=C2=A0=C2=A0 StunCandidate *vc=3D&call->vc;

=C2=A0=C2=A0=C2=A0 if (lc->sip_conf.ipv6_enabled){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("stun support is= not implemented for ipv6");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (call->media_ports[0].rtp_port=3D=3D-1){=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Stun-only suppo= rt not available for system random port");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (server!=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const struct addrinfo *ai=3Dlinphone_core_get_stun_server_addrinfo(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ortp_socket_t sock1=3D-1, s= ock2=3D-1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int loops=3D0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t video_enabled=3Dlinp= hone_core_video_enabled(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t got_audio,got_video;=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t cone_audio=3DFALSE,c= one_video=3DFALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 struct timeval init,cur; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 double elapsed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int ret=3D0;

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ai=3D=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error= ("Could not obtain stun server addrinfo.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -= 1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_core_notify_displa= y_status(lc,_("Stun lookup in progress..."));

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*create the two audio and = video RTP sockets, and send STUN message to our stun server */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sock1=3Dcreate_socket(call-= >media_ports[0].rtp_port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (sock1=3D=3D-1) return -= 1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (video_enabled){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sock2=3Dcreate_socket(call->media_ports[1].rtp_port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (sock= 2=3D=3D-1) return -1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 got_audio=3DFALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 got_video=3DFALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ortp_gettimeofday(&init= ,NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 do{

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int id;<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (loop= s%20=3D=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_message("Sending stun requests...");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 sendStunRequest(sock1,ai->ai_addr,ai->ai_addrlen,11,TRUE);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 sendStunRequest(sock1,ai->ai_addr,ai->ai_addrlen,1,FALSE);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (sock2!=3D-1){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 sendStunRequest(sock2,ai->ai_addr,ai->ai_addrlen,22,TRUE);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 sendStunRequest(sock2,ai->ai_addr,ai->ai_addrlen,2,FALSE);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_uslee= p(10000);

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (recv= StunResponse(sock1,ac->addr,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &ac->port,&id)= >0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_message("STUN test result: local audio port maps to %s:%i",
=C2=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=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 vc->port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (id=3D=3D22)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 cone_video=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 got_video=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ortp_get= timeofday(&cur,NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 elapsed=3D= ((cur.tv_sec-init.tv_sec)*1000.0) +=C2=A0 ((cur.tv_usec-init.tv_usec)/1000.0);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (elap= sed>2000)=C2=A0 {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_message("Stun responses timeout, going ahead.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ret=3D-1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loops++;=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }while(!(got_audio &&am= p; (got_video||sock2=3D=3D-1)=C2=A0 ) );
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ret=3D=3D0) ret=3D(int)= elapsed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!got_audio){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error= ("No stun server response for audio port.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else{
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!con= e_audio) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_message("NAT is symmetric for audio port");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (sock2!=3D-1){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!got= _video){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_error("No stun server response for video port.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else{ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (!cone_video) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_message("NAT is symmetric for video port.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_socket(sock1);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (sock2!=3D-1) close_sock= et(sock2);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return ret;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return -1;
}

int linphone_core_get_edge_bw(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 int edge_bw=3Dlp_config_get_int(lc->config,"net","edge_bw",20); =C2=A0=C2=A0=C2=A0 return edge_bw;
}

int linphone_core_get_edge_ptime(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 int edge_ptime=3Dlp_config_get_int(lc->config,"net","edge_ptime",1= 00);
=C2=A0=C2=A0=C2=A0 return edge_ptime;
}

void linphone_core_adapt_to_network(LinphoneCore *lc, int ping_time_ms, LinphoneCallParams *params){
=C2=A0=C2=A0=C2=A0 int threshold;
=C2=A0=C2=A0=C2=A0 if (ping_time_ms>0 && lp_config_get_int(lc->config,"net","activate_edge_workarounds",0)=3D=3D= 1){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_message("Stun server pin= g time is %i ms",ping_time_ms);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 threshold=3Dlp_config_get_int(lc->config,"net","edge_ping_time= ",500);

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ping_time_ms>thresho= ld){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* we mi= ght be in a 2G network*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 params-&= gt;low_bandwidth=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }/*else use default setting= s */
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (params->low_bandwidth){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 params->up_bw=3Dparams->down_bw=3Dlinphone_core_get_edge_bw= (lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 params->up_ptime=3Dparams->down_ptime=3Dlinphone_core_get_edge_ptim= e(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 params->has_video=3DFALS= E;
=C2=A0=C2=A0=C2=A0 }
}

static void stun_server_resolved(LinphoneCore *lc, const char *name, struct addrinfo *addrinfo){
=C2=A0=C2=A0=C2=A0 if (lc->net_conf.stun_addrinfo){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 belle_sip_freeaddrinfo(lc-&= gt;net_conf.stun_addrinfo);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->net_conf.stun_addrin= fo=3DNULL;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (addrinfo){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_message("Stun server res= olution successful.");
=C2=A0=C2=A0=C2=A0 }else{
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Stun server res= olution failed.");
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 lc->net_conf.stun_addrinfo=3Daddrinfo;
=C2=A0=C2=A0=C2=A0 lc->net_conf.stun_res=3DNULL;
}

void linphone_core_resolve_stun_server(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 /*
=C2=A0=C2=A0=C2=A0 =C2=A0* WARNING: stun server resolution only d= one in IPv4.
=C2=A0=C2=A0=C2=A0 =C2=A0* TODO: use IPv6 resolution if linphone_core_ipv6_enabled()=3D=3DTRUE and use V4Mapped addresses for ICE gathering.
=C2=A0=C2=A0=C2=A0 =C2=A0*/
=C2=A0=C2=A0=C2=A0 const char *server=3Dlc->net_conf.stun_serv= er;
=C2=A0=C2=A0=C2=A0 if (lc->sal && server && !lc->net_conf.stun_res){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 char host[NI_MAXHOST];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int port=3D3478;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_parse_host_port(server,host,sizeof(host),&port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->net_conf.stun_res=3Dsal_resolve_a(lc->sal,host,port,AF_INET,(Sa= lResolverCallback)stun_server_resolved,lc);
=C2=A0=C2=A0=C2=A0 }
}

/*
=C2=A0* This function returns the addrinfo representation of the = stun server address.
=C2=A0* It is critical not to block for a long time if it can't b= e resolved, otherwise this stucks the main thread when making a call.
=C2=A0* On the contrary, a fully asynchronous call initiation is complex to develop.
=C2=A0* The compromise is then:
=C2=A0* - have a cache of the stun server addrinfo
=C2=A0* - this cached value is returned when it is non-null
=C2=A0* - an asynchronous resolution is asked each time this func= tion is called to ensure frequent refreshes of the cached value.
=C2=A0* - if no cached value exists, block for a short time; this case must be unprobable because the resolution will be asked each time the stun server value is
=C2=A0* changed.
**/
const struct addrinfo *linphone_core_get_stun_server_addrinfo(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 const char *server=3Dlinphone_core_get_stun_se= rver(lc);
=C2=A0=C2=A0=C2=A0 if (server){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int wait_ms=3D0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int wait_limit=3D1000;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_core_resolve_stun_= server(lc);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 while (!lc->net_conf.stu= n_addrinfo && lc->net_conf.stun_res!=3DNULL && wait_ms<wait_limit){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sal_iter= ate(lc->sal);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_uslee= p(50000);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 wait_ms+= =3D50;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return lc->net_conf.stun_addrinfo;
}

int linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call)
{
=C2=A0=C2=A0=C2=A0 char local_addr[64];
=C2=A0=C2=A0=C2=A0 const struct addrinfo *ai;
=C2=A0=C2=A0=C2=A0 IceCheckList *audio_check_list;
=C2=A0=C2=A0=C2=A0 IceCheckList *video_check_list;
=C2=A0=C2=A0=C2=A0 const char *server =3D linphone_core_get_stun_= server(lc);

=C2=A0=C2=A0=C2=A0 if ((server =3D=3D NULL) || (call->ice_sess= ion =3D=3D NULL)) return -1;
=C2=A0=C2=A0=C2=A0 audio_check_list =3D ice_session_check_list(call->ice_session, 0);
=C2=A0=C2=A0=C2=A0 video_check_list =3D ice_session_check_list(call->ice_session, 1);
=C2=A0=C2=A0=C2=A0 if (audio_check_list =3D=3D NULL) return -1;
=C2=A0=C2=A0=C2=A0 if (call->af=3D=3DAF_INET6){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Ice gathering i= s not implemented for ipv6");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 ai=3Dlinphone_core_get_stun_server_addrinfo(lc= );
=C2=A0=C2=A0=C2=A0 if (ai=3D=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Fail to resolve= STUN server for ICE gathering.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 linphone_core_notify_display_status(lc, _("ICE= local candidates gathering in progress..."));

=C2=A0=C2=A0=C2=A0 /* Gather local host candidates. */
=C2=A0=C2=A0=C2=A0 if (linphone_core_get_local_ip_for(AF_INET, NU= LL, local_addr) < 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("Fail to get local= ip");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if ((ice_check_list_state(audio_check_list) !=3D ICL_Completed) && (ice_check_list_candidates_gathered(audio_check_list) =3D=3D FALS= E)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_local_candidate(aud= io_check_list, "host", local_addr, call->media_ports[0].rtp_port, 1, NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_local_candidate(aud= io_check_list, "host", local_addr, call->media_ports[0].rtcp_port, 2, NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CAL= L_STATS_AUDIO].ice_state =3D LinphoneIceStateInProgress;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (linphone_core_video_enabled(lc) && (video_check_list !=3D NULL)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 && (ice_check_list_= state(video_check_list) !=3D ICL_Completed) && (ice_check_list_candidates_gathered(video_check_list) =3D=3D FALS= E)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_local_candidate(vid= eo_check_list, "host", local_addr, call->media_ports[1].rtp_port, 1, NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_local_candidate(vid= eo_check_list, "host", local_addr, call->media_ports[1].rtcp_port, 2, NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CAL= L_STATS_VIDEO].ice_state =3D LinphoneIceStateInProgress;
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 ms_message("ICE: gathering candidate from [%s]= ",server);
=C2=A0=C2=A0=C2=A0 /* Gather local srflx candidates. */
=C2=A0=C2=A0=C2=A0 ice_session_gather_candidates(call->ice_ses= sion, ai->ai_addr, ai->ai_addrlen);
=C2=A0=C2=A0=C2=A0 return 0;
}

const char *linphone_ice_state_to_string(LinphoneIceState state){
=C2=A0=C2=A0=C2=A0 switch(state){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateFailed= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateFailed";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateHostCo= nnection:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateHostConnection";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateInProg= ress:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateInProgress";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateNotAct= ivated:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateNotActivated";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateReflex= iveConnection:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateReflexiveConnection";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneIceStateRelayC= onnection:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= IceStateRelayConnection";
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return "invalid";
}

void linphone_core_update_ice_state_in_call_stats(LinphoneCall *call)
{
=C2=A0=C2=A0=C2=A0 IceCheckList *audio_check_list;
=C2=A0=C2=A0=C2=A0 IceCheckList *video_check_list;
=C2=A0=C2=A0=C2=A0 IceSessionState session_state;

=C2=A0=C2=A0=C2=A0 if (call->ice_session =3D=3D NULL) return;<= br> =C2=A0=C2=A0=C2=A0 audio_check_list =3D ice_session_check_list(call->ice_session, 0);
=C2=A0=C2=A0=C2=A0 video_check_list =3D ice_session_check_list(call->ice_session, 1);
=C2=A0=C2=A0=C2=A0 if (audio_check_list =3D=3D NULL) return;

=C2=A0=C2=A0=C2=A0 session_state =3D ice_session_state(call->i= ce_session);
=C2=A0=C2=A0=C2=A0 if ((session_state =3D=3D IS_Completed) || ((s= ession_state =3D=3D IS_Failed) && (ice_session_has_completed_check_list(call->ice_session) =3D=3D TRUE))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_check_list_state(au= dio_check_list) =3D=3D ICL_Completed) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 switch (ice_check_list_selected_valid_candidate_type(audio_check_list)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 case ICT_HostCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state =3D LinphoneIceStateHostConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 case ICT_ServerReflexiveCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 case ICT_PeerReflexiveCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state =3D LinphoneIceStateReflexiveConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 case ICT_RelayedCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_AUDIO].ice_state =3D LinphoneIceStateRelayConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->= ;stats[LINPHONE_CALL_STATS_AUDIO].ice_state =3D LinphoneIceStateFailed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (call->params->has= _video && (video_check_list !=3D NULL)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_= check_list_state(video_check_list) =3D=3D ICL_Completed) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 switch (ice_check_list_selected_valid_candidate_type(video_check_list)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 case ICT_HostCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateHostConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 case ICT_ServerReflexiveCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 case ICT_PeerReflexiveCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateReflexiveConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 case ICT_RelayedCandidate:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateRelayConnection;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateFailed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else call->stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateNotActivated;
=C2=A0=C2=A0=C2=A0 } else if (session_state =3D=3D IS_Running) {<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CAL= L_STATS_AUDIO].ice_state =3D LinphoneIceStateInProgress;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (call->params->has= _video && (video_check_list !=3D NULL)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->= ;stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateInProgress;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->stats[LINPHONE_CAL= L_STATS_AUDIO].ice_state =3D LinphoneIceStateFailed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (call->params->has= _video && (video_check_list !=3D NULL)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->= ;stats[LINPHONE_CALL_STATS_VIDEO].ice_state =3D LinphoneIceStateFailed;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 ms_message("Call [%p] New ICE state: audio: [%= s]=C2=A0=C2=A0=C2=A0 video: [%s]", call,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 linphone_ice_state_to_string(call->stats[LINPHONE_CALL_STATS_AUDIO].ic= e_state),linphone_ice_state_to_string(call->stats[LINPHONE_CALL_STATS_= VIDEO].ice_state));
}

void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSession *session)
{
=C2=A0=C2=A0=C2=A0 const char *rtp_addr, *rtcp_addr;
=C2=A0=C2=A0=C2=A0 IceSessionState session_state =3D ice_session_= state(session);
=C2=A0=C2=A0=C2=A0 int nb_candidates;
=C2=A0=C2=A0=C2=A0 int i, j;
=C2=A0=C2=A0=C2=A0 bool_t result;

=C2=A0=C2=A0=C2=A0 if (session_state =3D=3D IS_Completed) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 desc->ice_completed =3D = TRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 result =3D ice_check_list_selected_valid_local_candidate(ice_session_check_l= ist(session, 0), &rtp_addr, NULL, NULL, NULL);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (result =3D=3D TRUE) { =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= desc->addr, rtp_addr, sizeof(desc->addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warni= ng("If ICE has completed successfully, rtp_addr should be set!");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 desc->ice_completed =3D = FALSE;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 strncpy(desc->ice_pwd, ice_session_local_pw= d(session), sizeof(desc->ice_pwd));
=C2=A0=C2=A0=C2=A0 strncpy(desc->ice_ufrag, ice_session_local_ufrag(session), sizeof(desc->ice_ufrag)); =C2=A0=C2=A0=C2=A0 for (i =3D 0; i < desc->nb_streams; i++)= {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 SalStreamDescription *strea= m =3D &desc->streams[i];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IceCheckList *cl =3D ice_se= ssion_check_list(session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 nb_candidates =3D 0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!sal_stream_description= _active(stream) || (cl =3D=3D NULL)) continue;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_check_list_state(cl= ) =3D=3D ICL_Completed) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 stream-&= gt;ice_completed =3D TRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 result =3D ice_check_list_selected_valid_local_candidate(ice_session_check_l= ist(session, i), &rtp_addr, &stream->rtp_port, &rtcp_addr, &stream->rtcp_port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 stream-&= gt;ice_completed =3D FALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 result =3D ice_check_list_default_local_candidate(ice_session_check_list(ses= sion, i), &rtp_addr, &stream->rtp_port, &rtcp_addr, &stream->rtcp_port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (result =3D=3D TRUE) { =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= stream->rtp_addr, rtp_addr, sizeof(stream->rtp_addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= stream->rtcp_addr, rtcp_addr, sizeof(stream->rtcp_addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->rtp_addr, 0, sizeof(stream->rtp_addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->rtcp_addr, 0, sizeof(stream->rtcp_addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((strlen(ice_check_list_= local_pwd(cl)) !=3D strlen(desc->ice_pwd)) || (strcmp(ice_check_list_local_pwd(cl), desc->ice_pwd)))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= stream->ice_pwd, ice_check_list_local_pwd(cl), sizeof(stream->ice_pwd));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->ice_pwd, 0, sizeof(stream->ice_pwd));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((strlen(ice_check_list_= local_ufrag(cl)) !=3D strlen(desc->ice_ufrag)) || (strcmp(ice_check_list_local_ufrag(cl), desc->ice_ufrag)))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(= stream->ice_ufrag, ice_check_list_local_ufrag(cl), sizeof(stream->ice_ufrag)); =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->ice_pwd, 0, sizeof(stream->ice_pwd));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 stream->ice_mismatch =3D ice_check_list_is_mismatch(cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((ice_check_list_state(c= l) =3D=3D ICL_Running) || (ice_check_list_state(cl) =3D=3D ICL_Completed)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->ice_candidates, 0, sizeof(stream->ice_candidates));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (j =3D= 0; j < MIN(ms_list_size(cl->local_candidates), SAL_MEDIA_DESCRIPTION_MAX_ICE_CANDIDATES); j++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 SalIceCandidate *sal_candidate =3D &stream->ice_candidates[nb_candidates];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 IceCandidate *ice_candidate =3D ms_list_nth_data(cl->local_candidates, j);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 const char *default_addr =3D NULL;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 int default_port =3D 0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (ice_candidate->componentID =3D=3D 1) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 default_addr =3D stream->rtp_addr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 default_port =3D stream->rtp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 } else if (ice_candidate->componentID =3D=3D 2) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 default_addr =3D stream->rtcp_addr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 default_port =3D stream->rtcp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 } else continue;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (default_addr[0] =3D=3D '\0') default_addr =3D desc->addr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 /* Only include the candidates matching the default destination for each component of the stream if the state is Completed as specified in RFC5245 section 9.1.2.2. */ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if ((ice_check_list_state(cl) =3D=3D ICL_Completed)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 && !((ice_candidate->taddr.port =3D=3D default_port) && (strlen(ice_candidate->taddr.i= p) =3D=3D strlen(default_addr)) && (strcmp(ice_candidate->taddr.ip, default_addr) =3D=3D 0)))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 continue;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(sal_candidate->foundation, ice_candidate->foundation, sizeof(sal_candidate->foundation));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 sal_candidate->componentID =3D ice_candidate->componentID;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 sal_candidate->priority =3D ice_candidate->priority;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(sal_candidate->type, ice_candidate_type(ice_candidate), sizeof(sal_candidate->type));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(sal_candidate->addr, ice_candidate->taddr.ip, sizeof(sal_candidate->addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 sal_candidate->port =3D ice_candidate->taddr.port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if ((ice_candidate->base !=3D NULL) && (ice_candidate->base !=3D ice_candidate)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(sal_candidate->raddr, ice_candidate->base->taddr.ip, sizeof(sal_candidate->raddr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 sal_candidate->rport =3D ice_candidate->base->taddr.port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 nb_candidates++;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((ice_check_list_state(c= l) =3D=3D ICL_Completed) && (ice_session_role(session) =3D=3D IR_Controlling)) { =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int rtp_= port, rtcp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 memset(s= tream->ice_remote_candidates, 0, sizeof(stream->ice_remote_candidates));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_check_list_selected_valid_remote_candidate(cl, &rtp_addr, &rtp_port, &rtcp_addr, &rtcp_port) =3D= =3D TRUE) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(stream->ice_remote_candidates[0].addr, rtp_addr, sizeof(stream->ice_remote_candidates[0].addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 stream->ice_remote_candidates[0].port =3D rtp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(stream->ice_remote_candidates[1].addr, rtcp_addr, sizeof(stream->ice_remote_candidates[1].addr));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 stream->ice_remote_candidates[1].port =3D rtcp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_error("ice: Selected valid remote candidates should be present if the check list is in the Completed state");<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (j =3D= 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 stream->ice_remote_candidates[j].addr[0] =3D '\0';
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 stream->ice_remote_candidates[j].port =3D 0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
}

static void get_default_addr_and_port(uint16_t componentID, const SalMediaDescription *md, const SalStreamDescription *stream, const char **addr, int *port)
{
=C2=A0=C2=A0=C2=A0 if (componentID =3D=3D 1) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *addr =3D stream->rtp_ad= dr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port =3D stream->rtp_po= rt;
=C2=A0=C2=A0=C2=A0 } else if (componentID =3D=3D 2) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *addr =3D stream->rtcp_a= ddr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port =3D stream->rtcp_p= ort;
=C2=A0=C2=A0=C2=A0 } else return;
=C2=A0=C2=A0=C2=A0 if ((*addr)[0] =3D=3D '\0') *addr =3D md->a= ddr;
}

static void clear_ice_check_list(LinphoneCall *call, IceCheckList *removed){
=C2=A0=C2=A0=C2=A0 if (call->audiostream && call->audiostream->ms.ice_check_list=3D=3Dremoved)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->audiostream->ms= .ice_check_list=3DNULL;
=C2=A0=C2=A0=C2=A0 if (call->videostream && call->videostream->ms.ice_check_list=3D=3Dremoved)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 call->videostream->ms= .ice_check_list=3DNULL;
}

void linphone_call_update_ice_from_remote_media_description(LinphoneCa= ll *call, const SalMediaDescription *md)
{
=C2=A0=C2=A0=C2=A0 bool_t ice_restarted =3D FALSE;
=C2=A0=C2=A0=C2=A0 bool_t ice_params_found=3DFALSE;
=C2=A0=C2=A0=C2=A0 if ((md->ice_pwd[0] !=3D '\0') && (md->ice_ufrag[0] !=3D '\0'))=C2=A0 {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_params_found=3DTRUE; =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int i;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (i =3D 0; i < md->= ;nb_streams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const Sa= lStreamDescription *stream =3D &md->streams[i];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IceCheck= List *cl =3D ice_session_check_list(call->ice_session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (cl) = {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if ((stream->ice_pwd[0] !=3D '\0') && (stream->ice_ufrag[0] !=3D '\0')) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_params_found=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_params_found=3DFALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (ice_params_found) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int i, j;

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* Check for ICE restart an= d set remote credentials. */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((strcmp(md->addr, "0= .0.0.0") =3D=3D 0) || (strcmp(md->addr, "::0") =3D=3D 0)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_sess= ion_restart(call->ice_session);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_rest= arted =3D TRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (i =3D= 0; i < md->nb_streams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 const SalStreamDescription *stream =3D &md->streams[i];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 IceCheckList *cl =3D ice_session_check_list(call->ice_session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (cl && (strcmp(stream->rtp_addr, "0.0.0.0") =3D=3D 0)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_session_restart(call->ice_session); =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_restarted =3D TRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((ice_session_remote_ufr= ag(call->ice_session) =3D=3D NULL) && (ice_session_remote_pwd(call->ice_session) =3D=3D NULL)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_session_set_remote_credentials(call->ice_session, md->ice_ufrag, md->ice_pwd);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else if (ice_session_remote_credentials_changed(call->ice_session, md->ice_ufrag, md->ice_pwd)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_= restarted =3D=3D FALSE) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ice_session_restart(call->ice_session);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ice_restarted =3D TRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_session_set_remote_credentials(call->ice_session, md->ice_ufrag, md->ice_pwd);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (i =3D 0; i < md->= ;nb_streams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const Sa= lStreamDescription *stream =3D &md->streams[i];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IceCheck= List *cl =3D ice_session_check_list(call->ice_session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (cl &= amp;& (stream->ice_pwd[0] !=3D '\0') && (stream->ice_ufrag[0] !=3D '\0')) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (ice_check_list_remote_credentials_changed(cl, stream->ice_ufrag, stream->ice_pwd)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ice_restarted =3D=3D FALSE
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &&= amp; ice_check_list_get_remote_ufrag(cl)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &&= amp; ice_check_list_get_remote_pwd(cl)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* res= tart onlu if remote ufrag/paswd was already set*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_session_restart(call->ice_session);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_restarted =3D TRUE; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_check_list_set_remote_credentials(cl, stream->ice_ufrag, stream->ice_pwd);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* Create ICE check lists i= f needed and parse ICE attributes. */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (i =3D 0; i < md->= ;nb_streams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const Sa= lStreamDescription *stream =3D &md->streams[i];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IceCheck= List *cl =3D ice_session_check_list(call->ice_session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((cl = =3D=3D NULL) && (i < md->n_active_streams)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 cl =3D ice_check_list_new();
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ice_session_add_check_list(call->ice_session, cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 switch (stream->type) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalAudio:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (call->audiostream = !=3D NULL) call->audiostream->ms.ice_check_list =3D cl;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0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_list_set_state(cl, ICL_Failed);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else i= f (stream->rtp_port =3D=3D 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ice_session_remove_check_list(call->ice_session, cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 clear_ice_check_list(call,cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if ((stream->ice_pwd[0] !=3D '\0') && (stream->ice_ufrag[0] !=3D '\0'))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_check_list_set_remote_credentials(cl, stream->ice_ufrag, stream->ice_pwd);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 for (j =3D 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_CANDIDATES; j++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 const SalIceCandidate *candidate =3D &stream->ice_candidates[j];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t default_candidate =3D FALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 const char *addr =3D NULL;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 int port =3D 0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (candidate->addr[0] =3D=3D '\0') break= ;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((candidate->componentID =3D=3D 0) || (candidate->componentID > 2)) continue;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 get_default_addr_and_port(candidate->componentID, md, stream, &addr, &port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (addr && (candidate->port =3D=3D port) && (strlen(candidate->addr) =3D=3D strlen(addr)) && (strcmp(candidate->addr, addr) =3D=3D 0))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 default_candidate =3D TRU= E;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_remote_candidate(cl, candidate->type, candidate->addr, candidate->port, candidate->componentID,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 candidate->priority, candidate->foundation, default_candidate);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (ice_restarted =3D=3D FALSE) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t losing_pairs_added =3D FALSE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (j =3D 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const SalIceRemoteCandida= te *candidate =3D &stream->ice_remote_candidates[j];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const char *addr =3D NULL= ;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int port =3D 0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int componentID =3D j + 1= ;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (candidate->addr[0]= =3D=3D '\0') break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 get_default_addr_and_port= (componentID, md, stream, &addr, &port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (j =3D=3D 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* If = we receive a re-invite and we finished ICE processing on our side, use the candidates given by the remote. */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_check_list_unselect_valid_pairs(cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_add_losing_pair(cl, j= + 1, candidate->addr, candidate->port, addr, port);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 losing_pairs_added =3D TR= UE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (losing_pairs_added =3D=3D TRUE) ice_check_list_check_completed(cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for (i =3D 0; i < md->= ;nb_streams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IceCheck= List * cl =3D ice_session_check_list(call->ice_session, i);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!sal_stream_description_active(&md->streams[i]) && (cl !=3D NULL)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ice_session_remove_check_list_from_idx(call->ice_session, i);<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 clear_ice_check_list(call, cl);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ice_session_check_mismatch(= call->ice_session);
=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /* Response from remote doe= s not contain mandatory ICE attributes, delete the session. */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_call_delete_ice_se= ssion(call);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (ice_session_nb_check_lists(call->ice_se= ssion) =3D=3D 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_call_delete_ice_se= ssion(call);
=C2=A0=C2=A0=C2=A0 }
}

bool_t linphone_core_media_description_contains_video_stream(const SalMediaDescription *md){
=C2=A0=C2=A0=C2=A0 int i;

=C2=A0=C2=A0=C2=A0 for (i =3D 0; md && i < md->nb_s= treams; i++) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (md->streams[i].type = =3D=3D SalVideo && md->streams[i].rtp_port!=3D0)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return T= RUE;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return FALSE;
}

unsigned int linphone_core_get_audio_features(LinphoneCore *lc){<= br> =C2=A0=C2=A0=C2=A0 unsigned int ret=3D0;
=C2=A0=C2=A0=C2=A0 const char *features=3Dlp_config_get_string(lc->config,"sound","features"= ,NULL);
=C2=A0=C2=A0=C2=A0 if (features){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 char tmp[256]=3D{0};
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 char name[256];
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 char *p,*n;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strncpy(tmp,features,sizeof= (tmp)-1);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for(p=3Dtmp;*p!=3D'\0';p++)= {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (*p=3D= =3D' ') continue;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 n=3Dstrc= hr(p,'|');
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (n) *= n=3D'\0';
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sscanf(p= ,"%s",name);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Found audio feature %s",name);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (strc= asecmp(name,"PLC")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_PLC;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"EC")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_EC;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"EQUALIZER")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_EQUALIZER;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"VOL_SND")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_VOL_SND;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"VOL_RCV")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_VOL_RCV;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"DTMF")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_DTMF;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"DTMF_ECHO")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_DTMF_ECHO;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"MIXED_RECORDING")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_MIXED_RECORDING;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"LOCAL_PLAYING")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_LOCAL_PLAYING;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"REMOTE_PLAYING")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_REMOTE_PLAYING;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"ALL")=3D=3D0) ret|=3DAUDIO_STREAM_FEATURE_ALL;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else if = (strcasecmp(name,"NONE")=3D=3D0) ret=3D0;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else ms_= error("Unsupported audio feature %s requested in config file.",name);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!n) = break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p=3Dn; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }else ret=3DAUDIO_STREAM_FEATURE_ALL;

=C2=A0=C2=A0=C2=A0 if (ret=3D=3DAUDIO_STREAM_FEATURE_ALL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*since call recording is s= pecified before creation of the stream in linphonecore,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 * it will be requested on d= emand. It is not necessary to include it all the time*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret&=3D~AUDIO_STREAM_FE= ATURE_MIXED_RECORDING;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return ret;
}

bool_t linphone_core_tone_indications_enabled(LinphoneCore*lc){ =C2=A0=C2=A0=C2=A0 return lp_config_get_int(lc->config,"sound","tone_indications",1); }

#ifdef HAVE_GETIFADDRS

#include <ifaddrs.h>
static int get_local_ip_with_getifaddrs(int type, char *address, int size){
=C2=A0=C2=A0=C2=A0 struct ifaddrs *ifp;
=C2=A0=C2=A0=C2=A0 struct ifaddrs *ifpstart;
=C2=A0=C2=A0=C2=A0 char retaddr[LINPHONE_IPADDR_SIZE]=3D{0};
=C2=A0=C2=A0=C2=A0 bool_t found=3DFALSE;

=C2=A0=C2=A0=C2=A0 if (getifaddrs(&ifpstart) < 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
#ifndef __linux
=C2=A0=C2=A0=C2=A0 #define UP_FLAG IFF_UP /* interface is up */ #else
=C2=A0=C2=A0=C2=A0 #define UP_FLAG IFF_RUNNING /* resources alloc= ated */
#endif

=C2=A0=C2=A0=C2=A0 for (ifp =3D ifpstart; ifp !=3D NULL; ifp =3D = ifp->ifa_next) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (ifp->ifa_addr &&= amp; ifp->ifa_addr->sa_family =3D=3D type
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &&am= p; (ifp->ifa_flags & UP_FLAG) && !(ifp->ifa_flags & IFF_LOOPBACK))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if(getna= meinfo(ifp->ifa_addr,
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (type =3D=3D AF_INET6) ?<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sizeof(struct sockaddr_in= 6) : sizeof(struct sockaddr_in),
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 retaddr, size, NULL, 0, N= I_NUMERICHOST) =3D=3D 0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 if (strchr(retaddr, '%') =3D=3D NULL) {=C2=A0=C2=A0=C2=A0 /*avo= id ipv6 link-local addresses */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*ms_message("getifaddrs() found %s",address);*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 found=3DTRUE;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 freeifaddrs(ifpstart);
=C2=A0=C2=A0=C2=A0 if (found) strncpy(address,retaddr,size);
=C2=A0=C2=A0=C2=A0 return found;
}
#endif


static int get_local_ip_for_with_connect(int type, const char *dest, char *result){
=C2=A0=C2=A0=C2=A0 int err,tmp;
=C2=A0=C2=A0=C2=A0 struct addrinfo hints;
=C2=A0=C2=A0=C2=A0 struct addrinfo *res=3DNULL;
=C2=A0=C2=A0=C2=A0 struct sockaddr_storage addr;
=C2=A0=C2=A0=C2=A0 struct sockaddr *p_addr=3D(struct sockaddr*)&a= mp;addr;
=C2=A0=C2=A0=C2=A0 ortp_socket_t sock;
=C2=A0=C2=A0=C2=A0 socklen_t s;

=C2=A0=C2=A0=C2=A0 memset(&hints,0,sizeof(hints));
=C2=A0=C2=A0=C2=A0 hints.ai_family=3Dtype;
=C2=A0=C2=A0=C2=A0 hints.ai_socktype=3DSOCK_DGRAM;
=C2=A0=C2=A0=C2=A0 /*hints.ai_flags=3DAI_NUMERICHOST|AI_CANONNAME= ;*/
=C2=A0=C2=A0=C2=A0 err=3Dgetaddrinfo(dest,"5060",&hints,&= res);
=C2=A0=C2=A0=C2=A0 if (err!=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("getaddrinfo() err= or for %s : %s",dest, gai_strerror(err));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (res=3D=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("bug: getaddrinfo = returned nothing.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 sock=3Dsocket(res->ai_family,SOCK_DGRAM,0);=
=C2=A0=C2=A0=C2=A0 tmp=3D1;
=C2=A0=C2=A0=C2=A0 err=3Dsetsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(SOCKET_OPTION_VALUE)&t= mp,sizeof(int));
=C2=A0=C2=A0=C2=A0 if (err<0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_warning("Error in setsoc= kopt: %s",strerror(errno));
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 err=3Dconnect(sock,res->ai_addr,res->ai_= addrlen);
=C2=A0=C2=A0=C2=A0 if (err<0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*the network isn't reachab= le*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (getSocketErrorCode()!=3D= ENETUNREACH) ms_error("Error in connect: %s",strerror(errno));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 freeaddrinfo(res);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_socket(sock);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 freeaddrinfo(res);
=C2=A0=C2=A0=C2=A0 res=3DNULL;
=C2=A0=C2=A0=C2=A0 s=3Dsizeof(addr);
=C2=A0=C2=A0=C2=A0 err=3Dgetsockname(sock,(struct sockaddr*)&= addr,&s);
=C2=A0=C2=A0=C2=A0 if (err!=3D0) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("Error in getsockn= ame: %s",strerror(errno));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_socket(sock);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 if (p_addr->sa_family=3D=3DAF_INET){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 struct sockaddr_in *p_sin=3D= (struct sockaddr_in*)p_addr;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (p_sin->sin_addr.s_ad= dr=3D=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_so= cket(sock);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -= 1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 err=3Dgetnameinfo((struct sockaddr *)&addr,s,result,LINPHONE_IPADDR_SIZE,NULL,0,NI_NUMERICHOST);=
=C2=A0=C2=A0=C2=A0 if (err!=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error("getnameinfo error= : %s",strerror(errno));
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 /*avoid ipv6 link-local addresses*/
=C2=A0=C2=A0=C2=A0 if (p_addr->sa_family=3D=3DAF_INET6 &&a= mp; strchr(result,'%')!=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 strcpy(result,"::1");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 close_socket(sock);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 close_socket(sock);
=C2=A0=C2=A0=C2=A0 return 0;
}

int linphone_core_get_local_ip_for(int type, const char *dest, char *result){
=C2=A0=C2=A0=C2=A0 int err;
#ifdef HAVE_GETIFADDRS
=C2=A0=C2=A0=C2=A0 int found_ifs;
#endif
=C2=A0=C2=A0=C2=A0 strcpy(result,type=3D=3DAF_INET ? "127.0.0.1" = : "::1");

=C2=A0=C2=A0=C2=A0 if (dest=3D=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (type=3D=3DAF_INET)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 dest=3D"= 87.98.157.38"; /*a public IP address*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 else dest=3D"2a00:1450:8002= ::68";
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 err=3Dget_local_ip_for_with_connect(type,dest,= result);
=C2=A0=C2=A0=C2=A0 if (err=3D=3D0) return 0;

=C2=A0=C2=A0=C2=A0 /* if the connect method failed, which happens= when no default route is set,
=C2=A0=C2=A0=C2=A0 =C2=A0* try to find 'the' running interface wi= th getifaddrs*/

#ifdef HAVE_GETIFADDRS
=C2=A0=C2=A0=C2=A0 /*we use getifaddrs for lookup of default inte= rface */
=C2=A0=C2=A0=C2=A0 found_ifs=3Dget_local_ip_with_getifaddrs(type,result,LINPHONE_IPADDR_SIZE= );
=C2=A0=C2=A0=C2=A0 if (found_ifs=3D=3D1){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }else if (found_ifs<=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*absolutely no network on = this machine */
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return -1;
=C2=A0=C2=A0=C2=A0 }
#endif
=C2=A0=C2=A0=C2=A0 return 0;
}

void linphone_core_get_local_ip(LinphoneCore *lc, int af, const char *dest, char *result) {
=C2=A0=C2=A0=C2=A0 if (af =3D=3D AF_UNSPEC) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (linphone_core_ipv6_enab= led(lc)) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bool_t h= as_ipv6 =3D linphone_core_get_local_ip_for(AF_INET6, dest, result) =3D=3D 0;<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (strc= mp(result, "::1") !=3D 0)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 return; /*this machine has real ipv6 connectivity*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if ((lin= phone_core_get_local_ip_for(AF_INET, dest, result) =3D=3D 0) && (strcmp(result, "127.0.0.1") !=3D 0)= )
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 return; /*this machine has only ipv4 connectivity*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (has_= ipv6) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 /*this machine has only local loopback for both ipv4 and ipv6, so prefer ipv6*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 strncpy(result, "::1", LINPHONE_IPADDR_SIZE);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 return;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /*in all other cases use IP= v4*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 af =3D AF_INET;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 linphone_core_get_local_ip_for(af, dest, resul= t);
}

SalReason linphone_reason_to_sal(LinphoneReason reason){
=C2=A0=C2=A0=C2=A0 switch(reason){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNone: =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonNone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNoRespon= se:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonRequestTimeout;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonForbidde= n:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonForbidden;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonDeclined= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonDeclined;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNotFound= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonNotFound;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonTemporar= ilyUnavailable:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonTemporarilyUnavailable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonBusy: =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonBusy;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNotAccep= table:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonNotAcceptable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonIOError:=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonServiceUnavailable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonDoNotDis= turb:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonDoNotDisturb;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonUnauthor= ized:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonUnauthorized;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonUnsuppor= tedContent:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonUnsupportedContent;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNoMatch:=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonNoMatch;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonMovedPer= manently:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonMovedPermanently;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonGone: =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonGone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonAddressI= ncomplete:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonAddressIncomplete;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNotImple= mented:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonNotImplemented;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonBadGatew= ay:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonBadGateway;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonServerTi= meout:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonServerTimeout;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonNotAnswe= red:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonRequestTimeout;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneReasonUnknown:=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return S= alReasonUnknown;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return SalReasonUnknown;
}

LinphoneReason linphone_reason_from_sal(SalReason r){
=C2=A0=C2=A0=C2=A0 LinphoneReason ret=3DLinphoneReasonNone;
=C2=A0=C2=A0=C2=A0 switch(r){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonNone:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonIOError:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonIOError;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonUnknown:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonUnknown;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonBusy:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonBusy;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonDeclined:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonDeclined;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonDoNotDisturb:=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonDoNotDisturb;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonForbidden: =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonBadCredentials;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonNotAcceptable= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNotAcceptable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonNotFound:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNotFound;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonRedirect:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonTemporarilyUn= available:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonTemporarilyUnavailable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonServiceUnavai= lable:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonIOError;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonRequestPendin= g:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonUnauthorized:=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonUnauthorized;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonUnsupportedCo= ntent:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonUnsupportedContent;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonNoMatch:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNoMatch;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonRequestTimeou= t:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNotAnswered;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonMovedPermanen= tly:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonMovedPermanently;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonGone:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonGone;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonAddressIncomp= lete:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonAddressIncomplete;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonNotImplemente= d:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonNotImplemented;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonBadGateway: =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonBadGateway;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case SalReasonServerTimeout= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret=3DLi= nphoneReasonServerTimeout;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 break;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return ret;
}

/**
=C2=A0* Get reason code from the error info.
=C2=A0* @param ei the error info.
=C2=A0* @return a #LinphoneReason
=C2=A0* @ingroup misc
**/
LinphoneReason linphone_error_info_get_reason(const LinphoneErrorInfo *ei){
=C2=A0=C2=A0=C2=A0 const SalErrorInfo *sei=3D(const SalErrorInfo*= )ei;
=C2=A0=C2=A0=C2=A0 return linphone_reason_from_sal(sei->reason= );
}

/**
=C2=A0* Get textual phrase from the error info.
=C2=A0* This is the text that is provided by the peer in the prot= ocol (SIP).
=C2=A0* @param ei the error info.
=C2=A0* @return the error phrase
=C2=A0* @ingroup misc
**/
const char *linphone_error_info_get_phrase(const LinphoneErrorInfo *ei){
=C2=A0=C2=A0=C2=A0 const SalErrorInfo *sei=3D(const SalErrorInfo*= )ei;
=C2=A0=C2=A0=C2=A0 return sei->status_string;
}

/**
=C2=A0* Provides additional information regarding the failure. =C2=A0* With SIP protocol, the "Reason" and "Warning" headers are returned.
=C2=A0* @param ei the error info.
=C2=A0* @return more details about the failure.
=C2=A0* @ingroup misc
**/
const char *linphone_error_info_get_details(const LinphoneErrorInfo *ei){
=C2=A0=C2=A0=C2=A0 const SalErrorInfo *sei=3D(const SalErrorInfo*= )ei;
=C2=A0=C2=A0=C2=A0 return sei->warnings;
}

/**
=C2=A0* Get the status code from the low level protocol (ex a SIP status code).
=C2=A0* @param ei the error info.
=C2=A0* @return the status code.
=C2=A0* @ingroup misc
**/
int linphone_error_info_get_protocol_code(const LinphoneErrorInfo *ei){
=C2=A0=C2=A0=C2=A0 const SalErrorInfo *sei=3D(const SalErrorInfo*= )ei;
=C2=A0=C2=A0=C2=A0 return sei->protocol_code;
}

/**
=C2=A0* Set the name of the mediastreamer2 filter to be used for rendering video.
=C2=A0* This is for advanced users of the library, mainly to workaround hardware/driver bugs.
=C2=A0* @ingroup media_parameters
**/
void linphone_core_set_video_display_filter(LinphoneCore *lc, const char *filter_name){
=C2=A0=C2=A0=C2=A0 lp_config_set_string(lc->config,"video","displaytype",filter_n= ame);
}

/**
=C2=A0* Get the name of the mediastreamer2 filter used for render= ing video.
=C2=A0* @ingroup media_parameters
**/
const char *linphone_core_get_video_display_filter(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 return lp_config_get_string(lc->config,"video","displaytype",NULL); }

/**
=C2=A0* Queue a task into the main loop. The data pointer must re= main valid until the task is completed.
=C2=A0* task_fun must return BELLE_SIP_STOP when job is finished.=
**/
void linphone_core_queue_task(LinphoneCore *lc, belle_sip_source_func_t task_fun, void *data, const char *task_description){
=C2=A0=C2=A0=C2=A0 belle_sip_source_t *s=3Dsal_create_timer(lc->sal,task_fun,data, 20, task_description);
=C2=A0=C2=A0=C2=A0 belle_sip_object_unref(s);
}

static int get_unique_transport(LinphoneCore *lc, LinphoneTransportType *type, int *port){
=C2=A0=C2=A0=C2=A0 LCSipTransports tp;
=C2=A0=C2=A0=C2=A0 linphone_core_get_sip_transports(lc,&tp);<= br> =C2=A0=C2=A0=C2=A0 if (tp.tcp_port=3D=3D0 && tp.tls_port=3D= =3D0 && tp.udp_port!=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *type=3DLinphoneTransportUd= p;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port=3Dtp.udp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }else if (tp.tcp_port=3D=3D0 && tp.udp= _port=3D=3D0 && tp.tls_port!=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *type=3DLinphoneTransportTl= s;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port=3Dtp.tls_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }else if (tp.tcp_port!=3D0 && tp.udp_p= ort=3D=3D0 && tp.tls_port=3D=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *type=3DLinphoneTransportTc= p;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *port=3Dtp.tcp_port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return -1;
}

static void linphone_core_migrate_proxy_config(LinphoneCore *lc, LinphoneTransportType type){
=C2=A0=C2=A0=C2=A0 const MSList *elem;
=C2=A0=C2=A0=C2=A0 for(elem=3Dlinphone_core_get_proxy_config_list(lc);elem!=3DNULL;elem=3Del= em->next){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneProxyConfig *cfg=3D(LinphoneProxyConfig*)elem->data;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const char *proxy=3Dlinphon= e_proxy_config_get_addr(cfg);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const char *route=3Dlinphon= e_proxy_config_get_route(cfg);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneAddress *proxy_addr= =3Dlinphone_address_new(proxy);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneAddress *route_addr= =3DNULL;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 char *tmp;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (route) route_addr=3Dlin= phone_address_new(route);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (proxy_addr){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _address_set_transport(proxy_addr,type);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 tmp=3Dli= nphone_address_as_string(proxy_addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _proxy_config_set_server_addr(cfg,tmp);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_free(= tmp);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _address_destroy(proxy_addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (route_addr){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _address_set_transport(route_addr,type);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 tmp=3Dli= nphone_address_as_string(route_addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _proxy_config_set_route(cfg,tmp);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_free(= tmp);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _address_destroy(route_addr);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
}

/**
=C2=A0* Migrate configuration so that all SIP transports are enab= led.
=C2=A0* Versions of linphone < 3.7 did not support using multi= ple SIP transport simultaneously.
=C2=A0* This function helps application to migrate the configurat= ion so that all transports are enabled.
=C2=A0* Existing proxy configuration are added a transport parame= ter so that they continue using the unique transport that was set previously.
=C2=A0* This function must be used just after creating the core, before any call to linphone_core_iterate()
=C2=A0* @param lc the linphone core
=C2=A0* @return 1 if migration was done, 0 if not done because unnecessary or already done, -1 in case of error.
=C2=A0* @ingroup initializing
**/
int linphone_core_migrate_to_multi_transport(LinphoneCore *lc){ =C2=A0=C2=A0=C2=A0 if (!lp_config_get_int(lc->config,"sip","multi_transport_migration_done",= 0)){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneTransportType tpt;<= br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int port;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (get_unique_transport(lc= ,&tpt,&port)=3D=3D0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LCSipTra= nsports newtp=3D{0};
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (lp_config_get_int(lc->config,"sip","sip_random_port",0))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 port=3D-1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Core is using a single SIP transport, migrating proxy config and enabling multi-transport.");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _core_migrate_proxy_config(lc,tpt);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 newtp.ud= p_port=3Dport;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 newtp.tc= p_port=3Dport;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 newtp.tl= s_port=3DLC_SIP_TRANSPORT_RANDOM;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lp_confi= g_set_string(lc->config, "sip","sip_random_port",NULL); /*remove*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone= _core_set_sip_transports(lc,&newtp);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lp_config_set_int(lc->config,"sip","multi_transport_migration_done",1)= ;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 1;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return 0;
}

LinphoneToneDescription * linphone_tone_description_new(LinphoneReason reason, LinphoneToneID id, const char *audiofile){
=C2=A0=C2=A0=C2=A0 LinphoneToneDescription *obj=3Dms_new0(LinphoneToneDescription,1);
=C2=A0=C2=A0=C2=A0 obj->reason=3Dreason;
=C2=A0=C2=A0=C2=A0 obj->toneid=3Did;
=C2=A0=C2=A0=C2=A0 obj->audiofile=3Daudiofile ? ms_strdup(audi= ofile) : NULL;
=C2=A0=C2=A0=C2=A0 return obj;
}

void linphone_tone_description_destroy(LinphoneToneDescription *obj){
=C2=A0=C2=A0=C2=A0 if (obj->audiofile) ms_free(obj->audiofi= le);
=C2=A0=C2=A0=C2=A0 ms_free(obj);
}

LinphoneToneDescription *linphone_core_get_call_error_tone(const LinphoneCore *lc, LinphoneReason reason){
=C2=A0=C2=A0=C2=A0 const MSList *elem;
=C2=A0=C2=A0=C2=A0 for (elem=3Dlc->tones;elem!=3DNULL;elem=3De= lem->next){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneToneDescription *tone=3D(LinphoneToneDescription*)elem->data;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (tone->reason=3D=3Dre= ason) return tone;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return NULL;
}

const char *linphone_core_get_tone_file(const LinphoneCore *lc, LinphoneToneID id){
=C2=A0=C2=A0=C2=A0 const MSList *elem;
=C2=A0=C2=A0=C2=A0 for (elem=3Dlc->tones;elem!=3DNULL;elem=3De= lem->next){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 LinphoneToneDescription *tone=3D(LinphoneToneDescription*)elem->data;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (tone->toneid=3D=3Did= && tone->reason=3D=3DLinphoneReasonNone && tone->audiofile!=3DNULL) return tone->audiofile;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return NULL;
}

void _linphone_core_set_tone(LinphoneCore *lc, LinphoneReason reason, LinphoneToneID id, const char *audiofile){
=C2=A0=C2=A0=C2=A0 LinphoneToneDescription *tone=3Dlinphone_core_get_call_error_tone(lc,reason);
=C2=A0=C2=A0=C2=A0 if (tone){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->tones=3Dms_list_remo= ve(lc->tones,tone);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 linphone_tone_description_d= estroy(tone);
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 tone=3Dlinphone_tone_description_new(reason,id= ,audiofile);
=C2=A0=C2=A0=C2=A0 lc->tones=3Dms_list_append(lc->tones,ton= e);
}

/**
=C2=A0* Assign an audio file to be played locally upon call failu= re, for a given reason.
=C2=A0* @param lc the core
=C2=A0* @param reason the #LinphoneReason representing the failur= e error code.
=C2=A0* @param audiofile a wav file to be played when such call failure happens.
=C2=A0* @ingroup misc
**/
void linphone_core_set_call_error_tone(LinphoneCore *lc, LinphoneReason reason, const char *audiofile){
=C2=A0=C2=A0=C2=A0 _linphone_core_set_tone(lc,reason,LinphoneTone= Undefined, audiofile);
}

/**
=C2=A0* Assign an audio file to be played as a specific tone id.<= br> =C2=A0* This function typically allows to customize telephony ton= es per country.
=C2=A0* @param lc the core
=C2=A0* @param id the tone id
=C2=A0* @param audiofile a wav file to be played.
**/
void linphone_core_set_tone(LinphoneCore *lc, LinphoneToneID id, const char *audiofile){
=C2=A0=C2=A0=C2=A0 _linphone_core_set_tone(lc, LinphoneReasonNone= , id, audiofile);
}

const MSCryptoSuite * linphone_core_get_srtp_crypto_suites(LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 const char *config=3Dlp_config_get_string(lc->config,"sip","srtp_crypto_s= uites","AES_CM_128_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_32, AES_CM_256_HMAC_SHA1_80, AES_CM_256_HMAC_SHA1_32");
=C2=A0=C2=A0=C2=A0 char *tmp=3Dms_strdup(config);
=C2=A0=C2=A0=C2=A0 char *sep;
=C2=A0=C2=A0=C2=A0 char *pos;
=C2=A0=C2=A0=C2=A0 char *nextpos;
=C2=A0=C2=A0=C2=A0 char *params;
=C2=A0=C2=A0=C2=A0 int found=3D0;
=C2=A0=C2=A0=C2=A0 MSCryptoSuite *result=3DNULL;
=C2=A0=C2=A0=C2=A0 pos=3Dtmp;
=C2=A0=C2=A0=C2=A0 do{
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sep=3Dstrchr(pos,',');
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (!sep) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sep=3Dpo= s+strlen(pos);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 nextpos=3D= NULL;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 *sep=3D'= \0';
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 nextpos=3D= sep+1;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 while(*pos=3D=3D' ') ++pos;= /*strip leading spaces*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 params=3Dstrchr(pos,' '); /= *look for params that arrive after crypto suite name*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (params){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 while(*p= arams=3D=3D' ') ++params; /*strip parameters leading space*/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (sep-pos>0){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 MSCrypto= SuiteNameParams np;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 MSCrypto= Suite suite;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 np.name=3D= pos;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 np.param= s=3Dparams;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 suite=3Dms_crypto_suite_build_from_name_params(&np);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (suit= e!=3DMS_CRYPTO_SUITE_INVALID){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 result=3Dms_realloc(result,(found+2)*sizeof(MSCryptoSuite));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 result[found]=3Dsuite;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 result[found+1]=3DMS_CRYPTO_SUITE_INVALID;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 found++;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 ms_message("Configured srtp crypto suite: %s %s",np.name,np.params ? np.params : "");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pos=3Dnextpos;
=C2=A0=C2=A0=C2=A0 }while(pos);
=C2=A0=C2=A0=C2=A0 ms_free(tmp);
=C2=A0=C2=A0=C2=A0 if (lc->rtp_conf.srtp_suites){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_free(lc->rtp_conf.srt= p_suites);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->rtp_conf.srtp_suites= =3DNULL;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 lc->rtp_conf.srtp_suites=3Dresult;
=C2=A0=C2=A0=C2=A0 return result;
}

static char * seperate_string_list(char **str) {
=C2=A0=C2=A0=C2=A0 char *ret;

=C2=A0=C2=A0=C2=A0 if (str =3D=3D NULL) return NULL;
=C2=A0=C2=A0=C2=A0 if (*str =3D=3D NULL) return NULL;
=C2=A0=C2=A0=C2=A0 if (**str =3D=3D '\0') return NULL;

=C2=A0=C2=A0=C2=A0 ret =3D *str;
=C2=A0=C2=A0=C2=A0 for ( ; **str!=3D'\0' && **str!=3D' ' = && **str!=3D','; (*str)++);
=C2=A0=C2=A0=C2=A0 if (**str =3D=3D '\0') {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return ret;
=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 **str =3D '\0';
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 do { (*str)++; } while (**s= tr!=3D'\0' && (**str=3D=3D' ' || **str=3D=3D','));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return ret;
=C2=A0=C2=A0=C2=A0 }
}

MsZrtpCryptoTypesCount linphone_core_get_zrtp_key_agreement_suites(LinphoneCore *lc, MSZrtpKeyAgreement keyAgreements[MS_MAX_ZRTP_CRYPTO_TYPES]){
=C2=A0=C2=A0=C2=A0 char * zrtpConfig =3D (char*)lp_config_get_string(lc->config, "sip", "zrtp_key_agreements_suites", NULL);
=C2=A0=C2=A0=C2=A0 MsZrtpCryptoTypesCount key_agreements_count =3D= 0;
=C2=A0=C2=A0=C2=A0 char * entry, * origPtr;
=C2=A0=C2=A0=C2=A0 if (zrtpConfig =3D=3D NULL) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ret= urn 0;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 origPtr =3D strdup(zrtpConfig);
=C2=A0=C2=A0=C2=A0 zrtpConfig =3D origPtr;
=C2=A0=C2=A0=C2=A0 while ((entry =3D seperate_string_list(&zr= tpConfig))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const MSZrtpKeyAgreement ag= reement =3D ms_zrtp_key_agreement_from_string(entry);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (agreement !=3D MS_ZRTP_= KEY_AGREEMENT_INVALID) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Configured zrtp key agreement: '%s'", ms_zrtp_key_agreement_to_string(agreement));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 keyAgree= ments[key_agreements_count++] =3D agreement;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 free(origPtr);
=C2=A0=C2=A0=C2=A0 return key_agreements_count;
}

MsZrtpCryptoTypesCount linphone_core_get_zrtp_cipher_suites(LinphoneCore *lc, MSZrtpCipher ciphers[MS_MAX_ZRTP_CRYPTO_TYPES]){
=C2=A0=C2=A0=C2=A0 char * zrtpConfig =3D (char*)lp_config_get_string(lc->config, "sip", "zrtp_cipher_suites", NULL);
=C2=A0=C2=A0=C2=A0 MsZrtpCryptoTypesCount cipher_count =3D 0;
=C2=A0=C2=A0=C2=A0 char * entry, * origPtr;
=C2=A0=C2=A0=C2=A0 if (zrtpConfig =3D=3D NULL) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ret= urn 0;
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 origPtr =3D strdup(zrtpConfig);
=C2=A0=C2=A0=C2=A0 zrtpConfig =3D origPtr;
=C2=A0=C2=A0=C2=A0 while ((entry =3D seperate_string_list(&zr= tpConfig))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const MSZrtpCipher cipher =3D ms_zrtp_cipher_from_string(entry);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (cipher !=3D MS_ZRTP_CIP= HER_INVALID) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Configured zrtp cipher: '%s'", ms_zrtp_cipher_to_string(cipher));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ciphers[= cipher_count++] =3D cipher;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 free(origPtr);
=C2=A0=C2=A0=C2=A0 return cipher_count;
}

MsZrtpCryptoTypesCount linphone_core_get_zrtp_hash_suites(LinphoneCore *lc, MSZrtpHash hashes[MS_MAX_ZRTP_CRYPTO_TYPES]){
=C2=A0=C2=A0=C2=A0 char * zrtpConfig =3D (char*)lp_config_get_string(lc->config, "sip", "zrtp_hash_suites", NULL);
=C2=A0=C2=A0=C2=A0 MsZrtpCryptoTypesCount hash_count =3D 0;
=C2=A0=C2=A0=C2=A0 char * entry, * origPtr;
=C2=A0=C2=A0=C2=A0 if (zrtpConfig =3D=3D NULL) {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ret= urn 0;
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 origPtr =3D strdup(zrtpConfig);
=C2=A0=C2=A0=C2=A0 zrtpConfig =3D origPtr;
=C2=A0=C2=A0=C2=A0 while ((entry =3D seperate_string_list(&zr= tpConfig))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const MSZrtpHash hash =3D m= s_zrtp_hash_from_string(entry);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (hash !=3D MS_ZRTP_HASH_= INVALID) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Configured zrtp hash: '%s'", ms_zrtp_hash_to_string(hash));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 hashes[h= ash_count++] =3D hash;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 free(origPtr);
=C2=A0=C2=A0=C2=A0 return hash_count;
}

MsZrtpCryptoTypesCount linphone_core_get_zrtp_auth_suites(LinphoneCore *lc, MSZrtpAuthTag authTags[MS_MAX_ZRTP_CRYPTO_TYPES]){
=C2=A0=C2=A0=C2=A0 char * zrtpConfig =3D (char*)lp_config_get_string(lc->config, "sip", "zrtp_auth_suites", NULL);
=C2=A0=C2=A0=C2=A0 MsZrtpCryptoTypesCount auth_tag_count =3D 0; =C2=A0=C2=A0=C2=A0 char * entry, * origPtr;
=C2=A0=C2=A0=C2=A0 if (zrtpConfig =3D=3D NULL) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return 0;
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 origPtr =3D strdup(zrtpConfig);
=C2=A0=C2=A0=C2=A0 zrtpConfig =3D origPtr;
=C2=A0=C2=A0=C2=A0 while ((entry =3D seperate_string_list(&zr= tpConfig))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const MSZrtpAuthTag authTag= =3D ms_zrtp_auth_tag_from_string(entry);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (authTag !=3D MS_ZRTP_AU= THTAG_INVALID) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Configured zrtp auth tag: '%s'", ms_zrtp_auth_tag_to_string(authTag));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 authTags= [auth_tag_count++] =3D authTag;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 free(origPtr);
=C2=A0=C2=A0=C2=A0 return auth_tag_count;
}

MsZrtpCryptoTypesCount linphone_core_get_zrtp_sas_suites(LinphoneCore *lc, MSZrtpSasType sasTypes[MS_MAX_ZRTP_CRYPTO_TYPES]){
=C2=A0=C2=A0=C2=A0 char * zrtpConfig =3D (char*)lp_config_get_string(lc->config, "sip", "zrtp_sas_suites", NULL);
=C2=A0=C2=A0=C2=A0 MsZrtpCryptoTypesCount sas_count =3D 0;
=C2=A0=C2=A0=C2=A0 char * entry, * origPtr;
=C2=A0=C2=A0=C2=A0 if (zrtpConfig =3D=3D NULL) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ret= urn 0;
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 origPtr =3D strdup(zrtpConfig);
=C2=A0=C2=A0=C2=A0 zrtpConfig =3D origPtr;
=C2=A0=C2=A0=C2=A0 while ((entry =3D seperate_string_list(&zr= tpConfig))) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 const MSZrtpSasType type =3D ms_zrtp_sas_type_from_string(entry);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (type !=3D MS_ZRTP_SAS_I= NVALID) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_messa= ge("Configured zrtp SAS type: '%s'", ms_zrtp_sas_type_to_string(type));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 sasTypes= [sas_count++] =3D type;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }

=C2=A0=C2=A0=C2=A0 free(origPtr);
=C2=A0=C2=A0=C2=A0 return sas_count;
}

const char ** linphone_core_get_supported_file_formats(LinphoneCore *core){
=C2=A0=C2=A0=C2=A0 static const char *mkv=3D"mkv";
=C2=A0=C2=A0=C2=A0 static const char *wav=3D"wav";
=C2=A0=C2=A0=C2=A0 if (core->supported_formats=3D=3DNULL){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 core->supported_formats=3D= ms_malloc0(3*sizeof(char*));
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 core->supported_formats[= 0]=3Dwav;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (ms_factory_lookup_filter_by_id(ms_factory_get_fallback(),MS_MKV_RECORDER= _ID)){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 core->= ;supported_formats[1]=3Dmkv;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return core->supported_formats;
}

bool_t linphone_core_symmetric_rtp_enabled(LinphoneCore*lc){
=C2=A0=C2=A0=C2=A0 return lp_config_get_int(lc->config,"rtp","= symmetric",1);
}

int linphone_core_set_network_simulator_params(LinphoneCore *lc, const OrtpNetworkSimulatorParams *params){
=C2=A0=C2=A0=C2=A0 if (params!=3D&lc->net_conf.netsim_para= ms)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 lc->net_conf.netsim_para= ms=3D*params;
=C2=A0=C2=A0=C2=A0 /*TODO: should we make some sanity checks on t= he parameters here*/
=C2=A0=C2=A0=C2=A0 return 0;
}

const OrtpNetworkSimulatorParams *linphone_core_get_network_simulator_params(const LinphoneCore *lc){
=C2=A0=C2=A0=C2=A0 return &lc->net_conf.netsim_params;
}

static const char *_tunnel_mode_str[3] =3D { "disable", "enable", "auto" };

LinphoneTunnelMode linphone_tunnel_mode_from_string(const char *string) {
=C2=A0=C2=A0=C2=A0 if(string !=3D NULL) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 int i;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 for(i=3D0; i<3 &&= ; strcmp(string, _tunnel_mode_str[i]) !=3D 0; i++);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if(i<3) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return (= LinphoneTunnelMode)i;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ms_error= ("Invalid tunnel mode '%s'", string);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return L= inphoneTunnelModeDisable;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 } else {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return LinphoneTunnelModeDi= sable;
=C2=A0=C2=A0=C2=A0 }
}

const char *linphone_tunnel_mode_to_string(LinphoneTunnelMode mode) {
=C2=A0=C2=A0=C2=A0 switch(mode){
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneTunnelModeAuto= :
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= auto";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneTunnelModeDisa= ble:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= disable";
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 case LinphoneTunnelModeEnab= le:
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 return "= enable";
=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 return "invalid";
}






--------------080708030001040202040009-- From MAILER-DAEMON Fri Jun 26 14:57:36 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8Yoi-0004i2-Jc for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 14:57:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Yog-0004hk-H2 for linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Yod-0006Hg-6c for linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:57:34 -0400 Received: from mail-qk0-f176.google.com ([209.85.220.176]:33412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Yod-0006HJ-2N for linphone-developers@nongnu.org; Fri, 26 Jun 2015 14:57:31 -0400 Received: by qkhu186 with SMTP id u186so59824201qkh.0 for ; Fri, 26 Jun 2015 11:57:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=BiTXmSFC8/6fSsjuUb3tZDymuzxer9DuGmcnVc6CKqY=; b=M2T1/pKLgFx4vR/G3JGh0Of/xBb1dR09kI5FSRHC/t1/qEfx3lufjmtcc4gNkEAhbq tLiCBE192X86rTdK+NppO7l5uhaYtcHKRaYmc4lMQK/fkIFLTxg3sK5SB1XXdbIoZb69 fp2MIJwxHHTWxJhkSxgOep2JwSNYO2GXE4CMKjhxHNOJ0zOzB2H2oARkTelBXIO1ECHa ayWIcEOnYPP+29pbjTdijXeXcPlliGNFuQPeIH0yVQuCTzVMcCySABdTIvBIGzBmgvdc OYIhv5pBHvgh3ilutCsBZUWUuXpPUYz7V+EJohf6td7rkxoIsyAwcxyYieon52KlptdU phMQ== X-Gm-Message-State: ALoCoQn0zXqUm8jYAnyGVd1Kp2VKQhqrM27SXESU5XbzgDdjDPeBDYWlpHRU9FzERuqs19On5CHg MIME-Version: 1.0 X-Received: by 10.55.22.100 with SMTP id g97mr7345782qkh.6.1435345049227; Fri, 26 Jun 2015 11:57:29 -0700 (PDT) Received: by 10.96.246.42 with HTTP; Fri, 26 Jun 2015 11:57:28 -0700 (PDT) X-Originating-IP: [24.212.188.183] Date: Fri, 26 Jun 2015 14:57:28 -0400 Message-ID: From: Russell Treleaven To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1147adbeca38dd0519704f4b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.176 Subject: [Linphone-developers] small issue with linphone on linux X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 18:57:35 -0000 --001a1147adbeca38dd0519704f4b Content-Type: text/plain; charset=UTF-8 I am running Linphone 3.8.3 from the launchpad repo on Ubuntu 14.04.2 LTS I would like the ringer to use my speakers which are connected via hdmi I have the following key/vals in .linphonerc -------------- [sound] playback_dev_id=PulseAudio: default ringer_dev_id=ALSA: HDA Intel HDMI capture_dev_id=PulseAudio: default -------------- But Linphone always used PulseAudio default -------------- linphonec> soundcard list 0: PulseAudio: default 1: ALSA: default device 2: ALSA: HDA Intel HDMI 3: ALSA: HDA Intel PCH linphonec> soundcard show Ringer device: PulseAudio: default Playback device: PulseAudio: default Capture device: PulseAudio: default -------------- Is there a workaround? If not I would like to file a bug report. Sincerely, Russell Treleaven --001a1147adbeca38dd0519704f4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am running Linphone 3.8.3 from the launchpad repo on Ubu= ntu 14.04.2 LTS

I would like the ringer to use my speake= rs which are connected via hdmi

I have the followi= ng key/vals in .linphonerc=C2=A0
--------------
[s= ound]
playback_dev_id=3DPulseAudio: default
ringer_dev_= id=3DALSA: HDA Intel HDMI
capture_dev_id=3DPulseAudio: default
--------------
But Linphone always used PulseAu= dio default
--------------
linphonec> sound= card list
0: PulseAudio: default
1: ALSA: default devic= e
2: ALSA: HDA Intel HDMI
3: ALSA: HDA Intel PCH
<= div>linphonec> soundcard show
Ringer device: PulseAudio: d= efault
Playback device: PulseAudio: default
Capture dev= ice: PulseAudio: default
--------------
Is th= ere a workaround?
If not I would like to file a bug repo= rt.

Sincerely,

Russ= ell Treleaven


--001a1147adbeca38dd0519704f4b-- From MAILER-DAEMON Fri Jun 26 15:20:43 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8ZB5-0005cB-7T for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 15:20:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8ZB2-0005bm-SN for linphone-developers@nongnu.org; Fri, 26 Jun 2015 15:20:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8ZB1-0001vj-Ne for linphone-developers@nongnu.org; Fri, 26 Jun 2015 15:20:40 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:36051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8ZB1-0001v7-Gk for linphone-developers@nongnu.org; Fri, 26 Jun 2015 15:20:39 -0400 Received: by wicnd19 with SMTP id nd19so25424647wic.1 for ; Fri, 26 Jun 2015 12:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=QRoduwBsfon+ZhsSKXblu6rUyNgczhrlSyj8MOMBjgA=; b=fM1mAYc68NCHOTczu2m3KG0tq8kjflHGZRqx3Gqe4Mt3UO0j/owz22SzxLV5VPr3WA q8QGQHViVAKjzjCApDuDpCvNDiaX8N6Ra1IUbrqCOV9h9E1hIr8GZDjD3IXtJJu2k6up MJmHE+V27L4NplRuB0gkOD6VlpgLSm957b5hd2tcq6u0HoC6vXmzpvGS0DW9j5CMlVkz SmNHk5XZ4B4SfEMxe04WxX3gnrGbh4bJB4d+wYeeEiVNIBDaLsr873++C/u/B08hd6Wr Lr6k9dF9gNziZr4X759ZDyw7CgBS2C88q+E1oXlUT6V/iJeLgXdtDcII7bdiXJJOhIlq elbg== X-Received: by 10.180.36.51 with SMTP id n19mr7390152wij.20.1435346438119; Fri, 26 Jun 2015 12:20:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.108.200 with HTTP; Fri, 26 Jun 2015 12:19:58 -0700 (PDT) In-Reply-To: References: From: Liviu Andronic Date: Fri, 26 Jun 2015 21:19:58 +0200 Message-ID: To: linphone-developers@nongnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22c Subject: Re: [Linphone-developers] small issue with linphone on linux X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 19:20:41 -0000 On Fri, Jun 26, 2015 at 8:57 PM, Russell Treleaven wrote: > I am running Linphone 3.8.3 from the launchpad repo on Ubuntu 14.04.2 LTS > > I would like the ringer to use my speakers which are connected via hdmi > > I have the following key/vals in .linphonerc > -------------- > [sound] > playback_dev_id=PulseAudio: default > ringer_dev_id=ALSA: HDA Intel HDMI > capture_dev_id=PulseAudio: default > -------------- > But Linphone always used PulseAudio default > Try to open pavucontrol and see if changing the default output device there has the desired effect. Liviu > -------------- > linphonec> soundcard list > 0: PulseAudio: default > 1: ALSA: default device > 2: ALSA: HDA Intel HDMI > 3: ALSA: HDA Intel PCH > linphonec> soundcard show > Ringer device: PulseAudio: default > Playback device: PulseAudio: default > Capture device: PulseAudio: default > -------------- > Is there a workaround? > If not I would like to file a bug report. > > Sincerely, > > Russell Treleaven > > > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library From MAILER-DAEMON Fri Jun 26 16:18:55 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8a5P-0002Yn-2h for mharc-linphone-developers@gnu.org; Fri, 26 Jun 2015 16:18:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8a5N-0002YQ-74 for linphone-developers@nongnu.org; Fri, 26 Jun 2015 16:18:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8a5J-0005em-Cg for linphone-developers@nongnu.org; Fri, 26 Jun 2015 16:18:53 -0400 Received: from mail-qg0-f48.google.com ([209.85.192.48]:34900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8a5J-0005eM-7f for linphone-developers@nongnu.org; Fri, 26 Jun 2015 16:18:49 -0400 Received: by qgeu36 with SMTP id u36so39065354qge.2 for ; Fri, 26 Jun 2015 13:18:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=fRwZ5/7s7mSD38ob5hg1kPAmDsodimztAbHs9vKZ2W0=; b=S/Oc1JAob+VUYQ3Nt/lH5FRNgdFfORVJtMvTulgMwMJ0aoG7WMID+TwtInru+6DIMR vqtYNVRv04+z3ducJu4pgU1oxk2aLh1C0suHFBRkuwQ0V9ijbjgCf9r0dcQcedwwmT5U ueDJZwVJ+v+55iL9B9KOISIpGa4GxSl0mbMzYDldSQHMNYTEqk6nEYJv1hfkn/zH1UHV BdFsqjgtgXnMWp33xGaac5CjOt5HKaQ5wXvBH6KGTRNdmPME54B1wyc0nmefU2bqsmzk 3aFt2urqMIU5XrsA/G66pMeAbPajawfIb208IpAUfCSBlKDJU9SK/qZ/0U2uS0aHlxbR GVCA== X-Gm-Message-State: ALoCoQmdCtgdVm79l7hUFc1v/Gr8M7oUR2wR88eeuRnXIHcZ3gqoQ/KxHm7CVW/u03Gutfr1qD2B MIME-Version: 1.0 X-Received: by 10.140.237.147 with SMTP id i141mr5169029qhc.25.1435349928646; Fri, 26 Jun 2015 13:18:48 -0700 (PDT) Received: by 10.96.246.42 with HTTP; Fri, 26 Jun 2015 13:18:48 -0700 (PDT) X-Originating-IP: [24.212.188.183] In-Reply-To: References: Date: Fri, 26 Jun 2015 16:18:48 -0400 Message-ID: From: Russell Treleaven To: linphone-developers@nongnu.org Content-Type: multipart/alternative; boundary=001a1135ad28a037c005197172cb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.48 Subject: Re: [Linphone-developers] small issue with linphone on linux X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 20:18:54 -0000 --001a1135ad28a037c005197172cb Content-Type: text/plain; charset=UTF-8 Changing the default output device with pavucontrol and changing .linphonerc like this [sound] playback_dev_id=ALSA: HDA Intel PCH ringer_dev_id=PulseAudio: default capture_dev_id=ALSA: HDA Intel PCH Fixed the problem Thanks Russell On Fri, Jun 26, 2015 at 3:19 PM, Liviu Andronic wrote: > On Fri, Jun 26, 2015 at 8:57 PM, Russell Treleaven > wrote: > > I am running Linphone 3.8.3 from the launchpad repo on Ubuntu 14.04.2 LTS > > > > I would like the ringer to use my speakers which are connected via hdmi > > > > I have the following key/vals in .linphonerc > > -------------- > > [sound] > > playback_dev_id=PulseAudio: default > > ringer_dev_id=ALSA: HDA Intel HDMI > > capture_dev_id=PulseAudio: default > > -------------- > > But Linphone always used PulseAudio default > > > > Try to open pavucontrol and see if changing the default output device > there has the desired effect. > > Liviu > > > > -------------- > > linphonec> soundcard list > > 0: PulseAudio: default > > 1: ALSA: default device > > 2: ALSA: HDA Intel HDMI > > 3: ALSA: HDA Intel PCH > > linphonec> soundcard show > > Ringer device: PulseAudio: default > > Playback device: PulseAudio: default > > Capture device: PulseAudio: default > > -------------- > > Is there a workaround? > > If not I would like to file a bug report. > > > > Sincerely, > > > > Russell Treleaven > > > > > > > > _______________________________________________ > > Linphone-developers mailing list > > Linphone-developers@nongnu.org > > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > > > > -- > Do you think you know what math is? > http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 > Or what it means to be intelligent? > http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 > Think again: > http://www.ideasroadshow.com/library > > _______________________________________________ > Linphone-developers mailing list > Linphone-developers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/linphone-developers > --001a1135ad28a037c005197172cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Changing the default output device with pavucontrol
= =C2=A0and changing .linphonerc like this

[sou= nd]
playback_dev_id=3DALSA: HDA Intel PCH
ringer_dev_id= =3DPulseAudio: default
capture_dev_id=3DALSA: HDA Intel PCH
=

Fixed the problem

Thanks=

Russell


On Fri, Jun 26, 2015 at 3:19 PM,= Liviu Andronic <landronimirc@gmail.com> wrote:
On Fri, Jun 26, 2015 at 8:57 PM= , Russell Treleaven
<rtreleaven@bunnykick.ca&= gt; wrote:
> I am running Linphone 3.8.3 from the launchpad repo on Ubuntu 14.04.2 = LTS
>
> I would like the ringer to use my speakers which are connected via hdm= i
>
> I have the following key/vals in .linphonerc
> --------------
> [sound]
> playback_dev_id=3DPulseAudio: default
> ringer_dev_id=3DALSA: HDA Intel HDMI
> capture_dev_id=3DPulseAudio: default
> --------------
> But Linphone always used PulseAudio default
>

Try to open pavucontrol and see if changing the default output devic= e
there has the desired effect.

Liviu


> --------------
> linphonec> soundcard list
> 0: PulseAudio: default
> 1: ALSA: default device
> 2: ALSA: HDA Intel HDMI
> 3: ALSA: HDA Intel PCH
> linphonec> soundcard show
> Ringer device: PulseAudio: default
> Playback device: PulseAudio: default
> Capture device: PulseAudio: default
> --------------
> Is there a workaround?
> If not I would like to file a bug report.
>
> Sincerely,
>
> Russell Treleaven
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers@= nongnu.org
> https://lists.nongnu.org/mailman/l= istinfo/linphone-developers
>



--
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-s= tewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-= duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongn= u.org
https://lists.nongnu.org/mailman/listin= fo/linphone-developers

--001a1135ad28a037c005197172cb-- From MAILER-DAEMON Mon Jun 29 16:21:27 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z9fYV-0006bi-Qc for mharc-linphone-developers@gnu.org; Mon, 29 Jun 2015 16:21:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9fYO-0006QU-DK for linphone-developers@nongnu.org; Mon, 29 Jun 2015 16:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9fYK-0005N7-Sv for linphone-developers@nongnu.org; Mon, 29 Jun 2015 16:21:20 -0400 Received: from mail-bl2on0114.outbound.protection.outlook.com ([65.55.169.114]:64832 helo=na01-bl2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9fYK-0005N1-Kp for linphone-developers@nongnu.org; Mon, 29 Jun 2015 16:21:16 -0400 Received: from BLUPR11MB0819.namprd11.prod.outlook.com (10.163.217.141) by BLUPR11MB0819.namprd11.prod.outlook.com (10.163.217.141) with Microsoft SMTP Server (TLS) id 15.1.195.15; Mon, 29 Jun 2015 20:21:15 +0000 Received: from BLUPR11MB0819.namprd11.prod.outlook.com ([10.163.217.141]) by BLUPR11MB0819.namprd11.prod.outlook.com ([10.163.217.141]) with mapi id 15.01.0195.005; Mon, 29 Jun 2015 20:21:15 +0000 From: Karn Saheb To: "linphone-developers@nongnu.org" Thread-Topic: [Linphone-developers] Windows Phone 8 Push Notification Service Thread-Index: AQHQsqkmjKny7PJWHUuH6x3CM5Jwxw== Date: Mon, 29 Jun 2015 20:21:15 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nongnu.org; dkim=none (message not signed) header.d=none; x-originating-ip: [69.17.155.105] x-microsoft-exchange-diagnostics: 1; BLUPR11MB0819; 5:tSQcyaBKALOQkLXi2VKLBq9JBR5CIX//X4/8lZHTQwY39hGJ0zZtutDKf27CGQ0DH6IcI1HGDVgjp3ExKzVRDCr9rZ9j5Twk9+C8rwtkbtRhVs6dSj0vSYQdtqToNfPauwsCM+b90lzKAagkBrwr1w==; 24:Nq/PrVZXyXrxic26w+4uwpEaWFJYE/XV6W4K7vIGsGin4dvFKiyrOWenPzpk0HB5Uy+U1X1sZ/FDunqDHHbqWf+DtTbfNFM4iunMTt4c6uc=; 20:PMD+o4iE0i0XhHBhQ6QDbGv7jNDYjAEsYpxxiX5OG5bJdJ8onUYrvwtVrmMBWUwuQJWw1VB+1gVGpzQTG2NgWg== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR11MB0819; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR11MB0819; BCL:0; PCL:0; RULEID:; SRVR:BLUPR11MB0819; x-forefront-prvs: 0622A98CD5 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(5002640100001)(2501003)(99286002)(46102003)(76576001)(229853001)(2351001)(110136002)(107886002)(189998001)(5001960100002)(19580395003)(2656002)(16236675004)(33656002)(87936001)(2900100001)(19625215002)(106116001)(66066001)(74316001)(77096005)(122556002)(102836002)(15975445007)(40100003)(19300405004)(2420400003)(5003600100002)(450100001)(77156002)(62966003)(50986999)(54356999)(92566002)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR11MB0819; H:BLUPR11MB0819.namprd11.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: multipart/alternative; boundary="_000_BLUPR11MB08192E961CB0DC8CCEF013E590AA0BLUPR11MB0819namp_" MIME-Version: 1.0 X-OriginatorOrg: enflick.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2015 20:21:15.1180 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 495587b9-d9ff-4e7a-b92f-41005449be86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR11MB0819 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] [fuzzy] X-Received-From: 65.55.169.114 Subject: [Linphone-developers] Windows Phone 8 Push Notification Service X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 20:21:26 -0000 --_000_BLUPR11MB08192E961CB0DC8CCEF013E590AA0BLUPR11MB0819namp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGV5IHRoZXJlLA0KDQoNCg0KSSBhbSBoYXZpbmcgdHJvdWJsZSBnZXR0aW5nIHRoZSBMaW5waG9u ZSB3aW5kb3dzIHBob25lIHZlcnNpb24gdG8gbGF1bmNoIHRoZSBkaWFsZXIgZnJvbSBhIHB1c2gg bm90aWZpY2F0aW9uLiBJIGZlZWwgbGlrZSBhIG5lZWQgdG8gcmVnaXN0ZXIgaXQgd2l0aCB0aGUg U0lQIHNlcnZpY2UgYmVmb3JlIEkgY2FuIHVzZSB0aGUgcHVzaCBub3RpZmljYXRpb25zIHRvIGxh dW5jaCB0aGUgZGlhbGVyIGZyb20gdGhlIGJhY2tncm91bmQuDQoNCg0KDQpJdCBpcyB0byBiZSBu b3RlZCB0aGF0IHRoZSBpbmNvbWluZyBjYWxscyBkbyBsYXVuY2ggdGhlIGRhaWxlciB3aGVuIHRo ZSBhcHAgaXMgaW4gdGhlIGZvcmVncm91bmQuDQoNCg0KDQpDYW4gYW55b25lIGFkdmlzZSBtZSBv biBob3cgdG8gZW5hYmxlIHRoaXMuDQoNCg0KQ2hlZXJzIQ0KDQpLYXJuLg0KDQoNCg0K --_000_BLUPR11MB08192E961CB0DC8CCEF013E590AA0BLUPR11MB0819namp_ Content-Type: text/html; charset="utf-8" Content-ID: <8DF2B29564BE9E47BE57CCC57A82465B@enflick.onmicrosoft.com> Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4 bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo dHR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ljYXRp b25zIHRvIGxhdW5jaCB0aGUgZGlhbGVyIGZyb20gdGhlIGJhY2tncm91bmQuDQo8bzpwPjwvbzpw PjwvcD4NCjxwPiZuYnNwOzxvOnA+PC9vOnA+PC9wPg0KPHA+SXQgaXMgdG8gYmUgbm90ZWQgdGhh dCB0aGUgaW5jb21pbmcgY2FsbHMgZG8gbGF1bmNoIHRoZSBkYWlsZXIgd2hlbiB0aGUgYXBwIGlz IGluIHRoZSBmb3JlZ3JvdW5kLjxvOnA+PC9vOnA+PC9wPg0KPHA+Jm5ic3A7PG86cD48L286cD48 L3A+DQo8cD5DYW4gYW55b25lIGFkdmlzZSBtZSBvbiBob3cgdG8gZW5hYmxlIHRoaXMuPG86cD48 L286cD48L3A+DQo8cD4mbmJzcDs8bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi PkNoZWVycyE8bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPiZuYnNwOzxvOnA+ PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+S2Fybi48bzpwPjwvbzpwPjwvcD4NCjxw PjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8 L286cD48L3A+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg== --_000_BLUPR11MB08192E961CB0DC8CCEF013E590AA0BLUPR11MB0819namp_-- From MAILER-DAEMON Tue Jun 30 11:27:42 2015 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z9xRm-0000Nz-O8 for mharc-linphone-developers@gnu.org; Tue, 30 Jun 2015 11:27:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9xRj-0000Ns-Vj for linphone-developers@nongnu.org; Tue, 30 Jun 2015 11:27:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9xRf-0007Tq-0Z for linphone-developers@nongnu.org; Tue, 30 Jun 2015 11:27:39 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:36723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9xRe-0007Ta-RL for linphone-developers@nongnu.org; Tue, 30 Jun 2015 11:27:34 -0400 Received: by widjy10 with SMTP id jy10so33704680wid.1 for ; Tue, 30 Jun 2015 08:27:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=1zaOA5V15USsGhH3irNpMNsbd0iamA7AGcA+b5cBZMg=; b=OABnxFeTptZ+Wc0y5EV0Q1iQNtApVobfWyw16yaPSM33JLp7opY5jyvJLH9B/HC5z4 tx9sBUg5HLIfL32mfbK07yLU0TAHwfCMwGlJc3esTIlUfz/w/w+WQtNI6wzqTuGnzMTP beOoJKUpgG30HWGls50goYbPx8D/HwF/V/8DFLsYeYacyCPQ2BP23ceiOLq96tgnPmxP 03t1QnK/rcs+e8sBZroPjjHfLjFXIStLf+ZCy+Yf8F/uFhlmZTE6C2h8jTVZJ2mYkfRq W+pfr4gGPCFJuSR7fl2/QKUjSv1ZiPhl6DpR+jTENggcObj1zmFYvQ2lLaLagRQmyNI7 lQ0Q== X-Gm-Message-State: ALoCoQmZKCtAIFUN1Y88+cO7EtDlxR/9r1gHYj6WSNaGqIX6mqd/I/ytqrlWabIV0nplRegyAQkL X-Received: by 10.194.120.230 with SMTP id lf6mr43128595wjb.41.1435678052524; Tue, 30 Jun 2015 08:27:32 -0700 (PDT) Received: from [192.168.1.98] ([80.12.95.21]) by mx.google.com with ESMTPSA id be3sm17509407wib.21.2015.06.30.08.27.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jun 2015 08:27:31 -0700 (PDT) From: Benoit Jouanigo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: Date: Tue, 30 Jun 2015 17:27:30 +0200 To: linphone-developers@nongnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.171 Subject: [Linphone-developers] Turn off/on my front camera during a call X-BeenThere: linphone-developers@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: linphone-developers@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 15:27:41 -0000 Hi, I need your help for something. During a call I would like = disable/enable my front camera.=20 I saw two way: The first one: LinphoneCallParams params =3D lCall.getCurrentParamsCopy(); params.setVideoEnabled(false); mLc.updateCall(lCall, params); =3D> But this way disable video stream on both directions. The second one: mLc.enableVideo(false, true) =3D> But I can=E2=80=99t use this method during a call. Do you know how can I do that? Thank you=