Damian wrote: 
...
> > How can I supply Velocity an EnumSetting-typed object 
> representing the 
> > Polycom "voice/codecPref/OTHERS" multi-enum setting?
> > 
> 
> ConditionalSetting is just an adapter. You still should be 
> able to access its type.
> 
> setting.type.enums

Arjun clarified this for me: The getType() method called on the
ConditionalSettingImpl object returns the underlying MultiEnumSetting
object.

 
> Please balance what you want to do between Velocity and Java: 
> having too much code in VTL is usually bad sign. If you need 
> a non-trivial preprocessing do it in Java, write a separate 
> unit test, and inject a value or a list of values in Velocity context.

It should be trivial, so my goal is to do it without Java.  But it'll
depend on what VTL is capable of.  I'll dig in and find out.

But there's a new problem which I'm going to tackle first - XX-6900:
Polycom codec prefs allow selection of codecs that are not available.

Thanks.


-Paul
[email protected]

_______________________________________________
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