diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-12 11:13:13 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-12 11:13:13 +0000 |
commit | 2ccbe44a6988a0d282ab5ee3e7522550a1b886e3 (patch) | |
tree | 82c8a17ad808303cbb66e39acfd2df73ae4aa6b4 /channels/chan_misdn.c | |
parent | 8f1edffdb8394f86c6b6db39a3003ec40e423eb5 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@89171 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index a7807ab39..1eaa30d5f 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -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); } |