Index: q931.c =================================================================== --- q931.c (Revision 388) +++ q931.c (Arbeitskopie) @@ -2931,8 +2931,10 @@ cause = c->cause; if (cause == 34 || cause == 44 || cause == 82 || cause == 1 || cause == 81) { /* We'll send RELEASE_COMPLETE with these causes */ - disconnect = 0; - release_compl = 1; + if (c->ourcallstate != Q931_CALL_STATE_ACTIVE) { //ph + disconnect = 0; + release_compl = 1; + } } if (cause == 6 || cause == 7 || cause == 26) { /* We'll send RELEASE with these causes */