On Tue, 2009-09-22 at 17:24 -0400, Damian Krzeminski wrote: > I think Scott already replied but I just wanted to clarify the question of > gateways and permissions. > Gateways (as seen by sipXecs admin) do not have permissions. > Rules have permissions. Each gateway can appear in multiple rules. And > different rules may require different permissions for the call through the > gateway to succeed.
Though that is the model that sipXconfig presents to the user, I don't think that is how permissions are *implemented*. (Though I may be behind the times on this.) Yes, the call needs the correct permission to activate the dialing rule (which is implemented in mappingrules.xml). But once the call has been set up to forward to the gateway, the call has to pass the tests in authrules.xml, which takes into account the destination of the call, and the permissions borne by the call, but does not know which dialing rule was responsible. I believe that we have never considered the case where more than one dialing rule with different permissions goes to one gateway, with the exception of how emergency calls are routed to a gateway. But I may be wrong about this... Dale _______________________________________________ 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/
