Asterisk tips console

chan_oss tips

Hardware phone connected to sound card

How to use a modified chan_oss to operate an old POTS (or DECT) phone that is plugged into a sound cord on an Asterisk box
Read more at: (this page may be down once in a while)

See also

Sound card acting as software phone

This is how to configure the sound card of the Linux server you run Asterisk on to act as a phone client to Asterisk.
From John Todd,

; — oss.conf
; Open Sound System Console Driver Configuration File
; Automatically answer incoming calls on the console? Choose yes if
; for example you want to use this as an intercom.
; Default context (is overridden with @context syntax)
; Default extension to call
; Default language
; Silence supression can be enabled when sound is over a certain threshold.
; The value for the threshold should probably be between 500 and 2000 or so,
; but your mileage may vary. Use the echo test to evaluate the best setting.
;silencesuppression = yes
;silencethreshold = 1000

; — extensions.conf
exten => 111,1,Dial(CONSOLE/dsp)
exten => 111,2,Hangup

You will need to have the chan_oss module correctly loaded to use the console as a pager. See "show modules" to verify that it's been installed correctly.

Back to Asterisk tips and tricks

Created by: oej, Last modification: Sat 05 of Nov, 2005 (15:02 UTC) by JustRumours
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+