Dale Worley wrote:
> 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.

The same gateway may appear many times in different tests. While the code
that authorizes the call does not (or should not) care the end result is
that you can certainly use the same gateway in many rules and expect
everything to work properly.

> 
> 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.
> 

We have considered it and we do support that.
Also since 4.0 there are no longer any exceptions related to emergency
rules. All calls are routed in the same way.
D.

_______________________________________________
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