Strange behavior in dial plan regarding permissions
2013-01-10 12:59:23 GMT
Hi all,
We stumbled some time ago on a strange behavior in the dial plan regarding the dial permissions.
The situation is as follows:
We have a few dial plan rules e.g.
- Mobile phones (required is the mobile call permission)
- Local numbers (required is the local call permission)
- International (required is the international call permission)
This all works as aspected, a user without the mobile call permission is not allowed to call mobile phones.
But part of our normal setup is a SIP connection between a sipXecs and a Asterisk, calls are being routed from asterisk to sipXecs and the other way around. (the reason why we use an Asterisk is because of the queue functionality, ACD in sipXecs is not satisfying and also openACD is still not good enough for us.)
Since registering the asterisk as a user on sipXecs is a problem we decided to create a dial rule in the dial plan with a (to all users on the system) unknown prefix (e.g. 666).
So the custom dial rule we created is 666 and 10 digits will result in a dial of the last 10 digits on the gateways configured for outbound calls.
The problems we get with this dial rule are:
- The rule has to be on top of the other outbound dial rules (Mobile, Local and International in this example) to work, otherwise sipXecs responds with a unauthorized to Asterisk.
- When this rule is active, all other outbound dial rules (Mobile, Local and International in this example) can be called by all users, even the users without the desired call permissions, so somehow this rule breaks the entire permissions system….
I am curious if this is normal behavior, or did we stumble upon a bug?
We are currently running on 4.4 updated till patch 16.
Kind regards,
Henry Dogger
Telecats BV
<div> <div class="WordSection1"> <p class="MsoNormal"><span lang="EN-US">Hi all,<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">We stumbled some time ago on a strange behavior in the dial plan regarding the dial permissions.<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">The situation is as follows:<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">We have a few dial plan rules e.g.<p></p></span></p> <p class="MsoListParagraph"><span lang="EN-US"><span>-<span> </span></span></span><span lang="EN-US">Mobile phones (required is the mobile call permission)<p></p></span></p> <p class="MsoListParagraph"><span lang="EN-US"><span>-<span> </span></span></span><span lang="EN-US">Local numbers (required is the local call permission)<p></p></span></p> <p class="MsoListParagraph"><span lang="EN-US"><span>-<span> </span></span></span><span lang="EN-US">International (required is the international call permission)<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">This all works as aspected, a user without the mobile call permission is not allowed to call mobile phones.<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">But part of our normal setup is a SIP connection between a sipXecs and a Asterisk, calls are being routed from asterisk to sipXecs and the other way around. (the reason why we use an Asterisk is because of the queue functionality, ACD in sipXecs is not satisfying and also openACD is still not good enough for us.)<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">Since registering the asterisk as a user on sipXecs is a problem we decided to create a dial rule in the dial plan with a (to all users on the system) unknown prefix (e.g. 666).<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">So the custom dial rule we created is 666 and 10 digits will result in a dial of the last 10 digits on the gateways configured for outbound calls.<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">The problems we get with this dial rule are:<p></p></span></p> <p class="MsoListParagraph"><span lang="EN-US"><span>-<span> </span></span></span><span lang="EN-US">The rule has to be on top of the other outbound dial rules (Mobile, Local and International in this example) to work, otherwise sipXecs responds with a unauthorized to Asterisk.<p></p></span></p> <p class="MsoListParagraph"><span lang="EN-US"><span>-<span> </span></span></span><span lang="EN-US">When this rule is active, all other outbound dial rules (Mobile, Local and International in this example) can be called by all users, even the users without the desired call permissions, so somehow this rule breaks the entire permissions system….<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">I am curious if this is normal behavior, or did we stumble upon a bug?<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">We are currently running on 4.4 updated till patch 16.<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">Kind regards,<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> <p class="MsoNormal"><span lang="EN-US">Henry Dogger<p></p></span></p> <p class="MsoNormal"><span lang="EN-US">Telecats BV<p></p></span></p> <p class="MsoNormal"><span lang="EN-US"><p> </p></span></p> </div> </div>
RSS Feed