Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] DTMF problems while greeting is playing (Ba


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jlamanna at gmail.com
Guest





PostPosted: Wed Mar 12, 2008 1:48 am    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Hi,
I have a Digium TE410p T1 card and I've noticed that under asterisk
1.4.17/18 I have problems detecting DTMF in IVRs. I think I've
narrowed the problem down to some sort of interference between the
greeting that is playing and the DTMF tones. DTMF detection seems to
work very reliably when I am in Read() or WaitExten(), but is
absolutely unusable while in Background().

I hope someone has some ideas for a workaround or solution to this
problem. Having users wait until the end of a greeting to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Wed Mar 12, 2008 9:47 am    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Hi James;

Before putting my comments, first of all I would like
to ask u something that might also help: how can u use
the Read() or the WaitExten() instead of the
Background?
Back to top
jlamanna at gmail.com
Guest





PostPosted: Wed Mar 12, 2008 11:45 am    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Hi everyone.
I've tried RelaxDTMF and it didn't seem to help.

I can't use Read() or WaitExten() instead of background.
What I was doing was running a test using the following dialplan:
[custom-testdtmf2]
exten => s,1,Answer
exten => s,n,AGI(festival-script.pl|Enter test digits. Then press pound.)
exten => s,n,Read(mydigit||0)
exten => s,n,SayDigits(${mydigit})
exten => s,n,Gotoif($["foo${mydigit}" = "foo"]?6:3)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

When I dialed in and pressed some digits, all the digits were read
back to me with no issues.
So it seems that the greeting in Background() is interfering with the
DTMF detection.

-- James

On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Hi James;

Before putting my comments, first of all I would like
to ask u something that might also help: how can u use
the Read() or the WaitExten() instead of the
Background?

From the other side:

I got one email from eric asked me to Lower the rxgain
and txgain on your Zap channels. But actually it is
already the voice volume is low and I was looking to
increase the gain (currently it is 0.0), so I do not
know if eric was mean to reduce it less than 0.0, but
I can not do that due to the low volume that is
already existed, so any more reduce will make the
voice not hearable well, even if the DTMF problem
resolved.

I can share u one thing, the main problem in the
Background is the duplication in the first digit
detection, so for example if I entered 150, it will
detect it 115 (and will not continue to detect the 0
as the digit length completed).

Any advise?

Regards
Bilal

------------



Hi,
I have a Digium TE410p T1 card and I've noticed that
under asterisk
1.4.17/18 I have problems detecting DTMF in IVRs. I
think I've
narrowed the problem down to some sort of interference
between the
greeting that is playing and the DTMF tones. DTMF
detection seems to
work very reliably when I am in Read() or WaitExten(),
but is
absolutely unusable while in Background().

I hope someone has some ideas for a workaround or
solution to this
problem. Having users wait until the end of a greeting
to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
-----------

Lower the rxgain and txgain on your Zap channels.

bilal ghayyad wrote:
Quote:
Hi Brent;

I have been suffering from this problem since about
2
Quote:
monthes and until now still did not resolved 100%.

First of all, I need to tell u that mostly u have a
problem that the first digit is duplicated, for
example: if ur customer entered 108 then it will be
recognized 110 (the 1 duplicated, and then it takes
the 0, and it does not continue to take the 8 as it
completes the 3 digits ... this is just an example).

Your problem is in the duplication for the digit and
specifically the first digit usually will be
duplicated.

If u found a solution let me know.

Regards
Bilal




____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Back to top
jlamanna at gmail.com
Guest





PostPosted: Wed Mar 12, 2008 12:12 pm    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Another note, after looking at the source code, it seems as though
WaitExten() and Read() use ast_waitfordigit() where Background uses
ast_waitstream().

Apparently these 2 functions must behave differently.

-- James

On Wed, Mar 12, 2008 at 9:45 AM, James Lamanna <jlamanna at gmail.com> wrote:
Quote:
Hi everyone.
I've tried RelaxDTMF and it didn't seem to help.

I can't use Read() or WaitExten() instead of background.
What I was doing was running a test using the following dialplan:
[custom-testdtmf2]
exten => s,1,Answer
exten => s,n,AGI(festival-script.pl|Enter test digits. Then press pound.)
exten => s,n,Read(mydigit||0)
exten => s,n,SayDigits(${mydigit})
exten => s,n,Gotoif($["foo${mydigit}" = "foo"]?6:3)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

When I dialed in and pressed some digits, all the digits were read
back to me with no issues.
So it seems that the greeting in Background() is interfering with the
DTMF detection.

-- James



On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Hi James;

Before putting my comments, first of all I would like
to ask u something that might also help: how can u use
the Read() or the WaitExten() instead of the
Background?

From the other side:

I got one email from eric asked me to Lower the rxgain
and txgain on your Zap channels. But actually it is
already the voice volume is low and I was looking to
increase the gain (currently it is 0.0), so I do not
know if eric was mean to reduce it less than 0.0, but
I can not do that due to the low volume that is
already existed, so any more reduce will make the
voice not hearable well, even if the DTMF problem
resolved.

I can share u one thing, the main problem in the
Background is the duplication in the first digit
detection, so for example if I entered 150, it will
detect it 115 (and will not continue to detect the 0
as the digit length completed).

Any advise?

Regards
Bilal

------------



Hi,
I have a Digium TE410p T1 card and I've noticed that
under asterisk
1.4.17/18 I have problems detecting DTMF in IVRs. I
think I've
narrowed the problem down to some sort of interference
between the
greeting that is playing and the DTMF tones. DTMF
detection seems to
work very reliably when I am in Read() or WaitExten(),
but is
absolutely unusable while in Background().

I hope someone has some ideas for a workaround or
solution to this
problem. Having users wait until the end of a greeting
to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
-----------

Lower the rxgain and txgain on your Zap channels.

bilal ghayyad wrote:
Quote:
Hi Brent;

I have been suffering from this problem since about
2
Quote:
monthes and until now still did not resolved 100%.

First of all, I need to tell u that mostly u have a
problem that the first digit is duplicated, for
example: if ur customer entered 108 then it will be
recognized 110 (the 1 duplicated, and then it takes
the 0, and it does not continue to take the 8 as it
completes the 3 digits ... this is just an example).

Your problem is in the duplication for the digit and
specifically the first digit usually will be
duplicated.

If u found a solution let me know.

Regards
Bilal




____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Fri Mar 14, 2008 12:55 pm    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Hi Eric;

I decreased the gain (although I was need to increase
it) and the problem somehow resolved partially (much
more better), but now I have a problem in the voice
volume, it is weak. If I increased the volume, then
the duplicatin in the DTMF for the first entered digit
(specifically) will appear.

Any help how can we resolve this?
Regards
Bilal
---------------------
Another note, after looking at the source code, it
seems as though
WaitExten() and Read() use ast_waitfordigit() where
Background uses
ast_waitstream().

Apparently these 2 functions must behave differently.

-- James

On Wed, Mar 12, 2008 at 9:45 AM, James Lamanna
<jlamanna at gmail.com>
wrote:
Quote:
Hi everyone.
I've tried RelaxDTMF and it didn't seem to help.

I can't use Read() or WaitExten() instead of
background.
Quote:
What I was doing was running a test using the
following dialplan:
Quote:
[custom-testdtmf2]
exten => s,1,Answer
exten => s,n,AGI(festival-script.pl|Enter test
digits. Then press
pound.)
Quote:
exten => s,n,Read(mydigit||0)
exten => s,n,SayDigits(${mydigit})
exten => s,n,Gotoif($["foo${mydigit}" = "foo"]?6:3)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

When I dialed in and pressed some digits, all the
digits were read
Quote:
back to me with no issues.
So it seems that the greeting in Background() is
interfering with
the
Quote:
DTMF detection.

-- James



On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Quote:
Hi James;

Before putting my comments, first of all I would
like
Quote:
Quote:
to ask u something that might also help: how can
u use
Quote:
Quote:
the Read() or the WaitExten() instead of the
Background?

From the other side:

I got one email from eric asked me to Lower the
rxgain
Quote:
Quote:
and txgain on your Zap channels. But actually it
is
Quote:
Quote:
already the voice volume is low and I was
looking to
Quote:
Quote:
increase the gain (currently it is 0.0), so I do
not
Quote:
Quote:
know if eric was mean to reduce it less than
0.0, but
Quote:
Quote:
I can not do that due to the low volume that is
already existed, so any more reduce will make
the
Quote:
Quote:
voice not hearable well, even if the DTMF
problem
Quote:
Quote:
resolved.

I can share u one thing, the main problem in the
Background is the duplication in the first digit
detection, so for example if I entered 150, it
will
Quote:
Quote:
detect it 115 (and will not continue to detect
the 0
Quote:
Quote:
as the digit length completed).

Any advise?

Regards
Bilal

------------



Hi,
I have a Digium TE410p T1 card and I've noticed
that
Quote:
Quote:
under asterisk
1.4.17/18 I have problems detecting DTMF in
IVRs. I
Quote:
Quote:
think I've
narrowed the problem down to some sort of
interference
Quote:
Quote:
between the
greeting that is playing and the DTMF tones.
DTMF
Quote:
Quote:
detection seems to
work very reliably when I am in Read() or
WaitExten(),
Quote:
Quote:
but is
absolutely unusable while in Background().

I hope someone has some ideas for a workaround
or
Quote:
Quote:
solution to this
problem. Having users wait until the end of a
greeting
Quote:
Quote:
to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
-----------

Lower the rxgain and txgain on your Zap
channels.
Quote:
Quote:

bilal ghayyad wrote:
Quote:
Hi Brent;

I have been suffering from this problem since
about
Quote:
Quote:
2
Quote:
monthes and until now still did not resolved
100%.
Quote:
Quote:
Quote:

First of all, I need to tell u that mostly u
have a
Quote:
Quote:
Quote:
problem that the first digit is duplicated,
for
Quote:
Quote:
Quote:
example: if ur customer entered 108 then it
will be
Quote:
Quote:
Quote:
recognized 110 (the 1 duplicated, and then it
takes
Quote:
Quote:
Quote:
the 0, and it does not continue to take the 8
as it
Quote:
Quote:
Quote:
completes the 3 digits ... this is just an
example).
Quote:
Quote:
Quote:

Your problem is in the duplication for the
digit and
Quote:
Quote:
Quote:
specifically the first digit usually will be
duplicated.

If u found a solution let me know.

Regards
Bilal


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Back to top
jlamanna at gmail.com
Guest





PostPosted: Fri Mar 14, 2008 3:07 pm    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

Actually, relaxDTMF helped me.
I realized I was putting it in the wrong location in the zapata.conf
to get it to apply to my channels.
'zap show channel #' will tell if you if RelaxDTMF is enabled on a channel.

-- James

On Fri, Mar 14, 2008 at 10:55 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Hi Eric;

I decreased the gain (although I was need to increase
it) and the problem somehow resolved partially (much
more better), but now I have a problem in the voice
volume, it is weak. If I increased the volume, then
the duplicatin in the DTMF for the first entered digit
(specifically) will appear.

Any help how can we resolve this?
Regards
Bilal


---------------------


Another note, after looking at the source code, it
seems as though
WaitExten() and Read() use ast_waitfordigit() where
Background uses
ast_waitstream().

Apparently these 2 functions must behave differently.

-- James

On Wed, Mar 12, 2008 at 9:45 AM, James Lamanna
<jlamanna at gmail.com>
wrote:
Quote:
Hi everyone.
I've tried RelaxDTMF and it didn't seem to help.

I can't use Read() or WaitExten() instead of
background.
Quote:
What I was doing was running a test using the
following dialplan:
Quote:
[custom-testdtmf2]
exten => s,1,Answer
exten => s,n,AGI(festival-script.pl|Enter test
digits. Then press
pound.)
Quote:
exten => s,n,Read(mydigit||0)
exten => s,n,SayDigits(${mydigit})
exten => s,n,Gotoif($["foo${mydigit}" = "foo"]?6:3)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

When I dialed in and pressed some digits, all the
digits were read
Quote:
back to me with no issues.
So it seems that the greeting in Background() is
interfering with
the
Quote:
DTMF detection.

-- James



On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Quote:
Hi James;

Before putting my comments, first of all I would
like
Quote:
Quote:
to ask u something that might also help: how can
u use
Quote:
Quote:
the Read() or the WaitExten() instead of the
Background?

From the other side:

I got one email from eric asked me to Lower the
rxgain
Quote:
Quote:
and txgain on your Zap channels. But actually it
is
Quote:
Quote:
already the voice volume is low and I was
looking to
Quote:
Quote:
increase the gain (currently it is 0.0), so I do
not
Quote:
Quote:
know if eric was mean to reduce it less than
0.0, but
Quote:
Quote:
I can not do that due to the low volume that is
already existed, so any more reduce will make
the
Quote:
Quote:
voice not hearable well, even if the DTMF
problem
Quote:
Quote:
resolved.

I can share u one thing, the main problem in the
Background is the duplication in the first digit
detection, so for example if I entered 150, it
will
Quote:
Quote:
detect it 115 (and will not continue to detect
the 0
Quote:
Quote:
as the digit length completed).

Any advise?

Regards
Bilal

------------



Hi,
I have a Digium TE410p T1 card and I've noticed
that
Quote:
Quote:
under asterisk
1.4.17/18 I have problems detecting DTMF in
IVRs. I
Quote:
Quote:
think I've
narrowed the problem down to some sort of
interference
Quote:
Quote:
between the
greeting that is playing and the DTMF tones.
DTMF
Quote:
Quote:
detection seems to
work very reliably when I am in Read() or
WaitExten(),
Quote:
Quote:
but is
absolutely unusable while in Background().

I hope someone has some ideas for a workaround
or
Quote:
Quote:
solution to this
problem. Having users wait until the end of a
greeting
Quote:
Quote:
to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
-----------

Lower the rxgain and txgain on your Zap
channels.
Quote:
Quote:

bilal ghayyad wrote:
Quote:
Hi Brent;

I have been suffering from this problem since
about
Quote:
Quote:
2
Quote:
monthes and until now still did not resolved
100%.
Quote:
Quote:
Quote:

First of all, I need to tell u that mostly u
have a
Quote:
Quote:
Quote:
problem that the first digit is duplicated,
for
Quote:
Quote:
Quote:
example: if ur customer entered 108 then it
will be
Quote:
Quote:
Quote:
recognized 110 (the 1 duplicated, and then it
takes
Quote:
Quote:
Quote:
the 0, and it does not continue to take the 8
as it
Quote:
Quote:
Quote:
completes the 3 digits ... this is just an
example).
Quote:
Quote:
Quote:

Your problem is in the duplication for the
digit and
Quote:
Quote:
Quote:
specifically the first digit usually will be
duplicated.

If u found a solution let me know.

Regards
Bilal


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Fri Mar 14, 2008 5:48 pm    Post subject: [asterisk-users] DTMF problems while greeting is playing (Ba Reply with quote

zap show channel 3 is giving me that I am using
relaxdtmf (actually I placed the relaxdtmf before the
assiging for the channel -> 3).

I increased the volume rxgain and txgain and now the
voice is hearable good, but still the detection for
the dtmf has duplication.

But, if I let the voice message completed and then I
entered the digits, it takes it some how better (look
like no duplication, did not notice till now).

Can anyone help me in explaining why no duplicatin in
the dtmf detection happens if I let the voice message
completed, and the duplication happens if I let the
voice message not completed?

In the end, I beleive there should be a solution for
this problem, it is very very important to avoid the
duplication in the digit detection.

Any advise?
Regards
Bilal
--- James Lamanna <jlamanna at gmail.com> wrote:

Quote:
Actually, relaxDTMF helped me.
I realized I was putting it in the wrong location in
the zapata.conf
to get it to apply to my channels.
'zap show channel #' will tell if you if RelaxDTMF
is enabled on a channel.

-- James

On Fri, Mar 14, 2008 at 10:55 AM, bilal ghayyad
<bilmar_gh at yahoo.com> wrote:
Quote:
Hi Eric;

I decreased the gain (although I was need to
increase
Quote:
it) and the problem somehow resolved partially
(much
Quote:
more better), but now I have a problem in the
voice
Quote:
volume, it is weak. If I increased the volume,
then
Quote:
the duplicatin in the DTMF for the first entered
digit
Quote:
(specifically) will appear.

Any help how can we resolve this?
Regards
Bilal


---------------------


Another note, after looking at the source code, it
seems as though
WaitExten() and Read() use ast_waitfordigit()
where
Quote:
Background uses
ast_waitstream().

Apparently these 2 functions must behave
differently.
Quote:

-- James

On Wed, Mar 12, 2008 at 9:45 AM, James Lamanna
<jlamanna at gmail.com>
wrote:
Quote:
Hi everyone.
I've tried RelaxDTMF and it didn't seem to
help.
Quote:
Quote:

I can't use Read() or WaitExten() instead of
background.
Quote:
What I was doing was running a test using the
following dialplan:
Quote:
[custom-testdtmf2]
exten => s,1,Answer
exten => s,n,AGI(festival-script.pl|Enter test
digits. Then press
pound.)
Quote:
exten => s,n,Read(mydigit||0)
exten => s,n,SayDigits(${mydigit})
exten => s,n,Gotoif($["foo${mydigit}" =
"foo"]?6:3)
Quote:
Quote:
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup

When I dialed in and pressed some digits, all
the
Quote:
digits were read
Quote:
back to me with no issues.
So it seems that the greeting in Background()
is
Quote:
interfering with
the
Quote:
DTMF detection.

-- James



On Wed, Mar 12, 2008 at 7:47 AM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Quote:
Hi James;

Before putting my comments, first of all I
would
Quote:
like
Quote:
Quote:
to ask u something that might also help:
how can
Quote:
u use
Quote:
Quote:
the Read() or the WaitExten() instead of
the
Quote:
Quote:
Quote:
Background?

From the other side:

I got one email from eric asked me to Lower
the
Quote:
rxgain
Quote:
Quote:
and txgain on your Zap channels. But
actually it
Quote:
is
Quote:
Quote:
already the voice volume is low and I was
looking to
Quote:
Quote:
increase the gain (currently it is 0.0), so
I do
Quote:
not
Quote:
Quote:
know if eric was mean to reduce it less
than
Quote:
0.0, but
Quote:
Quote:
I can not do that due to the low volume
that is
Quote:
Quote:
Quote:
already existed, so any more reduce will
make
Quote:
the
Quote:
Quote:
voice not hearable well, even if the DTMF
problem
Quote:
Quote:
resolved.

I can share u one thing, the main problem
in the
Quote:
Quote:
Quote:
Background is the duplication in the first
digit
Quote:
Quote:
Quote:
detection, so for example if I entered 150,
it
Quote:
will
Quote:
Quote:
detect it 115 (and will not continue to
detect
Quote:
the 0
Quote:
Quote:
as the digit length completed).

Any advise?

Regards
Bilal

------------



Hi,
I have a Digium TE410p T1 card and I've
noticed
Quote:
that
Quote:
Quote:
under asterisk
1.4.17/18 I have problems detecting DTMF in
IVRs. I
Quote:
Quote:
think I've
narrowed the problem down to some sort of
interference
Quote:
Quote:
between the
greeting that is playing and the DTMF
tones.
Quote:
DTMF
Quote:
Quote:
detection seems to
work very reliably when I am in Read() or
WaitExten(),
Quote:
Quote:
but is
absolutely unusable while in Background().

I hope someone has some ideas for a
workaround
Quote:
or
Quote:
Quote:
solution to this
problem. Having users wait until the end of
a
Quote:
greeting
Quote:
Quote:
to make a menu
selection is pretty much unacceptable.

Thank you.

-- James
-----------

Lower the rxgain and txgain on your Zap
channels.
Quote:
Quote:

bilal ghayyad wrote:
Quote:
Hi Brent;

I have been suffering from this problem
since
Quote:
about
Quote:
Quote:
2
Quote:
monthes and until now still did not
resolved
Quote:
100%.
Quote:
Quote:
Quote:

First of all, I need to tell u that
mostly u
Quote:
have a
Quote:
Quote:
Quote:
problem that the first digit is
duplicated,
Quote:
for
Quote:
Quote:
Quote:
example: if ur customer entered 108 then
it
Quote:
will be

=== message truncated ===



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services