[asterisk-commits] crichter: branch 1.4 r71120 - in /branches/1.4: ./ channels/chan_misdn.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 22 10:30:08 CDT 2007
Author: crichter
Date: Fri Jun 22 10:30:08 2007
New Revision: 71120
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71120
Log:
Merged revisions 69887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r69887 | crichter | 2007-06-19 15:23:04 +0200 (Di, 19 Jun 2007) | 1 line
when we send out a SETUP, but get no response, we should cleanup everything after reception of a hangup.
........
Modified:
branches/1.4/ (props changed)
branches/1.4/channels/chan_misdn.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=71120&r1=71119&r2=71120
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Jun 22 10:30:08 2007
@@ -2468,8 +2468,14 @@
chan_misdn_log(2, bc->port, " --> state:%s\n", misdn_get_ch_state(p));
switch (p->state) {
+ case MISDN_CALLING:
case MISDN_INCOMING_SETUP:
- case MISDN_CALLING:
+ /* This is the only place in misdn_hangup, where we
+ * can call release_chan, else it might create lot's of trouble
+ * */
+ ast_log(LOG_NOTICE, "release channel, in CALLING/INCOMING_SETUP state.. no other events happened\n");
+ release_chan(bc);
+
p->state=MISDN_CLEANING;
misdn_lib_send_event( bc, EVENT_RELEASE_COMPLETE);
break;
More information about the asterisk-commits
mailing list