Name
CHANNEL — Gets or sets various channel parameters
Synopsis
CHANNEL(item)
Standard items (provided by all channel technologies) are:
audioreadformatRead-only. Format currently being read.
audionativeformatRead-only. Format used natively for audio.
videonativeformatRead-only. Format used natively for video.
audiowriteformatRead-only. Format currently being written.
callgroupRead/write. Callgroups for call pickup.
channeltypeRead-only. Technology used for channel.
languageRead/write. Language used for sounds played and recorded.
musicclassRead/write. Class used (from musiconhold.conf) for hold music.
rxgainRead/write. Receive gain (in dB) on channel drivers that support it.
txgainRead/write. Transmit gain (in dB) on channel drivers that support it.
tonezoneRead/write. Regional zone for indications played.
stateRead-only. Current channel state.
transfercapabilityRead/write. What can be transferred on an ISDN circuit. Current valid values are:
SPEECHSpeech (default, voice calls)
DIGITALUnrestricted digital information (data calls)
RESTRICTED_DIGITALRestricted digital information
3K1AUDIO3.1 kHz Audio (fax calls)
DIGITAL_W_TONESUnrestricted digital information with tones/announcements
VIDEOVideo
Additional items may be available from the channel driver providing the channel; see its documentation for details. Any item requested that is not available on the current channel will return an empty string.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access