# TPKT endpoint parameter structure

When the endpoint type is MSP_ENDPOINT_TPKT, the application provides the following parameters:

typedef struct tag_TPKT_ENDPOINT_PARMS
{
DWORD localSessionID;
DWORD localSessionSeq;
DWORD remoteSessionID;
DWORD remoteSessionSeq;
DWORD deliveryMethod;
BYTE remoteGatewayIP[4];
DWORD coderType;
} TPKT_ENDPOINT_PARMS;

## TPKT_ENDPOINT_PARMS

#### Dependent function: mspCreateEndpoint

Field | Type | Default | Units | Description
localSessionID | DWORD | N/A | N/A | Local session ID. Range is 0 to 4094.
localSessionSeq | DWORD | N/A | N/A | Sequence number for detecting session overlap. Can be set to 0 or 1.
remoteSessionID | DWORD | N/A | N/A | Remote session ID. Range is 0 to 4094.
remoteSessionSeq | DWORD | N/A | N/A | Sequence number for detecting session overlap. Can be set to 0 or 1.
deliveryMethod | DWORD | N/A | N/A | Session delivery method (simple or complex): ComplexPacket: complex packets SimplePacket: simple packets
remoteGatewayIP | BYTE | N/A | N/A | Destination gateway IPv4 address for the endpoint.
coderType | DWORD | N/A | N/A | TPKT endpoint vocoder type. Valid coder types include: G723High: G.723.1 6.4 kbit/s G723Low: G.723.1 5.3 kbit/s G729: G.729 (A) at 8.0 kbit/s G711Alaw_64: G.711 A-law at 64 kbit/s G711Mulaw: G.711 mu-law at 64 kbit/s G726_32: G.726 ADPCM at 32 kbit/s

For more information about creating and configuring ThroughPacket endpoints, refer to the Dialogic® NaturalAccess™ Fusion VoIP API Developer's Manual.