[asterisk-users] Improve voice quality on Asterisk
+chan_capi+DIVA BRI
Cosmin Prund
cosmin.prund at adicomsoft.ro
Fri Apr 20 05:23:42 MST 2007
This message includes two snips of CLI output, with DTFM CLAMPING ON
(first) and with DTFM CLAMPING OFF (second). You can search for "******"
to skip to the second CLI Output. In the first case I've enterd 6 DTFM
digits (123456), you can see them in a CLI msg at some point. In the
second test I enterd way more digits (123456789?) but my IVR didn't
react to any of them.
Thanks a lot for your time.
<CLI Output>
== ISDN1#02: Answering for 206364
CONNECT_RESP ID=001 #0x494d LEN=0040
Controller/PLCI/NCCI = 0x401
Reject = 0x0
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
ConnectedNumber = <00 80>206364
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
> CAPI devicestate requested for ISDN1/206364
-- <CAPI/ISDN1/206364-28> Playing '/ram_sounds/intro-activare'
(language 'de')
CONNECT_ACTIVE_IND ID=001 #0x4954 LEN=0015
Controller/PLCI/NCCI = 0x401
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=001 #0x4954 LEN=0012
Controller/PLCI/NCCI = 0x401
CONNECT_B3_IND ID=001 #0x4955 LEN=0013
Controller/PLCI/NCCI = 0x2b0401
NCPI = default
CONNECT_B3_RESP ID=001 #0x4955 LEN=0015
Controller/PLCI/NCCI = 0x2b0401
Reject = 0x0
NCPI = default
CONNECT_B3_ACTIVE_IND ID=001 #0x4956 LEN=0013
Controller/PLCI/NCCI = 0x2b0401
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=001 #0x4956 LEN=0012
Controller/PLCI/NCCI = 0x2b0401
== ISDN1#02: Setting up echo canceller (PLCI=0x401, function=1,
options=4, tail=0)
FACILITY_REQ ID=001 #0x355c LEN=0024
Controller/PLCI/NCCI = 0x401
FacilitySelector = 0x8
FacilityRequestParameter = <01 00 06 04 00 00 00 00 00>
FACILITY_CONF ID=001 #0x355c LEN=0022
Controller/PLCI/NCCI = 0x401
Info = 0x0
FacilitySelector = 0x8
FacilityConfirmationParameter = <01 00 02 00 00>
-- ISDN1#02: Echo canceller successfully set up (PLCI=0x401)
-- User entered '123456'
) (sample_offset 0)m_sounds/codul-client-nu-este-valid' (escape_digits=
INFO_IND ID=001 #0x4a87 LEN=0017
Controller/PLCI/NCCI = 0x401
InfoNumber = 0x1e
InfoElement = <82 88>
INFO_RESP ID=001 #0x4a87 LEN=0012
Controller/PLCI/NCCI = 0x401
-- ISDN1#02: info element PI 82 88
> ISDN1#02: In-band information available
INFO_IND ID=001 #0x4a88 LEN=0017
Controller/PLCI/NCCI = 0x401
InfoNumber = 0x1e
InfoElement = <82 83>
INFO_RESP ID=001 #0x4a88 LEN=0012
Controller/PLCI/NCCI = 0x401
-- ISDN1#02: info element PI 82 83
> ISDN1#02: Origination is non ISDN
INFO_IND ID=001 #0x4a89 LEN=0017
Controller/PLCI/NCCI = 0x401
InfoNumber = 0x8
InfoElement = <80 90>
INFO_RESP ID=001 #0x4a89 LEN=0012
Controller/PLCI/NCCI = 0x401
-- ISDN1#02: info element CAUSE 80 90
INFO_IND ID=001 #0x4a8a LEN=0015
Controller/PLCI/NCCI = 0x401
InfoNumber = 0x8045
InfoElement = default
INFO_RESP ID=001 #0x4a8a LEN=0012
Controller/PLCI/NCCI = 0x401
-- ISDN1#02: info element DISCONNECT
-- ISDN1#02: Disconnect case 3
-- CAPI queue frame: TYPE: Control (4) SUBCLASS: Hangup (1) ]
[ISDN1#02]
</CLI Output>
********************************
<CLI Output>
== ISDN1#02: Answering for 206364
CONNECT_RESP ID=001 #0x4a91 LEN=0040
Controller/PLCI/NCCI = 0x301
Reject = 0x0
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
ConnectedNumber = <00 80>206364
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
> CAPI devicestate requested for ISDN1/206364
-- <CAPI/ISDN1/206364-29> Playing '/ram_sounds/intro-activare'
(language 'de')
CONNECT_ACTIVE_IND ID=001 #0x4a98 LEN=0015
Controller/PLCI/NCCI = 0x301
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=001 #0x4a98 LEN=0012
Controller/PLCI/NCCI = 0x301
CONNECT_B3_IND ID=001 #0x4a99 LEN=0013
Controller/PLCI/NCCI = 0x2c0301
NCPI = default
CONNECT_B3_RESP ID=001 #0x4a99 LEN=0015
Controller/PLCI/NCCI = 0x2c0301
Reject = 0x0
NCPI = default
CONNECT_B3_ACTIVE_IND ID=001 #0x4a9a LEN=0013
Controller/PLCI/NCCI = 0x2c0301
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=001 #0x4a9a LEN=0012
Controller/PLCI/NCCI = 0x2c0301
== ISDN1#02: Setting up echo canceller (PLCI=0x301, function=1,
options=4, tail=0)
FACILITY_REQ ID=001 #0x363c LEN=0024
Controller/PLCI/NCCI = 0x301
FacilitySelector = 0x8
FacilityRequestParameter = <01 00 06 04 00 00 00 00 00>
FACILITY_CONF ID=001 #0x363c LEN=0022
Controller/PLCI/NCCI = 0x301
Info = 0x0
FacilitySelector = 0x8
FacilityConfirmationParameter = <01 00 02 00 00>
-- ISDN1#02: Echo canceller successfully set up (PLCI=0x301)
INFO_IND ID=001 #0x4bbc LEN=0017
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x1e
InfoElement = <82 88>
INFO_RESP ID=001 #0x4bbc LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element PI 82 88
> ISDN1#02: In-band information available
INFO_IND ID=001 #0x4bbd LEN=0017
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x1e
InfoElement = <82 83>
INFO_RESP ID=001 #0x4bbd LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element PI 82 83
> ISDN1#02: Origination is non ISDN
INFO_IND ID=001 #0x4bbe LEN=0017
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x8
InfoElement = <80 90>
INFO_RESP ID=001 #0x4bbe LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element CAUSE 80 90
INFO_IND ID=001 #0x4bbf LEN=0015
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x8045
InfoElement = default
INFO_RESP ID=001 #0x4bbf LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element DISCONNECT
-- ISDN1#02: Disconnect case 3
-- CAPI queue frame: TYPE: Control (4) SUBCLASS: Hangup (1) ]
[ISDN1#02]
</CLI Output>
--
Thanks,
Cosmin Prund
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Armin Schindler
> Sent: 20 aprilie 2007 14:48
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] Improve voice quality on Asterisk
> +chan_capi+DIVA BRI
>
> On Fri, 20 Apr 2007, Cosmin Prund wrote:
> > I've implemented my IVR using an FastAGI thing, using the READ
> > application. "core show application read" shows no information on
how
> > the read function gets it's digits, I assume it does it the right
> way.
> > With DTMF clamping off it works, with DTMF clamping on it no longer
> > works. I've also toggled the "softftfm" setting in capi.conf, no
luck
> > ether way.
> >
> > Is there anything else I can try? Did I miss the obvious (it would
> not
> > be my first)
>
> Can you please create a capi log:
> set verbose 5
> capi debug
> to see what really happens via the interface?
>
> Armin
>
> > > -----Original Message-----
> > > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-
> users-
> > > bounces at lists.digium.com] On Behalf Of Armin Schindler
> > > Sent: 20 aprilie 2007 12:32
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Subject: RE: [asterisk-users] Improve voice quality on Asterisk +
> > > chan_capi+DIVA BRI
> > >
> > > On Fri, 20 Apr 2007, Cosmin Prund wrote:
> > > > Ok, I've made all those changes, called my operator from an
> outside
> > > line
> > > > and tried alternatively whispering / shouting into the mic,
> banging
> > > the
> > > > microphone with a metal object and pressing DTMF digits.
> > > >
> > > > So far - so good, it seems to work.
> > > >
> > > > I've now got an other problem. Clamping DTMF disabled my IVR! Is
> > > there
> > > > any way to enable/disable DTMF clamping on a per-call basis? Or
> > > better,
> > > > disable DTMF only when the call makes it to an operator?
> > >
> > > This is possible, but such a command/feature must be implemented
> into
> > > chan-capi first.
> > > Anyway, even with DTMF clamping the DTMF detection is activated.
So
> > > Asterisk should get the DTMF infos. Or is your IVR doing own DTMF
> > > detection on voice data? If yes, you should change that.
> > >
> > > Armin
> > >
> > > > > -----Original Message-----
> > > > > From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-
> > > users-
> > > > > bounces at lists.digium.com] On Behalf Of Armin Schindler
> > > > > Sent: 19 aprilie 2007 14:35
> > > > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > > > Subject: Re: [asterisk-users] Improve voice quality on
Asterisk
> +
> > > > > chan_capi+ DIVA BRI
> > > > >
> > > > > On Thu, 19 Apr 2007, Cosmin Prund wrote:
> > > > > > Hello everyone!
> > > > > >
> > > > > > I've got a Eicon Diva Server BRI card into my "*" box
working
> > > just
> > > > > fine,
> > > > > > but I wander if there's anything I can do to improve voice
> > > quality
> > > > > for
> > > > > > my operators. I'm thinking something along the lines of
"auto
> > > gain"
> > > > > and
> > > > > > sudden noise suppression (like when you hit a fax machine or
> the
> > > > > other
> > > > > > party accidently touches the dial pad on the phone).
> > > > > >
> > > > > > Does one of Asterisk, chan_capi or the Diva driver have
> support
> > > for
> > > > > such
> > > > > > functionality?
> > > > >
> > > > > Sure, with the Dialogic (Eicon) DIVA Server card DSPs, you
have
> > the
> > > > > following possibilities:
> > > > >
> > > > > 1. Automatic Gain Control and Active Talker Evaluation in
> > > conference
> > > > > (by
> > > > > default automatically activated with three or more parties)
> > > > > 2. Recording Stream Automatic Gain Control
> > > > > 3. Manual Control of Signal Level
> > > > > 4. Manual control of the signal pitch and/or bitrate (rate
> > > conversion)
> > > > > 5. Suppression of DTMF tones. This feature can be activated
> using
> > > > > adapter
> > > > > configuration (for all calls) or on per call basis
> > > > > This is always good to activate this feature for operators
> to
> > > > > protect
> > > > > people from signals or in one gateway to prevent DTMF tones
> > from
> > > > > passing
> > > > > through gateway in band.
> > > > > The DTMF tones are suppressed in the way which will not
> affect
> > > the
> > > > > quality of the voice signal in case voice signal and DTMF
> tones
> > > > > overlap.
> > > > > 6. Part 68 Voice Signal Limiter (Required in US, by default
> > > > deactivated
> > > > > in
> > > > > Europe). This protects the ears from "clicks" and too loud
> > > signals.
> > > > > This
> > > > > feature can be activated using the configuration. This is
> good
> > > idea
> > > > > to
> > > > > activate Part 68 voice signal limiter to protect the
people.
> > > This
> > > > is
> > > > > the
> > > > > dynamic voice signal limiter in accordance with Part 68 of
> US
> > > > > requirements.
> > > > >
> > > > > The Part 68 Limiter, Audio Recording Automatic Gain Control
> (AGC
> > of
> > > > > received signal) and the DTMF Clamping (Suppression of DTMF
> tones)
> > > are
> > > > > can be controlled using adapter configuration and do not
> require
> > > any
> > > > > change in the application (but can be controlled on the per
> call
> > > basis
> > > > > too, which is not implemented in chan-capi yet).
> > > > >
> > > > >
> > > > > Armin
> > > > > _______________________________________________
> > > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > >
> > > > > asterisk-users mailing list
> > > > > To UNSUBSCRIBE or update options visit:
> > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > _______________________________________________
> > > > --Bandwidth and Colocation provided by Easynews.com --
> > > >
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list