r>
<h2>Polycom Phones (updated for 3.2.X firmware with asterisk 1.6.1
Jan/2010)
</h2>With SIP 3.2.X firmware (available on the Polycom download site)=20
and Asterisk 1.6.1, Polycom phones now support a full featured BLF=20
showing statuses of Ringing, Inuse and Online and one touch directed=20
call pickup.
<br>On the asterisk side all that needs to be done is to add a hint to=20
the extension and enable directed pickup. Directed pickup is enabled by=20
adding the following lines to extensios.conf=20
<br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0exten=A0=3D>=A0_*8.,1,SET(GLOBAL(PICKUPMARK)=3D${EXTEN:2})
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0exten=A0=3D>=A0_*8.,n,Pickup(${EXTEN:2}@PICKUPMARK)
</span><br>
<br>On the phone side for each line that is going to be monitored add
lines like the following to the phone's cfg file.
<br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0attendant.reg=3D"1"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0attendant.resourceList.1.address=3D"<a
href=3D"mailto:sip%3A205 at 192.168.1.102"
target=3D"_blank">sip:205 at 192.168.1.102</a>"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0attendant.resourceList.1.label=3D"205"=A0
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0attendant.resourceList.2.address=3D"<a
href=3D"mailto:sip%3A217 at 192.168.1.102"
target=3D"_blank">sip:217 at 192.168.1.102</a>"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0attendant.resourceList.2.label=3D"217"
</span><br>
<br><span
style=3D"font-family:monospace"></span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0call.directedCallPickupMethod=3D"legacy"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0call.directedCallPickupString=3D"*8"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<a
href=3D"http://feature.12.name"
target=3D"_blank">feature.12.name</a>=3D"directed-call-pickup"
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0feature.12.enabled=3D"1"
</span><br>Assuming my server is at 192.168.1.102, this will add
two=20
BLF lines to the phone for extensions 205 and 217. Calls incoming to=20
those extensions will show a blinking green led on the monitoring phone,
pressing the hard key will pick the call up, if it is answered=20
elsewhere the led will change to solid red. AFAIK this cannot be=20
configured via the phones web gui, you must use the cfg files. You can=20
also use versions of Asterisk older than 1.6.1 if you remove the=20
restriction on what asterisk thinks Polycom phones can handle. Look in=20
chan_sip.c for=20
<br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0if=A0(strstr(p->useragent,=A0"Polycom"))=A0{
</span><br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0p->subscribed=A0=3D=A0XPIDF_XML;
</span><br>and change that line to
<br><span
style=3D"font-family:monospace">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0p->subscribed=A0=3D=A0DIALOG_INFO_XML;
</span><br><div><div></div><div
class=3D"h5">
<br><br><div class=3D"gmail_quote">On Tue, Jun 14,
2011 at 8:36 AM, Jeff LaCoursiere <span
dir=3D"ltr"><<a href=3D"mailto:jeff at
sunfone.com" target=3D"_blank">jeff at
sunfone.com</a>></span> wrote:<br><blockquote
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<br>
Struggling with an IP650 and 7 IP335s this morning. =A0I have the following
hints defined (courtesy of FreePBX 2.9):<br>
<br>
extensions_additional.conf:<u></u>exten =3D>
300,hint,SIP/300<br>
extensions_additional.conf:<u></u>exten =3D>
301,hint,SIP/301<br>
extensions_additional.conf:<u></u>exten =3D>
302,hint,SIP/302<br>
extensions_additional.conf:<u></u>exten =3D>
303,hint,SIP/303<br>
extensions_additional.conf:<u></u>exten =3D>
304,hint,SIP/304<br>
extensions_additional.conf:<u></u>exten =3D>
305,hint,SIP/305<br>
extensions_additional.conf:<u></u>exten =3D>
307,hint,SIP/307<br>
extensions_additional.conf:<u></u>exten =3D>
308,hint,SIP/308<br>
extensions_additional.conf:<u></u>exten =3D>
322,hint,SIP/322<br>
extensions_additional.conf:<u></u>exten =3D>
350,hint,SIP/350<br>
extensions_additional.conf:<u></u>exten =3D>
400,hint,SIP/400<br>
<br>
The Polycoms are all pulling an XML directory via FTP where each extension has
"<BW>" (Buddy Watch) set to 1:<br>
<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<item><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0<ln>Mehra</ln><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0<fn>Ray</fn><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0<ct>301</ct><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0<sd>101</sd><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0<bw>1</bw><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</item><br>
<br>
This all actually works fine, and from the reception phone (the 650) I can see
the status of all the extensions, and if I dig into some menus on the 335 I can
see status as well. =A0So I would expect that "core show
hints" would show '8' for all extensions, but it
doesn't:<br>
<br>
artha*CLI> core show hints<br>
<br>
=A0 =A0-=3D Registered Asterisk Dial Plan Hints =3D-<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0300 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/300 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A07<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0301 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/301 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A08<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0302 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/302 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A08<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0303 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/303 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A08<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0304 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/304 State:InUse =A0 =A0 =A0 =A0 =A0 Watchers =A08<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0305 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/305 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A07<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0307 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/307 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A01<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0308 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/308 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A07<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0350 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/350 State:Idle =A0 =A0 =A0 =A0 =A0 =A0Watchers =A01<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0400 at ext-local =A0 =A0 =A0 =A0 =A0 :
SIP/400 State:InUse =A0 =A0 =A0 =A0 =A0 Watchers =A07<br>
----------------<br>
- 11 hints registered<br>
<br>
<br>
Something seems broken here. =A0And the 650 seems to "lose"
its hint for a phone once in a while, and report it as unreachable, even though
it can easily make and receive calls from it.<br>
<br>
Am I tilting at windmills? =A0Is this really unstable or has someone made it
work solidly?<br>
<br>
Thanks!<br>
<br>
-- <br>
<br>
Jeff LaCoursiere<br>
SunFone<br>
<a href=3D"tel:340-715-7600%20x222"
value=3D"+13407157600" target=3D"_blank">340-715-7600
x222</a><br>
<a href=3D"mailto:jeff at sunfone.com"
target=3D"_blank">jeff at sunfone.com</a><br>
<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a
href=3D"http://www.api-digital.com"
target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0<a
href=3D"http://www.asterisk.org/hello"
target=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
=A0<a
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users"
target=3D"_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
--90e6ba6138440e6e4404a6286f8c--