4.4.4. Setting Coder Information
Terminal capabilities are exchanged during call establishment. The terminal capabilities are sent to the remote side as notification of coder supported.
Table 6 shows the coders that are supported when using the Global Call API with IntelŪ NetStructure IPT boards.
G.711ALaw GCCAP_AUDIO_g711Alaw64k Frame Size: 10, 20, and 30 ms(Frames Per Packet: Fixed at 1 fpp) Not supported G.711ULaw GCCAP_AUDIO_g711Ulaw64k Frame Size: 10, 20, and 30 ms(Frames Per Packet: Fixed at 1 fpp) Not supported G.723.1 5.3 Kbps GCCAP_AUDIO_g7231_5_3k Frames Per Packet: 1, 2, 3 or 4(Frame Size: Fixed at 30 ms) Supported G.723.1, 6.3 Kbps GCCAP_AUDIO_g7231_6_3k Frames Per Packet: 1, 2, 3 or 4(Frame Size: Fixed at 30 ms) Supported G.729 or G.729a GCCAP_AUDIO_g729AnnexA Frames Per Packet: 1, 2, 3, or 4(Frame Size: Fixed at 30 ms) Not applicable G.729b or G.729a+b GCCAP_AUDIO_g729AnnexAwAnnexB Frames Per Packet: 1, 2, 3, or 4(Frame Size: Fixed at 30 ms) Supported T.38 GCCAP_DATA_t38UDPFax Not applicable Not applicable Notes:
1. For G.711 coders, the frame size value (not the frames per packet value) is specified in the frames_per_pkt field of the IP_AUDIO_CAPABILITY structure. See Section 7.3, IP_AUDIO_CAPABILITY for more information.
2. IntelŪ NetStructure IPT boards support symmetrical coder definitions only, that is, the transmit and receive coder definitions must be the same.Table 7 shows the coders that are supported when using the Global Call API with IntelŪ NetStructure DM/IP boards.
G.711 ALaw GCCAP_AUDIO_g711Alaw64k Frame Size: 10, 20 or 30 ms(Frames Per Packet: Fixed at 1 fpp) Not applicable G.711 ULaw GCCAP_AUDIO_g711Ulaw64k Frame Size: 10, 20 or 30 ms(Frames Per Packet: Fixed at 1 fpp) Not applicable G.723.1 5.3 Kbps GCCAP_AUDIO_g7231_5_3k Frames Per Packet: 1, 2 or 3(Frame Size: Fixed at 30 ms) Supported G.723.1, 6.3 Kbps GCCAP_AUDIO_g7231_6_3k Frames Per Packet: 1, 2 or 3(Frame Size: Fixed at 30 ms) Supported G.729 or G.729a GCCAP_AUDIO_g729AnnexA Frames Per Packet: 1, 2, 3 or 4(Frame Size: Fixed at 10 ms) Not applicable G.729b or G.729a+b GCCAP_AUDIO_g729AnnexAwAnnexB Frames Per Packet: 3 or 4(Frame Size: Fixed at 10 ms) Supported GSM Full Rate (TIPHON) GCCAP_AUDIO_gsmFullRate Frames Per Packet: 1, 2 or 3(Frame Size: Fixed at 20 ms) Disabled (default) orEnabled T.38 GCCAP_DATA_t38UDPFax Not applicable Not applicable Notes:
1. For G.711 coders, the frame size value (not the frames per packet value) is specified in the frames_per_pkt field of the IP_AUDIO_CAPABILITY structure. See Section 7.3, IP_AUDIO_CAPABILITY for more information.
2. GSM Telecommunications and Internet Protocol Harmonization over Networks (TIPHON) is a sub-group of the European Telecommunications Standards Institute (ETSI) GSM specification.
3. IntelŪ NetStructure DM/IP boards support G.726 play and record functionality only. Transcoding using G.726 is not supported.
4. GCCAP_dontCare can be used to indicate that any supported coder is valid.IntelŪ NetStructure Host Media Processing (HMP) software performs voice, conferencing and IVR processing on general-purpose servers based on IntelŪ architecture without the use of specialized hardware. Table 8 shows the coders that are supported when using the Global Call API with HMP.
G.711ALaw GCCAP_AUDIO_g711Alaw64k Frame Size: 10, 20, and 30 ms(Frames Per Packet: Fixed at 1 fpp) Not applicable G.711ULaw GCCAP_AUDIO_g711Ulaw64k Frame Size: 10, 20, and 30 ms(Frames Per Packet: Fixed at 1 fpp) Not applicable Note: For G.711 coders, the frame size value (not the frames per packet value) is specified in the frames_per_pkt field of the IP_AUDIO_CAPABILITY structure. See Section 7.3, IP_AUDIO_CAPABILITY for more information. Coder information can be set in the following ways:
- On a system wide basis using gc_SetConfigData( ).
- On a per line device basis using gc_SetUserInfo( ) with a duration parameter value of GC_ALLCALLS.
- On a per call basis using gc_MakeCall( ) or gc_SetUserInfo( ) with a duration parameter value of GC_SINGLECALL.
In each case, the following parameter set ID and parameter IDs are used to set up a GC_PARM_BLK containing the coder information:
Possible values for fields in the IP_CAPABILITY structure are:
- capability - One of the following:
- GCCAP_AUDIO_g711Alaw64k
- GCCAP_AUDIO_g711Ulaw64k
- GCCAP_AUDIO_g7231_5_3k (at 5.3 kbits/s)
- GCCAP_AUDIO_g7231_6_3k (at 6.3 kbits/s)
- GCCAP_AUDIO_g729AnnexA
- GCCAP_AUDIO_gsmFullRate
- GCCAP_DATA_t38UDPFax
- GCCAP_dontCare
- type - One of the following:
- direction - One of the following:
- IP_CAP_DIR_LCLTRANSMIT - transmit capability
- IP_CAP_DIR_LCLRECEIVE - receive capability
- IP_CAP_DIR_LCLRXTX - transmit and receive capability (T.38 only)
- Note: It is recommended to specify both the transmit and receive capabilities.
- payload_type - Not supported.
- extra - Must be of type IP_AUDIO_CAPABILITY.
- Note: For G.711 coders, this field is the frame size (in ms).
See Section 7.4, IP_CAPABILITY for more information.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation