Re: [asterisk-users] Changing labels on Phones

2009-11-16 Thread Jonathan Thurman
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian

 We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
 hotdesk type system where anyone can log on to an extension - however what
 I would love to do is relabel the phone with the current owner when this
 logon happens. I know that I can change the sip.conf and phones tftp file,
 however this is a big problem with the Cisco's as they take *forever* (ok,
 maybe 2 / 3 minutes) to reboot (VLAN problem)
 1) Has anyone actually solved this VLAN issue with the cisco ?
 2) Is there any way of changing a label without rebooting the phone ?
 TIA

I have not personally tried this, but I remember someone had posted a
way to script the change of the background image on Cisco 79x1 phones.
 You could create a dynamic image in PHP that had the user info on it,
then kick off the script to change the background image.  Might be a
little tricky, but no reboot required!

-Jonathan

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-16 Thread Peder
I'm pretty sure it only pulls the background image during a reboot.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonathan
Thurman
Sent: Monday, November 16, 2009 9:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Changing labels on Phones

 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian

 We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
 hotdesk type system where anyone can log on to an extension - however
what
 I would love to do is relabel the phone with the current owner when this
 logon happens. I know that I can change the sip.conf and phones tftp file,
 however this is a big problem with the Cisco's as they take *forever* (ok,
 maybe 2 / 3 minutes) to reboot (VLAN problem)
 1) Has anyone actually solved this VLAN issue with the cisco ?
 2) Is there any way of changing a label without rebooting the phone ?
 TIA

I have not personally tried this, but I remember someone had posted a
way to script the change of the background image on Cisco 79x1 phones.
 You could create a dynamic image in PHP that had the user info on it,
then kick off the script to change the background image.  Might be a
little tricky, but no reboot required!

-Jonathan

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

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-16 Thread Jonathan Thurman
On Mon, Nov 16, 2009 at 7:29 AM, Peder pe...@networkoblivion.com wrote:
 I'm pretty sure it only pulls the background image during a reboot.

On a 79x0, yes.  On the 79x1 phones the user can change the background
to a list of custom images that you provide.  It downloads the image
on the fly, and applies it.

Here is a link to a reboot script http://www.dave.vc/wordpress/?p=14
that uses your ability to press keys on the phone.  You could apply
the same idea to press the correct buttons to change the background
without rebooting.

I can't find the script that I found to do this, but I'll keep looking
when I get a chance.

-Jonathan

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-16 Thread Elliot Otchet
If you just want to change the SIP configuration on the phone remotely there 
are a few prerequisites:

1) Upgrade your phone's firmware to a recent release.
In the phone's config file on the tftp server:
2) Set telnet_level set to 2.  Make sure it stays at 2 when you create your new 
config file for the phone, otherwise you won't be able to redo this via telnet.
3) You need a phone_password set.
If the phone was not loaded with the telnet_level at 2, you will need to reboot 
the phone manually first for this method to work.

With those two items out of the way, you (or your script/program) can telnet to 
the phone and issue an erase protflash which will cause the phone to erase 
the current SIP configuration and re-read the SIP config files only - without 
the painful reboot.  Takes about 11 seconds on my old 7960 to do.

There are some security risk associated with the above, but if you understand 
them and live with them or can mitigate them in other ways, you're set.

-Elliot

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonathan Thurman
Sent: Monday, November 16, 2009 10:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Changing labels on Phones

 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian

 We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
 hotdesk type system where anyone can log on to an extension - however what
 I would love to do is relabel the phone with the current owner when this
 logon happens. I know that I can change the sip.conf and phones tftp file,
 however this is a big problem with the Cisco's as they take *forever* (ok,
 maybe 2 / 3 minutes) to reboot (VLAN problem)
 1) Has anyone actually solved this VLAN issue with the cisco ?
 2) Is there any way of changing a label without rebooting the phone ?
 TIA

I have not personally tried this, but I remember someone had posted a
way to script the change of the background image on Cisco 79x1 phones.
 You could create a dynamic image in PHP that had the user info on it,
then kick off the script to change the background image.  Might be a
little tricky, but no reboot required!

-Jonathan

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

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

This message is intended only for the use of the individual (s) or entity to 
which it is addressed and may contain information that is privileged, 
confidential, and/or proprietary to Calling Circles LLC and its affiliates. If 
the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution, forwarding or copying of this 
communication is prohibited without the express permission of the sender. If 
you have received this communication in error, please notify the sender 
immediately and delete the original message.

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-16 Thread David Gibbons
snip
Here is a link to a reboot script http://www.dave.vc/wordpress/?p=14
that uses your ability to press keys on the phone.  You could apply
the same idea to press the correct buttons to change the background
without rebooting.

I can't find the script that I found to do this, but I'll keep looking
when I get a chance.

-Jonathan
/snip

Here is the snippet of code that I use to set the image on the 79x1 series 
(should plug right into my reboot script via the link posted by Jonathan):

$actions['setimage'][0] = array(0 = Key:Settings, 1 = .3);
$actions['setimage'][1] = array(0 = Key:KeyPad1, 1 = .3);
$actions['setimage'][2] = array(0 = Key:KeyPad2, 1 = 5);
$actions['setimage'][3] = array(0 = Key:KeyPad2, 1 = 3);
$actions['setimage'][4] = array(0 = Key:Soft1, 1 = 7);
$actions['setimage'][5] = array(0 = Key:Soft2, 1 = 1);
$actions['setimage'][6] = array(0 = Key:Soft3, 1 = 1);
$actions['setimage'][7] = array(0 = Key:Soft3, 1 = 1);

And here is how I set the ringer:
$actions['regularring'][0] = array(0 = Key:Settings, 1= .3);
$actions['regularring'][1] = array(0 = Key:KeyPad1, 1 = .3);
$actions['regularring'][2] = array(0 = Key:KeyPad1, 1 = .3);
$actions['regularring'][3] = array(0 = Key:KeyPad1, 1 = 4);
$actions['regularring'][4] = array(0 = Key:KeyPad1, 1 = .1);
$actions['regularring'][6] = array(0 = Key:Soft1, 1 = 1);
$actions['regularring'][7] = array(0 = Key:Soft3, 1 = 1);
$actions['regularring'][8] = array(0 = Key:Settings, 1 = .1);

I guess I should update my blog with the new version :)

*note*: These key sequences are correct on 8-4-1S, I know they have changed in 
previous firmware changes and chances are they have/will change with versions 
beyond 8-4-1S.

Cheers
Dave

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

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


[asterisk-users] Changing labels on Phones

2009-11-15 Thread Julian Lyndon-Smith
We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
hotdesk type system where anyone can log on to an extension - however what
I would love to do is relabel the phone with the current owner when this
logon happens. I know that I can change the sip.conf and phones tftp file,
however this is a big problem with the Cisco's as they take *forever* (ok,
maybe 2 / 3 minutes) to reboot (VLAN problem)

1) Has anyone actually solved this VLAN issue with the cisco ?
2) Is there any way of changing a label without rebooting the phone ?

TIA

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

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

Re: [asterisk-users] Changing labels on Phones

2009-11-15 Thread Michael Wyres
Sometimes they reboot when you try this, but usually not - but you can just 
change one setting in the network configuration (eg: change the phones IP 
address), and it will go through just the very last part of it's normal boot 
process, and re-pull it's TFTP configuration, and update things - still takes 
around 20 to 30 seconds, so not really what you are looking for - but I've been 
looking for a way to do this for about three and a half years!

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian 
Lyndon-Smith
Sent: Monday, 16 November 2009 08:51
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Changing labels on Phones

We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a 
hotdesk type system where anyone can log on to an extension - however what I 
would love to do is relabel the phone with the current owner when this logon 
happens. I know that I can change the sip.conf and phones tftp file, however 
this is a big problem with the Cisco's as they take *forever* (ok, maybe 2 / 3 
minutes) to reboot (VLAN problem)

1) Has anyone actually solved this VLAN issue with the cisco ?
2) Is there any way of changing a label without rebooting the phone ?

TIA
Julian
IMPORTANT NOTICE TO RECIPIENT

Computer viruses - It is your responsibility to scan this email and any 
attachments for viruses and defects and rely on those scans as Communications 
Design  Management Pty Limited (CDM) does not accept any liability for loss or 
damage arising from receipt or use of this email or any attachments.

Confidentiality - This email and any attachments are intended for the named 
recipient only and may contain personal information, be it confidential or 
subject to privilege, none of which are lost or waived because this email may 
have been sent to you in error. If you are not the named addressee please let 
CDM know by return email, permanently delete it from your system and destroy 
all copies and do not use or disclose the contents.

Copyright - This email is subject to copyright and no part of it maybe 
reproduced in any manner without the written permission of the copyright owner.

Privacy - Within the jurisdiction of Australian law, personal information in 
this email must be dealt with in compliance with the Australian Federal Privacy 
Act 1988.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Changing labels on Phones

2009-11-15 Thread Leif Madsen
Julian Lyndon-Smith wrote:
 We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a 
 hotdesk type system where anyone can log on to an extension - however 
 what I would love to do is relabel the phone with the current owner 
 when this logon happens. I know that I can change the sip.conf and 
 phones tftp file, however this is a big problem with the Cisco's as they 
 take *forever* (ok, maybe 2 / 3 minutes) to reboot (VLAN problem)
 
 1) Has anyone actually solved this VLAN issue with the cisco ?
 2) Is there any way of changing a label without rebooting the phone ?

I don't believe these is a way to change the label without rebooting the phone.

However, changing the label is probably not really the right way to go about 
this. For example, I have created an Asterisk system for a call centre that 
uses 
hot desking with Polycom phones, and those phones then use the built in web 
browser with an auto-refresh rate that contacts a website (internal) that runs 
a 
PHP script that returns the currently logged in person.

This is done via a database and using Asterisk realtime for the registrations 
so 
the information is available to the PHP script. There is likely a similar web 
browser in the Cisco and the Aastra that can use this same type of approach.

Leif!

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-15 Thread Warren Selby
Which models of cisco phones (i.e 79x0, 79x1, 79x2, etc).  And what do you
mean by VLAN issue.

Thanks,
--Warren Selby

On Sun, Nov 15, 2009 at 7:41 PM, Leif Madsen
leif.mad...@asteriskdocs.orgwrote:

 Julian Lyndon-Smith wrote:
  We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
  hotdesk type system where anyone can log on to an extension - however
  what I would love to do is relabel the phone with the current owner
  when this logon happens. I know that I can change the sip.conf and
  phones tftp file, however this is a big problem with the Cisco's as they
  take *forever* (ok, maybe 2 / 3 minutes) to reboot (VLAN problem)
 
  1) Has anyone actually solved this VLAN issue with the cisco ?
  2) Is there any way of changing a label without rebooting the phone ?

 I don't believe these is a way to change the label without rebooting the
 phone.

 However, changing the label is probably not really the right way to go
 about
 this. For example, I have created an Asterisk system for a call centre that
 uses
 hot desking with Polycom phones, and those phones then use the built in web
 browser with an auto-refresh rate that contacts a website (internal) that
 runs a
 PHP script that returns the currently logged in person.

 This is done via a database and using Asterisk realtime for the
 registrations so
 the information is available to the PHP script. There is likely a similar
 web
 browser in the Cisco and the Aastra that can use this same type of
 approach.

 Leif!

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

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




-- 
Thanks,
--Warren Selby
http://www.selbytech.com
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Changing labels on Phones

2009-11-15 Thread Jeff LaCoursiere


On Sun, 15 Nov 2009, Leif Madsen wrote:


 However, changing the label is probably not really the right way to go 
 about this. For example, I have created an Asterisk system for a call 
 centre that uses hot desking with Polycom phones, and those phones then 
 use the built in web browser with an auto-refresh rate that contacts a 
 website (internal) that runs a PHP script that returns the currently 
 logged in person.


What model Polycom phones are you using?  Any hints on the XML conf you 
used to get the broswer to start up?

Cheers,

j

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

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


Re: [asterisk-users] Changing labels on Phones

2009-11-15 Thread Alec Davis
I have done a similar exercise for Grandstream GXP2000 phones, to display
the extension number, user name, DND status.
It uses apache, php and mysql. Uses SIP Notify to update the phone's
display. Phone display status changes within 2 seconds.
 
I published the initial test version at the following address,
http://www.voip-info.org/wiki/view/GXP-2000+XML+Idle+Screen
 
We do have some CISCO 7940's but never got around to doing the XML to play
the appropriate deck of cards.
 
Alec Davis 
  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian
Lyndon-Smith
Sent: Monday, 16 November 2009 10:51 a.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Changing labels on Phones


We have several types of phones, Cisco 79xx, Aastra 9133i etc. We have a
hotdesk type system where anyone can log on to an extension - however what
I would love to do is relabel the phone with the current owner when this
logon happens. I know that I can change the sip.conf and phones tftp file,
however this is a big problem with the Cisco's as they take *forever* (ok,
maybe 2 / 3 minutes) to reboot (VLAN problem) 

1) Has anyone actually solved this VLAN issue with the cisco ?
2) Is there any way of changing a label without rebooting the phone ?

TIA


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

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