<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 26/05/2020 15:33, Olivier wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPeT9jgjnYWaKoZhDcPng2e2iX7sMMwcHepwEyMvoEc+tM_y9Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi John,</div>
<div><br>
</div>
<div>1. Could you get any further, in your quest for working BLF
with linphone ?</div>
</div>
</blockquote>
<p>The patches to get linphone-3.12 BLF working with Asterisk are
here:</p>
<p><a class="moz-txt-link-freetext" href="http://perso.calvaedi.com/~john/linphone-3/">http://perso.calvaedi.com/~john/linphone-3/</a></p>
<p>They're pretty damnned trivial:</p>
<p>1. add the "Accept" header to the SUBSCRIBE message so asterisk
doesn't reject it.</p>
<p>2. don't trash the SIP dialog if the SUBSCRIBE refresh is
rejected because of a stale nonce.</p>
<p>3. If asterisk says the user is on the phone set the status to on
the phone.</p>
<p>All except the 3rd one are compatible with linphone-4.
Implementing the same feature with linphone-4 is left as an
exercise for the reader.</p>
<p><br>
</p>
<blockquote type="cite" style="color: #000000;">2. Have you tried
with a different Linphone version (4.12 is pending on Linux,
packaged as an AppImage, or 4.11 exists on iOS/Android/Win10) ?
<br>
</blockquote>
<br>
Version 4 of linphone is, frankly, rubbish. I have managed to hack
it to the point where presence shows green for connected contact and
grey for disconnected. However this requires setting the "send
subscribe" flag in the linphone contacts db and linphone 4 has no UI
for setting this flag, you have to do it using sqlite3 directly (or
setting up your contacts in linphone 3).
<br>
<br>
</body>
</html>