<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 23/03/2020 11:29, Joshua C. Colp
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM0A2Z3JU9YHf=1SUaC3rJAO95MsFAOkUpNww6myGtc+RsjeSQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Mon, Mar 23, 2020 at 7:15 AM John Hughes <<a
href="mailto:john@calva.com" moz-do-not-send="true">john@calva.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi, in these dark days of
COVID-19 lockdown I'm using linphone to <br>
connect to my office asterisk system for working from home.<br>
<br>
It's going pretty well but the presence/BLF functions don't
appear to work.<br>
<br>
In the linphone logs and asterisk debug I find that asterisk
is <br>
rejecting linphone's PUBLISH message:<br>
<br>
</blockquote>
<div><br>
</div>
<div>Asterisk has no support for receiving/storing/using such
a PUBLISH message. Asterisk instead generates state itself
based on whether something is on the phone, busy, etc. This
is received using a SUBSCRIBE and NOTIFY. </div>
</div>
<div><br>
</div>
</div>
</blockquote>
<p>Aha! Thanks a bunch. Now I just have to fix linphone's broken
SUBSCRIBE...</p>
<pre>Mar 23 11:48:37] WARNING[2128]: chan_sip.c:28198 handle_request_subscribe: SUBSCRIBE failure: <b>no Accept header</b>: pvt: stateid: -1, laststate: 0, dialogver: 0, subscribecont: '', subscribeuri: ''
</pre>
<br>
</body>
</html>