[asterisk-commits] branch crichter/0.2.1 r9045 -
/team/crichter/0.2.1/channels/misdn/isdn_lib.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Feb 1 10:08:44 MST 2006
Author: crichter
Date: Wed Feb 1 11:08:41 2006
New Revision: 9045
URL: http://svn.digium.com/view/asterisk?rev=9045&view=rev
Log:
do not consume channels
Modified:
team/crichter/0.2.1/channels/misdn/isdn_lib.c
Modified: team/crichter/0.2.1/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.2.1/channels/misdn/isdn_lib.c?rev=9045&r1=9044&r2=9045&view=diff
==============================================================================
--- team/crichter/0.2.1/channels/misdn/isdn_lib.c (original)
+++ team/crichter/0.2.1/channels/misdn/isdn_lib.c Wed Feb 1 11:08:41 2006
@@ -1577,8 +1577,10 @@
case CC_RELEASE|CONFIRM:
{
struct misdn_bchannel *bc=find_bc_by_l3id(stack, hh->dinfo);
- cb_log(4, stack->port, " --> RELEASE CONFIRM, sending RELEASE_COMPLETE\n");
- if (bc) misdn_lib_send_event(bc,EVENT_RELEASE_COMPLETE);
+ cb_log(3, stack->port, " --> RELEASE CONFIRM, CLEANUP call\n");
+ empty_chan_in_stack(stack,bc->channel);
+ empty_bc(bc);
+ cb_event(EVENT_CLEANUP, bc, glob_mgr->user_data);
}
hh->prim=CC_RELEASE|INDICATION;
break;
More information about the asterisk-commits
mailing list