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!

how to use account code to prevent unauthorized user

Status
Not open for further replies.

wfhy

Technical User
Dec 3, 2003
56
CN

Hello all friends,

I want to know how to complete that feature account code

- prevent unauthorized telecommunication usage by forcing the user to dial an account code before dialling an external number.

My program is as follows:
EXCCS:CAT=4,ROC=010001,TRAF=00141415,....;
EXCAC:DIR=8000,CAT=4;
RODDI:ROU=75,DEST=4,SRT=2;
A0COI:ACO=90;
LCDDI:TAB=DNT1,ENTRY=4,ACCT=2,FRCT=0,TRC=1;

Help me please!



 
My Friend,

Seems like you are totally on a wrong track...

Anyhow here is the step by step approach....

Lets say anyone who wants to dial External No
his call will be like 012345678 ( STD No) or 001234567890123 (ISD no.)& you want to force them to enter Authority code first so as subsequent billing could be possible...

First Set :
NACDS: Put 0 or 00 with allowed category ( lets say Cat 10)

This means user only with cat 10 will be able to dial 0 or 00...

Now assign:
AUCOI:AUTH=123456,CILCOD=ABCDEF,CAT=10,CHECK=X;

This means when the user will dial *72* 123456# 00123456..

Syestem will temporarrily allot him CAT 10( Instead of permanent alloted Cat 4) & Cat 10 is available to Dial any no starting with 0 Or 00( As in NACDS)..

You can modify it further as per your requirement but this is only the basics...

You require more then to see the calls in billing system or least cost routing but first try to implement authority code then more will follow...

BR,

""The truth about action must be known and the truth of inaction also must be known; even so the truth about prohibited action must be known. For mysterious are the ways of action""
 
wfhy,

It depends what you want. if you just want to prevent users external access, use singhbrindisi's advice, however if you can use the account code to be able to reinvoice the call costs to your customers. (if you call customer x use account code a, call customer y, use account code b)
all that your programmation does, is obligate pbx users to do *61*aco#<external number>. so the user alwayes needs to have external category. I hope this is a bit clear to you...

--------------------------------------
What You See Is What You Get
 


Hello all friends,

Thank you for your response. My english is poor, maybe I could not clear express my question. I know what you said and I just want to complete the second function.
I copy some information from ALEX to reference for you as follows:

1 ? General
The feature account code provides two different functions,

- charge a call to an account code instead of charging it to the calling extension's number.

- prevent unauthorized telecommunication usage by forcing the user to dial an account code before dialling an external number.

2 ? Facilities

2.3 ? Categories
Extensions and the external numbers for Least cost routing can be initiated with account code categories. With these two categories it is possible to decide if the user shall have forced or optional account code dialling.
The operator has, as default, always the highest category.
If the account code category for the user is higher than or equal to the account code category for the external number the user will have optional account code dialling otherwise the user will have forced account code dialling .

Forced means that the user must have dialled a valid account code before the destination number otherwise the call is rejected.

3 ? Hardware
4 ? Summary
If a valid account code is dialled the call is always accepted.

Only a valid account code is sent to CIL for storage.

The following table can be used to see if a call shall be accepted or rejected.
An invalid or no account code has been dialled.

ACCT (EXN) ACCT (LCR) Action

0 0 Accept
0 1 Reject
0 2 Reject
1 0 Accept
1 1 Accept
1 2 Reject
2 0 Accept
2 1 Accept
2 2 Accept

Explanation of abbreviations :
ACCT - Account code category
EXN - Extension
LCR - Least cost routing


--------------------------------------------------------------------------------

How to read the table.

See the first line in the table.
An invalid or no account code has been dialled. The account code category for the extension and for the dialled number is equal, zero. If the account code for the extension is higher than or equal to the account code category the user will have optional account code dialling .
The call will therefore in this case be accepted.


 
I am waiting for your respanse!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top