[svn-commits] trunk r348 - /trunk/q931.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jun 2 09:06:27 MST 2006
Author: mattf
Date: Fri Jun 2 11:06:27 2006
New Revision: 348
URL: http://svn.digium.com/view/libpri?rev=348&view=rev
Log:
Minor state fix (#7269)
Modified:
trunk/q931.c
Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=348&r1=347&r2=348&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Fri Jun 2 11:06:27 2006
@@ -2681,7 +2681,10 @@
c->progressmask = PRI_PROG_CALLED_NOT_ISDN;
} else
c->progressmask = 0;
- c->ourcallstate = Q931_CALL_STATE_CONNECT_REQUEST;
+ if (pri->localtype == PRI_CPE)
+ c->ourcallstate = Q931_CALL_STATE_CONNECT_REQUEST;
+ else
+ c->ourcallstate = Q931_CALL_STATE_ACTIVE;
c->peercallstate = Q931_CALL_STATE_ACTIVE;
c->alive = 1;
/* Setup timer */
More information about the svn-commits
mailing list