[svn-commits] crichter: trunk r89175 - in /trunk: ./ channels/misdn/isdn_lib.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 12 07:03:01 CST 2007


Author: crichter
Date: Mon Nov 12 07:03:00 2007
New Revision: 89175

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89175
Log:
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.
........

Modified:
    trunk/   (props changed)
    trunk/channels/misdn/isdn_lib.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/isdn_lib.c?view=diff&rev=89175&r1=89174&r2=89175
==============================================================================
--- trunk/channels/misdn/isdn_lib.c (original)
+++ trunk/channels/misdn/isdn_lib.c Mon Nov 12 07:03:00 2007
@@ -1568,6 +1568,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