Hi,
You need to
REG-SBCSU;
Then search that output for ANADEV for analog underset adapter or OPTIEXP for any type of Adapter
Example of a Digital Extension with an Analog Underset Adapter fitted:
ADD-SBCSU:1234,OPTI,DIR,1-1-115-8,OPTIP500,1,6,1,7,1,7,1,1,0,N,0,10,0,1,N,0,21,N,,,Y,0,N,N,N,Y,N,,,,,,,,5,,,,N,NORMAL,N,ENGLISH,0,ALL,,0,,,Y,,,,;
ADD-SBCSU:5678,OPTIEXP,1234,ANADEV,8,8,8,8,1,8,1,0,0,N,0,10,0,1,,,,,,,,0,N,N,,,,,,,,,,,5,,,VCE,,,0,,,,,,,,,,Y;