From 0a1121e435c240bc917130fdf86afcc34f7a8a7f Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 16 Apr 2004 17:59:07 +0000 Subject: Add support for E&M / E1 git-svn-id: http://svn.digium.com/svn/zaptel/trunk@366 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztcfg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ztcfg.c') 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 }, -- cgit v1.2.3