Even the Alsa config Asterisk configuration document lets equilibrium of ALSA stations inside of Asterisk. ALSA stations enable needs to be set to/from the ALSA apparatus, with ALSA sound input/output apparatus as anti-inflammatory apparatus. This permits a headset and mic plugged to a solid card, as an instance, to serve as a softphone. Calls could be set along with chords that may be uninstalled out of your Asterisk CLI, utilizing the”dial,” “remedy,” and”hang up” CLI controls.
The alsa.conf file will comprise the following directives:
Indicates if maybe forecasts for ALSA channels need to really mechanically answer once they’re run. This is sometimes utilized to offer, for example, intercom-like features more than internet protocol address. In case autoanswer is disabled, then the”remedy” control has to be input in the CLI command prompt to answer a telephone ringing an ALSA station. (For whatever purpose, at the default settings, the worth of auto-answer is a place to indeed. In the event you appreciate your solitude, then you ought to disable it)
Circumstance
Signifies the circumstance at which extensions left together with all the CLI”dial” control are appear at. Ex: “dial one hundred” will dial-up expansion 100 from the circumstance given via this directive.
Expansion
Signifies the expansion that deciphers (from the circumstance given from the circumstance = lineup ) in the event the CLI”dial” control is an issue using no more expansion debate. Ex: only”dial.”
Signifies the title of this ALSA apparatus to utilize for shooting audio, i.e., such as discussing. A computer device name state this is now pass, unchanged, into the ALSA noise coating. Therefore any ALSA unit name needs to do the job. Only establishing a price of”default option” (that is, in fact, an ALSA unit title ) right here will work regularly.
Signifies the title of this ALSA apparatus to utilize for playing with sound, i.e., such as listening. A computer device name state this is now pass, unchanged, into the ALSA noise coating. Therefore any ALSA unit name needs to do the job. Caution: Asterisk can lock the ALSA PHP gadget given below to the full length the Asterisk approach is operating. You might need to twiddle hardware or software blending preferences to maintain Asterisk from hogging your output.
1.2.x variants
Together with 1.2.x variants of Asterisk, merely 1 ALSA station might be designed, just one input/output apparatus set might be linked to this ALSA station, and also just one telephone could be put to/from that the ALSA station in a specific time. In the event the ALSA station Alsa config is in usage as soon as an incoming call is sent to it, then the vacation destination is going to be medicated as hectic.
Very similar to this ALSA station motorist, the OSS number station driver offers the identical operation, except also for OSS-compatible apparatus.
One of the ALSA or OSS station drivers could possibly be load in a particular time. Consequently, in the event that you mean on using an ALSA station, then you must empower chan_alsa and then disable chan_oss from modules.conf. Ex: