[asterisk-commits] russell: branch 1.4 r175124 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 12 10:51:13 CST 2009


Author: russell
Date: Thu Feb 12 10:51:13 2009
New Revision: 175124

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=175124
Log:
Don't send DTMF for infinite time if we do not receive an END event.

I thought that this was going to end up being a pretty gnarly fix, but it turns
out that there was actually already a configuration option in rtp.conf, 
dtmftimeout, that was intended to handle this situation.  However, in between 
Asterisk 1.2 and Asterisk 1.4, the code that processed the option got lost.
So, this commit brings it back to life.

The default timeout is 3 seconds.  However, it is worth noting that having
this be configurable at all is not really the recommended behavior in RFC 2833.


More information about the asterisk-commits mailing list