mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -684,6 +684,7 @@ static int misdn_overlap_dial_task (const void *data)
|
||||
misdn_overlap_dial_task_disconnect:
|
||||
hanguptone_indicate(ch);
|
||||
ch->bc->out_cause=1;
|
||||
ch->state=MISDN_CLEANING;
|
||||
misdn_lib_send_event(ch->bc, EVENT_DISCONNECT);
|
||||
}
|
||||
ch->overlap_dial_task = -1;
|
||||
@@ -5010,10 +5011,8 @@ static int load_module(void)
|
||||
|
||||
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);
|
||||
|
||||
|
||||
misdn_cfg_get( 0, MISDN_GEN_NTKEEPCALLS, &ntkc, sizeof(int));
|
||||
misdn_lib_nt_keepcalls(ntkc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user