There is an issue with our support of Audiocodes Mediant gateways in 
sipXconfig 3.10.2.  Damian submitted a patch by Joe in svn rev 12688 
that, among other things, splits up the Audiocodes Mediant gateway model 
to Mediant 1000, Mediant 2000, and Mediant 3000.  These new models were 
introduced in audiocodes-models.beans.xml, the existing 
audiocodesMediant model was marked as "abstract" and the new models 
reference it as a parent.

Ok, so far, so good.  Now for the problem.  If an admin has already 
created instances of an Audiocodes Mediant gateway before rev 12688, 
that gateway is in the gateway table with a model_id of 
audiocodesMediant.  However, when our code tries to load the 
audiocodesMediant model using the latest (post rev 12688) code it fails, 
as this is an abstract model now.  So, we need to update the database to 
not contain any references to audiocodesMediant.  The question is, how 
do we do this?  Should all existing rows that specify audiocodesMediant 
as the model_id have their model_id changed to audiocodesMediantxxxx 
(1000, 2000, or 3000).  Or do we need to create a new model along the 
lines of "audiocodesMediantLegacy" that also inherits from 
audiocodesMediant?

Kevin

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

Reply via email to