Upgrade 3CX to v18 and get it hosted free!

Asterisk tips console

Author image

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

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
;
[general]
;
; Automatically answer incoming calls on the console? Choose yes if
; for example you want to use this as an intercom.
;
autoanswer=yes
;
; Default context (is overridden with @context syntax)
;
context=local
;
; Default extension to call
;
extension=s
;
; Default language
;
;language=en
;
; 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


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.