No subject


Tue Apr 12 01:01:39 CDT 2011


//www.voip-info.org/wiki/view/Asterisk+presence</a><br><br>
<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&gt;=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&gt;=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&#39;s cfg file.
<br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0attendant.reg=3D&quot;1&quot;
</span><br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0attendant.resourceList.1.address=3D&quot;<a href=3D"mailto:sip%=
3A205 at 192.168.1.102">sip:205 at 192.168.1.102</a>&quot;
</span><br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0attendant.resourceList.1.label=3D&quot;205&quot;=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&quot;<a href=3D"mailto:sip%=
3A217 at 192.168.1.102">sip:217 at 192.168.1.102</a>&quot;
</span><br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0attendant.resourceList.2.label=3D&quot;217&quot;
</span><br>
<br><span style=3D"font-family:monospace;"></span><br><span style=3D"font-f=
amily:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0call.directedCallPick=
upMethod=3D&quot;legacy&quot;
</span><br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0call.directedCallPickupString=3D&quot;*8&quot;
</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">feature.12.name</a>=3D&quot;=
directed-call-pickup&quot;
</span><br><span style=3D"font-family:monospace;">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0feature.12.enabled=3D&quot;1&quot;
</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-&gt;useragent,=A0&quot;Polycom&quot;))=
=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-&gt;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-&gt;subscribed=A0=3D=A0DIALOG_INFO_XML;
</span><br>
<br><br><div class=3D"gmail_quote">On Tue, Jun 14, 2011 at 8:36 AM, Jeff La=
Coursiere <span dir=3D"ltr">&lt;<a href=3D"mailto:jeff at sunfone.com">jeff at su=
nfone.com</a>&gt;</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&gt; 300,hint,SIP/300<br>
extensions_additional.conf:<u></u>exten =3D&gt; 301,hint,SIP/301<br>
extensions_additional.conf:<u></u>exten =3D&gt; 302,hint,SIP/302<br>
extensions_additional.conf:<u></u>exten =3D&gt; 303,hint,SIP/303<br>
extensions_additional.conf:<u></u>exten =3D&gt; 304,hint,SIP/304<br>
extensions_additional.conf:<u></u>exten =3D&gt; 305,hint,SIP/305<br>
extensions_additional.conf:<u></u>exten =3D&gt; 307,hint,SIP/307<br>
extensions_additional.conf:<u></u>exten =3D&gt; 308,hint,SIP/308<br>
extensions_additional.conf:<u></u>exten =3D&gt; 322,hint,SIP/322<br>
extensions_additional.conf:<u></u>exten =3D&gt; 350,hint,SIP/350<br>
extensions_additional.conf:<u></u>exten =3D&gt; 400,hint,SIP/400<br>
<br>
The Polycoms are all pulling an XML directory via FTP where each extension =
has &quot;&lt;BW&gt;&quot; (Buddy Watch) set to 1:<br>
<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;item&gt;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;ln&gt;Mehra&lt;/ln&gt;<=
br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;fn&gt;Ray&lt;/fn&gt;<br=
>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;ct&gt;301&lt;/ct&gt;<br=
>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;sd&gt;101&lt;/sd&gt;<br=
>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;bw&gt;1&lt;/bw&gt;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;/item&gt;<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 3=
35 I can see status as well. =A0So I would expect that &quot;core show hint=
s&quot; would show &#39;8&#39; for all extensions, but it doesn&#39;t:<br>

<br>
artha*CLI&gt; 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 &quot;lose&quot; its h=
int 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 i=
t 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.c=
om" 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" targe=
t=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" tar=
get=3D"_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u>=
</u>users</a><br>
</blockquote></div><br>

--00163630ef571b8d8104a5eeeaba--



More information about the asterisk-users mailing list