mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Merged revisions 89170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89170 | crichter | 2007-11-12 10:57:23 +0100 (Mo, 12 Nov 2007) | 1 line fixed the support for CW and therefore for the reject_cause option. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1568,6 +1568,11 @@ static int handle_event ( struct misdn_bchannel *bc, enum event_e event, iframe_
|
||||
bc->channel=0;
|
||||
|
||||
if (find_free_chan_in_stack(stack, bc, bc->channel, 0)<0){
|
||||
if (!stack->pri && !stack->ptp) {
|
||||
bc->cw=1;
|
||||
break;
|
||||
}
|
||||
|
||||
cb_log(0, stack->port, "Any Channel Requested, but we have no more!!\n");
|
||||
misdn_lib_send_event(bc,EVENT_RELEASE_COMPLETE);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user