aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-28 16:00:19 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-28 16:00:19 +0000
commitf76a823f67909ab70af23bdb74d143120ed9b7b3 (patch)
treef54c744da738790027a3a283aca0ca09dec29679 /main/asterisk.c
parentf4056d9f182741f9ffc297f661ec2bc68f821939 (diff)
merging the zap_and_dahdi_trunk branch up to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134050 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 9ef8d6522..20dd36343 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -158,8 +158,6 @@ int option_maxfiles; /*!< Max number of open file handles (files, sockets) */
#if defined(HAVE_SYSINFO)
long option_minmemfree; /*!< Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark */
#endif
-char dahdi_chan_name[AST_CHANNEL_NAME] = "ZAP";
-int dahdi_chan_name_len = 3;
/*! @} */
@@ -2786,11 +2784,6 @@ static void ast_readconfig(void)
option_minmemfree = 0;
}
#endif
- } else if (!strcasecmp(v->name, "dahdichanname")) {
- if (!strcasecmp(v->value, "yes")) {
- ast_copy_string(dahdi_chan_name, "DAHDI", sizeof(dahdi_chan_name));
- dahdi_chan_name_len = 5;
- }
} else if (!strcasecmp(v->name, "entityid")) {
struct ast_eid tmp_eid;
if (!ast_str_to_eid(&tmp_eid, v->value)) {