[asterisk-bugs] [LibPRI 0017360]: [patch] LibPRI problem with restart of PBX processor (Testing SVN 1688)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 7 19:10:06 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17360 
====================================================================== 
Reported By:                shawkris
Assigned To:                rmudgett
====================================================================== 
Project:                    LibPRI
Issue ID:                   17360
Category:                   General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.30 
JIRA:                       SWP-1680 
libpri Version:             I did not set the version. :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 1688 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2010-05-19 07:57 CDT
Last Modified:              2010-09-07 19:10 CDT
====================================================================== 
Summary:                    [patch] LibPRI problem with restart of PBX processor
(Testing SVN 1688)
Description: 
Asterisk is connected to legacy Siemens PBX. PBX has dual CPU and switches
over active/passive processors at (or close to) 00:00.

During the switchover, the link stays up but the PBX sends SABME. Asterisk
should clear state to restart q921. A few seconds after the first call
comes in, we see the legacy PBX drops the link and tries to re-establish -
it normally does this after a protocol error (timer expiry etc).

I will try and reproduce with pri debugging enabled.
====================================================================== 

---------------------------------------------------------------------- 
 (0126727) svnbot (reporter) - 2010-09-07 19:10
 https://issues.asterisk.org/view.php?id=17360#c126727 
---------------------------------------------------------------------- 
Repository: libpri
Revision: 1961

U   branches/1.4/q931.c

------------------------------------------------------------------------
r1961 | rmudgett | 2010-09-07 19:10:06 -0500 (Tue, 07 Sep 2010) | 12 lines

Prevent a CONNECT message from sending a CONNECT ACKNOWLEDGE in the wrong
state.

Filter the processing of the CONNECT message to prevent libpri from
sending a CONNECT ACKNOWLEDGE when the call is in an inappropriate state.
This can happen when we hang up an outgoing call after the other end has
sent a CONNECT but before we have processed the CONNECT.

(issue https://issues.asterisk.org/view.php?id=17360)
Reported by: shawkris
Patches:
      issue17360_con_ack_v1.4.patch uploaded by rmudgett (license 664)

------------------------------------------------------------------------

http://svn.digium.com/view/libpri?view=rev&revision=1961 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-07 19:10 svnbot         Checkin                                      
2010-09-07 19:10 svnbot         Note Added: 0126727                          
======================================================================




More information about the asterisk-bugs mailing list