Mike's PBX Cookbook

CS1K H323 IP Trunks

See update: CS1K SIP/H323 Trunks

Release 4.5/5.5. CS1000 H323 IP Trunks are built on a virtual loop, and require a virtual D channel. Therefore, the customer must also support ISDN (eg: Integrated Services Digital Network Package 145, enabled.).

The procedure for building IP trunks is as follows:

  1. LD 17: Create a virtual D channel
  2. LD 97: Create a virtual superloop
  3. LD 117: Configure a zone for IP trunks
  4. LD 16: Build a route for the IP trunks
  5. LD 14: Build the IP trunks on the virtual superloop
  6. LD 32: Diagnostics (status)

The following bullet points are the key things to watch for and configure in Element Manager, although everything can also be programmed directly from the TTY using the prinouts below.

1. Create a virtual D channel

LD 17.

ADAN     DCH 13
  CTYP DCIP
  DES  VDCH
  USR  ISLD           Integrated Services Signaling Link (ISLD)
  ISLM 4000
  SSRC 1800
  OTBF 32
  NASA NO
  IFC  SL1            Meridian 1 (SL1)
  CNEG 1
  RLS  ID  25
  RCAP ND1
  MBGA NO
  H323
    OVLR NO
    OVLS NO

2. Create a virtual superloop.

LD 97.

REQ  chg 
TYPE supl                
SUPL v96
Note:Phantom superloops are for 500 type phones.
Virtual superloops are for IP phones and trunks.
A superloop cannot have both phantom and virtual sets on it and therefore must be configured as either phantom or virtual. Precede with "N" to designate phantom, "V" to designate virtual, or "X" to remove.

3. Configure a zone for IP trunks.

Configure a zone for IP phones, and another for IP trunks.

For example:

LD 117

=> new zone

4. Build a route for the IP trunks.

Create separate routes for SIP and H.323 in LD 16.

>ld 21
PT1000

REQ: prt
TYPE: rdb
CUST 0
ROUT 13

TYPE RDB
CUST 00
ROUT 13
DES  VOIP
TKTP TIE              Trunk Type is TIE
M911P NO
ESN  NO
RPA  NO
CNVT NO
SAT  NO
RCLS EXT
VTRK YES              A virtual trunk route
ZONE 002
PCID H323             Protocol ID is H323
CRID NO
NODE 8201             CS1000 Node ID
DTRK NO
ISDN YES
    MODE ISLD         Route uses ISDN Signaling Link
    DCH  13
    IFC  SL1          Meridian 1 (SL1)
    PNI  00001
    NCNA YES
    NCRD NO
    FALT NO
    CTYP NXX
    INAC NO
    ISAR NO
    DAPC NO
MBXR NO
PTYP ATT
AUTO NO
DNIS NO
DCDR NO
ICOG IAO              Incoming and Outgoing
SRCH LIN
TRMB YES
STEP
ACOD 8713             Access Code
TCPP NO
TARG 01
CLEN 1
BILN NO
OABS
INST
IDC  NO
DCNO 0 *
NDNO 0
DEXT NO
ANTK
SIGO STD
STYP SDAT
MFC  NO
ICIS YES
OGIS YES
PTUT 0
TIMR ICF  512
     OGF  512
     EOD  13952
     DSI  34944
     NRD  10112
     DDL  70
     ODT  4096
     RGV  640
     GTO  896
     GTI  896
     SFB  3
     NBS  2048
     NBL  4096
     IENB  5
     TFD  0
     VSS  0
     VGD  6
     EESD  1024
SST  5 0
DTD  NO
SCDT NO
2 DT NO
NEDC ORG
FEDC ORG
CPDC NO
DLTN NO
HOLD 02 02 40
SEIZ 02 02
SVFL 02 02
DRNG NO
CDR  NO
NATL YES
SSL
CFWR NO
IDOP NO
VRAT NO
MUS  NO
PANS YES
MANO NO
FRL  0 0
FRL  1 0
FRL  2 0
FRL  3 0
FRL  4 0
FRL  5 0
FRL  6 0
FRL  7 0
OHQ  NO
OHQT 00
CBQ  NO
AUTH NO
TDET NO
TTBL 0
ATAN NO
OHTD NO
PLEV 2
OPR  NO
ALRM NO
ART  0
PECL NO
DCTI 0
TIDY 8713 13
ATRR NO
TRRL NO
SGRP 0
CCBA NO
ARDN NO
AACR NO

REQ:

5. Build the IP trunks on the virtual superloop

Build all 32 at once: LD 14, NEW 32.

>ld 20

PT0000
REQ: prt
TYPE: trk
TN   96 0 1 0 
DATE
PAGE

DES  VOIP
TN   096 0 01 00  VIRTUAL
TYPE IPTI
CDEN 8D
CUST 0
XTRK VTRK
ZONE 002
LDOP BOP
TIMP 600
BIMP 600
AUTO_BIMP NO
NMUS NO
TRK  ANLG
NCOS 7
RTMB 13 1
CHID 1
TGAR 7
STRI/STRO IMM IMM
SUPN YES
AST  NO
IAPG 0
CLS  UNR DTN CND ECD WTA LPR APN THFD XREP SPCD
     P10 NTC MID
TKID
AACR NO
DATE 29 AUG 2011


NACT

In LD 21, List Trunk Members (LTM) of the route to see all 32 members.

>ld 21
PT1000

REQ: ltm
CUST 0
ROUT 13

TYPE TLST
TKTP TIE
ROUT 13
DES  VOIP
TN  096 0 01 00 MBER  1  VOIP
TN  096 0 01 01 MBER  2  VOIP
TN  096 0 01 02 MBER  3  VOIP
:
TN  096 0 01 29 MBER  30  VOIP
TN  096 0 01 30 MBER  31  VOIP
TN  096 0 01 31 MBER  32  VOIP

REQ:

6. Diagnostics

IP trunks should establish, and be active.
If the DCH is 'stuck', try RST DCH XX in LD 96 to reset it.

>ld 32
NPR000
.stat 96 0 1
00 = UNIT 00 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

01 = UNIT 01 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

02 = UNIT 02 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

:

28 = UNIT 28 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

29 = UNIT 29 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

30 = UNIT 30 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

31 = UNIT 31 = IDLE            (ISL TRK)(TIE IP  IMM /IMM )
    D-CH 13  EST  ACTV

.