Sorry, the commands listed are for BC11, so here the BC9 commands come...
I guess that you run a couple of analog lines into the TEMA40 system, and you want to have a hunt group with these analog lines. DIR=6800 and GRP=6820.
1. Analog extensions:
EXTEI

IR=,EQU=,TYPE=EL6,TRAF=03141401,SERV=00001000,TRM=3,
CDIV=000151000,ROC=0000;
2. Hunt group:
GHGRI:GRP=,LIM=,SERV=1000,TRAF=15,SEL=110,QUE=00;
GHGMI:GRP=,DIR=;
3. Data channel

SERIAL PORT)
ICFUI:ICUIND=5,EQU=,RATE=,DFMT=4,UPDFCN=YES,
PARITY=NONE,CCHECK=YES,TXC=YES,FILLER=48;
4. Voice mail functionality:
VMFUI:ICUIND=5,VMF=EXTN2,POFMT=2;
VMPOI

IR=,PORT=,IFCIND=5;
VMPOI:GRP=,ICUIND=5;
ICFUC:ICUIND=5,MWF=ALL;
This is more or less the commands needed.
If you can be more specific with the data for the serial port, it would help (you)..., So please post from your system, that already runs the TEMA40:
ICFUP;
VMPOP;
VMFUP;
GHDAP:GRP=;
EXDDP

IR=;
EXCAP

IR=;
Then it will be easier to translate the commands...
///doktor