diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2001-06-08 16:13:48 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2001-06-08 16:13:48 +0000 |
commit | a2bbaa084edb6a669880368fc63c1cf62b5c4f42 (patch) | |
tree | df9f944cf945fb546be284d54c00ac8c583d64d7 /zonedata.c | |
parent | d0f5c4c6d5c4ac688a88b4369e8c8501eab78127 (diff) |
Version 0.1.0 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@6 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zonedata.c')
-rwxr-xr-x | zonedata.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/zonedata.c b/zonedata.c new file mode 100755 index 0000000..84104f0 --- /dev/null +++ b/zonedata.c @@ -0,0 +1,40 @@ +/* + * BSD Telephony Of Mexico "Tormenta" Tone Zone Support 2/22/01 + * + * Working with the "Tormenta ISA" Card + * + * This program is free software; you can redistribute it and/or modify + * it under thet erms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * Primary Author: Mark Spencer <markster@linux-support.net> + * + * This information from ITU E.180 Supplement 2. + */ +#include "tonezone.h" + +struct tone_zone builtin_zones[] = +{ + { 0, "us", "United States / North America", { 2000, 4000 }, + { + { ZT_TONE_DIALTONE, "350+440" }, + { ZT_TONE_BUSY, "480+620/500,0/500" }, + { ZT_TONE_RINGTONE, "440+480/2000,0/4000" }, + { ZT_TONE_CONGESTION, "480+620/250,0/250" }, + { ZT_TONE_CALLWAIT, "440/300,0/10000" }, + { ZT_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" }, + { ZT_TONE_RECORDTONE, "1400/500,0/15000" }, + { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" } } + }, + { -1 } +}; |