• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Bristuff-users] bristuff libpri fix [was: tzafrir-guest@ali

 
   AsteriskGuru Archives Forum Index -> Bristuff-Users
View previous topic :: View next topic  
Author Message
tzafrir.cohen at xorcom.c
Guest





PostPosted: Sun Jun 22, 2008 7:06 am    Post subject: [Bristuff-users] bristuff libpri fix [was: tzafrir-guest@ali

Hi

I've just commited a small bug fix to the Debian package.

It manifested mostly in loopback connections when recovering from a
physical disconnect / reconnect. The result was that layer 2 would keep
sending SABME-s and DM (Disconnect Mode) messages and would take long
time (if at all) to gain proper layer 2 connection.

----- Forwarded message from tzafrir-guest@alioth.debian.org -----

Date: Sun, 22 Jun 2008 07:55:41 -0000
To: libpri@packages.qa.debian.org, pkg-voip-commits@lists.alioth.debian.org
From: tzafrir-guest@alioth.debian.org
Subject: [Pkg-voip-commits] r5884 - in /libpri/trunk/debian: changelog
patches/bristuff.dpatch
Reply-To: pkg-voip-maintainers@lists.alioth.debian.org,
tzafrir-guest@alioth.debian.org

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@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) {


_______________________________________________
Pkg-voip-commits mailing list
Pkg-voip-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-commits

----- End forwarded message -----

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
_______________________________________________
Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Bristuff-Users All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™