On Wed, 2010-01-13 at 19:03 -0500, Paul Mossman wrote:
> Daniel wrote:
> > I am working on XX-6740 Media Relay and CDR are prompted for 
> > restart upon Enabling/disabling each of the server roles.
> > 
> > This was partially solved by XX-6841 (for Media Relay) and it 
> > seems to have the same root cause for CDR as well: "upon 
> > Location save, no matter what is changed a "Location" event 
> > is published.". This event published may trigger replication 
> > of files when this should not happen because the event is too coarse.
> > 
> > As Mircea suggested in the XX-6740  jira it would be good to 
> > treat bundle change separately. When the roles will be 
> > changed a serverRoleLocation will be published instead of Location.
> > 
> > My plan is to move the "server roles checkboxes" into a new 
> > tab, different from other "location" settings, so that the 
> > enabling/disabling the roles to be handled separately from 
> > other location setting changes. 
> > 
> > Another option (for the same reason) would be to add a 
> > different set of form action buttons or an apply button in 
> > the Configure location page to handle the "server role changes".
> 
> I think I like the idea of publishing serverRoleLocation changes.
> 
> Can that be done without changing the current GUI?
> 
> 
> -Paul
> [email protected]


We could try to take a snapshot of the checked bundles when page renders
(pageBeginRender). Then when submit the page, in the listener, compare
the snapshot with the current situation and publish the
serverRoleLocation only if there is a diff.


Daniel

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to