Carlos Robotti wrote:
> Yes, but this changes the template for ALL users, i need to change it
> for some of them.
>  
> It´s for attendance of different on-air programs for listeners calls for
> a Radio station.
>  

You can still do that but some assembly/velocity required...
http://velocity.apache.org/engine/devel/vtl-reference-guide.html

Add a custom permission in UI, enable it for those users for which you want
to change the template and use Velocity #if #else #end (there are some
examples in this file) checking for the presence of permission on the user
object.

You can check for permission using

#if(${user.userPermissionNames.contains('your-permission-name')})
### your simple template goes here

#else
### normal template goes here

#end


Alternatively you can use other user attributes - groups, userName etc.
Disclosure: I didn't try it, might not work. And you will have to remember
about it during upgrade.
D.

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

Reply via email to