[svn-commits] oej: branch oej/silence-detection-games-1.8 r411814 - /team/oej/silence-detec...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Apr 7 10:04:32 CDT 2014


Author: oej
Date: Mon Apr  7 10:04:28 2014
New Revision: 411814

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411814
Log:
Can't have one name in one place and a different one in another, silly you.

Modified:
    team/oej/silence-detection-games-1.8/channels/sip/include/sip.h

Modified: team/oej/silence-detection-games-1.8/channels/sip/include/sip.h
URL: http://svnview.digium.com/svn/asterisk/team/oej/silence-detection-games-1.8/channels/sip/include/sip.h?view=diff&rev=411814&r1=411813&r2=411814
==============================================================================
--- team/oej/silence-detection-games-1.8/channels/sip/include/sip.h (original)
+++ team/oej/silence-detection-games-1.8/channels/sip/include/sip.h Mon Apr  7 10:04:28 2014
@@ -719,8 +719,8 @@
 	format_t capability;        /*!< Supported codecs */
 	int tcp_enabled;
 	int default_max_forwards;    /*!< Default max forwards (SIP Anti-loop) */
-	int silencelevel;	     /*!< Default silence treshold for silence detection */
-	int silenceframes;	     /*!< Default silence period - how many frames to wait before suppressing silence */
+	unsigned int silencelevel;	     /*!< Default silence treshold for silence detection */
+	unsigned int silenceframes;	     /*!< Default silence period - how many frames to wait before suppressing silence */
 };
 
 /*! \brief The SIP socket definition */
@@ -1094,7 +1094,7 @@
 
 	struct ast_dsp *dsp;                /*!< Inband DTMF or Fax CNG tone Detection dsp */
 	unsigned int silencelevel;	    /*!< Silence treshold */
-	unsigned int silenceperiod;	    /*!< How many frames to wait for silence before activating silence
+	unsigned int silenceframes;	    /*!< How many frames to wait for silence before activating silence
 						 support and sending CNG */
 	unsigned int silencecounter;	    /*!< Frame Counter used for silence detection. */
 




More information about the svn-commits mailing list