Summary:ASTERISK-12535: Inband dtmf not working in voicemailmain
Reporter:Ruchir Brahmbhatt (ruchirb)Labels:
Date Opened:2008-08-07 11:15:57Date Closed:2008-11-20 16:18:51.000-0600
Versions:Frequency of
Environment:Attachments:( 0) console_output.txt
Description:OS: Centos 5.0
Asterisk Version :
Configuration: Realtime
When we configure dtmfmode=auto for sip user in database, dtmf mode inband in phone(linksys pap2) and dial an extension going to voicemailmain, it doesn't detect dtmf at all.
If we set dtmfmode=inband then it works.
I think if we have defined dtmfmode=auto then asterisk should accept whatever the phone sends, isn't it?
Comments:By: Leif Madsen (lmadsen) 2008-09-02 14:52:59

Can you please provide the sip trace along with the console debug output when you setup the call? Be sure to setup the 'debug' option in logger.conf for the console and 'logger reload' before outputting the debug information to a file.

Here is how I get console output:

asterisk -cvvvvvdddddn | tee /tmp/console_output.txt

By: Leif Madsen (lmadsen) 2008-09-02 14:53:35

Also of note:  please try this on latest version of Asterisk 1.4 as well (ideally from SVN) in order to know the bug still exists in the most recent version.

By: Ruchir Brahmbhatt (ruchirb) 2008-09-03 09:50:51

I've attached the log

By: Tilghman Lesher (tilghman) 2008-09-03 10:46:09

The problem is clear from the SIP debug.  Auto doesn't mean that it will allow any DTMF, but rather that it will negotiate the DTMF type.  In this case, your SIP peer clearly negotiated RFC2833 (that's the telephone-event/8000), so Asterisk watches for that type of DTMF only.

By: Ruchir Brahmbhatt (ruchirb) 2008-09-04 08:10:34

yes Corydon76, you are right. PAP2 always sends RFC2833 even if configured for inband. I believe in negotiation it sends RFC2833 and at the time of sending, it sends inband.

By: Jason Parker (jparker) 2008-11-20 16:18:50.000-0600

If the device is negotiating RFC2833 and then sending DTMF inband, that is clearly a problem with the device, and not Asterisk.

I would suggest being explicit about the dtmfmode setting.