[svn-commits] branch 1.2 r347 - /branches/1.2/q931.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jun 2 09:05:55 MST 2006
Author: mattf
Date: Fri Jun 2 11:05:55 2006
New Revision: 347
URL: http://svn.digium.com/view/libpri?rev=347&view=rev
Log:
Minor state fix. (#7269)
Modified:
branches/1.2/q931.c
Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?rev=347&r1=346&r2=347&view=diff
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Fri Jun 2 11:05:55 2006
@@ -2642,7 +2642,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