[asterisk-bugs] [Asterisk 0013918]: [patch] IAX2 not conforming to standard

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 25 15:37:02 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13918 
====================================================================== 
Reported By:                ffloimair
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13918
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-18 04:02 CST
Last Modified:              2008-11-25 15:37 CST
====================================================================== 
Summary:                    [patch] IAX2 not conforming to standard
Description: 
We're using IAX2 to establish a trunk connection between our proprietary
system and an Asterisk server. However since Asterisk version 1.4.21.2,
which fixed the "IAX POKE resource exhaustion" (AST-2008-10), we're having
troubles using POKE requests.

I am aware that the fixes incorporated in 1.4.21.2 include a change in the
call number usage for POKE requests (call number 1). However when sending a
POKE from our system to the Asterisk server with destination caller ID 0 we
do get a PONG in return from caller ID 1. The problem is that Asterisk does
not increase the Inbound Stream Sequence Number from 0 to 1 when responding
with a PONG. As a result we run into a timeout after three unsuccessful
tries. An ACK would be sent by our system only if the ISeqNo is also
increased to 1 in the PONG.

The same issue remains for 1.6.x so far. This clearly is not conforming to
the IAX2 standard (draft). 
====================================================================== 

---------------------------------------------------------------------- 
 (0095509) svnbot (reporter) - 2008-11-25 15:37
 http://bugs.digium.com/view.php?id=13918#c95509 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 159245

U   branches/1.2/channels/chan_iax2.c

------------------------------------------------------------------------
r159245 | tilghman | 2008-11-25 15:37:02 -0600 (Tue, 25 Nov 2008) | 7
lines

Regression fix for last security fix.  Set the iseqno correctly.
(closes issue http://bugs.digium.com/view.php?id=13918)
 Reported by: ffloimair
 Patches: 
       20081119__bug13918.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ffloimair

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

http://svn.digium.com/view/asterisk?view=rev&revision=159245 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-25 15:37 svnbot         Checkin                                      
2008-11-25 15:37 svnbot         Note Added: 0095509                          
2008-11-25 15:37 svnbot         Status                   ready for review =>
resolved
2008-11-25 15:37 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list