summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-16 17:59:07 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-16 17:59:07 +0000
commit0a1121e435c240bc917130fdf86afcc34f7a8a7f (patch)
tree31b333e2a868597234aa87f773e75d913636c1d2 /ztcfg.c
parent7003350768ed2f317fad1f1a81779294710df125 (diff)
Add support for E&M / E1
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcfg.c')
-rwxr-xr-xztcfg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ztcfg.c b/ztcfg.c
index aa44f28..13160e9 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -403,6 +403,9 @@ static int chanconfig(char *keyword, char *args)
if (!strcasecmp(keyword, "e&m")) {
sig[x] = "E & M";
cc[x].sigtype = ZT_SIG_EM;
+ } else if (!strcasecmp(keyword, "e&me1")) {
+ sig[x] = "E & M E1";
+ cc[x].sigtype = ZT_SIG_EM_E1;
} else if (!strcasecmp(keyword, "fxsls")) {
sig[x] = "FXS Loopstart";
cc[x].sigtype = ZT_SIG_FXSLS;
@@ -600,6 +603,7 @@ static struct handler {
{ "loadzone", registerzone },
{ "defaultzone", defaultzone },
{ "e&m", chanconfig },
+ { "e&me1", chanconfig },
{ "fxsls", chanconfig },
{ "fxsgs", chanconfig },
{ "fxsks", chanconfig },