Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block calls to external lines

Status
Not open for further replies.

EndreMD

Technical User
Sep 22, 2019
38
RO
Hi !
I have a question for helping people of this thread- On a MX ONE Pbx can you tell me please how can I make some settings in order to block some outgoing calls to external lines ?
To understand better: Only a few internal users from Digital/Analog/IP extensions should have the rights to make external calls with destination 000( first "0" is the route acces code to all external PSTN's, next "00" is the prefix of all international calls). I have to restrict aprox. 90% of our users to dial international calls because of costs. At the moment all users have full access to any external calls via an ISDN/E1 trunk. Thanks for help !
 
PROCEED TO SEND SIGNAL DATA
EXTERNAL NUMBER POS. TYPE
CALL DISCRIMINATION DATA
EXTERNAL/INTERNAL NUMBER CAT
000 9 8 1
001 9 8 7 4 2 1
0021 9 8 7 4 2 1
0022 9 8 7 4 2 1
00230 9 8 7 4 2 1
00231 9 8 7 4 2 1
00232 9 8 7 5 4 2 1
00233 9 8 7 4 2 1
00234 9 8 7 4 2 1
00235 9 8 7 4 2 1
00236 9 8 7 4 2 1
00237 9 8 7 4 2 1
00238 9 8 7 4 2 1
00239 9 8 7 4 2 1
0024 9 8 7 4 2 1
0025 9 8 7 4 2 1
0026 9 8 7 4 2 1
0027 9 8 7 4 2 1
0028 9 8 7 4 2 1
0029 9 8 7 4 2 1
003 9 8 7 4 2 1
004 9 8 7 4 2 1
005 9 8 7 4 2 1
006 9 8 7 4 2 1
0070 9 8 7 3 2 1
0071 9 8 7 3 2 1
00720 9 8 7 3 2 1
00721 9 8 7 3 2 1
00722 9 8 7 3 2 1
00723 9 8 7 3 2 1
00724 9 8 7 3 2 1
00725 9 8 7 3 2 1
00726 9 8 7 3 2 1
00727 9 8 7 3 2 1
00728 9 8 7 3 2 1
00729 9 8 7 3 2 1
0073 9 8 7 3 2 1
00740 9 8 7 3 2 1
00741 9 8 7 3 2 1
00742 9 8 7 3 2 1
00743 9 8 7 3 2 1
00744 9 8 7 3 2 1
00745 9 8 7 3 2 1
00746 9 8 7 3 2 1
00747 9 8 7 3 2 1
00748 9 8 7 3 2 1
00749 9 8 7 3 2 1
0075 9 8 7 3 2 1
00760 9 8 7 3 2 1
00761 9 8 7 3 2 1
00762 9 8 7 3 2 1
00763 9 8 7 3 2 1
00764 9 8 7 3 2 1
00765 9 8 7 3 2 1
00766 9 8 7 3 2 1
00767 9 8 7 3 2 1
00768 9 8 7 3 2 1
00769 9 8 7 3 2 1
0077 9 8 7 3 2 1
00780 9 8 7 3 2 1
00781 9 8 7 3 2 1
00782 9 8 7 3 2 1
00783 9 8 7 3 2 1
00784 9 8 7 3 2 1
00785 9 8 7 3 2 1
00786 9 8 7 3 2 1
00787 9 8 7 3 2 1
00788 9 8 7 3 2 1
00789 9 8 7 3 2 1
0079 9 8 7 3 2 1
008 9 8 7 4 2 1
0090 9 8 7 4 3 2 1
0091 9 8 7 4 3 2 1
0092 9 8 7 4 3 2 1
0093 9 8 7 4 3 2 1
0094 9 8 7 4 3 2 1
0095 9 8 7 4 3 2 1
0096 9 8 7 4 3 2 1
0097 9 8 7 4 2 1
0098 9 8 7 4 3 2 1
0099 9 8 7 4 2 1
01 11 10 9 8 7 6 5 4
Only extensions with category 9 & 8 & 1 could be international.

number_data_initiate -number 000 -discrimination 9,8,1
number_data_initiate -number 001 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0021 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0022 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00230 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00231 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00232 -discrimination 9,8,7,5,4,2,1
number_data_initiate -number 00233 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00234 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00235 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00236 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00237 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00238 -discrimination 9,8,7,4,2,1
number_data_initiate -number 00239 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0024 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0025 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0026 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0027 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0028 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0029 -discrimination 9,8,7,4,2,1
number_data_initiate -number 003 -discrimination 9,8,7,4,2,1
number_data_initiate -number 004 -discrimination 9,8,7,4,2,1
number_data_initiate -number 005 -discrimination 9,8,7,4,2,1
number_data_initiate -number 006 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0070 -discrimination 9,8,7,3,2,1
number_data_initiate -number 0071 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00720 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00721 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00722 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00723 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00724 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00725 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00726 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00727 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00728 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00729 -discrimination 9,8,7,3,2,1
number_data_initiate -number 0073 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00740 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00741 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00742 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00743 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00744 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00745 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00746 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00747 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00748 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00749 -discrimination 9,8,7,3,2,1
number_data_initiate -number 0075 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00760 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00761 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00762 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00763 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00764 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00765 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00766 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00767 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00768 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00769 -discrimination 9,8,7,3,2,1
number_data_initiate -number 0077 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00780 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00781 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00782 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00783 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00784 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00785 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00786 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00787 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00788 -discrimination 9,8,7,3,2,1
number_data_initiate -number 00789 -discrimination 9,8,7,3,2,1
number_data_initiate -number 0079 -discrimination 9,8,7,3,2,1
number_data_initiate -number 008 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0090 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0091 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0092 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0093 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0094 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0095 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0096 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0097 -discrimination 9,8,7,4,2,1
number_data_initiate -number 0098 -discrimination 9,8,7,4,3,2,1
number_data_initiate -number 0099 -discrimination 9,8,7,4,2,1
number_data_initiate -number 01 -discrimination 11,10,9,8,7,6,5,4
number_data_initiate -number 01 -discrimination 3,2,1
or
NACDS:NUM=000,CDCAT=9&8&1;
NACDS:NUM=001,CDCAT=9&8&7&4&2&1;
-
-
-
NACDS:NUM=01,CDCAT=11&10&9&8&7&6&5&4&3&2&1;
 
Thanks Pviorel! I didn't succeed to set the option I was talking about. Have you another idea how to enable international calls only from a few extensions to dial ? In my meaning are too much TCS's to set with this method. On the other hand I tried to modify the categories of some extensions to match with categories set for "000" destination but unfortunately I still can dial international numbers from every extension (KS and EX). For example: I put CDCAT=9&8&1 for NUM=000 and I put CDCAT=9&8&1 for a few extension. I have thought that with these settings now I shouldn't have rights to dial international numbers from other extensions than those with CAT=9&8&1. Have you any idea ?
 
The CAT in call discrimination relates to the TRAF fields in the extension category/ CSP, not the extension category, e.g.

000 1

Would be TRAF (dig 3/4=01 in day and 5/6=01 night) for a category, e.g. CAT or CSP 2

So your extension would be in cat or CSP 2, not 1

pls send CADAP; or ts_about so we can see what software you are on, then we can give you the commands, you say you are mxone it it looks like you are tsw,

Best parnum


 
Hi pviorel and parnum, thank you for your precious help !

EXCCP:CAT=ALL;
EXTENSION CATEGORY CODE
CAT TRAF SERV CDIV ROC OFTIME FDTIME
0 00000000 0000000000000 00000000031 000001 0 0
1 00010115 0000120000000 00012111131 000001 0 0
2 00020215 0000120000000 00012111131 000001 0 0
3 00030315 0000120000000 00012111131 000001 0 0
4 00040415 0000120000000 00012111131 000001 0 0
5 00050515 0000120000000 00012111131 000001 0 0
6 00060615 0000120000000 00012111131 000001 0 0
7 00070715 0000120000000 00012111131 000001 0 0
8 00000000 0000000000000 00000000000 000001 0 0
9 00000000 0000000000000 00000000000 000001 0 0
10 00000000 0000000000000 00000000000 000001 0 0
11 00010115 0000120500000 00008111131 000001 0 0
12 00020215 0000120500000 00008111131 000001 0 0
13 00030315 0000120500000 00008111131 000001 0 0
14 00040415 0000120500000 00008111131 000001 0 0
15 00050515 0000120500000 00008111131 000001 0 0
16 00060615 0000120500000 00008111131 000001 0 0
17 00090915 0000120500000 00008111131 000001 0 0
18 00000000 0000000000000 00000000000 000001 0 0
19 00000000 0000000000000 00000000000 000001 0 0
20 00000000 0000000000000 00000000000 000001 0 0
21 00000000 0000000000000 00000000000 000001 0 0
22 00000000 0000000000000 00000000000 000001 0 0
23 00000000 0000000000000 00000000000 000001 0 0
24 00000000 0000000000000 00000000000 000001 0 0
25 00000000 0000000000000 00000000000 000001 0 0
26 00000000 0000000000000 00000000000 000001 0 0
27 00000000 0000000000000 00000000000 000001 0 0
28 00000000 0000000000000 00000000000 000001 0 0
29 00000000 0000000000000 00000000000 000001 0 0
30 00000000 0000000000000 00000000000 000001 0 0
31 00000000 0000000000000 00000000000 000001 0 0
32 00000000 0000000000000 00000000000 000001 0 0
33 00000000 0000000000000 00000000000 000001 0 0
34 00000000 0000000000000 00000000000 000001 0 0
35 00000000 0000000000000 00000000000 000001 0 0
36 00000000 0000000000000 00000000000 000001 0 0
37 00000000 0000000000000 00000000000 000001 0 0
38 00000000 0000000000000 00000000000 000001 0 0
39 00000000 0000000000000 00000000000 000001 0 0
40 00000000 0000000000000 00000000000 000001 0 0
41 00000000 0000000000000 00000000000 000001 0 0
42 00000000 0000000000000 00000000000 000001 0 0
43 00000000 0000000000000 00000000000 000001 0 0
44 00000000 0000000000000 00000000000 000001 0 0
45 00000000 0000000000000 00000000000 000001 0 0
46 00000000 0000000000000 00000000000 000001 0 0
47 00000000 0000000000000 00000000000 000001 0 0
48 00000000 0000000000000 00000000000 000001 0 0
49 00000000 0000000000000 00000000000 000001 0 0
50 00000000 0000000000000 00000000000 000001 0 0
51 00000000 0000000000000 00000000000 000001 0 0
52 00000000 0000000000000 00000000000 000001 0 0
53 00000000 0000000000000 00000000000 000001 0 0
54 00000000 0000000000000 00000000000 000001 0 0
55 00000000 0000000000000 00000000000 000001 0 0
56 00000000 0000000000000 00000000000 000001 0 0
57 00000000 0000000000000 00000000000 000001 0 0
58 00000000 0000000000000 00000000000 000001 0 0
59 00000000 0000000000000 00000000000 000001 0 0
60 00000000 0000000000000 00000000000 000001 0 0
61 00000000 0000000000000 00000000000 000001 0 0
62 00000000 0000000000000 00000000000 000001 0 0
63 00000000 0000000000000 00000000000 000001 0 0

I didn't list the NADAP because it is very long, generally in NADAP categories of most all of the extensions are 8,7,6,5,4,3,2,1.

ts_about
====== MX-ONE Telephony System ======
Version: 5.0 SP5 build28
RPM Packages
============
Telephony Server 14.170.5 :
eri_sn-14.170.5-MR
Media Gateway File system 2.0 :
egx_rfs-2.0-1
Media Gateway 10.21 :
egx_sw-10.21-1
Media Gateway Classic 1.5.4 :
lsue_sw-1.5.4-1
Manager 9.316 :
eri_om-9.316-201405090940

Thank you for helping me !
 
EXCCS:CAT=8,TRAF=00080815,SERV=0000120000000,CDIV=00012111131,ROC=000001;
number_data_initiate -number 000 -discrimination 8
only extensions with category 8 will be able to form 000
 
number_data_end -number 000 -discrimination 1..3,10,13

Before the commands,
NUMBER 000 - TCD CATEGORIES 1 - 3,8,10,13
NUMBER 001 - TCD CATEGORIES 1 - 3,8,10,13
NUMBER 002 - TCD CATEGORIES 1 - 3,8,10,13

After the commands,
NUMBER 000 - TCD CATEGORIES 8
NUMBER 001 - TCD CATEGORIES 1 - 3,8,10,13
NUMBER 002 - TCD CATEGORIES 1 - 3,8,10,13

is an example, the extensions that will be able to call international (000), have the category cat = 8
 
Thanks pviorel for reply !


Unfortunately I still can dial from every extension international numbers.
Let me detail a bit what I've done: I have to specify first of all, that my route acces code to all of external numbers is "0" through an ISDN/E1 trunk, so when I dial "000" the dialed international number is: "003621..." for example, so I hope I've proceed correctly when I executed command: number_data_initiate -number 000 -discrimination 8
- I executed : EXCCS:CAT=8,TRAF=......... exactly how you explained in your reply, so now I have set the common categories for CAT 8.
- Next step I executed number_data_initiate -number 000 -discrimination 8
- I cheked the common category codes (EXCAP,KSCAP) for several extensions which ones I'm using for test this issue, and I've changed them as follows:
For example: EXCAC:DIR=20132,CAT=8;
KSCAC:DIR=20031,CAT=1;
Now I should have permission to dial ext. number 0003621.... ext. number only from extension 20132, but also 20031 with CAT=1 can dial with success the mentioned number. I tried also with two more extensions set to CAT=1 or CAT=2 and the problem persists: all the extensions can dial the international number.
Another problem is that when I give NADAP:NUMTYP=CD; to see what discrimination category code (CDCAT) belongs to number 000, the printed list it's so long that I couldn't see this, but I hope it has been succesfully set with number_data_initiate to CDCAT=8;

Please reply me pviorel or parnum if you have any ideea. Thank you !
 
Thanks pviorel !

I've got your last reply exactly now, I will try them and I'll be back with the results,
bye
 
Pviorel, your last reply solved the problem, I had to execute number_data_end -number 000 -discrimination 1..8 then the
Number_data_initiate -number 000 -discrimination 8 , then set the CAT's for each extension and I made it!

Thanks a lot pviorel and parnum for your kindness, I have a few more questions to ask in other threads if you don't mind and you would help me ! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top