History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XCF-2777
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Chaitra Sharma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXconfig

Polycom Speed Dials missing for contacts that are also in a Phonebook

Created: 2008-06-11 04:08   Updated: 2008-11-14 05:51
Component/s: polycom
Affects Version/s: None
Fix Version/s: 3.10.3

Original Estimate: 1 day Remaining Estimate: 1 day Time Spent: Unknown
File Attachments: 1. XML File 0004f20324e0-directory.xml (2 kb)
2. XML File 0004f219ce55-directory.xml (2 kb)
3. GZip Archive Snapshot_common_entries_for_Speeddial_and_Phonebook.gz (960 kb)
4. Text File xcf-2777.new.patch (1 kb)

Environment:
sipxproxy 3.10.2-012826 2008-06-05T21:16:03 oem-centos5
sipxconfig 3.10.2-012826 2008-06-05T21:27:27 oem-centos5

Firmware version of Polycom - 3.0.0.0258


 Description  « Hide
Steps to reproduce:
1. Navigate to Features-->Phonebooks and add a phonebook with users 280, 281, 380, 381,382 under Member User groups and users 381 (Polycom 600) and 480 (Polycom 650) under Consumer User groups.
2. Send Profiles and Restart the Phones 381 and 480.
3. The directory.xml and the Phone TUI of both the phones displays all the entries in the Member user group.

4. Navigate to Speed Dial page of users 381 and 480, click on Add Number link and add the following speed dial entries
Name: ----------Number:
Gupta 380
Roberts 381
Sheldon 382
5. Click on Apply and then Save and Update Phone(s) button for both the users (381 and 480)

Expected Result:
The phones should reboot and all the added speed dial entries should be visible on the phone TUI of 381 and 480

Actual Result:
The phone TUI of both the phones does not display all the speed dial entries.
TUI of 381 displays only --- :;: Roberts
                                                 :;: Sheldon

TUI of 480 displays only ---:;: Gupta
                                                :;: Roberts

Observation:
1. The directory.xml correctly displays all the phonebook and speed dial details as in the xml files "0004f219ce55-directory" [480] and "0004f20324e0-directory" [381]

2. The phone TUI of 480 displays all the entries in the phonebook as follows:

Gupta 380 -------------NOTE that the phonebook entries 380 & 381 display the name as in speed dial
Roberts 381
S, Pranav 280
Sheldon, Sidney 382
Singh, Raj 281

3. The phone TUI of 381 displays all the entries in the phonebook as follows:

Roberts 381 ---------NOTE that the phonebook entries 381 & 382 display the name as in speed dial
Sheldon 382
Gupta, Manoj 380
S, Pranav 280
Singh, Raj 281
4. When only speed dial is added, phone TUI displays all the speed dial entries.

Attachments:
1. Snapshot_common_entries_for_Speeddial_and_Phonebook
2. 0004f219ce55-directory.xml
3. 0004f20324e0-directory.xml

 All   Comments   Work Log   Change History      Sort Order:
Tony Graziano - 2008-06-11 17:44
I have seen this type of behavior when there is mismatched firmware/configuration files. In a fresh environment, does this still happen with firmware 3.0.2..0972 (3.02C) and bootrom 4.1?

Chaitra Sharma - 2008-06-12 03:44
Firmware version of the phones used is 3.0.0.0258 and the bootROM version: 3.2.2.0248

As per XCF-2344, sipXecs currently supports firmware version:3.0.0 and we have tested using the same.

Thanks,
Chaitra

Chris Parfitt - 2008-09-02 09:21
I have reproduced this Speed Dial issue on Polycom 501 and 601
Ver 3.02.0972
Boot Rom 4.1.0.0219
This also effects the ability of the Polycom sets to do any BLF functionality for other Users

Paul Mossman - 2008-09-02 15:26
The problem here is actually with the <MAC>-directory.xml generated by sipXconfig. (I've adjusted the issue title accordingly.)

The generated <MAC>-directory.xml directory item_list contains all the entries from the user's Phonebook, followed by all the entries from the User's Speed Dial List. The problem occurs when the same User ID (Polycom element "ct", contact) appears more than once. The first occurrence seems to take priority. Phonebook entries are all generated with a null "sd" (speed-dial index) value. Subsequent entries corresponding to sipX user Speed Dials have a non-null "sd" value, but those with a duplicate "ct" value are ignored, and thus do not show up on the phone's buttons.

A simple interim solution might be to generate the Speed Dial entries into <MAC>-directory.xml first, and the Phonebook entries second.

Note that a user can have more than one Speed Dial entries with the same "Number", which might complicate the solution a little.


huijun yang - 2008-09-03 16:07
The attached patch should address this issue, but does NOT address the scenario that an user can have more than one Speed Dial entries with the same "Number".

In the case that an user can have more than one Speed Dial entries with the same "Number", sipXconfig is generating the profile as expected, but Polycom is not able to handle it., and as the result, some entries might get lost from directories or speeddial list. Please open a separate issue if it is required to be fixed as well, and that has to be fixed by Polycom.

Damian Krzeminski - 2008-10-13 16:41
It should be relatively simple to fix it properly.
DirectoryConfiguration.getRows should create a unitied list of entries, which means that when creating speed dial entries we need to search for matching directory entries and merge them (if ct/contact fields match).
I actually think that speed dial shoul take priority (since it is set by user, while phone book is global and added by administrator).
In any case - take it to 3.10.3 - if you want and I'll merge it to mainline.

huijun yang - 2008-10-21 12:50
The new patch implemented the solution proposed by Damian, that is to merge the entries with the same contact number.

huijun yang - 2008-10-21 14:41
committed into 13779.

chitralekha.S.H - 2008-11-11 04:55
While verifying this I came across another issue which is blocking me to verify and comment on this.I have logged another issue XCF-3038.
I will verify this issue once XCF-3038 gets resolved.

Thanks,
Chitralekha.

Damian Krzeminski - 2008-11-12 11:48
It was never fixed correctly.

Damian Krzeminski - 2008-11-12 12:45
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13995

XCF-2777 fixed generating polycom directory files

If the same contact/number field is present in phonebook directory and in speed dial list, speed
dial takes a precedence (phonebook entry is not generated).
It prevents phone book entries (controlled by administrator) from eclipsing speed dial entries
controlled by the user.
This is a workaround for a Polycom problem: the phone should allow for multiple entries with the
same contact in a directory list.

chitralekha.S.H - 2008-11-14 05:51
Verified this issue in the following build:

sipxproxy 3.10.3-014006 2008-11-13T18:58:25 oem-3.10-centos5
sipxconfig 3.10.3-014006 2008-11-13T19:08:43 oem-3.10-centos5.

This issue is resolved.

Common contacts for both Phone book and Speed dial are successfully displayed on the phone interface.None of the entries are missing.

Hence closing the issue.

Thanks,
Chitralekha.