You must use AMO CLIMA to borrow some storage space from AMO LDPLN. All the dial plans in the world probably would not fill the memory dedicated to LDPLN; therefore some space is available to be used by CLIMA. It takes several AMO CLIMA commands to setup the AMO CLIMA memory storage.
Next, you setup the CLIMA tables - based on either Direct Inward Dialing (DDI - the number that was dialed by someone, which is now an incoming call to the HiPath 4000) or Calling Line Identification (CLI - the "ANI" or Caller ID number of the calling party). The 4000 can "match" on either DDI or CLI. When a match is made, that specific call can be rejected, or re-directed, or accepted.
The trick is that all participating trunk groups must have special new COT values added. PRI may be the only supported trunk type at this time, and it must be a "real" ISDN PRI - not a SIP Trunking gateway being converted to ISDN PRI.
I posted a configuration help file.