Yealink Forums

Full Version: Dial plan - Login for specfic accounts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

following the guidance of http://forum.yealink.com/forum/showthread.php?tid=1492 I've tried the setup the following rules, but they're not working. Have I misinterpreted the functionality

1 *79 0
2 *78100 *78100
3 *77100 *77100
4 *78813 *78813
5 *77813 *77813
6 *77xxx 0

Everybody is still able to login, but it should only be possible for 813 and 100.

Cheers WKU
(08-28-2018 08:08 AM)WKU Wrote: [ -> ]Hi there,

following the guidance of http://forum.yealink.com/forum/showthread.php?tid=1492 I've tried the setup the following rules, but they're not working. Have I misinterpreted the functionality

1 *79 0
2 *78100 *78100
3 *77100 *77100
4 *78813 *78813
5 *77813 *77813
6 *77xxx 0

Everybody is still able to login, but it should only be possible for 813 and 100.

Cheers WKU

Hi,

Not sure what you are trying to accomplish, but let me try to explain the use of a dial plan.
A dial plan is a named set of normalization rules. It translates phone numbers for a certain location, user or Contact Object into standard E.164 format.

(E.164 format looks like this: +15102220000)

There are two primary purposes for a dial plan: To translate international phone numbers, and to translate internal extensions to standard phone number format.

In short:
A dial plan rebuild the number you’ve dialed.

Hope this will help.
I don't want to use the dial plan in a common sense. We want to transcode the input according to specfic rules. In our case, we want to prevent certain users to register to the phone. Therefore

*77100 -> *77100 will perform a registration
*77xxx -> 0 will do nothing - that's fine

But it doesn't work that way.
Normally restricting what numbers extensions can dial is a PBX side function, is there a reason you can not restrict which of your endpoints can login at the PBX?
Hi

thx for any advise, but my problem is related to the post at the beginning of this thread.

There is a description of the replacement rule:

Explanations of Replace Rule:

1. Exact match

(1) prefix=0, replace=0086
When you dial 0 out, the number will be replaced by 0086 automatically
(2) prefix=123, replace=0592
When you dial 123 out, the number will be replaced by 0592 automatically.


But my rules are not processed in that way - any ideas?
Reference URL's