On Wed, 2008-10-29 at 12:22 -0400, Damian Krzeminski wrote:

> The permissionMatch/permision entries are used in mappingrules.xml to check
> permission for the call *target* (specifically to check if the callee has
> Voicemail related permissions).

A mechanism we should also abandon ASAPractical.  It would be just as
easy for sipXconfig to generate a voicemail alias for every user that
has voicemail.  That alias would be the same as the contact the current
mappingrule constructs, but would be computed at configuration time
rather than every time someone makes a call.  Doing so would have 3
advantages:

      * It would remove the need for this confusing backwards usage of
        the 'permission' elements (applying them to the target rather
        than the caller); in this context, it would have been clearer to
        call them 'capabilities' rather than 'permission's but the
        original author wanted to use the same schema and parser for all
        three *rules.xml files.

      * Looking up an alias in the database is conceptually much simpler
        and probably performs better than the current implementation of
        the mappingrules interpreter (if not, we should definitely
        replace fastdb).  [Yes, I know I'm breaking my own rule about
        unsubstantiated predictions about performance, but it's still
        simpler.]

      * It would allow us to smoothly support different voicemail
        systems for different users (which doesn't really work right
        now).


_______________________________________________
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