mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 01:36:48 +00:00
added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -691,6 +691,14 @@ static void reload_config(void)
|
||||
misdn_debug[i] = cfg_debug;
|
||||
misdn_debug_only[i] = 0;
|
||||
}
|
||||
|
||||
int ntflags=0;
|
||||
char ntfile[BUFFERSIZE+1];
|
||||
|
||||
misdn_cfg_get( 0, MISDN_GEN_NTDEBUGFLAGS, &ntflags, sizeof(int));
|
||||
misdn_cfg_get( 0, MISDN_GEN_NTDEBUGFILE, &ntfile, BUFFERSIZE);
|
||||
|
||||
misdn_lib_nt_debug_init(ntflags,ntfile);
|
||||
}
|
||||
|
||||
static int misdn_reload (int fd, int argc, char *argv[])
|
||||
@@ -4125,6 +4133,9 @@ static int load_module(void *mod)
|
||||
}
|
||||
|
||||
|
||||
|
||||
reload_config();
|
||||
|
||||
{
|
||||
if (ast_channel_register(&misdn_tech)) {
|
||||
ast_log(LOG_ERROR, "Unable to register channel class %s\n", misdn_type);
|
||||
|
Reference in New Issue
Block a user