[Asterisk-Users] Hint Priority for Polycom Phones
Jerry Jones
jjones at danrj.com
Tue Dec 6 20:41:43 MST 2005
Just in the process of figuring this out myself. i do have it working
on an IP601 with a sidecar. Here are my notes.
On the polycom
Create a contact directory entry for the extension you wish to
monitor. Yes the contact must match the exten= statement in your
dialplan. Note: It must reside within the same context as the last
configured button on your telephone. I have a test phone and had to
swap my test extension which is in a test context with my office
extension which is in the context with my office phones I wanted to
monitor. Had to have the test number register on button one and the
office number register on button 2.
Make sure you have the presence feature enabled in your sip.cfg file.
If your idle screen has the Buddies menu button then this is correct.
In asterisk
Have heard I needed a subscribecontext= in my phones.sip file so I
added this to my phone registration info.
In my context with the extensions to be monitored I added the hint
priority
Reboot the phone and it should work. It does seem to have some limit
on the number of phones which it can monitor. Seems to be 6 or 7.
[1002] ;My Extension
context=office
subscribecontext=office
accountcode=2
type=friend
secret=1234
host=dynamic
dtmfmode=rfc2833
callerid="Me"<somenumber>
qualify=yes
canreinvite=no
disallow=all
allow=ulaw
[office]
exten => 1000,hint,SIP/1000
exten => 1000,1,Macro(stdexten,SIP/1000)
<?xml version="1.0" standalone="yes"?>
<directory>
<item_list>
<item>
<fn>Jenna</fn>
<ct>1000</ct>
<sd>17</sd>
<bw>1</bw>
</item>
</item_list>
feature.1.name="presence" feature.1.enabled="1"
Hope this helps. Anyone have any corrections please let us know.
Good Luck
On Dec 6, 2005, at 9:17 PM, Douglas Garstang wrote:
> I've been tearing my hear out trying to get hints to work with
> Polycom phones all day. I'm trying to get the buddy function to
> work so that an appearance can be aware of another appearances
> status, ie if they are busy or not, and light the light next to the
> button.
>
> All the docs for the hint priority are pretty basic... most people
> don't really seem to understand what it is they are really doing.
>
> It seems that when you create an entry in the <mac>-directory.xml
> file, and set <bw>1</bw> and <ct>extension</ct> that the Polycom
> phone on boot should send a SUBSCRIBE message to Asterisk so that
> Asterisk can send it back a NOTIFY when the status of a buddy changes.
>
> Just exactly how to do you set this on the phone? My polycom's are
> not sending a SUBSCRIBE message to Asterisk... in fact I can't even
> find where to set the location to send SUBSCRIBE messages to in the
> phone1.cfg or sip.cfg config files. The Polycom admin guide is
> grossly inadequate.
>
> On the other hand, when an extension receives a new voicemail,
> Asterisk doesn't need to have received a previous SUBSCRIBE message
> to send a NOTIFY when there's new voicemail. Maybe the status of a
> buddy is the same?
>
> In any case, this is driving me nuts. Has anyone gotten this to
> work with Polycom phones?
>
> Thanks,
> Douglas.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list