Skip to content
Snippets Groups Projects
Commit 15ba447e authored by Mark Spencer's avatar Mark Spencer
Browse files

Add brazil detection (bug #2872)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a8de8a68
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@
/* Number of goertzels for progress detect */
#define GSAMP_SIZE_NA 183 /* North America - 350, 440, 480, 620, 950, 1400, 1800 Hz */
#define GSAMP_SIZE_CR 188 /* Costa Rica - Only care about 425 Hz */
#define GSAMP_SIZE_CR 188 /* Costa Rica, Brazil - Only care about 425 Hz */
#define PROG_MODE_NA 0
#define PROG_MODE_CR 1
......@@ -59,7 +59,7 @@
#define HZ_1400 5
#define HZ_1800 6
/* For CR modes */
/* For CR/BR modes */
#define HZ_425 0
static struct progalias {
......@@ -69,6 +69,7 @@ static struct progalias {
{ "us", PROG_MODE_NA },
{ "ca", PROG_MODE_NA },
{ "cr", PROG_MODE_CR },
{ "br", PROG_MODE_CR },
};
static struct progress {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment