Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-05 Thread Robert McNaught
Seems that this got it working as suggested in the thread - thank you
all for replies.


feature feature.1.name=presence feature.1.enabled=1/

I took out the attendant.uri option as you dont need it.  It seems to
be that you can set up a buddy watch for one endpoint using this
option - dont know exactly what this option is supposed to be.  I was
reading the Polycom SIP 2.2.2 admin guide, which suggested that the
above was only for Microsoft Live Communications Server, so I ignored
it...and used the attendant.uri option.

Robert



On Thu, Sep 4, 2008 at 9:34 PM, Lee, John (Sydney)
[EMAIL PROTECTED] wrote:
 Sorry, needed to add one more note. To clarify, my agent phones have a
 speed dial assigned for their login, and another to pause/unpause. I
 could then use DEVSTATE to enable or disable the light next to their
 speed dial button based on their status. I can't use it to update
 anything on the LCD screen.

 James, very useful info especially about enable/disable the light next
 to the speed dial button which is exactly what I am after.  I am
 currently using 1.4.x and would be interested to know how this can be
 achieved.


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-05 Thread James Sneeringer
I have not applied the 1.4 backport to my system, so I haven't used
DEVSTATE, but this page appears to show how to do what you want:

http://www.voip-info.org/wiki/view/Asterisk+func+Devstate

That page also has a link to the backport.

-James


On Thu, Sep 4, 2008 at 11:34 PM, Lee, John (Sydney)
[EMAIL PROTECTED] wrote:
 James, very useful info especially about enable/disable the light next
 to the speed dial button which is exactly what I am after.  I am
 currently using 1.4.x and would be interested to know how this can be
 achieved.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-05 Thread Matt Riddell
We've used the devstate backport with the snom phones for this. The
buttons toggle log in and out with one and pause/unpause with another.
We use the astdb to store current status and add/remove/pause/unpause
queue member functions. Works great

On 9/6/08, James Sneeringer [EMAIL PROTECTED] wrote:
 I have not applied the 1.4 backport to my system, so I haven't used
 DEVSTATE, but this page appears to show how to do what you want:

 http://www.voip-info.org/wiki/view/Asterisk+func+Devstate

 That page also has a link to the backport.

 -James


 On Thu, Sep 4, 2008 at 11:34 PM, Lee, John (Sydney)
 [EMAIL PROTECTED] wrote:
 James, very useful info especially about enable/disable the light next
 to the speed dial button which is exactly what I am after.  I am
 currently using 1.4.x and would be interested to know how this can be
 achieved.

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Sent from Gmail for mobile | mobile.google.com

Matt Riddell
Director
VentureVoIP

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread Robert McNaught
Hi,

Can anyone please comment on what the issue may be with this.  I am
trying to set up an Polycom IP601 with multiple buddy icons displaying
endpoint status.

I am using a polycom IP601, sip 2.2.2.0084

In the phone1.cfg file I set:

   attendant attendant.uri=4158149992 attendant.reg=1/

Using this, I get a valid SUBSCRIBE and NOTIFY from the sip server and
a buddy icon on screen.

For this value, I seem to only be able to set one value for this - I
tried duplicating the above tag with a different uri value.  I have
reg 1 which is the only registered account on the telephone.  The uri
is the username of reg 1 (4158149992).  I am finding that this only
allows me to monitor the local endpoint (which is pretty useless) - I
can only get one buddy icon.  I can set this to another account on the
server (eg 4158149991) which allows me to monitor 4158149991's status,
but only that status (it does not seem to use the directory entries
below like it should.

I am setting up a MAC-directory.xml file on the provisioning server
with the following:

?xml version=1.0 standalone=yes?^M
directory
item_list
item
lnConnery/ln
fnSean/fn
ct4158149991/ct
sd1/sd
bw1/bw
/item
item
lnLazenby/ln
fnGeorge/fn
ct4158149994/ct
sd2/sd
bw1/bw
/item

/item_list
/directory

I believe that this is what I need to enable more than one buddy icon?
 Can you please point me in the right direction.   Only the polycom
screen, I can only see 1 buddy icon despite having 2 speed dial
entries.

Can someone please point me in the right direction...

Thanks

Robert

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread Lee, John (Sydney)
 I believe that this is what I need to enable more than one buddy icon?
  Can you please point me in the right direction.   Only the polycom
 screen, I can only see 1 buddy icon despite having 2 speed dial
 entries.


I have been able to successfully turned on presence (which is the term
used outside Polycom) on IP601.
As I can recall, you need to a) configure sip.conf in the [general] and
per [extn] context; b) code hint extn in extensions.conf c) turned on
presence on the phone which will be buddy watching others d) turn on bw
on the phone which I saw you did.

However, I have never set what you did as in below and have no idea what
they are.
 In the phone1.cfg file I set:
attendant attendant.uri=4158149992 attendant.reg=1/

Just check out voip wiki and there are useful information over there
about presence (but may not be that much about Polycom phones sadly :-(.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread James Sneeringer
I'm using a similar feature on 550 and 650 phones, also running 2.2.2.
I've never used the attendant option to do it, though, so I'm not
sure how it differs from what I'm doing. Instead, on the phones that
are allowed to do this, I have the following in their XML config. You
could just as easily enable it in phone1.cfg for all phones:

feature feature.1.name=presence feature.1.enabled=1/

Reboot then phone, and then when you add a new entry to your speed
dial directory (or edit an existing one), you will see a new Watch
Buddy option, which corresponds to the bw line in the
MAC-directory.xml file. The speed dial icon changes from the
multiple-dots icon to a silhouette of a person or will blink when the
phone is not registered, and the LED will go red when they're on a
call. It still functions as a speed dial, too.

John Lee was also correct that Polycom needs Asterisk's help. In
extensions.conf (or .ael), you need to set a hint for any extension
you want your 501 to see. In sip.conf, you need to set allowsubscribe
to yes, and set subscribecontext to a context that can see those
extensions.

I'm using this on our attendant phone, which is a 650 with three
expansion modules. The phone is programmed with several dozen employee
extensions, with Buddy Watch enabled for all. This lets the
receptionist see who is on the phone, so callers she transfers aren't
surprised when they go to voicemail. It's not perfect, because it
doesn't display DND or queue login/pause status, but it's better than
nothing.

-James


On Thu, Sep 4, 2008 at 7:09 PM, Robert McNaught [EMAIL PROTECTED] wrote:
 I am using a polycom IP601, sip 2.2.2.0084
 In the phone1.cfg file I set:

   attendant attendant.uri=4158149992 attendant.reg=1/

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread Lee, John (Sydney)
 It's not perfect, because it
 doesn't display DND or queue login/pause status, but it's better than
 nothing.

James, on a different note, is it true that at this stage, we can never
get any queue login status/light on Polycom phone?

I posted a query a few days ago but I have got 0 reply.

Any thoughts?


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread James Sneeringer
I believe DEVSTATE() in 1.6 (backported to 1.4 in various places) will
let you arbitrarily control BLF, so you could control it in the
dialplan when an agent logs in or out (or pauses, or whatever).

Separately, you might be able to use sipsak (http://sipsak.org/) to
construct a SIP message that essentially forges an event to cause a
BLF state change on the phone. This guy is using it to control the MWI
light, so maybe it could be modified to control BLF:

http://www.siliconvp.us/modules.php?name=Newsfile=articlesid=7

-James


On Thu, Sep 4, 2008 at 9:53 PM, Lee, John (Sydney)
[EMAIL PROTECTED] wrote:
 It's not perfect, because it
 doesn't display DND or queue login/pause status, but it's better than
 nothing.

 James, on a different note, is it true that at this stage, we can never
 get any queue login status/light on Polycom phone?

 I posted a query a few days ago but I have got 0 reply.

 Any thoughts?


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread James Sneeringer
Sorry, needed to add one more note. To clarify, my agent phones have a
speed dial assigned for their login, and another to pause/unpause. I
could then use DEVSTATE to enable or disable the light next to their
speed dial button based on their status. I can't use it to update
anything on the LCD screen.

Today I do it completely differently. I use the idle window
minibrowser, and each agent phone has its own page it loads. I wrote a
perl script that connects to the AMI to watch the status of our
agents, and for any status change, it updates this page to reflect
their status. Since Polycom doesn't let you push data out to the
phones, they have to poll on a regular interval. I think ours are set
to every 5 seconds. It's a hack and it's ugly, but it works.

-James


On Thu, Sep 4, 2008 at 10:38 PM, James Sneeringer [EMAIL PROTECTED] wrote:
 I believe DEVSTATE() in 1.6 (backported to 1.4 in various places) will
 let you arbitrarily control BLF, so you could control it in the
 dialplan when an agent logs in or out (or pauses, or whatever).

 Separately, you might be able to use sipsak (http://sipsak.org/) to
 construct a SIP message that essentially forges an event to cause a
 BLF state change on the phone. This guy is using it to control the MWI
 light, so maybe it could be modified to control BLF:

 http://www.siliconvp.us/modules.php?name=Newsfile=articlesid=7

 -James


 On Thu, Sep 4, 2008 at 9:53 PM, Lee, John (Sydney)
 [EMAIL PROTECTED] wrote:
 It's not perfect, because it
 doesn't display DND or queue login/pause status, but it's better than
 nothing.

 James, on a different note, is it true that at this stage, we can never
 get any queue login status/light on Polycom phone?

 I posted a query a few days ago but I have got 0 reply.

 Any thoughts?


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom BLF - multiple buddies

2008-09-04 Thread Lee, John (Sydney)
 Sorry, needed to add one more note. To clarify, my agent phones have a
 speed dial assigned for their login, and another to pause/unpause. I
 could then use DEVSTATE to enable or disable the light next to their
 speed dial button based on their status. I can't use it to update
 anything on the LCD screen.

James, very useful info especially about enable/disable the light next
to the speed dial button which is exactly what I am after.  I am
currently using 1.4.x and would be interested to know how this can be
achieved.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users