when we get a disconnect, we should stop the tones on te side..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Christian Richter 20 years ago
parent cdbddf5892
commit 2302fa58d7

@ -1971,7 +1971,9 @@ static int misdn_hangup(struct ast_channel *ast)
return 0;
}
/*stop_bc_tones(p);*/
if (!p->bc->nt)
stop_bc_tones(p);
release_unlock;

@ -1495,6 +1495,9 @@ int handle_cr ( struct misdn_stack *stack, iframe_t *frm)
cb_log(4, stack->port, " --> lib: CLEANING UP l3id: %x\n",frm->dinfo);
empty_chan_in_stack(stack,bc->channel);
empty_bc(bc);
bc_state_change(bc, BCHAN_EMPTY);
clean_up_bc(bc);
dump_chan_list(stack);
bc->pid = 0;

Loading…
Cancel
Save