Asterisk config oss.conf
The oss.conf Asterisk configuration file allows configuration of OSS channels within Asterisk. OSS channels allow calls to be placed to/from OSS devices, using OSS audio input/output devices as telephony devices. This allows a headphone and microphone plugged into a sound card, for example, to be used as a softphone. Calls can be placed and digits can be dialed from the Asterisk CLI, using the "dial", "answer", and "hangup" CLI commands.
The oss.conf file may contain any of the following directives:
With 1.2.x versions of Asterisk, only one OSS channel can be created and only one call can be placed to/from the OSS channel at a given time. If the OSS channel is in use when an incoming call is routed to it, the destination will be treated as busy.
Similar to the OSS channel driver, the ALSA channel driver provides similar functionality, but for ALSA-compatible devices. See Asterisk config alsa.conf.
Only one of either the ALSA or OSS channel drivers may be loaded at a given time. So, if you plan to use an OSS channel, you must enable chan_oss and disable chan_alsa in modules.conf. Ex:
noload => chan_alsa.so
load => chan_oss.so
The oss.conf file may contain any of the following directives:
- autoanswer = yes or no
- context = <context name>
- extension = <extension name or number>
With 1.2.x versions of Asterisk, only one OSS channel can be created and only one call can be placed to/from the OSS channel at a given time. If the OSS channel is in use when an incoming call is routed to it, the destination will be treated as busy.
Similar to the OSS channel driver, the ALSA channel driver provides similar functionality, but for ALSA-compatible devices. See Asterisk config alsa.conf.
Only one of either the ALSA or OSS channel drivers may be loaded at a given time. So, if you plan to use an OSS channel, you must enable chan_oss and disable chan_alsa in modules.conf. Ex:
noload => chan_alsa.so
load => chan_oss.so

Comments