mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 09:46:22 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user