IDC numberplan conversion rules

In  LD 49

REQ  PRT
TYPE IDC
CUST 0
DCNO 21 (ex.)

DCNO   21

SDID  NO
IDGT    CDGT
22    33
56397    33397
63    33