summaryrefslogtreecommitdiff
path: root/channels/chan_vpb.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-23 01:46:39 +0000
committerMark Spencer <markster@digium.com>2004-12-23 01:46:39 +0000
commit55a24aecad870cca1aedf4048f4adab4d6fdc3d4 (patch)
treea73161fab7b74ba6eaddad7aa5ceca6bf4aab3de /channels/chan_vpb.c
parent49eb667a9549e25b1b3bd4341ce324610b2b289a (diff)
Fix US tones (bug #3132)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_vpb.c')
-rwxr-xr-xchannels/chan_vpb.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/channels/chan_vpb.c b/channels/chan_vpb.c
index b81a47ebc..3fbe1e281 100755
--- a/channels/chan_vpb.c
+++ b/channels/chan_vpb.c
@@ -118,19 +118,18 @@ static int restart_monitor(void);
/* Pick a country or add your own! */
/* These are the tones that are played to the user */
#define TONES_AU
+/* #define TONES_USA */
+
#ifdef TONES_AU
static VPB_TONE Dialtone = {440, 440, 440, -10, -10, -10, 5000, 0 };
static VPB_TONE Busytone = {470, 0, 0, -10, -100, -100, 5000, 0 };
static VPB_TONE Ringbacktone = {400, 50, 440, -10, -10, -10, 1400, 800 };
#endif
-/*
-#define TONES_USA
#ifdef TONES_USA
-static VPB_TONE Dialtone = {425, 0, 0, -16, -100, -100, 10000, 0};
-static VPB_TONE Busytone = {425, 0, 0, -10, -100, -100, 500, 500};
-static VPB_TONE Ringbacktone = {400, 425, 450, -20, -20, -20, 1000, 1000};
+static VPB_TONE Dialtone = {350, 440, 0, -16, -16, -100, 10000, 0};
+static VPB_TONE Busytone = {480, 620, 0, -10, -10, -100, 500, 500};
+static VPB_TONE Ringbacktone = {440, 480, 0, -20, -20, -100, 2000, 4000};
#endif
-*/
/* grunt tone defn's */
static VPB_DETECT toned_grunt = { 3, VPB_GRUNT, 1, 2000, 3000, 0, 0, -40, 0, 0, 0, 40, { { VPB_DELAY, 1000, 0, 0 }, { VPB_RISING, 0, 40, 0 }, { 0, 100, 0, 0 } } };