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.
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
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:jjones@danrj.com] 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 9846 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/6ab6bcd5/attachment.bin
Dang. I must be missing something then. I've modified the contacts directory, set bw and bb, can see the buddy on the second appeareance, have tried every imaginable combination of the hint command in extensions.conf and nada! :( The buddy never updates to show busy/not busy. I thought it was interesting too... in the Polycom admin guide it says on page 51 "Notification when a change in monitored status will be available in a subsequent release". That's for SIP version 1.6.x, dated July 2005. Beats the heck out of me how it works when Polycom says it doesn't! Do you phones send SUBSCRIBE messages to Asterisk on boot? Do you see anything if you do a 'sip show subscriptions' for the phone? Doug -----Original Message----- From: Adam Goryachev [mailto:mailinglists@websitemanagers.com.au] Sent: Tue 12/6/2005 9:01 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Hint Priority for Polycom Phones On Tue, 2005-12-06 at 21:41 -0600, Jerry Jones wrote: > 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. Nope, this isn't needed... I have an IP600 which registers to asterisk on button 1, another asterisk on button2, a third asterisk on button 3 and then has a buddy/hint/monitoring on buttons 4 and 5 which are working against the first asterisk on button 1. Finally I have a speed dial on button 6... Then again, I've not got this working on a polycom IP 300 as yet... Regards, Adam _______________________________________________ --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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 5930 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/bf6ac45c/attachment.bin
Hello Doug, I assume you have subscribecontext set in sip.conf right? Also, I have a 601/sidecar and have the hints working fine on the first registration. On my second server registration they are not yet coming through. I am not sure if I can use the hint on the first server registration, and have the server point the hint to an iax connection, which is what I have started to try doing. Greg ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Douglas Garstang Sent: Tuesday, December 06, 2005 11:10 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Hint Priority for Polycom Phones Dang. I must be missing something then. I've modified the contacts directory, set bw and bb, can see the buddy on the second appeareance, have tried every imaginable combination of the hint command in extensions.conf and nada! :( The buddy never updates to show busy/not busy. I thought it was interesting too... in the Polycom admin guide it says on page 51 "Notification when a change in monitored status will be available in a subsequent release". That's for SIP version 1.6.x, dated July 2005. Beats the heck out of me how it works when Polycom says it doesn't! Do you phones send SUBSCRIBE messages to Asterisk on boot? Do you see anything if you do a 'sip show subscriptions' for the phone? Doug -----Original Message----- From: Adam Goryachev [mailto:mailinglists@websitemanagers.com.au] Sent: Tue 12/6/2005 9:01 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Hint Priority for Polycom Phones On Tue, 2005-12-06 at 21:41 -0600, Jerry Jones wrote: > 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. Nope, this isn't needed... I have an IP600 which registers to asterisk on button 1, another asterisk on button2, a third asterisk on button 3 and then has a buddy/hint/monitoring on buttons 4 and 5 which are working against the first asterisk on button 1. Finally I have a speed dial on button 6... Then again, I've not got this working on a polycom IP 300 as yet... Regards, Adam _______________________________________________ --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051214/22ccb768/attachment.htm