Summary: | ASTERISK-13083: [patch] IAX2 not conforming to standard | ||
Reporter: | Florian Floimair (ffloimair) | Labels: | |
Date Opened: | 2008-11-18 04:02:27.000-0600 | Date Closed: | 2009-01-20 13:21:22.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20081119__bug13918.diff.txt | |
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). ****** ADDITIONAL INFORMATION ****** Tried with the following versions: 1.4.21.2 1.4.22 1.6.0 1.6.0.1 | ||
Comments: | By: Tilghman Lesher (tilghman) 2008-11-19 01:01:10.000-0600 Does this patch fix your issue? Please test and reply back. By: Florian Floimair (ffloimair) 2008-11-19 02:50:54.000-0600 Just tested with 1.4.22 and it worked there. I will try 1.6.0.1 later today. By: Digium Subversion (svnbot) 2008-11-25 15:37:02.000-0600 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 ASTERISK-13083) 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 |