Hi Jerry.
 
I've gone through what seems like several billion combinations of various 
settings today. I haven't set the xml values feature.1.name="presence" and 
feature.1.enabled="1".  I just took a look through the phone admin guide and 
couldn't find any reference to these xml settings at all. That's not too 
surprising though as Polycom's documentation is GHASTLY.
 
Where did you see these settings documented?
 
Do you know if your Asterisk box is receiving SUBSCRIBE messages from the phone 
on boot? Does 'sip show subscriptions' on Asterisk show the phones subscribing 
to Asterisk?
 
Unfortunately in our environment, we're mapping telephone numbers to 
extensions. Ie:
 
exten => 5551212,1,Dial(SIP/1001)
 
which may be complicating the situation a little bit as well.
 
You know, the subscribecontext command doesn't seem to be documented anywhere, 
certainly not on the Asterisk Wiki at voip-info.org. ARRGH!
 
Thanks for you reply. I'll revisit this tomorrow.
 
Douglas
 
 
-----Original Message----- 
From: Jerry Jones [mailto:[EMAIL PROTECTED] 
Sent: Tue 12/6/2005 8:41 PM 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Cc: 
Subject: Re: [Asterisk-Users] Hint Priority for Polycom Phones



        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
        
        _______________________________________________
        --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
        

<<winmail.dat>>

_______________________________________________
--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

Reply via email to