mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
By default disable non-standard changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -104,6 +104,8 @@ decode (unsigned char encoded, short *ssindex, short *signal, unsigned char *rke
|
||||
*signal = -2047;
|
||||
|
||||
*next = 0;
|
||||
|
||||
#ifdef AUTO_RETURN
|
||||
if( encoded & 0x7 )
|
||||
*rkey = 0;
|
||||
else if ( ++(*rkey) == 24 ) {
|
||||
@@ -113,6 +115,7 @@ decode (unsigned char encoded, short *ssindex, short *signal, unsigned char *rke
|
||||
else if (*signal < 0)
|
||||
*next = 0x2;
|
||||
}
|
||||
#endif
|
||||
|
||||
*ssindex = *ssindex + indsft[(encoded & 7)];
|
||||
if (*ssindex < 0)
|
||||
|
Reference in New Issue
Block a user