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

Key: XCF-2739
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Raghu Venkataramana
Reporter: Paul Mossman
Votes: 1
Watchers: 1
Operations

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

Automatically re-generate all profiles as part of an upgrade

Created: 2008-08-14 13:08   Updated: 2008-11-11 16:39
Component/s: None
Affects Version/s: 3.11.4
Fix Version/s: 3.11.8

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File svndiff_rev13770.txt (5 kb)



 Description  « Hide
This requests that all sipXconfig profiles be automatically re-generated as part of an upgrade.

See for background: http://list.sipfoundry.org/archive/sipx-dev/msg12852.html

This the general solution for the case when the upgraded code changes what is generated into a given profile. For devices that had a pre-upgrade profile, new profiles must be generated. This should be done automatically by the upgrade, and not require any manual steps.

Two specific cases that this addresses for 4.0 are:
   - the new BLF URI format; and
   - MOH added to the Polycom 3.1 firmware.


 All   Comments   Work Log   Change History      Sort Order:
Paul Mossman - 2008-08-15 10:27
It should be trivial to implement the above, plus also send a restart request to each phone, see: http://list.sipfoundry.org/archive/sipx-dev/msg13141.html Please implement the sending of restarts as part of this request.

A limitation with this request has been noted: Some registrations are likely to have expired while the upgrade is in progress, and they would probably ignore the reboot request. (See: http://list.sipfoundry.org/archive/sipx-dev/msg12854.html)

The sending of restarts during an upgrade will be considered a best-effort attempt to get the phones to pick up their re-generated profiles.

David Saint - 2008-10-20 13:02
I now have code for FirstRunTask.java runTask() that will regenerate the profiles and restart the gateway/phone devices. The code in runTask is executed during a system startup, including a system startup due to an upgrade.

The original issue requested the regenerate/restart behaviour only for upgrades. I was wondering if it would be a good idea to regenerate/restart the devices on all system startups? This would ensure that the system starts up cleanly, however it may also take down established calls. But perhaps that's a good thing since it will clear calls that CDR may not be tracking properly?

Posted this question to sipx-dev but no response yet.

David Saint - 2008-10-21 08:57
Since the restart is not guaranteed, and since unexpected restarts of phones may confuse the users, the restart of phones has been removed in the "rev13770" version of the svn diff. It will then be up to the installer to restart phones when required.

Damian Krzeminski - 2008-11-11 16:39
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13989

XCF-2739 automatically regenerate all the profiles as a part of an upgrade