[asterisk-bugs] [Asterisk 0015361]: [patch] AST-2009-001 breaks IAX2 RFC5456 compliance - Timestamps in POKE/PONG zero in 2 of 4 Bytes

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 19 15:24:38 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15361 
====================================================================== 
Reported By:                ffloimair
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15361
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.25.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-19 04:19 CDT
Last Modified:              2009-06-19 15:24 CDT
====================================================================== 
Summary:                    [patch] AST-2009-001 breaks IAX2 RFC5456 compliance
- Timestamps in POKE/PONG zero in 2 of 4 Bytes
Description: 
When using POKE/PONG requests the timestamp values are broken. Since 1.4.25
the timestamp in POKE and PONG IEs were identical.
However, when using Asterisk 1.4.25.1 in the POKE IE on PowerPC platforms
the first 2 Bytes of the 4 Byte Timestamp are always 0, the second 2 Bytes
are identical to the value in the PONG IE, so obviously the first two Bytes
are zeroed for some reason. On x86 platforms however, the first two bytes
are also zero and the second two Bytes show the value that is supposed to
be in the first two Bytes.

Seems like there is 2 problems at once (endianess & addressing). 
====================================================================== 

---------------------------------------------------------------------- 
 (0106734) svnbot (reporter) - 2009-06-19 15:24
 https://issues.asterisk.org/view.php?id=15361#c106734 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 201994

_U  trunk/
U   trunk/channels/chan_iax2.c

------------------------------------------------------------------------
r201994 | dvossel | 2009-06-19 15:24:38 -0500 (Fri, 19 Jun 2009) | 14
lines

Merged revisions 201993 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r201993 | dvossel | 2009-06-19 15:22:02 -0500 (Fri, 19 Jun 2009) | 8
lines
  
  timestamp was being converted to host order as a short rather than a
long
  
  (closes issue https://issues.asterisk.org/view.php?id=15361)
  Reported by: ffloimair
  Patches:
        ts_issue.diff uploaded by dvossel (license 671)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-19 15:24 svnbot         Checkin                                      
2009-06-19 15:24 svnbot         Note Added: 0106734                          
======================================================================




More information about the asterisk-bugs mailing list