[svn-commits] crichter: branch 1.4 r89170 - /branches/1.4/channels/misdn/isdn_lib.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 12 03:57:25 CST 2007
Author: crichter
Date: Mon Nov 12 03:57:23 2007
New Revision: 89170
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89170
Log:
fixed the support for CW and therefore for the reject_cause option.
Modified:
branches/1.4/channels/misdn/isdn_lib.c
Modified: branches/1.4/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/misdn/isdn_lib.c?view=diff&rev=89170&r1=89169&r2=89170
==============================================================================
--- branches/1.4/channels/misdn/isdn_lib.c (original)
+++ branches/1.4/channels/misdn/isdn_lib.c Mon Nov 12 03:57:23 2007
@@ -1561,6 +1561,11 @@
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;
More information about the svn-commits
mailing list