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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add prefix in phone call in NEC NEAX 2000 IPS

Status
Not open for further replies.

heitor3000

Technical User
Feb 19, 2014
20
BR
Hi guys,

One more time I need your help, please.

I would like add a prefix of the Operator Code (31) in a phone call automatically. For example, I dial the following:
"1# + AC + 0", for the dial tone and after "0 + Operator Code + Area Code + number" = 1# + AC + 0 + 0 + 31 + 51 + phone number

Then the Operator Code (31) it should be omitted and inserted automatically.

Is that possible?
 
Yes it is possible using digit addition in LCR but it is a bit complicated. To start with there is an FAQ in this forum that gives you a walk through of the LCR (see the FAQ button near the top of the page). See if you can follow that and list up where it goes in each stage of the LCR. This will give us some information to work with so we can point you in the right direction.

Just a note that in command 200 which will be the starting point, we will be looking at 0 as the 1# + AC simply establishes whether you are allowed to dial 0.
 
Well, following the FAQ ( I got these results:

COMMAND=200
200>0
200>0:A126-

COMMAND=8AA000
8AA000>0
8AA000>0:4005-

COMMAND=8A4005
8A4005>0311
8A4005>0311:0004-
8A4005>0312:0004-
8A4005>0313:0004-
8A4005>0314:0004-
8A4005>0315:0004-
8A4005>0316:0004-
8A4005>0317:0004-
8A4005>0318:0004-
8A4005>0319:0004-
8A4005>0320:0004-

COMMAND=8A0004
8A0004>1
8A0004>1:00414-

COMMAND=8A5004
8A5004>100
8A5004>100:9004-
 
Ok so there is already a digit addition going on. so in Cmd 8A9004 de 0 de what do you get? Also check Cmd 8A5004 de 151 de & 152 de & 153 de these three govern what is deleted from the area code (in this case the 031x). So it will delete what is specified in 151 to 153 and then add (prefix) what is specified in 8A9004.

These in all probability are what you will need to modify, but we need to see what is happening first.

What we will need to do is set up a new arrangement where (for example) you dial 1# + AC + 0 + 051 the LCR sees the 05 and deletes the 0 then adds 031 (you have to delete the 0 as you can't insert digits mid stream).

To that end, you also need to check what 05 is set to in cmd 8A4005
 
OzzieGeorge, here are the commands required:

COMMAND=8A9004
8A9004>0
8A9004>0:021-

COMMAND=8A5004
8A5004>151
8A5004>151:1-
8A5004>152:1-
8A5004>153:03-

COMMAND=8A4005
8A4005>05
ASSIGNED ALREADY
8A4005>051
ASSIGNED ALREADY
8A4005>0511
8A4005>0511:0004-

If I understand correctly, I need just change the value 021 to 031 in the command 8A9004?
 
Sorry but unfortunately it's not that simple. We are following what happens when you dial 1# + AC + 0 + 0 + 31 + 51 so we only end up here when you dial 031x after seizing a line (not sure about 0310 though as you missed that one), then it deletes the first three digits and then prefixes it with 021. So it would seem that you are sending 0211 + number to line. If you changed Cmd 9004 de 0 to 031, you would still have to dial the same as you do now but it would be sending 0311 + number to line. The question is, do you know why you are sending the 0211 before the number and how much of the 1# + AC + 0 + 0 + 31 + 51 dials string do you want to get rid of. In theory we can get rid of 0 + 31 + 51 but we would have to see how that fits in with other numbers that you dial, so it can be quite complicated.

Do you know why this system was put in place originally?
 
Well, currently we are using OC 21 because exist a contract with company EMBRATEL. But this will change and the company will be the TELEMAR and his Operator Code is the 31.
So, today I dial to call "1# + AC + 0 + 0(21)+AreaCode+phonenumber".
After the change the contract we will need dial: "1# + AC + 0 + 0(31)+AreaCode+phonenumber".
In today's setting, my question is: if I try to call using the code Operator 31 this code will be deleted and in its place will be the 21?
In the case of the answer be "Yes", so I don't need add number automatically. Because what I need is actually do not let more people to use the 21.
If the person dial the number 021 it could be deleted and replaced by the 031. And this would solve my problem.
 
Ok so as discussed it appears that currently your LCR deletes the 031 and inserts 021 so the easiest solution is delete the setting for 8A5004>153 or set it to 00 and delete the setting for 8A5004>100 that way you won't be removing the digits and you won't be adding any in, that way what is dialed is what is sent. You can do these changes and try the calls out and if it doesn't you can either put it back in or do a system reset (as long as you haven't saved to flash) and all will be back to normal. Now as regards people dialing 1# + AC + 0 + 0(21)+AreaCode+phonenumber you will have to follow that code (021 or 021x) through the LCR and see what that is doing before we can see what to do to make that do what you want.

My personal preference would have been to do the digit manipulation without the user having to dial all the digits. but it may be messy trying to get to that now without a full listup of the LCR and an understanding of your countries area codes which I don't have being in OZ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top