[asterisk-bugs] [Asterisk 0016292]: [patch] DTMF Not Recognized with Exchange UM

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 1 13:51:52 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16292 
====================================================================== 
Reported By:                rsw686
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16292
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.1.10 
JIRA:                       SWP-463 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-20 09:53 CST
Last Modified:              2009-12-01 13:51 CST
====================================================================== 
Summary:                    [patch] DTMF Not Recognized with Exchange UM
Description: 
I just upgraded my Asterisk 1.6.1.4 version to 1.6.1.10 and the DTMF tones
are not being recognized by the Exchange UM server. I tested out the RC
release and found that it worked in 1.6.1.7-rc1 and broke in 1.6.1.7-rc2.

What happens is Exchange UM will say to enter your mailbox number. I enter
8532 and it will say that 8 is not a valid entry. It appears Asterisk is
only detecting the first DTMF tone.
====================================================================== 

---------------------------------------------------------------------- 
 (0114473) rsw686 (reporter) - 2009-12-01 13:51
 https://issues.asterisk.org/view.php?id=16292#c114473 
---------------------------------------------------------------------- 
Looks like there is a second rtp stream being for the DTMF that the
constantssrc bit isn't getting set for.

void ast_rtp_set_constantssrc(struct ast_rtp *rtp)
{
        ast_verbose("ast_rtp_set_constantssrc: setting flag\n");
        rtp->constantssrc = 1;
}

void ast_rtp_new_source(struct ast_rtp *rtp)
{
        if (rtp) {
                rtp->set_marker_bit = 1;
                unsigned int oldssrc = rtp->ssrc;
                if (!rtp->constantssrc) {
                        rtp->ssrc = ast_random();
                }
                ast_verbose("ast_rtp_new_source: ssrc is %d, new ssrc is
%d, constantssrc is %d\n", oldssrc, rtp->ssrc, rtp->constantssrc);
        }
}

  == Using SIP RTP CoS mark 5
ast_rtp_set_constantssrc: setting flag
    -- Executing [3300 at default:1] Answer("SIP/38678-00000000", "") in new
stack
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
    -- Executing [3300 at default:2] Dial("SIP/38678-00000000",
"SIP/SIP_VM/3300,,TTr") in new stack
  == Using SIP RTP CoS mark 5
ast_rtp_set_constantssrc: setting flag
    -- Called SIP_VM/3300
    -- Got SIP response 302 "Moved Temporarily" back from 10.9.1.13
    -- Now forwarding SIP/38678-00000000 to
'SIP/3300::::TCP at 10.9.1.13:5067' (thanks to SIP/SIP_VM-00000001)
  == Using SIP RTP CoS mark 5
    -- SIP/10.9.1.13:5067-00000002 is ringing
    -- SIP/10.9.1.13:5067-00000002 answered SIP/38678-00000000
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 461866577, new ssrc is 1555714261,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1555714261, new ssrc is 1352119684,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1352119684, new ssrc is 691442459,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 691442459, new ssrc is 244400140, constantssrc
is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 244400140, new ssrc is 628275142, constantssrc
is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 628275142, new ssrc is 1397725581,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1397725581, new ssrc is 1011292212,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1011292212, new ssrc is 216313247,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 216313247, new ssrc is 1340074936,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1340074936, new ssrc is 1693137277,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1693137277, new ssrc is 1536225844,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1536225844, new ssrc is 1916174420,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1916174420, new ssrc is 1708622714,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1708622714, new ssrc is 1612280003,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 1612280003, new ssrc is 279440336,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 279440336, new ssrc is 2073867699,
constantssrc is 0
ast_rtp_new_source: ssrc is 492797963, new ssrc is 492797963, constantssrc
is 1
ast_rtp_new_source: ssrc is 2073867699, new ssrc is 197138117,
constantssrc is 0
ast_rtp_new_source: ssrc is 197138117, new ssrc is 434141706, constantssrc
is 0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-01 13:51 rsw686         Note Added: 0114473                          
======================================================================




More information about the asterisk-bugs mailing list