[Asterisk-cvs] asterisk/channels chan_vpb.c,1.53,1.54
markster at lists.digium.com
markster at lists.digium.com
Wed Dec 22 20:50:57 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv28243/channels
Modified Files:
chan_vpb.c
Log Message:
Fix US tones (bug #3132)
Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- chan_vpb.c 20 Dec 2004 03:18:26 -0000 1.53
+++ chan_vpb.c 23 Dec 2004 01:46:39 -0000 1.54
@@ -118,19 +118,18 @@
/* 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 } } };
More information about the svn-commits
mailing list