<div dir="ltr"><div>Hi Peter,</div>
<div> </div>
<div>1. Set also the following parameters:</div>
<div> <param name="dbname" value="share_presence"/><br> <param name="presence-hosts" value="$${domain}"/></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"><<a href="mailto:lists@telefaks.de">lists@telefaks.de</a>></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> <param name="manage-shared-appearance" value="true"/><br>in the internal profile. Also presence handling is enabled.<br><br>In the Polycom phone settings we set<br> reg.1.type="shared"<br>
reg.1.bargeInEnabled="1"<br> reg.1.callsPerLineKey="1"<br>according to the wiki and the Polycom documentation<br><br>In phone1.cfg we set<br> divert.1.sharedDisabled="0"<br><br>and in sip.cfg we set<br>
call.shared.disableDivert="1"<br> reg.1.bargeInEnabled="1"<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 "hold" 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='appearance-index=1',call_info_state='idle'<br>
where hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and<br>uuid='d80df99a-ece4-11df-ab6f-f761d81a6b8a'<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='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sip_from_user='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>'<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 > -1 and hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sub_to_user='4702'<br>and sub_to_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and (event='call-info' or event='line-seize')<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='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and call_info_state='seized'<br>2010-11-10 17:09:13.330530 [ERR] sofia_presence.c:721 STATE SQL update<br>sip_dialogs set call_info='appearance-index=1',call_info_state='idle'<br>
where hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and<br>uuid='d80df99a-ece4-11df-ab6f-f761d81a6b8a'<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='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sip_from_user='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>'<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 > -1 and hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sub_to_user='4702'<br>and sub_to_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and (event='call-info' or event='line-seize')<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='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and call_info_state='seized'<br>2010-11-10 17:09:13.332492 [ERR] sofia_presence.c:721 STATE SQL update<br>sip_dialogs set call_info='appearance-index=1',call_info_state='idle'<br>
where hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and<br>uuid='d80df99a-ece4-11df-ab6f-f761d81a6b8a'<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='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sip_from_user='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>'<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 > -1 and hostname='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and sub_to_user='4702'<br>and sub_to_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and (event='call-info' or event='line-seize')<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='4702' and<br>
sip_from_host='<a href="http://mydomain.org/" target="_blank">mydomain.org</a>' and call_info_state='seized'<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>