Issue Details (XML | Word | Printable)

Key: XX-7484
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Baslingappa.B
Votes: 0
Watchers: 2
Operations

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

SMC phones does not register with IM account in build 4.1.6-017776

Created: 2010-01-25 05:09   Updated: 2010-03-02 17:10   Resolved: 2010-02-08 09:48
Component/s: XMPP
Affects Version/s: 4.1.6
Fix Version/s: 4.1.6, 4.2

Time Tracking:
Not Specified

File Attachments: 1. Text File 0001-xx-7484-changed-proxyN-generation.patch (7 kB) 2010-02-02 07:22 - Bogdan Brezoi
2. Zip Archive chris_test_ini_files.zip (3 kB) 2010-01-26 08:13 - Chris Parfitt
3. File SMC.rar (1020 kB) 2010-01-25 05:09 - Baslingappa.B

Image Attachments:

1. screenshot-1.jpg
(29 kB)
Environment: 4.1.6-017776
Issue Links:
Related
 

Team: Management


 Description  « Hide
Precondition:
1.Navigate to system--server-->services and enable Instant messaging feature.
2.Add a user 200 with IM Enabled.

Steps to reproduce:
1.Add SMC 3456 phone with the user id 200.
2.Navigate to the SMC 3456 phone mac id>>Line>>XMPP.
3.Enter work for the "XMPP Resource" field and save.
4.Send the profiles to the added SMC 2345 phone.
5.Register SMC 3456 with the user id 200.

Expected response:
SMC phone should be registered with SIP account and IM account as 200.

Actual response:
SMC phone registers properly with SIP account but fails to register with
IM account.

Note:SMC phone could register properly with SIP and XMPP account 4.1.6-017750

Attachments:
Wireshark trace taken from SCS: failedregistartion
Snapshot:sipx-configuration-jupiter.qantom.int.tar
SMC logs file: SMC_not-registered_logs

Robert Joly added a comment - 2010-01-25 14:53
I have 4 questions regarding this tracker:

1- If you log into the openfire web portal directly (port 9094), do you see user 200 created?
2- Can you please attach the SMC configuration file that sipXconfig generated?
3- The SMC logs do not have any XMPP-related entries. Can you double-check that you have enabled the "Maximum" logging for the XMPP sub-component?
4- Are you able to register account 200 from pidgin?

Thanks

Chris Parfitt added a comment - 2010-01-26 07:57 - edited
I also tried to configure a SIP User account and IM User account using the Provisioning method.
I used SCS Build 4.1.6-017791 2010-01-26
I created a SIP User that was a member of a group that had Instant Messaging enabled
The SIP User account on the Nortel 3456 was created
The IM/XMPP Account was not even created on the Nortel 3456
The IM/XMPP user was seen in Openfire GUI

I then manually added the IM/XMPP user to the Nortel 3456 and it created and worked as expected

It seems the issue here is that the IM/XMPP user is not sent to the Nortel 3456 using the Provisioning method.

I then looked at an older Build of SCS 4.1.6-017729 2010-01-19 (Ottawa Live Trial Build)
I connected my Nortel 3456 to this SCS and the SIP Account and the IM/XMPP account were both created as expected. I then compared the Nortel 3456 ini files from both systems and saw that on the system when XMPP account failed to be created it was #10 in a list of 10 proxies where proxy0 was the SIP account and proxy10 was the XMPP account. On the system where the XMPP account was created successfully it was #1 in a list of just 2 proxies, SIP Proxy0 and XMPP proxy1. Added both ini files called chris_test_ini_files"

Paul Mossman added a comment - 2010-01-26 08:27
Agreed, it looks like a profile generation issue. (sipXconfig.)

Paul Mossman added a comment - 2010-01-27 10:17
Reverting this JIRA to the original issue. The 2010-01-27 update is a separate issue (probably due to revision 17800), and should be handled in a separate JIRA.

Paul Mossman added a comment - 2010-01-27 10:24
This issue is probably related to revision 17769, which changed how the proxyN values were generated. As Chris pointed out above, the XMPP account used to occupy proxy10.

When fixing this issue, please update the unit tests so that the generated profile contains an XMPP account. (Suggestion: Do the unit test first, then re-factor the code until the unit test stops failing.)

Paul Mossman added a comment - 2010-01-28 09:13 - edited
Please note that SMC (CounterPath Bria) provisioning is currently broke in ISO istalls due to XX-7520. But it works in a designer environment, revision 17821.

Bogdan Brezoi added a comment - 2010-02-02 07:22
Posted a patch (0001-xx-7484-changed-proxyN-generation.patch) for this issue.
Changed the way proxyN is generating in the ini file of the SMC phone. Now, first are generated the sip lines, then the xmpp lines and then lines are filled with enabled="false" in order to stay consistent with the solution for xx-7406.
Also changed the number of maximum lines for SMC in sipxconfig UI from 10 to 5, so SMC phone could have maximum 5 sip lines and 5 xmpp lines (total of 10 lines supported by SMC phone) as Paul suggested.

Paul Mossman added a comment - 2010-02-02 20:14
Hi Huijun, please review and apply if OK. Thanks.

Huijun Yang added a comment - 2010-02-05 15:09
I am not sure if there is an agreement with PLM to change maximum lines from 10 to 5. What if customer only have SIP accounts, and they should be able to create maximum lines, which was 10?

Paul Mossman added a comment - 2010-02-07 19:33
Good point. I will talk to Ian about it, but in the meantime could you commit the change?

Huijun Yang added a comment - 2010-02-08 09:48
Changing the maxline for SMC from 10 to 5 on sipXconfig UI has been agreed by PLM, the patch is committed.

Chris Parfitt added a comment - 2010-02-09 02:42
I am still seeing this issue it does not seem to be fixed in Build 4.1.6-017927

Ananda Teertha added a comment - 2010-02-09 03:48
To be verified after XX-7520

Baslingappa.B added a comment - 2010-02-24 01:20
Verified the issue in build 4.1.6-018078.
SMC phones registers successfully with IM account and able to chat with other users.Hence closing the issue.