mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
merging the zap_and_dahdi_trunk branch up to trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user