Mike's PBX Cookbook

Auto-Generate Authcodes

LD 88 allows Authcode data to be created, modified and printed:

There's one caveat: Auto authcode generation only works with a new AUB datablock.
Therefore, to do this again, we need to delete ALL the existing AUT codes, then the existing AUB block:

REQ out
TYPE aut
CUST 0
SPWD          Secure Data Password, default 0000
CODE all      Enter a code, or ALL to delete all codes 
SECR          Security password, default 0000 - only prompted for ALL 
 
 
MEM AVAIL: (U/P): 1055532    USED U P: 199831 120892    TOT: 1376255 
DISK RECS AVAIL: 359 
REQ 
Check they're gone:
REQ prt
TYPE aut
CUST 0
SPWD 
CODE
 

 
 
MEM AVAIL: (U/P): 1055532    USED U P: 199831 120892    TOT: 1376255 
DISK RECS AVAIL: 359 
REQ 
Nothing! Now we can delete the AUB block:
REQ out
TYPE aub
CUST 0
SPWD          Secure Data Password, default 0000
 
MEM AVAIL: (U/P): 1057108    USED U P: 199831 119316    TOT: 1376255 
DISK RECS AVAIL: 362 
REQ 

Create a new data bock:

REQ new
TYPE aub
CUST 0
SPWD          Secure Data Password, default 0000
ALEN 4        We will use 4 digit authcodes
ACDR no       CDR for authcodes? Enter yes or no
AUTHCOD_ALRM 
RANR x        There is no RAN route, so X
ACLE 
BRST 
RTRY 
CLAS 0        Create CLAS 0
COS unr       - with this COS
TGAR 5        - with this TGAR
NCOS 5        - with this NCOS
CLAS          Create as many CLASes as required, enter when finished 
AUTO yes      YES to auto-generate authcodes
SECR          Security password, default 0000
NMBR 10       Auto-generate 10 random authcodes
CLAS 0        - and assign them to CLAS 0
NMBR          Enter when finished 
 
MEM AVAIL: (U/P): 1055020    USED U P: 199831 121404    TOT: 1376255 
DISK RECS AVAIL: 358 
REQ 

Check the codes:

REQ prt
TYPE aut
CUST 0
SPWD 
CODE 
 
 
 
CODE 1001 CLAS 000
CODE 2706 CLAS 000
CODE 2715 CLAS 000
CODE 3924 CLAS 000
CODE 4013 CLAS 000
CODE 5830 CLAS 000
CODE 6134 CLAS 000
CODE 6415 CLAS 000
CODE 8888 CLAS 000
CODE 9345 CLAS 000
 
 
MEM AVAIL: (U/P): 1055020    USED U P: 199831 121404    TOT: 1376255 
DISK RECS AVAIL: 358 
REQ 

This is only an example, in the real world you'll want to create several CLASes, and probably use 6 digit codes.

Home » Meridian » Admin » Authauto