[Asterisk-Users] LINEJACK INPUT/OUTPUT ERROR
HCQ
hcqm at datafull.com
Sat Jul 17 16:51:26 MST 2004
Hi all,
I'm trying to get a linejack work with RH9 as a fxs line, I get the tone,
but I get this error when dialing:
-- Playing 'demo-echotest' (language 'en')
Jul 17 20:35:04 WARNING[1192437440]: chan_phone.c:451 phone_read: Error
reading: Input/output error
I googled for couple of hours in the list but no clue how to fix it.
I got ixj loaded as well.
Chan_phone seems to work (no errors at startup)
This is my phone.conf file:
; Linux Telephony Interface
;
; Configuration file
;
[interfaces]
;
; Select a mode, either the phone jack provides dialtone, reads digits,
; then starts PBX with the given extension (dialtone mode), or
; immediately provides the PBX without reading any digits or providing
; any dialtone (this is the immediate mode, the default). Also, you
; can set the mode to "fxo" if you have a linejack to make it operate
; properly.
;
;mode=immediate
mode=dialtone
;mode=fxo
;
; You can decide which format to use by default, "g723.1" or "slinear".
; XXX Be careful, sometimes the card causes kernel panics when running
; in signed linear mode for some reason... XXX
;
format=ulaw
;format=slinear
;format=g723.1
;
; And set the echo cancellation to "off", "low", "medium", and "high".
; This is not supported on all phones.
;
echocancel=medium
;
; You can optionally use VAD/CNG silence supression
;
;silencesupression=yes
;
; List all devices we can use. Contexts may also be specified
;
context=demo
;
; You can set txgain and rxgain for each device in the same way as context.
; If you want to change default gain value (1.0 =~ 100%) for device, simple
; add txgain or rxgain line before device line. But rememeber, if you change
; volume all cards listed below will be affected by these values. You can
; use float values (1.0, 0.5, 2.0) or percentage values (100%, 150%, 50%).
;
txgain=100%
rxgain=1.0
device => /dev/phone0
device => /dev/phone1
device => /dev/phone2
Any help will be appreciated.
Hector.
More information about the asterisk-users
mailing list