[asterisk-bugs] [Asterisk 0015417]: Repeated DTMF

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 30 14:35:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15417 
====================================================================== 
Reported By:                makafre
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15417
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.25.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-29 13:30 CDT
Last Modified:              2009-06-30 14:35 CDT
====================================================================== 
Summary:                    Repeated DTMF
Description: 
I am experiencing DTMF repetition (4 times) while using the following
setup:

Zoiper -> (SIP/rfc2833) -> 1.4.25.1 -> get_data()

This is the only way I can reproduce the problem. IAX2 will work just
fine.

Let me know if you need more info from my part.

Thanks.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0015036 [patch] ignore both DTMF BEGIN and END ...
related to          0014815 [patch] DTMF Appears to be broken from ...
====================================================================== 

---------------------------------------------------------------------- 
 (0107257) makafre (reporter) - 2009-06-30 14:35
 https://issues.asterisk.org/view.php?id=15417#c107257 
---------------------------------------------------------------------- 
Here is more info :-) to reproduce the problem; I am using rfc2833 over SIP
and dialling
an extension that calls an AGI script which performs the get_data()
function. 
The problem is with that function that returns repeated digits.


SOFTWARE:

SoftPhone: Free Zoiper
Asterisk release: 1.4.25.1

DIALPLAN:

[test]
exten => _*7999,1,Agi(test.agi)

TEST.AGI:

#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
exit unless $input{'request'};
$SIG{HUP}  = 'ignore_hup';

my $user = $AGI->get_data('dir-welcome', 6000, 6);

1;

SIP_BUDDIES:

mysql> select * from sip_buddies where name=281827\G;
*************************** 1. row ***************************
            id: 77
          name: 281827
           nat: no
          type: friend
   accountcode: <removed>
      amaflags: billing
    call-limit: 10
      callerid: NULL
cancallforward: no
   canreinvite: no
       context: test
     defaultip: NULL
      dtmfmode: rfc2833
      fromuser: NULL
    fromdomain: NULL
      language: en
          mask: NULL
       qualify: no
        secret: <removed>
      disallow: all
         allow: g729;ilbc;gsm;ulaw;alaw
          port: 63548
     regserver:
    regseconds: 1246392521
      username: 281827
   defaultuser:
        ipaddr: <removed>
   fullcontact: sip:281827@<removed>:63548;rinstance=a4eb714e2266a140
          host: dynamic
        apptag: 0
        lastms: 0
1 row in set (0.00 sec)

ACTION:

1- Dial *7999 from Zoiper.
2- Hear the welcome prompt message
3- Press 1 digit on zoiper dialpad (e.g. '3')

RESULT:

[Jun 30 15:19:37] DEBUG[19592]: rtp.c:727 process_rfc2833: - RTP 2833
Event: 00000003 (len = 4)
[Jun 30 15:19:37] DEBUG[19592]: rtp.c:626 send_dtmf: Sending dtmf: 51 (3),
at 64.86.141.133
[Jun 30 15:19:37] DEBUG[19592]: rtp.c:727 process_rfc2833: - RTP 2833
Event: 00000003 (len = 4)
[Jun 30 15:19:37] DEBUG[19592]: rtp.c:727 process_rfc2833: - RTP 2833
Event: 00000003 (len = 4)
[Jun 30 15:19:37] DEBUG[19592]: rtp.c:727 process_rfc2833: - RTP 2833
Event: 00000003 (len = 4)
[Jun 30 15:19:37] DEBUG[19592]: rtp.c:626 send_dtmf: Sending dtmf: 51 (3),
at 64.86.141.133

->  So it seems that when pressing 1 digits, 4 are taken into account. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-30 14:35 makafre        Note Added: 0107257                          
======================================================================




More information about the asterisk-bugs mailing list