I decided to split this from my previous question since I found a 
temporary solution for this. This was a little hard for me to find as my 
IP550 was working correctly and this sent me off the correct path for a 
little while.

The problem is the fact that the polycoms need the whole config from the 
sip.cfg and phone1.cfg sent for everything to be set up properly. The 
easiest way to do this is to load a file that just contains the items 
you would like to be different first then load the default files, this 
is the method sipX is using. The problem is that now sipX (I am using 
4.0) is setup to deal with these older phones the way Polycom has 
recommended and the default files are not being loaded.

The temp solution that I came up with is as follows:
Get the default files, phone1.cfg and sip.cfg, from the Polycom SIP 
release that you are using for the phones. Copy these to the tftproot 
dir, I would assume that in most installs this would be 
/var/sipxdata/configserver/phone/profile/tftproot
Then rename them to something that makes sense, in my case I am using 
ver. 2.1.3, so I named them polycom_phone1_213.cfg and polycom_sip_213.cfg.

Now do any configuration needed for the phone in sipXconfig and load the 
profile to the phone, if your phone is already registered it will reboot 
and still be incorrect until the next part. Now go back to the tftproot 
dir and edit the < mac address>.cfg for the phone and edit the following 
lines to look like this
<APPLICATION_SPIP300 APP_FILE_PATH_SPIP300="sip_212.ld" 
CONFIG_FILES_SPIP300="0004f20178ef-sipx-sip.cfg, 
0004f20178ef-sipx-phone.cfg, 0004f20178ef-sipx-device.cfg, 
polycom_phone1_213.cfg, polycom_sip_213.cfg"/>

   <APPLICATION_SPIP500 APP_FILE_PATH_SPIP500="sip_212.ld" 
CONFIG_FILES_SPIP500="0004f20178ef-sipx-sip.cfg, 
0004f20178ef-sipx-phone.cfg, 0004f20178ef-sipx-device.cfg, 
polycom_phone1_213.cfg, polycom_sip_213.cfg"/>

Each of these are a single line in the config file and of course use 
whatever name you used for the files. Reset your phone and everything 
should be working. I am using bootrom 4.1.2 on these phones, I do not 
know if earlier bootroms will work the same.

The reason this is a temporary fix is that if you modify the settings 
for the phone in sipXconfig and load the profile it will write over the 
< mac address >.cfg file and remove your edits. So you have to go back 
and edit the file then reset the phone again. Of course a more permanent 
fix would be to alter the program to add something similar when it 
created the file, but I am not sure it is worth the time to support 
these older phones.

Hope this helps someone.

Layne Evans
_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users

Reply via email to