Hello, guys!
Good day to you!
Today I will share with you how to restrict outgoing calls based on different permissions.
Description
How to restrict outgoing calls based on different permissions.
Solution
A configure different permissions for different prefixes and configure prefix permissions for different numbers.
Permission requirements:
Number 1000 has the permission to call intra-office numbers starting with 1.
Number 1001 has all the permissions of number 1000 and the outgoing permission of local prefix 0.
Number 1002 has all the permissions of number 1001 and the national toll permission.
Number 1003 has all the permissions of number 1002 and the international toll permission.
Table 1 Number plan
Number | Call Permission |
1000 | inter |
1001 | inter/local |
1002 | inter/local/idd |
1003 | inter/local/ddd/idd |
By default, all numbers on the U1900 series unified gateways have the inter&local outgoing call permissions. Modify the permissions of numbers as follows:
config modify subscriber dn 1000 operateout del outgoingrights local
config modify subscriber dn 1002 operateout add outgoingrights ddd
config modify subscriber dn 1003 operateout add outgoingrights ddd&idd
Table 2 Prefix plan
Prefix | Attribute |
1 | inter |
0 | local |
00 | ddd |
000 | idd |
Add prefixes with different permissions as follows:
config add prefix dn 1 callcategory basic callattribute inter cldpredeal no minlen 4 maxlen 4
config add prefix dn 0 callcategory basic callattribute local cldpredeal no officeselectcode 0
config add prefix dn 00 callcategory basic callattribute ddd cldpredeal no officeselectcode 0
config add prefix dn 0 callcategory basic callattribute idd cldpredeal no officeselectcode 0
Thanks for reading!

