Dialogic Dialogic Global Call IP IP Phone User Manual


 
126 Dialogic
®
Global Call IP Technology Guide — November 2007
Dialogic Corporation
IP-Specific Operations
Possible values for fields in the IP_CAPABILITY structure are:
capability
Specifies the coder type from among the types supported by the particular IP telephony
platform; see Table 2 for platform-specific coder types. The following values are defined for
the capability field:
GCCAP_AUDIO_g711Alaw64k
GCCAP_AUDIO_g711Ulaw64k
GCCAP_AUDIO_g7231_5_3k (G.723.1 at 5.3 kbps)
GCCAP_AUDIO_g7231_6_3k (G.723.1 at 6.3 kbps)
GCCAP_AUDIO_g726_16k
GCCAP_AUDIO_g726_24k
GCCAP_AUDIO_g726_32k
GCCAP_AUDIO_g726_40k
GCCAP_AUDIO_g729AnnexA
GCCAP_AUDIO_g729AnnexAwAnnexB
GCCAP_AUDIO_NO_AUDIO
GCCAP_DATA_t38UDPFax
GCCAP_dontCare – The complete list of coders supported by a product is used when
negotiating the coder type to be used. If multiple variations of the same coder are
supported by a product, the underlying call control library offers the preferred variant
only. For example, if G.711 10ms, 20ms, and 30ms are supported, only the preferred
variant, G.711 20 ms, is included.
type
One of the following:
GCCAPTYPE_AUDIO
GCCAPTYPE_RDATA
direction
One of the following:
IP_CAP_DIR_LCLTRANSMIT – transmit capability of full-duplex session
IP_CAP_DIR_LCLRECEIVE – receive capability of full-duplex session
IP_CAP_DIR_LCLRXTX – transmit and receive capability (T.38 only)
IP_CAP_DIR_LCLSENDONLY – capability of a half-duplex transmit-only session
IP_CAP_DIR_LCLRECVONLY – capability of a half-duplex receive-only session
payload_type
Not supported. The currently supported coders have static (pre-assigned) payload types
defined by standards.
extra
Reference to a data structure of type IP_AUDIO_CAPABILITY, which contains the following
two fields:
frames_per_packet – The number of frames per packet.
Note: For G.711 coders, the extra.frames_per_packet field sets the frame size (in ms) rather
than the frames per packet.
VAD – Enables or disables VAD.
Values: GCPV_DISABLE, GCPV_ENABLE, GCCAP_dontCare
Note: Applications must explicitly set this field to GCPV_ENABLE for the coders that
implicitly support only VAD, such as GCCAP_AUDIO_g729AnnexAwAnnexB.