Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Block outgoing numbers MXOne

Block outgoing numbers MXOne

Block outgoing numbers MXOne

Hi all,

I'm working as a trainee in a french administration (my apologies for my english, btw), they use an MX-One and they'd like to prevent users from calling 08.. numbers.
Is there any way to do it ?


RE: Block outgoing numbers MXOne

you can put the numbers on a LCR table wich is blocking the outgoin calls or verify the number analisys table. ( sorry, I'm from brazil and my english is not so good ok?)

RE: Block outgoing numbers MXOne

LCR is a good solution to block numbers. (we did this with the ENT table)
You can also try to use the number_conversion (inbound-conversion).
--> In both cases you can truncate "08.." and replace this with an "unassigned number" , caller gets SIT (special Information Tone)
--> or you can replace this with the operator number, and the operator will see, who wants to call "08.."

RE: Block outgoing numbers MXOne

There is still a good way to use commands:

RE: Block outgoing numbers MXOne

Hi all, thanks for replies,

@Alessandro & snor, how do you put numbers in LCR tables ? I'm sorry I did not even know what an LCR table was.. sad

@BlAle, I did not found more on theses commands on the internet, what should I put as A,B,C,Z etc ? I also heard that NACDS had been replaced by something like "NUMBER_" on V5, which we use (V5 SP4) ?

Edit: oh just saw, NUMBER_ is number_conversion you suggested @snor ?

RE: Block outgoing numbers MXOne

Hi, JulesR2 !
(I'm using TSW)
But the respected Snor once wrote on this forum (thread806-1741763: CXAKI - NOT ACCEPTED COMMAND BUSY):
In TSE all old "MD110" commands "must" be entered in "mdsh".
e.g. MDSH> CXAKP:DIR=all;

(and I very much trust Norbert)
NACDS Number analysis call discrimination data set
NUM = External or internal number for analysis with respect to TCD category.
The first digits in an external number, including the route access code or the digits in an internal number, which the system needs to distinguish an external/internal number from other external/internal numbers.
The parameter NUM specifies the external/ internal numbers which must be open for one or more TCD categories according to parameter CDCAT.
For value, consult parameter description for number analysis.
& is permitted for this parameter.
CDCAT = TCD category.
Call discrimination category data. TCD category which is to be linked to an external/internal number.
For value, consult parameter description for number analysis.
& and && are permitted for this parameter.

RE: Block outgoing numbers MXOne

JulesR2, you do not state which version you have. For TSE the call discrimination parameters are configured by number_data_initiate.
Is 08 the whole number you want to block or is there a route access code too (destination) like 9, so you would actually need to block 908?
The following example to set call discrimination is from the TSE documentation.

Assign TCD categories 1 to 3 to internal numbers beginning with the
digits 20 and 25.

number_data_initiate -customer 0 -number 20,25 -discrimination 1..3

RE: Block outgoing numbers MXOne


I have done some research since. We currently have this:

What about a number_conversion_initiate -entry 81,82,89 -conversiontype 2 -truncate 20 to get empty numbers instead of premium rate numbers? Would that work ?
I guess I also need to setup the other "8x" like all the "8" were (cnvtype 2, numtype 2 and prefix 00) ?

@BlAle, I'm in mdsh, but nothing, I get unconfigured command.

@himpdp, I was wondering what "access route" was actually. I need to block +33 8 1x xx xx xx, +33 8 2x xx xx xx and +33 8 9x xx xx xx numbers, which are de premium rate numbers in France.

Thanks all

Edit: version.. this ?

RE: Block outgoing numbers MXOne

JulesR2, I mean, what number do you dial to get an outside line.

RE: Block outgoing numbers MXOne

It's a 0, so I guess the "00" prefix is this route 0 and the 0 to make the national number (we often use 08 2x xx xx xx instead of +33 8 2x xx xx xx), and that's why there's nothing as route, right ?

RE: Block outgoing numbers MXOne

"@BlAle, I'm in mdsh, but nothing, I get unconfigured command."
That is because the NACDS command has been removed and replaced by number_data_initiate with the -discrimination switch.

RE: Block outgoing numbers MXOne


Quote (himdp)

That is because the NACDS command has been removed and replaced by number_data_initiate with the -discrimination switch.
Indeed, works better.

RE: Block outgoing numbers MXOne

Please accept my apologies ..
Really dear Snor a little wrong?

RE: Block outgoing numbers MXOne

old TSW-command "NACDS" was replaced by LINUX-like command "number_data_..."
PLease note : in each new TSE-Version (e.g. V6.3) old MD110/TSW based commands are relaced.
At the moment, there it is a little bit confuse, if an old MD110 command works or not, depending of the version of your MX-ONE-TSE.
To come back to my suggestion at the begin. to use LCR (Least Cost Routing) :
If LCR is used, (--> check this with "number_print -numbertype LC" )
make entries in the ENT-table. (MDSH> LCDDI:TAB=LCR,ENTRY=0081,TRC=xx,PRE=yyy;).
If no LCR is use, you can try th use number_conversion.
number_conversion_initiate -conversiontype 4 -entry 0081 -truncate xx --pre yyy
--> I hope this works also for numbers starting with "0" (Destination or LC-code) and not only for internal numbers (like extensions)
With "number_data_initiate" you have to split the number-series starting with "008"
only external numbers with 0081, 0082 and 0089 should be barred, and the rest should be "open".
I think one possibility the prevent the users to dial 0081, is to use a external number length.
number_data_initiate -externalnumber 0081 –minlength 4 -maxlength 4
after the 4th digit the dialling is over, (bad day for the user.)

best regards,

RE: Block outgoing numbers MXOne

snor is absolutely correct and cannot be held accountable for any misunderstanding surrounding the old md110 commands and the new Linux style commands.

The old commands are being phased out (too big a job to remove them all at once)and a few disappear with each release to be replaced by Linux style commands. What is absolutely set in stone is that old commends, where still used, will not function outside the MD shell environment. (MDSH) Safest option is to always operate within the MD shell environment so that old commands will work and if they do not, you can assume they are replaced and find out what the equivalent new command is. There is also a pretty good help system available in mdsh.

RE: Block outgoing numbers MXOne

Hi !

@snor, no LCR is used, so I tried the min / max length method.. Seems to be a bad day for users cause it works perfectly ! thumbsup2

@himdp, nothing I said was ou could have been intended to be mean or even negative, I'm very sorry if it was the case, my english is far from being perfect

Anyway, thanks all for your precious help, not only for blocking numbers, I also learnt quite a lot about Mx-One commands.
Is there any way to edit the post and switch it to solved ?

Thanks again,


RE: Block outgoing numbers MXOne

My apologies Jules, my comment was a general observation and was certainly not aimed at you.

RE: Block outgoing numbers MXOne

Colleagues, thank you for clarifying.
Frankly, I was a little upset, because I thought that when upgrading to the TSE I could use the old commands.
But I'm glad that I got into this topic and found out about it in advance.
Life goes on - I will learn new ones, including your help in this forum.
Good luck!

RE: Block outgoing numbers MXOne

BlAle, I think you will find the new commands are very easy to use and you do not have to keep referring to the manuals for help as each command has its own on screen help accessed by typing <command> -?" (or "<command> --help"). Also the new commands have tab completion similar to native Linux commands. Embrace the change and enjoybigsmile

RE: Block outgoing numbers MXOne

Thank you for your help, Himdp!
I really enjoy when it comes to achieving the desired result bigsmile
I think with the new commands it will be no less pleasant.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close