summaryrefslogtreecommitdiff
path: root/channels/misdn/isdn_lib.c
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-07-13 14:13:24 +0000
committerChristian Richter <christian.richter@beronet.com>2006-07-13 14:13:24 +0000
commit54ce0f0a2276173791df95d9dc8a6397b72270d3 (patch)
tree3874939df773caa017f61f62329716a878ca4b9f /channels/misdn/isdn_lib.c
parentfd9c9ec28fd00304f2c1ea0ffc90a41a16d29914 (diff)
added even more statefulness for sending out disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn/isdn_lib.c')
-rw-r--r--channels/misdn/isdn_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c
index ae8283cb3..de3e5cd1a 100644
--- a/channels/misdn/isdn_lib.c
+++ b/channels/misdn/isdn_lib.c
@@ -3195,6 +3195,7 @@ int misdn_lib_send_event(struct misdn_bchannel *bc, enum event_e event )
cb_log(-1,bc->port," --> we have already send Release\n");
return -1;
}
+ bc->need_disconnect=0;
bc->need_release=0;
break;
case EVENT_RELEASE_COMPLETE:
@@ -3202,6 +3203,8 @@ int misdn_lib_send_event(struct misdn_bchannel *bc, enum event_e event )
cb_log(-1,bc->port," --> we have already send Release_complete\n");
return -1;
}
+ bc->need_disconnect=0;
+ bc->need_release=0;
bc->need_release_complete=0;
break;