<div dir="ltr"><div>Hi Peter,</div>
<div> </div>
<div>1. Set also the following parameters:</div>
<div>    &lt;param name=&quot;dbname&quot; value=&quot;share_presence&quot;/&gt;<br>    &lt;param name=&quot;presence-hosts&quot; value=&quot;$${domain}&quot;/&gt;</div>
<div>2. At the phone do NOT set the third party name.</div>
<div> </div>
<div>You can also have a look at <a href="http://wiki.freeswitch.org/wiki/Polycom_configuration">http://wiki.freeswitch.org/wiki/Polycom_configuration</a></div>
<div> </div>
<div>                 regards, __Yehavi:<br><br></div>
<div class="gmail_quote">2010/11/10 Peter Steinbach <span dir="ltr">&lt;<a href="mailto:lists@telefaks.de">lists@telefaks.de</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello,<br><br>we followed the advices in<br>   <a href="http://wiki.freeswitch.org/wiki/Shared_Line_Appearance" target="_blank">http://wiki.freeswitch.org/wiki/Shared_Line_Appearance</a><br>
and set<br> &lt;param name=&quot;manage-shared-appearance&quot; value=&quot;true&quot;/&gt;<br>in the internal profile. Also presence handling is enabled.<br><br>In the Polycom phone settings we set<br>   reg.1.type=&quot;shared&quot;<br>
   reg.1.bargeInEnabled=&quot;1&quot;<br>   reg.1.callsPerLineKey=&quot;1&quot;<br>according to the wiki and the Polycom documentation<br><br>In phone1.cfg we set<br>   divert.1.sharedDisabled=&quot;0&quot;<br><br>and in sip.cfg we set<br>
   call.shared.disableDivert=&quot;1&quot;<br>   reg.1.bargeInEnabled=&quot;1&quot;<br><br>When we call the destination number,<br> - both phones ring<br> - we pick up one phone<br> - other phone stops ringing<br> - we press &quot;hold&quot; on the active phone<br>
 - nothings happens to the other phone<br><br>Are we doing something wrong here? We work with Polycom FW 3.2.3 and<br>Freeswitch GIT compiled last friday.<br><br>Strange is, that Freeswitch shows a number of error messages related to<br>
SQL (we use ODBC), although all SQL statements are valid and can be<br>sucessfully executed on the MySQL CLI. Also we do see records in<br>sip_dialogs but not a single record in sip_presence.<br><br>Any hints? What did you do to get this working?<br>
<br>Here are the error messages from freeswitch.log<br>==================================<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:721 STATE SQL update<br>sip_dialogs set call_info=&#39;appearance-index=1&#39;,call_info_state=&#39;idle&#39;<br>
where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and<br>uuid=&#39;d80df99a-ece4-11df-ab6f-f761d81a6b8a&#39;<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:728 PROCESS PRESENCE EVENT<br>
2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1925 PRES SQL select<br>sip_from_user,sip_from_host,call_info,call_info_state,uuid from<br>sip_dialogs where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39;<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1946 PRES SQL select<br>call_id,expires,sub_to_user,sub_to_host,event from sip_subscriptions<br>
where expires &gt; -1 and hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sub_to_user=&#39;4702&#39;<br>and sub_to_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and (event=&#39;call-info&#39; or event=&#39;line-seize&#39;)<br>
2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[a1859461-5362d6a6-c25a8bff@172.xx.xx.xx]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 1<br>[expires]=[1289412326]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 2<br>
[sub_to_user]=[4702]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 4<br>
[event]=[call-info]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[<a href="mailto:536c87c6-b366418f-2260bca4@172.21.20.194">536c87c6-b366418f-2260bca4@172.21.20.194</a>]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 1<br>
[expires]=[1289412332]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 2<br>[sub_to_user]=[4702]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>
2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1773 SLA3: 4<br>[event]=[call-info]<br>2010-11-10 17:09:13.329549 [ERR] sofia_presence.c:1961 CLEAR SQL delete<br>from sip_dialogs where sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and call_info_state=&#39;seized&#39;<br>2010-11-10 17:09:13.330530 [ERR] sofia_presence.c:721 STATE SQL update<br>sip_dialogs set call_info=&#39;appearance-index=1&#39;,call_info_state=&#39;idle&#39;<br>
where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and<br>uuid=&#39;d80df99a-ece4-11df-ab6f-f761d81a6b8a&#39;<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:728 PROCESS PRESENCE EVENT<br>
2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1925 PRES SQL select<br>sip_from_user,sip_from_host,call_info,call_info_state,uuid from<br>sip_dialogs where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39;<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1946 PRES SQL select<br>call_id,expires,sub_to_user,sub_to_host,event from sip_subscriptions<br>
where expires &gt; -1 and hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sub_to_user=&#39;4702&#39;<br>and sub_to_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and (event=&#39;call-info&#39; or event=&#39;line-seize&#39;)<br>
2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[a1859461-5362d6a6-c25a8bff@172.xx.xx.xx]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 1<br>[expires]=[1289412326]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 2<br>
[sub_to_user]=[4702]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 4<br>
[event]=[call-info]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[<a href="mailto:536c87c6-b366418f-2260bca4@172.21.20.194">536c87c6-b366418f-2260bca4@172.21.20.194</a>]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 1<br>
[expires]=[1289412332]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 2<br>[sub_to_user]=[4702]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>
2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1773 SLA3: 4<br>[event]=[call-info]<br>2010-11-10 17:09:13.331511 [ERR] sofia_presence.c:1961 CLEAR SQL delete<br>from sip_dialogs where sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and call_info_state=&#39;seized&#39;<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:721 STATE SQL update<br>sip_dialogs set call_info=&#39;appearance-index=1&#39;,call_info_state=&#39;idle&#39;<br>
where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and<br>uuid=&#39;d80df99a-ece4-11df-ab6f-f761d81a6b8a&#39;<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:728 PROCESS PRESENCE EVENT<br>
2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1925 PRES SQL select<br>sip_from_user,sip_from_host,call_info,call_info_state,uuid from<br>sip_dialogs where hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39;<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1946 PRES SQL select<br>call_id,expires,sub_to_user,sub_to_host,event from sip_subscriptions<br>
where expires &gt; -1 and hostname=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and sub_to_user=&#39;4702&#39;<br>and sub_to_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and (event=&#39;call-info&#39; or event=&#39;line-seize&#39;)<br>
2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[a1859461-5362d6a6-c25a8bff@172.xx.xx.xx]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 1<br>[expires]=[1289412326]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 2<br>
[sub_to_user]=[4702]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 4<br>
[event]=[call-info]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 0<br>[call_id]=[<a href="mailto:536c87c6-b366418f-2260bca4@172.21.20.194">536c87c6-b366418f-2260bca4@172.21.20.194</a>]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 1<br>
[expires]=[1289412332]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 2<br>[sub_to_user]=[4702]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 3<br>[sub_to_host]=[<a href="http://mydomain.org/" target="_blank">mydomain.org</a>]<br>
2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1773 SLA3: 4<br>[event]=[call-info]<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:1961 CLEAR SQL delete<br>from sip_dialogs where sip_from_user=&#39;4702&#39; and<br>
sip_from_host=&#39;<a href="http://mydomain.org/" target="_blank">mydomain.org</a>&#39; and call_info_state=&#39;seized&#39;<br><br>--<br>With kind regards<br>Peter Steinbach<br><br>Telefaks Services GmbH<br>Theo-Geisel-Strasse 25<br>
D 61250 Usingen, Germany<br>mailto:<a href="mailto:lists@telefaks.de">lists@telefaks.de</a><br>Internet: <a href="http://www.telefaks.de/" target="_blank">www.telefaks.de</a><br><br><br><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div>