[asterisk-users] Changing labels on Phones

Elliot Otchet elliot.otchet at callingcircles.com
Mon Nov 16 10:35:25 CST 2009


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-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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-bounces at 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.



More information about the asterisk-users mailing list