Awesome! Thanks! [r...@nshpbx1 tftproot]# cat 0004f22732c9-phone.cfg <?xml version="1.0" standalone="yes"?> <PHONE_CONFIG><OVERRIDES reg.1.ringType="10" reg.1.fwdContact="5914780" reg.1.fwdStatus="0"/>
On 1/22/2010 3:06 PM, Josh Patten wrote:
OK wait I had the acl commands wrong, but it's an easy fix. run these two commands and you should be set:setfacl -m user:PlcmSpIp:rwx /var/sipxdata/configserver/phone/profile/tftproot/ setfacl -d -m user:PlcmSpIp:rw- /var/sipxdata/configserver/phone/profile/tftproot/Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 2:48 PM, [email protected] wrote:Still not working: From xferlogFri Jan 22 20:45:27 2010 1 10.87.20.241 0 /0004f22732c9-phone.cfg b _ i r PlcmSpIp ftp 0 * iI tried a manual FTP from a linux machine. Failed also: [r...@nshplis01 tmp]# ftp 10.87.20.5 Connected to 10.87.20.5. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (10.87.20.5:root): PlcmSpIp 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> lc /tmp Local directory now /tmp ftp> put mk.txt local: mk.txt remote: mk.txt 227 Entering Passive Mode (10,87,20,5,30,213) 553 Could not create file. From what you asked me to do: First command returned a lot of these:setfacl: /var/sipxdata/configserver/phone/profile/tftproot/PalmEM.jpg: Only directories can have default ACLs setfacl: /var/sipxdata/configserver/phone/profile/tftproot/Palm.jpg: Only directories can have default ACLs setfacl: /var/sipxdata/configserver/phone/profile/tftproot/phone1.cfg: Only directories can have default ACLsSecond command, no output. Looks good:[r...@nshpbx1 profile]# getfacl /var/sipxdata/configserver/phone/profile/tftprootgetfacl: Removing leading '/' from absolute path names # file: var/sipxdata/configserver/phone/profile/tftproot # owner: sipxchange # group: sipxchange user::rwx group::rwx other::r-x default:user::rwx default:user:PlcmSpIp:rwx default:group::rwx default:mask::rwx default:other::r-x Looks good:[r...@nshpbx1 profile]# getfacl /var/sipxdata/configserver/phone/profile/tftproot/0004f22732c9-sipx-sip.cfggetfacl: Removing leading '/' from absolute path names# file: var/sipxdata/configserver/phone/profile/tftproot/0004f22732c9-sipx-sip.cfg# owner: sipxchange # group: sipxchange user::rw- user:PlcmSpIp:rw- group::r-- mask::rw- other::r-- Looks good: [r...@nshpbx1 profile]# cat /etc/vsftpd/vsftpd.conf # vsftpd config for sipxconfig local_enable=YES write_enable=YES local_umask=022 dirlist_enable=NO xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES pam_service_name=vsftpd listen=YES chroot_local_user=YES On 1/22/2010 2:34 PM, Josh Patten wrote:Oops I think I forgot some of the commands (run these):setfacl -d -m user:PlcmSpIp:rw- /var/sipxdata/configserver/phone/profile/tftproot/* setfacl -m user:PlcmSpIp:rwx /var/sipxdata/configserver/phone/profile/tftproot/SoundPointIPLocalizationThe i on the end of the log entry means the phone can't write the file. It's either a permissions issue or a configuration error. If the phone still can't write the file after you run the previous command, run the following commands to see if it's a permissions issue:getfacl /var/sipxdata/configserver/phone/profile/tftproot should give you the following output: # file: tftproot # owner: sipxchange # group: sipxchange user::rwx group::rwx other::r-x default:user::rwx default:user:PlcmSpIp:rwx default:group::rwx default:mask::rwx default:other::r-x now get the acl information on one of the files:getfacl /var/sipxdata/configserver/phone/profile/tftproot/0004f22732c9-sipx-sip.cfgshould show: # owner: sipxchange # group: sipxchange user::rw- user:PlcmSpIp:rw- group::r-- mask::rw- other::r--ACL's can be difficult to manage without a proper GUI. Fortunately Webmin 1.500 now has a file module that you can use to manage ACL's.Also, make sure in /etc/vsftpd/vsftpd.conf write_enable=YES is set.Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 1:54 PM, [email protected] wrote:It looks like it tried to do something with that file though. This is in xferlog: Fri Jan 22 19:38:13 2010 1 10.87.20.241 0 /0004f22732c9-phone.cfg b _ i r PlcmSpIp ftp 0 * i Fri Jan 22 19:38:37 2010 1 10.87.20.241 0 /0004f22732c9-phone.cfg b _ i r PlcmSpIp ftp 0 * i Fri Jan 22 19:39:33 2010 1 10.87.20.240 0 /0004f226931b-phone.cfg b _ i r PlcmSpIp ftp 0 * iOn 1/22/2010 1:51 PM, [email protected] wrote:Not exactly.. I see these: [r...@nshpbx1 tftproot]# ls -lsrt |grep "32c9"20 -rw-rw-r--+ 1 sipxchange sipxchange 13638 Jan 22 13:40 0004f22732c9-sipx-sip.cfg 20 -rw-rw-r--+ 1 sipxchange sipxchange 15228 Jan 22 13:40 0004f22732c9-sipx-phone.cfg 8 -rw-rw-r--+ 1 sipxchange sipxchange 447 Jan 22 13:40 0004f22732c9-sipx-device.cfg 8 -rw-rw-r--+ 1 sipxchange sipxchange 217 Jan 22 13:40 0004f22732c9-directory.xml 8 -rw-rw-r--+ 1 sipxchange sipxchange 1007 Jan 22 13:40 0004f22732c9.cfgNone of them have the exact name you mention. I made the permission changes you recommended, restarted sipx, changed ring type on a phone, then rebooted the phone since nothing showed u p at that point.0004f22732c9-sipx-phone.cfg starts out like this and does not contain the word OVERRIDES<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- "Override" Per-phone Configuration File Generated by sipXecs: http://www.sipfoundry.org/ Instructions for integrating new configuration file content into sipXconfig: http://sipx-wiki.calivia.com/index.php/Adding_Polycom_SoundPoint_IP_New_Configuration_File_Content_into_sipXconfigThese 2 files are in the tftproot directory and were modified at the same time: 200 -rw-rw-r--+ 1 sipxchange sipxchange 194052 Jan 22 13:40 polycom_sip.cfg 16 -rw-rw-r--+ 1 sipxchange sipxchange 11969 Jan 22 13:40 polycom_phone1.cfgAm I missing something? On 1/22/2010 1:35 PM, Josh Patten wrote:To ensure that it is working, verify the phone is writing a file called <mac-address>-phone.cfg with contents similar to the following (depending on the preferences set):<?xml version="1.0" standalone="yes"?> <PHONE_CONFIG><OVERRIDES attendant.ringType="1" reg.1.ringType="13" bg.hiRes.gray.selection="1,1"/></PHONE_CONFIG> Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 1:22 PM, [email protected] wrote:Thank you. I just did actually before i read this. I hadn't even really looked at what the command did. I didn't realize how minor of a change it was.On 1/22/2010 1:19 PM, Josh Patten wrote:You might want to consider doing it now because the phones only write the configuration when a change has been made. If a user doesn't change any of their user preferences after you enable writes to the tftp directory then all their customization will be lost.Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 12:17 PM, [email protected] wrote:Thanks.That makes sense and I think I will look into before I do any upgrades. You probably just saved me a headache down the road, because even in training people have already gotten all excited about all the customization they can do. I just wanted to test the setting on my test environment a little first.On 1/22/2010 12:02 PM, Josh Patten wrote:The only problem with not setting the tftp directory writable is that when you do a firmware/bootrom update it erases the local config on the phone, setting everyones preferences back to default. I had some annoyed people calling me when I did my first firmware upgrade.Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 11:59 AM, [email protected] wrote:Sorry. I had read one of the other replies first.Setting the blank ring tone seems to stick through a profile push, and I am hesitant to make a significant change to the system with a cutover to production in 6 hours. I just went the blank ring tone route.On 1/22/2010 11:51 AM, Josh Patten wrote:That's what I said in a previous post, along with instructions on how to make it stick.Josh Patten Assistant Network Administrator Brazos County IT Dept. (979) 361-4676 On 1/22/2010 11:44 AM, Picher, Michael wrote:Did I miss something... on the line attached to the phone cant you just set the ring type to 0?*From:* [email protected] [mailto:[email protected]] *On Behalf Of *[email protected]*Sent:* Friday, January 22, 2010 11:45 AM *To:* Eric Varsanyi *Cc:* [email protected]*Subject:* Re: [sipx-users] Disable ringing on one Polycom phoneThanks. I just finished doing that as well. We have all also noticed the click between cycles on our custom ringtones. We haven't experienced clicking at each ring. I was able to get it up to 30 seconds and keep it under the size limits so the clicking should be held to1 at most. I set it to this file for the ringtone, and that did stick through pushing out a profile. I'm ok with having to redo it if I do a firmware upgrade.On 1/22/2010 10:34 AM, Eric Varsanyi wrote:I tried to make a 'blank' ringtone for a polycom 650 for a similar reason (two phones in the same room). I used Audacity and the appropriate parameters to export the silence. The only problem is (despite trying several DC offsets) the phone 'clicks' when it rings and clicks between each ring cycle. I made the silence long which helped but the click was still a little annoying.-EricOn Jan 22, 2010, at 10:20 AM, [email protected] <mailto:[email protected]> wrote:Thanks. So nothing with ringing there.Any way to do it with ringtones? Maybe a way to force a blank ringtone to it?On 1/22/2010 10:11 AM, Tony Graziano wrote:The only settable volume between reboots is in the device voice/codecs area.Volume PersistenceThe user's selection of the receive volume during a call can be remembered between calls. This can be configured per termination (handset, headset and handsfree/chassis). In some countries regulations exist which dictate that receive volume should be reset to nominal at the start of each call on handset and headset.persist.handset [ ] (Default: unchecked)If checked, the receive volume will be remembered between calls. If set to 0, the receive volume will be reset to nominal at the start of each call.persist.headset [ ] (Default: unchecked)If checked, the receive volume will be remembered between calls. If set to 0, the receive volume will be reset to nominal at the start of each call.persist.handsfree [X] (Default: checked)If checked, the receive volume will be remembered between calls. If set to 0, the receive volume will be reset to nominal at the start of each call.It is settable by group.On Fri, Jan 22, 2010 at 10:52 AM, [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]>> wrote:Is there an easy way to make a single phone not ring, and have it stickthrough the profile being pushed out?this is on a Polycom 550. My CEO has a second phone on his conference table. He likes to have only his desk phone ring, but be able to answer the call on either phone. No problem, I just assigned his line to both phones and turned down the ringer with the volume button on the conference table phone. That setting doesn't stick when you re-push a profile out. Is there any way to set that at the sipx level for thatphone so it would stick? Thanks as always, MatthewSipx 4.0.4, sixbridge, Verizon VOIP, No firewall (not needed, private connection), Polycom 450s and 550s - bootrom 4.2.1, firmware 3.1.3C split._______________________________________________sipx-users mailing list [email protected] <mailto:[email protected]>List Archive: http://list.sipfoundry.org/archive/sipx-usersUnsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-userssipXecs IP PBX -- http://www.sipfoundry.org/ -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 Fax: 434.984.8431Email: [email protected] <mailto:[email protected]>LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 Fax: 434.984.8427 Helpdesk Contract Customers: http://www.myitdepartment.net/gethelp/ Why do mathematicians always confuse Halloween and Christmas? Because 31 Oct = 25 Dec. _______________________________________________sipx-users mailing list [email protected] <mailto:[email protected]>List Archive: http://list.sipfoundry.org/archive/sipx-usersUnsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-userssipXecs IP PBX -- http://www.sipfoundry.org/ _______________________________________________ sipx-users mailing [email protected] List Archive:http://list.sipfoundry.org/archive/sipx-users Unsubscribe:http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX --http://www.sipfoundry.org/_______________________________________________ sipx-users mailing [email protected] List Archive:http://list.sipfoundry.org/archive/sipx-users Unsubscribe:http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX --http://www.sipfoundry.org/
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/
