[Pkg-voip-commits] r5884 - in /libpri/trunk/debian: changelog patches/bristuff.dpatch

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun Jun 22 07:55:41 UTC 2008


Author: tzafrir-guest
Date: Sun Jun 22 07:55:39 2008
New Revision: 5884

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5884
Log:
* libpri.dpatch: When getting a SABME/UA after sending one, don't reset 
  state.

Modified:
    libpri/trunk/debian/changelog
    libpri/trunk/debian/patches/bristuff.dpatch

Modified: libpri/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libpri/trunk/debian/changelog?rev=5884&op=diff
==============================================================================
--- libpri/trunk/debian/changelog (original)
+++ libpri/trunk/debian/changelog Sun Jun 22 07:55:39 2008
@@ -1,3 +1,10 @@
+libpri (1.4.3-3) UNRELEASED; urgency=low
+
+  * libpri.dpatch: When getting a SABME/UA after sending one, don't reset 
+    state.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sun, 22 Jun 2008 10:53:55 +0300
+
 libpri (1.4.3-2) unstable; urgency=low
 
   [ Faidon Liambotis ]

Modified: libpri/trunk/debian/patches/bristuff.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/libpri/trunk/debian/patches/bristuff.dpatch?rev=5884&op=diff
==============================================================================
--- libpri/trunk/debian/patches/bristuff.dpatch (original)
+++ libpri/trunk/debian/patches/bristuff.dpatch Sun Jun 22 07:55:39 2008
@@ -3714,14 +3714,15 @@
  			return ev;
  		case 3:
  			if (h->u.m2 == 3) {
-@@ -882,17 +1747,29 @@ static pri_event *__q921_receive_qualifi
+@@ -882,17 +1747,30 @@ static pri_event *__q921_receive_qualifi
  					}
  				}
  				/* Send Unnumbered Acknowledgement */
 -				q921_send_ua(pri, h->u.p_f);
 -				return q921_dchannel_up(pri);
 +				q921_send_ua(pri, h->u.p_f, h->h.tei);
-+				return q921_dchannel_up(pri, h->h.tei);
++				if (pri->q921_state[teio] == Q921_LINK_CONNECTION_RELEASED)
++					return q921_dchannel_up(pri, h->h.tei);
  			} else if (h->u.m2 == 0) {
  					/* It's a UA */
 -				if (pri->q921_state == Q921_AWAITING_ESTABLISH) {




More information about the Pkg-voip-commits mailing list