[libpri-commits] mattf: branch 1.2 r527 - /branches/1.2/q931.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Wed Feb 20 15:36:04 CST 2008


Author: mattf
Date: Wed Feb 20 15:36:04 2008
New Revision: 527

URL: http://svn.digium.com/view/libpri?view=rev&rev=527
Log:
Don't send a status error when we receive connect acknowledge during an active state

Modified:
    branches/1.2/q931.c

Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?view=diff&rev=527&r1=526&r2=527
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Wed Feb 20 15:36:04 2008
@@ -3547,7 +3547,7 @@
 			q931_release_complete(pri,c,PRI_CAUSE_INVALID_CALL_REFERENCE);
 			break;
 		}
-		if (c->ourcallstate != Q931_CALL_STATE_CONNECT_REQUEST) {
+		if ((c->ourcallstate != Q931_CALL_STATE_CONNECT_REQUEST) && (c->ourcallstate != Q931_CALL_STATE_ACTIVE)) {
 			q931_status(pri,c,PRI_CAUSE_WRONG_MESSAGE);
 			break;
 		}




More information about the libpri-commits mailing list