[libpri-commits] mattf: branch 1.4 r656 - /branches/1.4/q921.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Jan 9 11:58:29 CST 2009
Author: mattf
Date: Fri Jan 9 11:58:28 2009
New Revision: 656
URL: http://svn.digium.com/view/libpri?view=rev&rev=656
Log:
Add additional case where T200 expires greater than N200 times and we need to release and reacquire the TEI.
Modified:
branches/1.4/q921.c
Modified: branches/1.4/q921.c
URL: http://svn.digium.com/view/libpri/branches/1.4/q921.c?view=diff&rev=656&r1=655&r2=656
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Fri Jan 9 11:58:28 2009
@@ -438,9 +438,14 @@
pri_message(pri, DBGHEAD "q921_state now is Q921_LINK_CONNECTION_RELEASED\n",DBGINFO);
pri->q921_state = Q921_LINK_CONNECTION_RELEASED;
pri->t200_timer = 0;
- q921_dchannel_down(pri);
- q921_start(pri, 1);
- pri->schedev = 1;
+ if (pri->bri && pri->master) {
+ q921_tei_release_and_reacquire(pri->master);
+ return;
+ } else {
+ q921_dchannel_down(pri);
+ q921_start(pri, 1);
+ pri->schedev = 1;
+ }
}
} else if (pri->solicitfbit) {
if (pri->debug & PRI_DEBUG_Q921_DUMP)
More information about the libpri-commits
mailing list