Damian wrote:
>Subject: Re: [sipX-dev] Site to Site Dialing Rule Question
>
............
>> 
>> 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.
>

So then if this is correct then the setup I have (Site to Site rule uses
same gateway as Long Distance rule) should work but does not because of
the authrules.  

If we can agree that things should work in my setup, I'll put in a Jira.

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


Raymond
_______________________________________________
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