[chan-capi-users] Garbled playback to BRI
Jim Hickstein
jxh at jxh.com
Mon Jan 18 18:24:39 CET 2010
>> SIP <-> BRI Good
>> Playback(gsm) -> SIP Good
>> Playback(gsm) -> BRI Scratchy
>> Playback(ulaw) -> BRI Scratchy
>
> Did you set the config [in capi.conf] to ulaw (default is alaw)?
Yes.
> If you use allow=ulaw in capi.conf, please try without it to
> disable vocoder.
YESS!!! That works, for both ulaw and gsm sound files! I just commented out
"allow=" entirely. Thank you, thank you!
I don't completely understand it, but that's OK. If you want to explain it for
the list, I will listen patiently. :-)
And indeed "capi show channels" at the Asterisk CLI no longer shows "vocoder" as
the bproto on ISDN1#02 after the call, as it had been doing. (I should have
sent that observation before, as it now appears it was a good clue.)
--
Here's my capi.conf now:
; ----------------------------------------------------------------------
; CONFIGURATION SCRIPT FOR EICON DIVA ISDN ADAPTERS
; THIS SCRIPT WAS GENERATED AUTOMATICALLY BY
; /usr/lib/eicon/divas/Config
; ----------------------------------------------------------------------
[general]
; ----------------------------------------------
; /usr/lib/eicon/divas/chancapi.general
; ----------------------------------------------
nationalprefix=1 ; or for example "+49"
internationalprefix=011 ; or for example "+"
;subscriberprefix=+4969 ; prefix including area code (some lines need this)
rxgain=1.0 ;linear receive gain, 1.0 = no change, use Diva rxdgain and
rxagc for gain control
txgain=1.0 ;linear transmit gain, 1.0 = no change, use Diva txdgain and
txagc for gain control
language=en ;set default language
ulaw=yes ;set this, if you live in u-law world instead of a-law
;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,
;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on
hold.
[ISDN1]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=6902978,6516902978
group=1
controller=1
softdtmf=off
relaxdtmf=off
faxdetect=off
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
;allow=ulaw
More information about the Chan-capi-users
mailing list